modelValveLiqChoked

Valve for liquid water flow, allows choked flow conditions

Extends from BaseClasses.ValveBase (Base model for valves).

Information

Liquid water valve model according to the IEC 534/ISA S.75 standards for valve sizing, incompressible fluid, with possible choked flow conditions.

Extends the ValveBase model (see the corresponding documentation for common valve features).

The model operating range includes choked flow operation, which takes place for low outlet pressures due to flashing in the vena contracta; otherwise, non-choking conditions are assumed.

The default liquid pressure recovery coefficient Fl is constant and given by the parameter Flnom. The relative change (per unit) of the recovery coefficient can be specified as a given function of the valve opening by customising the Flfun function.

If the flow coefficient is specified in terms of a nominal operating point, this should be in non-chocked conditions.

Parameters

TypeNameDefaultDescription
BooleanfixedAv (from ValveBase)(if CvData == ThermoPower.Choices.Valve.CvTypes.Av then true else false)
BooleanCheckValve (from ValveBase)falseReverse flow stopped
Realb (from ValveBase)0.01Regularisation factor
BooleanallowFlowReversal (from ValveBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
RealFlnom0.9Liquid pressure recovery factor
Flow Coefficient
ThermoPower.Choices.Valve.CvTypesCvData (from ValveBase)ThermoPower.Choices.Valve.CvTypes.AvSelection of flow coefficient
SI.AreaAv (from ValveBase)Av (metric) flow coefficient
RealKv (from ValveBase)0Kv (metric) flow coefficient
RealCv (from ValveBase)0Cv (US) flow coefficient [USG/min]
Valve Opening
BooleanuseThetaInput (from ValveBase)trueUse the input connector for the valve opening
SI.PerUnittheta_fix (from ValveBase)1Fixed opening value when the input connector not used
Nominal operating point
Medium.AbsolutePressurepnom (from ValveBase)Nominal inlet pressure
SI.PressureDifferencedpnom (from ValveBase)Nominal pressure drop
Medium.MassFlowRatewnom (from ValveBase)Nominal mass flowrate
Medium.Densityrhonom (from ValveBase)1000Nominal density
SI.PerUnitthetanom (from ValveBase)1Nominal valve opening
SI.PowerQnom (from ValveBase)0Nominal heat loss to ambient
Initialisation
Medium.AbsolutePressurepin_start (from ValveBase)pnomInlet pressure start value
Medium.AbsolutePressurepout_start (from ValveBase)pnom - dpnomInlet pressure start value

Connectors

TypeNameDefaultDescription
FlangeAinlet (from ValveBase)
FlangeBoutlet (from ValveBase)
Modelica.Blocks.Interfaces.RealInputtheta (from ValveBase)Valve opening in per unit

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatefluidState (from ValveBase)
ThermoPower.Systemsystem (from ValveBase)System wide properties
Medium.MassFlowRatew (from ValveBase)Mass flow rate
Units.LiquidDensityrho (from ValveBase)Inlet density
Medium.TemperatureTin (from ValveBase)
SI.PressureDifferencedp (from ValveBase)Pressure drop across the valve
SI.PerUnittheta_act (from ValveBase)Actual valve opening
SI.PerUnitFfFf coefficient (see IEC/ISA standard)
SI.PerUnitFlPressure recovery coefficient Fl (see IEC/ISA standard)
Medium.AbsolutePressurepvSaturation pressure
SI.PressuredpEffEffective pressure drop

Contents

NameDescription
Flfun

Revisions