modelPressureReliefValve
Extends from FreeFluids.Interfaces.TwoFluidPorts (To be used by equipment with two fluid ports.).
Information
Similar to a safety valve but without the possibility of choked flow limitation.The flow is calculated from a rated flow in a prescribed conditions.
The physical properties are taken from the Medium.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.AbsolutePressure | pSet | 102325 | |
| Fraction | overPressure | 0.1 | design overpressure as fraction of set pressure |
| Boolean | balancedValve | false | if true, a balanced or pilot governed valve is used |
| Modelica.Units.SI.AbsolutePressure | pHysteresis | 500 | hysteresis for revert valve opening |
| Modelica.Units.SI.VolumeFlowRate | flowRating | rating flow at the given overpressure | |
| Modelica.Units.SI.AbsolutePressure | pRating | 101325 | discharge pressure used for rating |
| Modelica.Units.SI.Density | rhoRating | 1.2 | density used for rating |
| Ports links | |||
| Boolean | useElevDifference (from TwoFluidPorts) | true | introduces, or not, an equation for the ports elevation. Use only in one connector |
| FreeFluids.Types.ElevationOption | elevCalcMethod (from TwoFluidPorts) | FreeFluids.Types.ElevationOption.differential | if useElevDifference==true, selects the equation to use: differential, or absolute for PortB |
| Modelica.Units.SI.Length | elevDifference (from TwoFluidPorts) | 0.0 | used only if previously selected. Positive if PortB higher than PortA |
| Modelica.Units.SI.Length | portBelevation (from TwoFluidPorts) | 0.0 | used only if previously selected. |
| Boolean | calcEnthalpyDifference (from TwoFluidPorts) | true | if true, will calculate the enthalpy difference between ports. Use only in one connector |
| Boolean | passComposition (from TwoFluidPorts) | true | if true, the equation PortA.X=PortB.X will be activated |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FreeFluids.Interfaces.FluidPortA | PortA (from TwoFluidPorts) | ||
| FreeFluids.Interfaces.FluidPortB | PortB (from TwoFluidPorts) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificEnthalpy | Hdiff (from TwoFluidPorts) | specific enthalpy difference: Port B - Port A | |
| Modelica.Units.SI.PressureDifference | Pdiff (from TwoFluidPorts) | pressure difference: Port B - Port A | |
| Modelica.Units.SI.Density | RhoA | density at PortA | |
| Modelica.Units.SI.Density | RhoB | density at PortB | |
| Modelica.Units.SI.VolumeFlowRate | Qa | volume flow rate at Port A | |
| Modelica.Units.SI.VolumeFlowRate | Qb | volume flow rate at Port A | |
| Boolean | p |