modelPartialSource_Xi_C
Partial component source with parameter definitions for Xi and C
Extends from IBPSA.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).
Information
Partial model that defines outflowing properties
ports.Xi_outflow and ports.C_outflow
using an optional input for both.
Otherwise the parameter value is used.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts (from PartialSource) | 0 | Number of ports |
| Advanced | |||
| Boolean | verifyInputs (from PartialSource) | false | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
| Boolean | use_X_in | false | Get the composition (all fractions) from the input connector |
| Conditional inputs | |||
| Boolean | use_Xi_in | false | Get the composition (independent fractions) from the input connector |
| Boolean | use_C_in | false | Get the trace substances from the input connector |
| Fixed inputs | |||
| Medium.MassFraction[Medium.nX] | X | Medium.X_default | Fixed value of composition |
| Medium.ExtraProperty[Medium.nC] | C | fill(0, Medium.nC) | Fixed values of trace substances |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | ||
| Modelica.Blocks.Interfaces.RealInput[Medium.nX] | X_in | Prescribed boundary composition | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nXi] | Xi_in | Prescribed boundary composition | |
| Modelica.Blocks.Interfaces.RealInput[Medium.nC] | C_in | Prescribed boundary trace substances |