evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
2.94k stars 546 forks source link

Planner: Conflict with load management and suggestion for Solcast and consumption #14049

Closed djfanatix closed 2 months ago

djfanatix commented 2 months ago

Is your feature request related to a problem? Please describe. When the Load management is activated, the forecast of the planner is not correct anymore. Example:

--> EVCC will calculate with 8kw, which is possible when there is 3kw Solar + 5kw Grid, but not during the night.

Describe the solution you'd like

  1. Quick fix: when load management is activated, calculate planning with max grid import setting (5kw example), if we have solar, this is a nice extra.
  2. Future: Implement Solcast to make a more accurate planning forecast
  3. Very far Future: Add, for example, the possiblity to add own house consumption. (experimental) a. complicated: make a model to calculate house consumption based on past data b. easier: add the possibility to upload, fetch, mqtt,... a json with a load profile of your house for the next 24 hours. (can be achieved with home assistant or alternative)

Describe alternatives you've considered Anyway, many thanks for all the work done for EVCC!

andig commented 2 months ago

Load management does currently not work hand in hand with planner and priorities. Will be documented in https://github.com/evcc-io/docs/issues/561.

Update Solcast see https://github.com/evcc-io/evcc/pull/9454

andig commented 2 months ago

Add, for example, the possiblity to add own house consumption.

Interesting and certainly doable. What would be the actual use case?

djfanatix commented 2 months ago

Currently I am using EMHASS (https://emhass.readthedocs.io/en/latest/) as an EMS (Energy Management System) for steering my home battery based on dynamic pricing, solar forecasts and prediction of home load.

To optimize the accuracy of the planner function in EVCC, if it knows the prices, solar forecast and home load forecast, it can make a more accurate planning. In the future, battery steering could also be implemented. (charging and discharging battery based on prices), but maybe this is out of the scope of EVCC.

andig commented 2 months ago

That would only be relevant together with load management then. Without LM, the planner will always charge at full speed.

premultiply commented 2 months ago

Quick fix: when load management is activated, calculate planning with max grid import setting (5kw example), if we have solar, this is a nice extra.

Yep. Might be a good first improvement.

But there may be even more issues with LM vs Planner: Just think about charging two (or more) cars in parallel...

andig commented 2 months ago

Seems theres nothing left to do here that's not already in the backlog, hence closing. Thank you!

djfanatix commented 1 month ago

But is something changed?

Could below be implemented?

Quick fix: when load management is activated, calculate planning with max grid import setting (5kw example), if we have solar, this is a nice extra

andig commented 1 month ago

Yes, see https://github.com/evcc-io/evcc/issues/14261