modelSource_T
Model of a boundary with mass flow rate, pressure and temperature as an input that can be exported as an FMU
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Model of a source that takes as an input the mass flow rate,
pressure and the medium properties
temperature, mass fractions (if Medium.nXi > 0)
and trace substances (if Medium.nC > 0).
For a system of components with the connectors of the Buildings.Fluid.FMI package, this component is required to set the pressure and the mass flow rate of the system.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_p_in | true | = true to use a pressure from connector, false to output Medium.p_default |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | m_flow_in | Prescribed mass flow source | |
| Buildings.Fluid.FMI.Interfaces.PressureInput | p_in | Prescribed boundary pressure | |
| Modelica.Blocks.Interfaces.RealInput | T_in | Prescribed boundary temperature | |
| Modelica.Blocks.Interfaces.RealInput | X_w_in | Prescribed boundary composition | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed boundary composition | |
| Interfaces.Outlet | outlet | Fluid port |
Contents
| Name | Description |
|---|---|
| Medium in the component |
Revisions
-
March 18, 2024, by Michael Wetter:
Added causality.
See IBPSA, #1853. -
January 18, 2019, by Jianjun Hu:
Limited the media choice to moist air only. See #1050. -
October 15, 2016, by Michael Wetter:
Removed redundant connection. -
April 29, 2015, by Michael Wetter:
Redesigned to conditionally remove the pressure connector ifuse_p_in=false. -
April 15, 2015 by Michael Wetter:
Changed connector variable to be temperature instead of specific enthalpy. -
November 8, 2014, by Michael Wetter:
First implementation.