modelPassThroughMedium

To make medium connectors conditional

Extends from AixLib.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).

Information

Model to make models extending the TwoPort-Model optional.

Idea is based on the model RealPassThrough of the standard library.

  • January 06, 2020, by Fabian Wuellhorst:
    Change extend to TwoPort instead of TwoPortInterface (see issue 833).
  • August 08, 2018, by Fabian Wuellhorst, Philipp Mehrfeld:
    First implementation

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)