If you have selected a thermostat of type over_switch
, over_valve
, or over_climate
with self-regulation in Direct Valve Control
mode and choose the "TPI" option in the menu, you will land on this page:
You need to provide:
- the coefficient
coef_int
for the TPI algorithm, - the coefficient
coef_ext
for the TPI algorithm.
The TPI algorithm calculates the On vs Off percentage for the radiator at each cycle, using the target temperature, the current room temperature, and the current outdoor temperature. This algorithm is only applicable for Versatile Thermostats operating in over_switch
and over_valve
modes.
The percentage is calculated using this formula:
on_percent = coef_int * (target_temperature - current_temperature) + coef_ext * (target_temperature - outdoor_temperature)
Then, the algorithm ensures that 0 <= on_percent <= 1.
The default values for coef_int
and coef_ext
are 0.6
and 0.01
, respectively. These default values are suitable for a standard well-insulated room.
When adjusting these coefficients, keep the following in mind:
- If the target temperature is not reached after stabilization, increase
coef_ext
(theon_percent
is too low), - If the target temperature is exceeded after stabilization, decrease
coef_ext
(theon_percent
is too high), - If reaching the target temperature is too slow, increase
coef_int
to provide more power to the heater, - If reaching the target temperature is too fast and oscillations occur around the target, decrease
coef_int
to provide less power to the radiator.
In over_valve
mode, the on_percent
value is converted to a percentage (0 to 100%) and directly controls the valve's opening level.
The self-regulation algorithm can be summarized as follows:
- Initialize the target temperature as the VTherm setpoint,
- If self-regulation is enabled:
- Calculate the regulated temperature (valid for a VTherm),
- Use this temperature as the target,
- For each underlying device of the VTherm:
- If "Use Internal Temperature" is checked:
- Calculate the compensation (
trv_internal_temp - room_temp
),
- Calculate the compensation (
- Add the offset to the target temperature,
- Send the target temperature (= regulated_temp + (internal_temp - room_temp)) to the underlying device.
- If "Use Internal Temperature" is checked:
The algorithm used in the auto-start/stop function operates as follows:
- If "Enable Auto-Start/Stop" is off, stop here.
- If VTherm is on and in Heating mode, when
error_accumulated
<-error_threshold
-> turn off and save HVAC mode. - If VTherm is on and in Cooling mode, when
error_accumulated
>error_threshold
-> turn off and save HVAC mode. - If VTherm is off and the saved HVAC mode is Heating, and
current_temperature + slope * dt <= target_temperature
, turn on and set the HVAC mode to the saved mode. - If VTherm is off and the saved HVAC mode is Cooling, and
current_temperature + slope * dt >= target_temperature
, turn on and set the HVAC mode to the saved mode. error_threshold
is set to10 (° * min)
for slow detection,5
for medium, and2
for fast.
dt
is set to 30 min
for slow, 15 min
for medium, and 7 min
for fast detection levels.
The function is detailed here.