modelPartialPropertySource
Partial model for overriding fluid properties that flow through the component
Extends from AixLib.Fluid.Interfaces.PartialTwoPort.
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 |
|---|---|---|---|
| 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| 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.