Good morning everyone,
I have a system with two MPII in parallel and two MPPT RS 450/100 and 30kW of battery, I would need to use node-red to modify only the current in AC-IN that goes to charge the battery.
I had identified this Param “/Dc/0/MaxChargeCurrent” but after having modified it it returns to the original value set in VeConfig.
I would like the Victron technicians to kindly fix this problem, they would make me happy.
Thanks Manuele
Are you trying to separate the charge current of the multi’s from the charge current of the MPPT chargers ?
Basically try to let the MPPT chargers charge with unlimited A but you want to limit the Multi’s charging A ?
There was a good discussion about this in the old community, see below.
To summarise, if you are running lead acid batteries without DVCC then using /Dc/0/MaxChargeCurrent works and remains fixed. However, there appear to be 2 registers, one for the VE config setting which is not affected by /Dc/0/MaxChargeCurrent and a working one that is altered by /Dc/0/MaxChargeCurrent.
If you are running managed batteries, full DVCC or perhaps ESS then the system updates the working register overriding any setting from /Dc/0/MaxChargeCurrent.
It appears this changed around V3.20 or V3.30.
Not sure it’s helpful for this particular use-case but I use a flow to dynamically set DVCC during summer.
It allows me to limit the charge capacity of the Multi’s whilst still allowing full MPPT charge power. As feed-in is allowed, the MPPTs should always operate at max powerpoint unless other thresholds are triggered.
The flow reads the MPPT /Dc/0/Current and adds that number to a static variable for the multi’s. Has been working well for me. Not sure of any downsides. Would be good to get some input
The change resetting the /Dc/0/MaxChargeCurrent is in dbus-systemcalc-py/delegates/dvcc.py around line 1280. I’ve made the following change in v3.51 :
--- dvcc.py.orig
+++ /opt/victronenergy/dbus-systemcalc-py/delegates/dvcc.py
@@ -1280,10 +1280,10 @@
self._multi.bol.maxchargecurrent = mcc
# Also set the maxchargecurrent, to ensure this is not stuck
# at some lower value that overrides the intent here.
- try:
- self._multi.maxchargecurrent = max(self._multi.maxchargecurrent, mcc)
- except TypeError:
- pass
+# try:
+# self._multi.maxchargecurrent = max(self._multi.maxchargecurrent, mcc)
+# except TypeError:
+# pass
# Copy the rest unmodified
self._multi.bol.maxdischargecurrent = bms_service.maxdischargecurrent
It’s working for me, my configuration via node-red is not overrided any more, but I’m not sure what other consequences it could have.
I would like to point out that I have enabled the DVCC option.
This Param would have been useful to me to regulate how much charge to give to the batteries at night, that is, when energy is at a lower cost, at least here in Italy.
It is certainly not the same thing as acting on the “Maximum charge current” parameter in the DVCC section.
I thank @Ormira Nicolas for the suggestion, but I would not like to modify the code without knowing it thoroughly.
I would just like it to be considered a bug fix by Victron.