evcc-io / evcc

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

Start charging VE when available solar power si better than battery can handle #5775

Closed ioniks closed 1 year ago

ioniks commented 1 year ago

Hi, i need a feature for my Solax Hybrid inverter with battery.

Is your feature request related to a problem? Please describe. My battery can take 25A as input ( about 3000w) maximum, when the power of the solar panels exceeds this power and I have indicated a minimum soc (and we are below this soc) the additional power available is sent to the grid.

Describe the solution you'd like I would like that when the power in the battery is above an indicated limit in Ampere or watt, it can start the charge of the EV even if the soc minimum is not yet reached, this in order to avoid sending energy to the grid. At least in a first time and that it adapts so that the power sent to the battery is not higher than the set level.

Describe alternatives you've considered If the power sent to the battery is greater than x watts then it triggers the charge the VE at minimum power set.

Thanks

premultiply commented 1 year ago

Simple solution: Do NOT set a prioritySoC. However in any case evcc will start charging if the surplus is higher then the power derived from minCurrent. It will priorize the battery if their SoC is below prioritySoC but if the surplus on top of full battery charging power is high enough it will still start charging.