v2021.12.5-beta1 - Ke compensation #50
Replies: 3 comments 18 replies
-
Hello, when said it works as integral, it means by adding a permanent offset to the PID output. The E part is directly inspired from boilers linear regulation of water output temperature based on outside temperature. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Question: |
Beta Was this translation helpful? Give feedback.
-
I would like to give a small contribution in the "Ke compensation" introduced in v2021.12.5-beta1.
I found an inconsistency between the one written in
"Beta version What's new"
It is written:
An external component E is added to the PID output:
...
E = Ke * (target_temp - outdoor_temp)
This compensation will act like the integral of the PID
It seems to me that the contribution of "E" is similar to the proportional action of the contribution "P" rather than the integral "I".
Unfortunately the effect of the temperature outside the building does not propagate instantaneously inside the building but with a delay due to the thermal resistance of the walls and the thermal capacity of the internal environment (such as an RC electrical circuit).
Therefore I would like the opinion of expert peaple and open the discussion whether it is better to use:
E = Ke * (target_temp - outdoor_temp)
or:
E = last_E + (Ke * (target_temp - outdoor_temp) * dt)
similar to integral action which will be delayed as needed.
The problem in this case is that the "E" term will grow indefinitely until the outside temperature is lower than the inside one, so a way should be found to avoid this.
Beta Was this translation helpful? Give feedback.
All reactions