modelSetpoints

Example - mass flow loop breaker

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example investigates the behavior of LoopBreaker_m for different inputs of mass flow rate, pressure, and specific enthalpy/temperature.

The three inputs are varied independently using pulse, sine, and ramp blocks.

The mass flow rate is treated as independent of the thermodynamic state.

Note that the inlet and outlet of the loop breaker are independent of each other. To obtain a physically meaningful system, the user must ensure that the mass flow rate and thermodynamic state at inlet and outlet are consistent. For numerical robustness, “equal” should be interpreted as “within a specified tolerance.”

Components

TypeNameDefaultDescription
ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker
ThermofluidStream.DropOfCommonsdropOfCommons
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker2
Modelica.Blocks.Sources.Rampm_flow_ramp
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker3
Modelica.Blocks.Sources.Sinem_flow_sine
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker5
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker6
Modelica.Blocks.Sources.Rampm_flow_ramp1
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker7
Modelica.Blocks.Sources.Pulsem_flow_pulse1
Modelica.Blocks.Sources.Sinem_flow_sine1
Modelica.Blocks.Sources.Pulsep_pulse
Modelica.Blocks.Sources.Rampp_ramp
Modelica.Blocks.Sources.Sinep_sine
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker8
Modelica.Blocks.Sources.Pulsem_flow_pulse3
Modelica.Blocks.Sources.Ramph_ramp_evaporization
.ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker10
Modelica.Blocks.Sources.Pulsem_flow_pulse5
Modelica.Blocks.Sources.Rampp_ramp1
Modelica.Blocks.Sources.RealExpressionh_const1
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Continuous.FirstOrderfirstOrder1
Modelica.Blocks.Continuous.FirstOrderfirstOrder2

Contents

NameDescription
Medium

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.