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

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRate[nout]m_flow_nominalNominal mass flow rate for each outlet
IntegernoutNumber of outlets
Booleanuse_p_intrue= true to use a pressure from connector, false to output Medium.p_default
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (inlet -> outlet)

Connectors

TypeNameDefaultDescription
Interfaces.InletinletFluid inlet
Interfaces.Outlet[nout]outletFluid outlet
Modelica.Blocks.Interfaces.RealInput[nout]uControl signal for the mass flow rates

Contents

NameDescription
MediumMedium 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:
    Removed assert() 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:
    Replaced outlet[i].forward = inlet.forward; with a connect statement 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 wrong assert statement.
  • April 29, 2015, by Michael Wetter:
    Redesigned to conditionally remove the pressure connector if use_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.