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
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Inputs | |||
| Boolean | use_Xi_in | false | Set to true to get the composition from the input connector |
| Boolean | use_C_in | false | Set to true to get the trace substances from the input connector |
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 | Prescribed values for composition | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed values for trace substances |
Revisions
-
April 30, 2018, by Filip Jorissen:
First implementation. See #881.