connectorMassFractionConnector

Connector for mass fraction of water vapor per kg total mass

A connector of Modelica.Units.SI.MassFraction.

Information

Connector with variable of type Modelica.Units.SI.MassFraction. Note that the mass fraction is in kg water vapor per total mass of air, rathern than per kg of dry air.

This connector has been implemented to conditionally remove the mass fraction if the medium has only one species. While this could have been done using a vector of mass fractions with zero length, as is used in fluid connectors, this implemantation uses a scalar to avoid vectorized inputs and outputs of FMUs.

Revisions

  • April 29,2015, by Michael Wetter:
    First implementation.