modelTwoWayTRV

Two way thermostatic radiator valve

Extends from IDEAS.Fluid.Interfaces.PartialTwoPortInterface, IDEAS.Fluid.Actuators.BaseClasses.ValveParameters.

Information

Two way valve with thermostatic radiator knob. This model assumes no hysteresis and an ideal opening characteristic with a proportional band of P K. The default value of riseTime has been set to reflect the typical delay of radiator knobs.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureTSet294.15Temperature set point
Modelica.Units.SI.TemperatureP2Proportional band of valve
Reall0.0001Valve leakage, l=Kv(y=0)/Kv(y=1)
Modelica.Units.SI.MassFlowRatem_flow_turbulentdeltaM*abs(m_flow_nominal)Turbulent flow if |m_flow| >= m_flow_turbulent
Dynamics › Actuator position
Booleanuse_strokeTimetrueSet to true to continuously open and close valve using strokeTime
Modelica.Units.SI.TimestrokeTime1200Time needed to fully open or close actuator
Modelica.Blocks.Types.InitinitModelica.Blocks.Types.Init.InitialOutputType of initialization (no init/steady state/initial state/initial output)
Realy_start1Initial value of control signal
Nominal condition
Modelica.Units.SI.PressureDifferencedpFixed_nominal0Pressure drop of pipe and other resistances that are in series
Modelica.Units.SI.PressureDifferencedp_nominaldpValve_nominal + dpFixed_nominalPressure drop at nominal mass flow rate
Advanced
Booleanfrom_dpfalse= true, use m_flow = f(dp) else dp = f(m_flow)
BooleanhomotopyInitializationtrue= true, use homotopy method
Booleanlinearizedfalse= true, use linear relation between m_flow and dp for any flow rate

Components

TypeNameDefaultDescription
IDEAS.Fluid.Actuators.Valves.TwoWayLinearvalLinear valve
Modelica.Blocks.Interfaces.RealInputTTemperature measurement
Modelica.Blocks.Sources.RealExpressionyExpSmooth control signal
Modelica.Blocks.Interfaces.RealOutputyValve set point

Revisions

  • March 30, 2026, by Anna Dell'Isola:
    Update valve opening characteristic. See #1478.
  • October 30, 2024, by Lucas Verleyen:
    Updates according to IBPSA.
    See #1383 (and IBPSA, #1926).
  • March 31, 2020 by Filip Jorissen:
    Revised implementation using smoothHeaviside. See #1022.
  • October 26, 2018 by Filip Jorissen:
    Using smoothLimit for P controller. See #948.
  • September 24, 2018 by Filip Jorissen:
    Modified displayUnit of proportional band P to Kelvin to avoid displaying -271.15C. See #919.
  • November 15, 2016 by Filip Jorissen:
    First implementation.