PV optimisation algorithms across multiple devices


I recently had PV panels installed with a solis inverter. I have a connection to openhab working without problem.

I’m looking for algorithms to maximise power consumption. As an old maths guy I was thinking of some linear programming, but it may be overkill.

Are there any existing libraries, algorhims, patterns etc that I could draw from? Something more complicated that if power available > x do something.

Some devices have time bound limits, some have sensors , some have no feedback at all.

Ideally something that would take the battery power into consideration.

Thank you.

I have developed a commercial energy management system based on openHAB to control all sorts of consumers, and to put a longish discussion short: what you ask for, to put them all under one control regime with a common algorithm, won’t work.

Reason is, relevant consumers are just too different in nature.
A heat pump you (usually) cannot control directly how much it’s to consume.
Also, you don’t know how much need for heat there will be.
An EV charger you can limit, but there’s limits that make it very hard such as the 1,4kW minimum per phase charging requirement, plus most of the time the EV isn’t at home when sun is, and more.
White goods such as washing machines cannot be controlled or limited once started, and they have a pretty unique consumption profile depending on the washing program plus there’s impact when you try to move the washing.

Best you can do imho is to use the forecast binding (search the forum there’s a thread) then start your white good devices based on expected yield.

PS and once you add a dynamic power tariff as a 2ndary source of cheaper but variably-priced power like my EMS does, it’s getting even more complicated.

1 Like

Sorry for taking so long to reply.

Great answer, thank you very much,

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.