modelPartialSource_h
Boundary with prescribed enthalpy
Extends from IBPSA.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).
Information
Partial model that defines
ports.h_outflow using an optional input for
the specific enthalpy.
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 |
| Conditional inputs | |||
| Boolean | use_h_in | false | Get the specific enthalpy from the input connector |
| Fixed inputs | |||
| Medium.SpecificEnthalpy | h | Medium.h_default | Fixed value of specific enthalpy |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | ||
| Modelica.Blocks.Interfaces.RealInput | h_in | Prescribed boundary specific enthalpy |
Revisions
-
February 2nd, 2018 by Filip Jorissen
Initial version for refactoring inputs of sources. See #882.