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
| 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_p_in | false | Get the pressure from the input connector |
| Fixed inputs | |||
| Medium.AbsolutePressure | p | Medium.p_default | Fixed value of pressure |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | ||
| Modelica.Blocks.Interfaces.RealInput | p_in | Prescribed boundary pressure |
Revisions
-
February 2nd, 2018 by Filip Jorissen
Initial version for refactoring inputs of sources. See #882.