Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PV system optional #405

Merged
merged 4 commits into from
Dec 29, 2024
Merged

Conversation

davidusb-geek
Copy link
Owner

This is a follow up to #399.

The overall goal is to improve the experience for new users and make EMHASS easier to setup with no need to retrieve any data at all from HA or any other data source.

So in #399 a new load forecast method is proposed and based on historical typical household power consumption.

In this PR we want to make the PV system optional and set it to False by default, so that the minimal working configuration is just two deferrable loads (the ones already defined in the defaults json).

@GeoDerp, I will certainly need your help on this one. I've made the initial modifications needed to make the PV system optional. The approach is to keep the core code as it is and if there is no PV system then we just provide an all zeroes DataFrame P_PV_forecast to the optimization code. But we now need to deal with the frontend part. We need to do the same treatment as with the battery and the set_use_battery parameter. I've for now created a new parameter set_use_pv, but need to setup the frontend part for the webui and the correct treatment of this new parameter. Could you help with this when you have the time? Thanks ;-)

@davidusb-geek davidusb-geek merged commit b46d6fa into master Dec 29, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants