elphick.geomet.flowsheet.operation.Operation
- class elphick.geomet.flowsheet.operation.Operation(name)[source]
-
Methods
__init__
(name)Checks if the mass and chemistry of the input and output are balanced
from_dict
(config)get_input_mass
()get_output_mass
()solve
()Solves the operation
Attributes
has_empty_input
has_empty_output
inputs
is_balanced
node_type
outputs
unbalanced_records
- solve()[source]
Solves the operation
Missing data is represented by None in the input and output streams. Solve will replace None with an object that balances the mass and chemistry of the input and output streams. Returns The back-calculated mc object
- Return type:
Optional
[TypeVar
(MC
, bound= MassComposition)]