Compositional#
- class reservoirflow.models.Compositional(**kwargs)#
Bases:
Model
Compositional model class.
Caution
This class is not available.
- Returns:
Model object.
- Return type:
Construct model object.
- Parameters:
unit (str ('field', 'metric', 'lab'), optional) – unit used in input and output. Both units and factors attributes will be updated based on the selected unit and can be accessed directly from this class.
dtype (str or np.dtype, optional) – data type used in all arrays. Numpy dtype such as np.single or np.double can be used.
verbose (bool, optional) – print information for debugging.
Attributes
Returns class factors.
Returns class name.
Returns class unit.
Returns class units.
Methods
Allow full descriptions.
compile
(stype, method[, sparse])Build a solution (equation system) for the model.
report
([prop, showindex, ifmt])Print class report.
run
(**kwargs)Solve multiple timesteps.
set_comp
(comp)Set model compressibility
set_solution
(name)set_units
([unit])Set object units.
solve
(**kwargs)Solve a single timestep.
Comments 💬#
Feel free to make a comment, ask a question, or share your opinion about this specific content. Please keep in mind the Commenting Guidelines ⚖.