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

TypeNameDefaultDescription
IntegernPorts (from PartialSource)0Number of ports
Advanced
BooleanverifyInputs (from PartialSource)falseSet to true to stop the simulation with an error if the medium temperature is outside its allowable range
Conditional inputs
Booleanuse_h_infalseGet the specific enthalpy from the input connector
Fixed inputs
Medium.SpecificEnthalpyhMedium.h_defaultFixed value of specific enthalpy

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports (from PartialSource)
Modelica.Blocks.Interfaces.RealInputh_inPrescribed boundary specific enthalpy

Revisions

  • February 2nd, 2018 by Filip Jorissen
    Initial version for refactoring inputs of sources. See #882.