modelBasicControlValve

Basic valve model with optional flow characteristics for incompressible fluids

Extends from ThermofluidStream.FlowControl.Internal.PartialValve (Partial implementation of a physical valve).

Information

This model serves for most incompressible applications where basic control valves are needed.


The modeler has the ability to choose between different valve characteristics and flow coefficients.

The three standard curve characteristics (linear, parabolic, equal-percentage) are implemented and can be chosen.


To conclude the parameterization, a flow coefficient has to be set. Most data sheets of valves deliver a corresponding "KVs (CVs)"-Value. Otherwise a nominal mass-flow rate can be set.

For incompressible flow, the reference values for density (1g/cm3) and pressure (1bar) should be unchanged.

Reference values for standardized flow coefficients

When using Kvs, Cvs_US, or Cvs_UK, the default values dp_ref = 1 bar and rho_ref = 1000 kg/m3 must not be modified.

Changing these reference values currently leads to incorrect model behavior. The assertion level can be configured using assertionLevel. To test this behavior, a test model has been setup in ValveReferenceValues.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
BooleaninvertInput (from PartialValve)false= true, if input u_in is inverted
Booleanenable_dp_rho_ref (from PartialValve)Enables/ hides showing dp_ref and rho_ref
Realk_min (from PartialValve)0.03Remaining flow at actuation signal u = 0
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
BooleanconsiderInertance (from SISOFlow)dropOfCommons.considerInertance=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceL (from SISOFlow)dropOfCommons.LInertance
StateSelectm_flowStateSelect (from SISOFlow)StateSelect.defaultState selection for mass flow rate
Booleanclip_p_out (from SISOFlow)= false, if dr_corr=0 (correction of inertial pressure difference)
Medium.AbsolutePressurep_min (from SISOFlow)dropOfCommons.p_minMinimum steady-state output pressure
AssertionLevelassertionLevelAssertionLevel.errorAssertion level for invalid reference values
Initialization › Mass flow rate
InitializationMethodsinitM_flow (from SISOFlow)ThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_0 (from SISOFlow)0Initial value for mass flow rate
Utilities.Units.MassFlowAccelerationm_acceleration_0 (from SISOFlow)0Initial value for derivative of mass flow rate
Advanced › Reference values
SI.PressureDifferencedp_ref (from PartialValve)1e5Reference pressure difference
Medium.Densityrho_ref (from PartialValve)1000Reference density
Valve parameters
FlowCoeffTypeflowCoefficientFlowCoeffType.KvsSelect type of flow coefficient
RealKvs0Kvs-value (metric) from data sheet (valve fully open)
RealCvs_US0Cvs-value (US [gal/min]) from data sheet (valve fully open)
RealCvs_UK0Cvs-value (UK [gal/min]) from data sheet (valve fully open, deprecated; use Kvs or Cvs_US instead)
SI.MassFlowRatem_flow_ref_set0Reference mass flow rate

Connectors

TypeNameDefaultDescription
Inletinlet (from SISOFlow)
Outletoutlet (from SISOFlow)
Modelica.Blocks.Interfaces.RealInputu_in (from PartialValve)Valve control input signal []

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from SISOFlow)inlet.m_flowMass flow rate
SI.Pressuredr_corr (from SISOFlow)Correction of inertial pressure difference
SI.Pressuredp (from SISOFlow)Pressure difference
Medium.AbsolutePressurep_in (from SISOFlow)Medium.pressure(inlet.state)Inlet pressure
Medium.SpecificEnthalpyh_in (from SISOFlow)Medium.specificEnthalpy(inlet.state)Inlet specific enthalpy
Medium.MassFraction[Medium.nXi]Xi_in (from SISOFlow)Medium.massFraction(inlet.state)Inlet mass fractions
Medium.AbsolutePressurep_out (from SISOFlow)Outlet pressure
Medium.SpecificEnthalpyh_out (from SISOFlow)Outlet specific enthalpy
Medium.MassFraction[Medium.nXi]Xi_out (from SISOFlow)Outlet mass fractions
Realu (from PartialValve)Actuation input for flow calculation

Contents

NameDescription
valveCharacteristics