modelCheckValve

Extends from ValveBase (General valve model).

Parameters

TypeNameDefaultDescription
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
Flow
FreeFluids.Types.ValveFixOptionfix (from ValveBase)FreeFluids.Types.ValveFixOption.fixKvselect the value to fix: Kv, pressure drop, or flow
Modelica.Units.SI.AreafixedKv (from ValveBase)1.0Kv value if it is fixed
Modelica.Units.SI.PressureDifferencefixedDP (from ValveBase)-0.5e5negative if PortB.P<PortA.P
Modelica.Units.SI.MassFlowRatefixedFlow (from ValveBase)1.0fixed mass flow to maintain at Port A. Possitive if flow is in

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.AreaKv (from ValveBase)
Modelica.Units.SI.AreaCv (from ValveBase)
Modelica.Units.SI.VolumeFlowRateQ (from ValveBase)
Medium.ThermodynamicStateState (from ValveBase)
Medium.DensityRho (from ValveBase)
Medium.TemperatureT (from ValveBase)Temperature