modelPartialSource_p

Partial source with prescribed pressure

Extends from IBPSA.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).

Information

Partial model that defines ports.p using an optional input for the pressure. 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_p_infalseGet the pressure from the input connector
Fixed inputs
Medium.AbsolutePressurepMedium.p_defaultFixed value of pressure

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts]ports (from PartialSource)
Modelica.Blocks.Interfaces.RealInputp_inPrescribed boundary pressure

Revisions

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