modelPressureReliefValve

Diagram of PressureReliefValve

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

TypeNameDefaultDescription
Modelica.Units.SI.AbsolutePressurepSet102325
FractionoverPressure0.1design overpressure as fraction of set pressure
BooleanbalancedValvefalseif true, a balanced or pilot governed valve is used
Modelica.Units.SI.AbsolutePressurepHysteresis500hysteresis for revert valve opening
Modelica.Units.SI.VolumeFlowRateflowRatingrating flow at the given overpressure
Modelica.Units.SI.AbsolutePressurepRating101325discharge pressure used for rating
Modelica.Units.SI.DensityrhoRating1.2density used for rating
Ports links
BooleanuseElevDifference (from TwoFluidPorts)trueintroduces, or not, an equation for the ports elevation. Use only in one connector
FreeFluids.Types.ElevationOptionelevCalcMethod (from TwoFluidPorts)FreeFluids.Types.ElevationOption.differentialif useElevDifference==true, selects the equation to use: differential, or absolute for PortB
Modelica.Units.SI.LengthelevDifference (from TwoFluidPorts)0.0used only if previously selected. Positive if PortB higher than PortA
Modelica.Units.SI.LengthportBelevation (from TwoFluidPorts)0.0used only if previously selected.
BooleancalcEnthalpyDifference (from TwoFluidPorts)trueif true, will calculate the enthalpy difference between ports. Use only in one connector
BooleanpassComposition (from TwoFluidPorts)trueif true, the equation PortA.X=PortB.X will be activated

Connectors

TypeNameDefaultDescription
FreeFluids.Interfaces.FluidPortAPortA (from TwoFluidPorts)
FreeFluids.Interfaces.FluidPortBPortB (from TwoFluidPorts)

Components

TypeNameDefaultDescription
Modelica.Units.SI.SpecificEnthalpyHdiff (from TwoFluidPorts)specific enthalpy difference: Port B - Port A
Modelica.Units.SI.PressureDifferencePdiff (from TwoFluidPorts)pressure difference: Port B - Port A
Modelica.Units.SI.DensityRhoAdensity at PortA
Modelica.Units.SI.DensityRhoBdensity at PortB
Modelica.Units.SI.VolumeFlowRateQavolume flow rate at Port A
Modelica.Units.SI.VolumeFlowRateQbvolume flow rate at Port A
Booleanp