modelThermostaticValve

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Overview

Thermostatic valve model.

Concept

The thermostatic valve model is designed as a pump controller. The mass flow set value is calculated based on nominal mass flow and the temperature difference between the setpoint and actual value.

The valve opening characteristic is described by the function valveCharacteristic, linear characteristic by default, can be replaced by any user-defined function. Equal percentage with customizable rangeability and an optimal characteristic are already provided by the library.

With the optional parameter "filteredOpening", the opening can be filtered with a second order, criticalDamping filter so that the opening demand is delayed by parameter "riseTime". The filtered opening is then available via the output signal "opening_filtered" and is used to control the valve equations. This approach approximates the driving device of a valve. The "riseTime" parameter is used to compute the cut-off frequency of the filter by the equation: f_cut = 5/(2*pi*riseTime). It defines the time that is needed until opening_filtered reaches 99.6 % of a step input of opening.

Example Results

ThermostaticValve

Parameters

TypeNameDefaultDescription
Realk0.1Gain of controller
Modelica.Units.SI.TimeTi1000Time constant of Integrator block
Modelica.Units.SI.MassFlowRatedotm_nominal0.5
Nominal operating point
Realopening_nominal1Nominal opening
Filtered opening
BooleanfilteredOpeningfalse= true, if opening is filtered with a 2nd order CriticalDamping filter
Modelica.Units.SI.TimeriseTime1Rise time of the filter (time to reach 99.6 % of an opening step)
RealleakageOpening0.001The opening signal is limited by leakageOpening (to improve the numerics)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputdotm_set
Modelica.Blocks.Interfaces.RealInputT_setValve position in the range 0..1
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aT_room

Components

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensortemperatureSensor
Modelica.Blocks.Continuous.LimPIDPID
FastHVAC.Components.Valves.BaseClases.HysteresisValvehysteresisValve
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Math.Productproduct

Contents

NameDescription
valveCharacteristic
MinLimiterprotectedLimit the signal above a threshold

Revisions

  • April 13, 2017  Tobias Blacha:
    Moved into AixLib
  • February 19, 2015  by Konstantin Finkbeiner:
    Implemented