blockFlowSplitter_u
Model of a flow splitter that can be exported as an FMU
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Block that takes as an input the inflowing fluid at the port inlet
and a vector of control signals for the mass flow rates u.
The mass flow of all outlet ports i
is set to the value of u[i] m_flow_nominal[i].
If the inflowing mass flow rate at the port inlet is not equal
to the sum of u[i] m_flow_in[i], the simulation stops with an assert.
Assumptions and limitations
The mass flow rates at all outlet ports must be non-negative. Reverse flow is not yet implemented. If either of these limitations are violated, then the model stops with an error.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate[nout] | m_flow_nominal | Nominal mass flow rate for each outlet | |
| Integer | nout | Number of outlets | |
| 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 |
|---|---|---|---|
| Interfaces.Inlet | inlet | Fluid inlet | |
| Interfaces.Outlet[nout] | outlet | Fluid outlet | |
| Modelica.Blocks.Interfaces.RealInput[nout] | u | Control signal for the mass flow rates |
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. See #1050. -
June 9, 2016, by Thierry S. Nouidui:
Removedassert()statement which was triggered when the model was exported as an FMU depending on the execution sequence of the master algorithm. -
May 27, 2016, by Michael Wetter:
Replacedoutlet[i].forward = inlet.forward;with aconnectstatement as accesses to composite components other than records are not allowed. This was done for JModelica compliance. -
July 28, 2015, by Thierry S. Nouidui:
Corrected wrongassertstatement. -
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 20, 2014, by Michael Wetter:
First implementation.