Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
544 stars 148 forks source link

Charger / Multiplus do not pay attention to Charge current limit #445

Closed hoschult closed 1 year ago

hoschult commented 1 year ago

Describe the bug

To Reproduce

Expected behavior I would expect that Venus will respect the charge current limit of JBD bms settings via dbms-serialbattery so that multiplus inverts all the power above 10Amps (coming from RS450) towards ACIn to grid for feed in

Screenshots

Overview about topology (at 12.19) where where charge current of 51.4Amps can be observed consumed by battery:

image

Charge current limit in VRM which was rightfully adjusted in respect to SoC:

image

Current flow chart towards battery:

image

Grid feed in settings of ESS:

image

Networked options of Victron Charger (RS450/100):

image

VenusOS (please complete the following information):

** Bus-serialbattery is installed at 0.141

Battery/BMS (please complete the following information):

wormsman commented 1 year ago

As far as I know the Charge Current Limit is ignored from the MPPT when you have an ESS system and also DC Feed in activated. The question is why the multiplus do not feed in enough.

hoschult commented 1 year ago

Hi wormsman, thx for pointing this out.

"The question is why the multiplus do not feed in enough"

Yes, exactly this are also my thoughts.... By hunting for answers I tumbled about this victron community posts: https://community.victronenergy.com/questions/91148/dvcc-limit-charge-current-not-working-with-grid-fe.html

I'm not quite sure in which direction to continue to search because it might be also an issue/bug which comes directly out of victron's ESS algorithm...

hoschult commented 1 year ago

Hi all,

my system is now working with dc feed in and is respecting charge limits (CCL). The solution was to reduce voltages in utils.pl to:

MAX_CELL_VOLTAGE = 3.42                                                                                                
FLOAT_CELL_VOLTAGE = 3.37  

I think to lower the voltage of the DC-Charger (RS450) let the Multiplus to be able to transport current towards AC since battery not catches all the power (due to voltage spread charge voltage / battery voltage):

image

LarsAndersenDenmark commented 1 year ago

Hi Lowerig only helps stop charging earlier. The CCL is as far as I have experienced not accepted by what you are doing. Could some coding in the Dbus battery help controlling the charge level some how? Maybe by setting a dynamic CVL based on the actual charge current seen, since the MPPTs still respect the CVL.