MolarFlowIndexer
- class thermosteam.indexer.MolarFlowIndexer(phases=None, units=None, chemicals=None, **phase_data)
Create a MolarFlowIndexer that can index a multi-phase, 2d-array given the phase and chemical IDs.
- Parameters
phases (tuple['s', 'l', 'g', 'S', 'L', 'G']) – Phases of data rows.
units (str) – Units of measure of input data.
chemicals (Chemicals) – Required to define the chemicals that are present.
**phase_data (tuple[str, float]) – phase-(ID, value) pairs
- by_mass()
Return a MassFlowIndexer that references this object’s molar data.
- by_volume(TP)
Return a VolumetricFlowIndexer that references this object’s molar data.
- Parameters
TP (ThermalCondition) –