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
| Type | Name | Default | Description |
|---|---|---|---|
| Inputs | |||
| Boolean | use_T_in | false | Set to true to get the leaving fluid temperature from the input connector |
| Boolean | use_Xi_in (from PartialPropertySource) | false | Set to true to get the composition from the input connector |
| Boolean | use_C_in (from PartialPropertySource) | false | Set to true to get the trace substances from the input connector |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_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.RealInput | T_in | Prescribed value for leaving fluid temperature |
Revisions
-
April 30, 2018, by Filip Jorissen:
First implementation. See #881.