modelTwoWayValveTable

Two way valve with nonlinear opening characteristics based on a table

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

Information

Test model for a two way valve in which a table is used to specify the opening characteristics. The valve has the following opening characteristics, which is taken from a test case of the IEA EBC Annex 60 project.

y 0 0.1667 0.3333 0.5 0.6667 1
Kv 0 0.19 0.35 0.45 0.5 0.65

The Kv value is the volume flow rate in m3/h at a pressure difference of 1 bar. Hence, the Kv value of the fully open valve is Kv=0.65.

Plotting the variables kv.y versus y.y shows that the valve reproduces the Kv values shown in the above table.

image

The parameter filterOpening is set to false, as this model is used to plot the flow at different opening signals without taking into account the travel time of the actuator.

Parameters

TypeNameDefaultDescription
Data.GenericdatValValve characteristics

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RampyControl signal
Buildings.Fluid.Sources.Boundary_pTsouBoundary condition for flow source
Buildings.Fluid.Sources.Boundary_pTsinBoundary condition for flow sink
Valves.TwoWayTablevalTabValve model with opening characteristics based on a table
Modelica.Blocks.Math.UnitConversions.To_barto_bar
Sensors.RelativePressuresenRelPrePressure differential sensor
Sensors.VolumeFlowRatesenVolFloVolume flow rate sensor
Modelica.Blocks.Math.Sqrtsqrt1
Modelica.Blocks.Math.Gainto_m3_hConversion to m3/h
Modelica.Blocks.Math.DivisionkvKv-value

Contents

NameDescription
MediumMedium

Revisions

  • August 12, 2014 by Michael Wetter:
    Added parameter keyword to datVal, as this is needed to asssign datVal to a parameter in the instance valTab. This also avoids an error in OpenModelica.
  • April 2, 2014 by Michael Wetter:
    First implementation.