I am working on replacing an old building automation computer from the 80s with some cleaver built in functions such as multiple pids and weather compensation curves ready to use, you just fill in the parameters dependent on your project.
The programming language is boolean (suspect c or c++ in the background) and you just call on these above ready to use functions.
Is it possible to create a heating setpoint dependent on outside temperature?
I would like to create a temperature curve that is dependent on outside conditions. For lower outside temperatures, more heating capacity is needed. This means lower supply temperatures can be sufficient to meet heating demand.
I am using the PID library to control a motorvalve.
Iam looking for something like this:
Some float In = Outside temperature.
float x[7] = {-30,-20,-10,0.0,10,20,30} degree celsius
float y[7] = {65,58,51.5,-44.5,35,25} degree celcius
Some float Out = Outside temperature dependent setpoint.
I have been looking at kerinin/splines but I am not sure how to use it.