modelPartialPropertySource

Partial model for overriding fluid properties that flow through the component

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

Information

Model that changes the properties, but not the mass flow rate, of the fluid that passes through it.

Typical use and important parameters

If allowFlowReversal=true, then the properties are changed for both flow directions, i.e., from port_a to port_b and from port_b to port_a.

Dynamics

This model has no dynamics.

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Inputs
Booleanuse_Xi_infalseSet to true to get the composition from the input connector
Booleanuse_C_infalseSet to true to get the trace substances from the input connector

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)
Modelica.Blocks.Interfaces.RealInput[Medium.nXi]Xi_inPrescribed values for composition
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_inPrescribed values for trace substances

Revisions

  • April 30, 2018, by Filip Jorissen:
    First implementation. See #881.