question

Bogdan Nedelcu avatar image

Software attenuation for home excess PV charging of EV while keeping ESS battery consumption minimal

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

https://drive.google.com/file/d/1v4jLst9_Z4WhQz5DmPfNEVnk6-8amG1c/view?usp=sharing

/var/log/evvictron.log where the logging goes.

Script should run directly on the EasySolar through ssh.

Regards

ESSEasySolar All-in-Onesolarvictron
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

@Bogdan Nedelcu

Neat. I am sure there will be a few Victron users who would be interested in this script.

1 Answer
Bogdan Nedelcu avatar image
Bogdan Nedelcu answered ·

Quick update: I activated DVCC and selected "Keep batteries charged" in ESS Settings. While I charge the EV car with 4KW, higher than what PV produces, the system takes few Watts from battery, mostly when new consumers appear or disappear.

For whoever is parallel connected to the grid, I think this is the best configuration which does not empty batteries when a EV car is charged from a EasySolar system.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.