modelBoundary_p
Boundary with prescribed pressure
Information
Component to set the pressure at ports. The m_flow is set to zero. The 'outflow' properties are set to 'inStream' properties.
This component is mainly used to set the pressure of a liquid node
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts | 0 | Number of ports |
| Boolean | use_p_in | false | Get the pressure from the input connector |
| Medium.AbsolutePressure | p | Medium.p_default | Fixed value of pressure |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | p_in | Prescribed boundary pressure | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports |
Contents
| Name | Description |
|---|---|
| Medium model within the source |