WOLFRAM SYSTEM MODELER

MassFractionsTwoPort

Ideal two port sensor for mass fraction

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Sensors.MassFractionsTwoPort"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This component monitors the mass fraction of the passing fluid. The sensor is ideal, i.e., it does not influence the fluid.

Parameters (4)

allowFlowReversal

Value: system.allowFlowReversal

Type: Boolean

Description: = true to allow flow reversal, false restricts to design direction (port_a -> port_b)

m_flow_nominal

Value: system.m_flow_nominal

Type: MassFlowRate (kg/s)

Description: Nominal value of m_flow = port_a.m_flow

m_flow_small

Value: if system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_small

Type: MassFlowRate (kg/s)

Description: Regularization for bi-directional flow in the region |m_flow| < m_flow_small (m_flow_small > 0 required)

substanceName

Value: "water"

Type: String

Description: Name of mass fraction

Connectors (3)

port_a

Type: FluidPort_a

Description: Fluid connector a (positive design flow direction is from port_a to port_b)

port_b

Type: FluidPort_b

Description: Fluid connector b (positive design flow direction is from port_a to port_b)

Xi

Type: RealOutput

Description: Mass fraction in port medium

Components (1)

system

Type: System

Description: System wide properties

Revisions

  • 2011-12-14: Stefan Wischhusen: Initial Release.
  • 2018-01-04: Stefan Wischhusen: Corrected failure in accessing the named substance.