connectorInlet
Connector for fluid inlet
Information
This is a connector for a fluid inlet. The connector takes as an input the following quantities:
-
The mass flow rate
m_flow. -
The pressure
p, unlessuse_p_in=false. -
The temperature of the inflowing fluid
forward.T, e.g., the temperature of the fluid that streams out of the component ifm_flow > 0. -
The mass fraction of the inflowing fluid
forward.Xi, unlessMedium.nXi=0. -
The trace substances of the inflowing fluid
forward.C, unlessMedium.nC=0.
If allowFlowReversal = true,
the connector also outputs the following quantities.
-
The temperature of the outflowing fluid
backward.T, e.g., ifm_flow ≤ 0. -
The mass fraction of the outflowing fluid
backward.Xi, unlessMedium.nXi=0. -
The trace substances of the outflowing fluid
backward.C, unlessMedium.nC=0.
If allowFlowReversal = false, then these outputs are not present.
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 |
|---|---|---|---|
| Buildings.Fluid.FMI.Interfaces.PressureInput | p | Thermodynamic pressure in the connection point | |
| Buildings.Fluid.FMI.Interfaces.FluidProperties | forward | Inflowing properties | |
| Buildings.Fluid.FMI.Interfaces.FluidProperties | backward | Outflowing properties |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.MassFlowRate | m_flow | Mass flow rate from the connection point into the component |
Contents
| Name | Description |
|---|---|
| Medium in the component |
Revisions
-
January 18, 2019, by Jianjun Hu:
Limited the media choice. See #1050. -
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.