ChemicalMolarFlowIndexer

class thermosteam.indexer.ChemicalMolarFlowIndexer(phase=LockedPhase(None), units=None, chemicals=None, **ID_data)

Create a ChemicalMolarFlowIndexer that can index a single-phase, 1d-array given chemical IDs.

Parameters
  • phase ([str or PhaseContainer] {'s', 'l', 'g', 'S', 'L', 'G'}) – Phase of data.

  • units (str) – Units of measure of input data.

  • chemicals (Chemicals) – Required to define the chemicals that are present.

  • **ID_data (float) – ID-value pairs

by_mass()

Return a ChemicalMassFlowIndexer that references this object’s molar data.

by_volume(TP)

Return a ChemicalVolumetricFlowIndexer that references this object’s molar data.

Parameters

TP (ThermalCondition) –