I work with an EasySolar II with 4x12V Deep Gel batteries of 220Ah each. The ESS is connected in parallel to the grid and a power meter is mounted single phase and connected to the ES USB port. Solar PV give max 4000W power so not enough for the 7KW need of the standard single phase charger of the EV.
Charging EV is a pain as it draws a lot of power from the batteries even in cases of maximum PV power available… I am at -3000 KW, not considering the house consumption averaged at 1KW.
In order to prevent discharging the batteries during the charging of the car I setup a script which monitors the power drained from the batteries and adjust dynamically the Grid Setpoint in order to reduce to minimum the previous value. This way the ESS raises the power taken from the grid and no longer needs to supply it’s own power from batteries. I do a running average to smooth out all the values and update these parameters every second and leave -50W as a buffer for the PV panels to step in if more solar is available.
The results look promising as I have maximum 10 seconds of ESS powering the EV from batteries until the running average catches up, then system stabilizes at -80W at battery, all the rest comes from the PV.
Not only this is usable for EV car but also for large consumers in the house, as in bad weather they cannot be charged from PV so battery draining is probable.
Not sure if this is appropriate usage of Victron, or if other options are possible for my setup… I leave the thread as a request for your comments.
Registers used: 2700 to write grid setpoint, 810 for Grid Input L1, 842 for battery load.
Download ev.py from this link and use it on your own risk
/var/log/evvictron.log where the logging goes.
Script should run directly on the EasySolar through ssh.