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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 0.4 | Design mass flow rate |
| Modelica.Units.SI.PressureDifference | dp_nominal | 4500 | Design pressure drop |
| Real | Kv_SI | m_flow_nominal/sqrt(dp_nominal) | Flow coefficient for fully open valve in SI units, Kv=m_flow/sqrt(dp) [kg/s/(Pa)^(1/2)] |
| Real | Kv | Kv_SI/(rhoStd/3600/sqrt(1E5)) | Kv (metric) flow coefficient [m3/h/(bar)^(1/2)] |
| Real | Cv | Kv_SI/(rhoStd*0.0631/1000/sqrt(6895)) | Cv (US) flow coefficient [USG/min/(psi)^(1/2)] |
| Modelica.Units.SI.Area | Av | Kv_SI/sqrt(rhoStd) | Av (metric) flow coefficient |
| Modelica.Units.SI.Density | rhoStd | Medium.density_pTX(101325, 273.15 + 4, Medium.X_default) | Standard density |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Actuators.Valves.TwoWayLinear | valOpePoi | Valve model, linear opening characteristics | |
| Modelica.Blocks.Sources.Ramp | y | Control signal | |
| Valves.TwoWayLinear | valKv | Valve model, linear opening characteristics | |
| Valves.TwoWayLinear | valCv | Valve model, linear opening characteristics | |
| Buildings.Fluid.Sources.Boundary_pT | sou | Boundary condition for flow source | |
| Buildings.Fluid.Sources.Boundary_pT | sin | Boundary condition for flow sink | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloOpPoi | Mass flow rate sensor | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloKv | Mass flow rate sensor | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloCv | Mass flow rate sensor | |
| Valves.TwoWayLinear | valAv | Valve model, linear opening characteristics | |
| Buildings.Fluid.Sensors.MassFlowRate | senMasFloAv | Mass flow rate sensor |
Contents
| Name | Description |
|---|---|
Revisions
-
June 7, 2017, by Michael Wetter:
Removed assertion blocks, exposed common parameters, and added a valve that usesAvas the parameter. -
April 1, 2013, by Michael Wetter:
Removed the valve fromModelica.Fluidto allow a successful check of the model in the pedantic mode in Dymola 2014. -
March 1, 2013, by Michael Wetter:
Removed assignment ofdpValve_nominalifCvData <> Buildings.Fluid.Types.CvTypes.OpPoint, as in this case, it is computed by the model. -
February 18, 2009 by Michael Wetter:
First implementation.