.IBPSA.Fluid.BaseClasses.IndexMassFraction

Information

This block computes the index that the subtance with name substanceName has in the mass fraction vector X. If the medium model has no component called substanceName, then the block writes an error message and terminates the simulation.

This block is used for example to obtain the index of the subtance 'water' to obtain the water vapor concentration, or to measure any other mass fraction.

Contents

NameDescription
 MediumMedium model

Revisions


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos