What do you do with that much electricity? Was it necessary to over-dimension for winter?
If you have an EV that can be charged only at night, a big battery is required.
(disclaimer: I work for XLN Audio)
Maybe PHP can be made better, but it would need some radical changes and then the question is that if it’s worth the effort and maybe to pick up some of the new tools instead.
Looks like mostly Lua because it based on OpenResty
https://www.depesz.com/2021/10/22/why-is-it-hard-to-automati...
Here is the config https://python-poetry.org/docs/configuration/#virtualenvsin-...