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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | TSet | 294.15 | Temperature set point |
| Modelica.Units.SI.Temperature | P | 2 | Proportional band of valve |
| Real | l | 0.0001 | Valve leakage, l=Kv(y=0)/Kv(y=1) |
| Modelica.Units.SI.MassFlowRate | m_flow_turbulent | deltaM*abs(m_flow_nominal) | Turbulent flow if |m_flow| >= m_flow_turbulent |
| Dynamics › Actuator position | |||
| Boolean | use_strokeTime | true | Set to true to continuously open and close valve using strokeTime |
| Modelica.Units.SI.Time | strokeTime | 1200 | Time needed to fully open or close actuator |
| Modelica.Blocks.Types.Init | init | Modelica.Blocks.Types.Init.InitialOutput | Type of initialization (no init/steady state/initial state/initial output) |
| Real | y_start | 1 | Initial value of control signal |
| Nominal condition | |||
| Modelica.Units.SI.PressureDifference | dpFixed_nominal | 0 | Pressure drop of pipe and other resistances that are in series |
| Modelica.Units.SI.PressureDifference | dp_nominal | dpValve_nominal + dpFixed_nominal | Pressure drop at nominal mass flow rate |
| Advanced | |||
| Boolean | from_dp | false | = true, use m_flow = f(dp) else dp = f(m_flow) |
| Boolean | homotopyInitialization | true | = true, use homotopy method |
| Boolean | linearized | false | = true, use linear relation between m_flow and dp for any flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.Fluid.Actuators.Valves.TwoWayLinear | val | Linear valve | |
| Modelica.Blocks.Interfaces.RealInput | T | Temperature measurement | |
| Modelica.Blocks.Sources.RealExpression | yExp | Smooth control signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Valve 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 usingsmoothHeaviside. See #1022. -
October 26, 2018 by Filip Jorissen:
UsingsmoothLimitfor 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.