This model outputs the mass fraction of the fluid connected to its port. The sensor is ideal, i.e., it does not influence the fluid.
To measure mass fraction in a duct or pipe, use IDEAS.Fluid.Sensors.MassFractionTwoPort rather than this sensor. Read the IDEAS.Fluid.Sensors.UsersGuide prior to using this model to see about potential numerical problems if this sensor is used incorrectly in a system model.
warnAboutOnePortConnection
and updated documentation.XiVec[Medium.nXi](quantity=Medium.extraPropertiesNames)
to
XiVec[Medium.nXi](quantity=Medium.substanceNames[1:Medium.nXi])
.1
to kg/kg
to indicate that it is a mass fraction, and declared the assignment final.
min
and max
values for
output signals to allow for numerical approximation error
without violating these bounds.extends
statement
to replaceable
to avoid a translation error in
OpenModelica.
Modelica.Fluid
.