Overview Victron ESS charge control



This function block limits the charging power of a Victron ESS storage system – also with a feed-in limit. Victron offers no power limit for this, only the charge current limit (DVCC, register 2705) and the setpoint at the grid connection (grid setpoint, register 2716). The block adjusts both every second, with a step size that depends on the deviation. The registers are read and written via a Modbus block; the block itself only calculates and outputs the setpoints.

Procedure

  • Battery charges too much: first the charge current limit is lowered towards 0 A – AC sources such as a second, AC-coupled inverter can then no longer charge via the inverter/charger of the ESS. Only when the limit is at 0 A does the grid setpoint become more negative: the remaining PV power of the charge controllers goes into the grid.
  • Battery charges too little: first a negative grid setpoint is taken back, then the charge current limit is raised.
  • Battery discharges into the grid (more than Discharge protection from): a negative grid setpoint is taken back quickly, twice as fast while feeding in at the same time – also within the dead band.
  • Max. state of charge reached: the block controls to a small holding charge power instead of 0 W, so that the system does not oscillate between charging and discharging. Output SP reports the block; it is released again when the state of charge has dropped by the State of charge hysteresis.
  • Second inverter (optional, output WB): if the grid setpoint is stuck at the feed-in limit and the feed-in is still above it, the power of the AC-coupled inverter is reduced step by step – with Curtail inverter when battery is full also when the full battery keeps charging. As soon as there is room again, it ramps up step by step.
  • Within the dead band around the target charging power, charge current limit and grid setpoint stay unchanged (except for discharge protection).

Operating mode and fallback values

Control only takes place in operating mode 0 (automatic, also when input BA is not connected). Any other value switches the control off; when leaving automatic mode and at start in manual mode, the fallback values are written once so that the storage system and the inverter work without limitation again. At start in automatic mode and when returning to automatic mode, the block takes over the last written values so that there is no jump.

Feedback

The outputs are only written on a change. If the feedback inputs are connected, the block compares the read values with its setpoints every Check feedback every seconds and writes again on a deviation – e.g. after a restart of the storage system.

Tip: The specifications operating mode, max. state of charge and max. charging power come from the user or from higher-level logic; the address generator creates addresses for them and for the message SP. Measured values and registers are wired by the installer.


Inputs

BA Operating mode 0 or not connected = automatic (control active), any other value = no control, the fallback values are written on the change and at start.
MS Max. state of charge % From this state of charge only the holding charge power is charged. Not connected = 100 %, a value of 0 or below counts as 80 %. Never below Max. state of charge at least.
ML Max. charging power kW Highest charging power of the battery. Not connected = no limit. 0 = the battery shall not charge: charge current limit 0 A.
SO Battery state of charge % State of charge of the battery. Mandatory: if not connected, the control is suspended and an error message is output.
AL Battery power kW (+ charging) Power of the battery, positive = charging, negative = discharging.
NL Grid power kW (+ import) Power at the grid connection, positive = import, negative = feed-in.
EG Max. feed-in kW Optional. Permitted feed-in, e.g. from register 2706. The grid setpoint does not become more negative than this power. Not connected or negative (no limit): Grid setpoint lower limit applies.
RS Feedback charge current A Optional. Read charge current limit; if it deviates by more than 0.5 A, LS is written again.
RG Feedback grid setpoint W Optional. Read grid setpoint; if it deviates by more than 25 W, NS is written again.
RW Feedback inverter kW Optional. Read limit of the second inverter; if it deviates by more than 0.05 kW, WB is written again. If no value has been written yet, it serves as the start value at start – until it has been read, the block does not write WB (at most 60 s, then the maximum applies).
WL Inverter power kW Optional. Power of the second inverter. If connected, RW is only checked while it delivers more than 0.05 kW – at night it does not respond and writing again would come to nothing.

Outputs

LS Charge current A Charge current limit (DVCC, register 2705), 0 to Charge current maximum.
NS Grid setpoint W Grid setpoint (register 2716), between the lower limit and 0 W – never positive.
WB Inverter limit kW Optional. Power limit of an AC-coupled inverter. It is only controlled if the output is connected.
SP Charging blocked (max. state of charge) 1 = max. state of charge reached, only the holding charge power is charged.

Parameters

Charge current maximum A Upper limit of the charge current limit. Default 250 A.
Max. state of charge at least % Lower limit for input MS and for the release after the hysteresis. Default 5 %.
State of charge hysteresis % The block at the max. state of charge ends at MS minus hysteresis. Default 3 %.
Dead band kW Deviation of the charging power within which nothing is adjusted. Default 0.1 kW.
Charge current step min. A
Charge current step max. A
Charge current step A per kW deviation
Step size of the charge current limit per second: deviation in kW × A per kW, limited to min./max. Default 1 / 25 / 5 A.
Grid setpoint step min. W
Grid setpoint step max. W
Grid setpoint step W per kW deviation
Step size of the grid setpoint per second, calculated the same way. Default 20 / 500 / 100 W.
Discharge protection from kW From this discharging power a negative grid setpoint is taken back. Default 0.2 kW.
Grid setpoint lower limit W Most negative grid setpoint without input EG. Default −30000 W.
Holding charge power kW Charging power at the max. state of charge. Default 0.4 kW.
Battery keeps charging from kW If the full battery, with the grid setpoint at the limit, charges more than this value above the holding charge power, the second inverter is reduced – only with Curtail inverter when battery is full. Default 0.2 kW.
Inverter step kW Step size of the inverter limit per second. Default 0.08 kW.
Inverter dead band kW The inverter is only reduced when the feed-in is this value above the limit. Default 0.1 kW.
Inverter ramp up from reserve kW The inverter ramps up as soon as the feed-in is this value below the limit. Default 0.3 kW.
Inverter limit maximum kW Start value if no value has been written yet and RW is not connected, and upper limit for it. The inverter is ramped up to the start value, at least to the fallback value. Default 100 kW.
Curtail inverter when battery is full Yes: the second inverter is also reduced when the full battery keeps charging with the grid setpoint at the limit (see Battery keeps charging from). No: only when the feed-in is above the limit. If a Block Energy Manager distributes the surplus, keep No – otherwise early curtailing takes the power away from its consumers. Default No.
Fallback charge current A
Fallback grid setpoint W
Fallback inverter kW
Values written once when leaving automatic mode and at start in manual mode. Default 250 A / 0 W / 13 kW.
Check feedback every s Interval of the check against the feedback inputs, 10 to 3600 s. Default 120 s.
Diagnosis On: one message per second with state of charge, powers and setpoints. Default Off.


See also common parameters of all function blocks.