modelValveVap

Valve for steam flow

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, compressible fluid.

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

The product Fk*xt is given by the parameter Fxt_full, and is assumed constant by default. The relative change (per unit) of the xt coefficient with the valve opening can be specified by customising the xtfun function.

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
SI.PressureDifferencedpMin (from ValveBase)0minimum dp to be used for reversal flow calculation
BooleanallowFlowReversal (from ValveBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.VolumeV (from ValveBase)0Valve Internal Volume
BooleanuseNoEvent (from ValveBase)false=true, to avoid events in case of chattering in zero-flow condition
RealFxt_full0.5Fk*xt critical ratio at full opening
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
Choices.Init.OptionsinitOpt (from ValveBase)system.initOptInitialisation option
Medium.AbsolutePressurepin_start (from ValveBase)pnomInlet pressure start value
Medium.AbsolutePressurepout_start (from ValveBase)pnom - dpnomInlet pressure start value
Medium.SpecificEnthalpyhstart (from ValveBase)1e5Specific Enthalpy 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)
Medium.SpecificEnthalpyh (from ValveBase)Fluid specific enthalpy
Medium.SpecificEnthalpyhin (from ValveBase)Enthalpy of entering fluid
Medium.SpecificEnthalpyhout (from ValveBase)Enthalpy of outgoing fluid
SI.PressureDifferencedp (from ValveBase)Pressure drop across the valve
SI.PerUnittheta_act (from ValveBase)Actual valve opening
RealxPressure drop ratio
RealxsSaturated pressure drop ratio
RealYCompressibility factor
RealFxtFxt coefficient
Medium.AbsolutePressurepInlet pressure

Contents

NameDescription
xtfun

Revisions