The Water Law Plugin allows users to act on a pump and/or a three-way valve (V3V) based on a specific calculation taking into account the outside temperature.
In order to configure the equipment, you must enter the specific parameters :
Type of operation (Hot / Cold)
Outside temperature sensor (command info)
Hot flow temperature probe (command info)
Cold outlet temperature probe (command info)
Ambient flow temperature probe (hard value, a variable or an info command)
Ambiance setpoint (hard value, a variable or an info command)
Hot TNC setpoint (hard value, a variable or an info command)
TNC Cold setpoint (hard value, a variable or an info command)
Pump control ON (action control)
+V3V command (action command)
-V3V command (action command)
Pump fault (info command)
Overheating fault (command info)
Coef. Influ. Ambient (hard value, default 1)
Operating mode (Off / Auto / Forced)
Heating setpoint parameters (-10°C setpoint, 0°C setpoint, +10°C setpoint, +20°C setpoint)
Cold setpoint parameters (setpoint +20°C, setpoint +30°C, setpoint +40°C)
calculLoiEau
IF probeTempExt ≥ 10 THEN
calculationWaterLaw = (((cons10ext - cons20ext)/10) x (10 - (tempExt - 10))) + cons20ext
SINON
IF probeTempExt ≥ 0 THEN #between 0 and 9.99
calculationWaterLaw = (((cons0ext - cons10ext)/10) x (10 - tempExt)) + cons10ext
ELSE #is less than 0
calculationWaterLaw = (((consLess10ext - cons0ext)/10) x (-1 x tempExt)) + cons0ext
calculLoiEau
IF probeTempExt ≥ 20 THEN
calculationWaterLaw = (((cons10ext - cons20ext)/10) x (10 - (tempExt - 10))) + cons20ext
SINON
IF probeTempExt ≥ 0 THEN #between 0 and 9.99
calculationWaterLaw = (((cons0ext - cons10ext)/10) x (10 - tempExt)) + cons10ext
ELSE #is less than 0
calculationWaterLaw = (((consLess10ext - cons0ext)/10) x (-1 x tempExt)) + cons0ext
calculationConsDeparture = calculationWaterLaw + ((Ambient setpoint - AmbTemp probe) x AmbientInflu coef) + ((Ambient setpoint - 20) x 2)
IF WaterTemp probe < calculationConsStart THEN
Command action +V3V
SINON
IF WaterTemp probe > calculationConsStart THEN
Command action -V3V
OTHERWISE
Do nothing
IF WaterTemp probe > calculationConsStart THEN
Command action +V3V
SINON
IF WaterTemp probe < calculationConsStart THEN
Command action -V3V
OTHERWISE
Do nothing
IF Mode = AUTO THEN
IF probeTempExt > setpointTNC+1 THEN
Pump OFF command action
OTHERWISE
IF TempExt probe < setpointTNC-1 THEN
Pump ON control action
SINON
Do nothing
SINON
IF Mode = OFF THEN
Pump OFF command action
OTHERWISE
IF Mode = FORCE THEN
Pump ON control action
Command action +V3V
IF Mode = AUTO THEN
IF probeTempExt > setpointTNC+1 THEN
Pump ON control action
OTHERWISE
IF TempExt probe < setpointTNC-1 THEN
Pump OFF command action
SINON
Do nothing
SINON
IF Mode = OFF THEN
Pump ON control action
OTHERWISE
IF Mode = FORCE THEN
Pump OFF command action
Command action +V3V