modelTwoWayValveParameterization

Model to test and illustrate different parameterization for valves

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Test model for two way valves. This model tests the different parameterization of the valve model. All valves have the same mass flow rates.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal0.4Design mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal4500Design pressure drop
RealKv_SIm_flow_nominal/sqrt(dp_nominal)Flow coefficient for fully open valve in SI units, Kv=m_flow/sqrt(dp) [kg/s/(Pa)^(1/2)]
RealKvKv_SI/(rhoStd/3600/sqrt(1E5))Kv (metric) flow coefficient [m3/h/(bar)^(1/2)]
RealCvKv_SI/(rhoStd*0.0631/1000/sqrt(6895))Cv (US) flow coefficient [USG/min/(psi)^(1/2)]
Modelica.Units.SI.AreaAvKv_SI/sqrt(rhoStd)Av (metric) flow coefficient
Modelica.Units.SI.DensityrhoStdMedium.density_pTX(101325, 273.15 + 4, Medium.X_default)Standard density

Components

TypeNameDefaultDescription
AixLib.Fluid.Actuators.Valves.TwoWayLinearvalOpePoiValve model, linear opening characteristics
Modelica.Blocks.Sources.RampyControl signal
Valves.TwoWayLinearvalKvValve model, linear opening characteristics
Valves.TwoWayLinearvalCvValve model, linear opening characteristics
AixLib.Fluid.Sources.Boundary_pTsouBoundary condition for flow source
AixLib.Fluid.Sources.Boundary_pTsinBoundary condition for flow sink
AixLib.Fluid.Sensors.MassFlowRatesenMasFloOpPoiMass flow rate sensor
AixLib.Fluid.Sensors.MassFlowRatesenMasFloKvMass flow rate sensor
AixLib.Fluid.Sensors.MassFlowRatesenMasFloCvMass flow rate sensor
Valves.TwoWayLinearvalAvValve model, linear opening characteristics
AixLib.Fluid.Sensors.MassFlowRatesenMasFloAvMass flow rate sensor

Contents

NameDescription
Medium

Revisions

  • June 7, 2017, by Michael Wetter:
    Removed assertion blocks, exposed common parameters, and added a valve that uses Av as the parameter.
  • April 1, 2013, by Michael Wetter:
    Removed the valve from Modelica.Fluid to allow a successful check of the model in the pedantic mode in Dymola 2014.
  • March 1, 2013, by Michael Wetter:
    Removed assignment of dpValve_nominal if CvData <> AixLib.Fluid.Types.CvTypes.OpPoint, as in this case, it is computed by the model.
  • February 18, 2009 by Michael Wetter:
    First implementation.