проверена:
аlias DS d0
move r0 1.5
move r1 75
l r2 DS SolarAngle
sub r3 r1 r2
div r4 r3 r0
sb -2045627372 Vertical r4
sb -2045627372 Horizontal r2
j 3

проверена:

move r0 1
l r1 d0 Open
seq r2 r0 r1
s d1 On r2
j 1

аlias Charge d0
аlias TabCharge d1
аlias PActual d2
аlias PTabActual d3
аlias ZActual d4
аlias ZTabActual d5
lb r0 -400115994 Ratio
l r1 PActual PowerActual
l r2 ZActual PowerActual
s TabCharge r0
s PTabActual r1
s ZTabActual r2
j 6

move r0 9000
l r0 d0 Occupied
l r1 d0 Pressure
sle r2 r1 9000
seq r3 r0 r2
s d1 On r3
s d1 Setting 100
s d2 On r3

alias d0 Datchik
alias Ventel1 d1
alias d2 Ventel 2
alias d3 Filter
alias d4 Kondei
l r0 d0 Pressure
l r1 d0 Temperature
sqt r2 r1 25
sqt r3 r0 25
slt r4 r0 30
seq r5 r2 r3
s d1 On r5
s d2 On r4
s d3 On r5
s d4 on r5
s d4 Open r5