modelPropertySource_T

Model for overriding fluid properties that flow through the component, using temperature input

Extends from Buildings.Fluid.Sources.BaseClasses.PartialPropertySource (Partial model for overriding fluid properties that flow through the component).

Information

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

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.

Typical use and important parameters

The fluid properties h, Xi and C are only modified when the corresponding boolean parameter use_T_in, use_Xi_in or use_C_in is set to true.

Dynamics

This model has no dynamics.

Parameters

TypeNameDefaultDescription
Inputs
Booleanuse_T_infalseSet to true to get the leaving fluid temperature from the input connector
Booleanuse_Xi_in (from PartialPropertySource)falseSet to true to get the composition from the input connector
Booleanuse_C_in (from PartialPropertySource)falseSet to true to get the trace substances from the input connector
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)
Modelica.Blocks.Interfaces.RealInput[Medium.nXi]Xi_in (from PartialPropertySource)Prescribed values for composition
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_in (from PartialPropertySource)Prescribed values for trace substances
Modelica.Blocks.Interfaces.RealInputT_inPrescribed value for leaving fluid temperature

Revisions

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