colinl / node-red-contrib-pid

A node-red PID loop controller node intended for the control of real world processes
Apache License 2.0
26 stars 18 forks source link

Question on the proportional band #30

Closed ruffieuxh closed 1 month ago

ruffieuxh commented 5 months ago

Hi,

I am trying to manage the charge an discharge of my PV home battery. The "process range" - thus the input values - may go from -8000 watts (supplying to the grid) up to +8000 watts (importing from the grid).

I am not sure on how to set the proportional band value for such an operation. Would it be 16000 (-8000 to +8000) or should it be 8000?

Many thanks Heinz

colinl commented 5 months ago

You might like to read through this issue https://github.com/colinl/node-red-contrib-pid/issues/28 It seems to have quite a lot in common with what you want to do. Make sure you read right through, there were several false turns and confusions along the way.