-
-
Notifications
You must be signed in to change notification settings - Fork 91
Capacity control
In late 2022, Huawei added 'capacity control' to their LUNA2000 battery. This allows you to enable 'Peak shaving', which reserves a part of the battery capacity to be used only when the power consumption exceeds a certain peak value. This is useful in scenario's where you're taxed based on the peak consumption (for instance: Capacititeitstarief in Flanders, Belgium).
Make sure that you have updated your battery firmware to a recent version (at least V100R002C00SPC116) for this feature to be available.
Note: enabling capacity control prevents your inverter and battery from going to standby mode, which means that -even when idling- they will keep on drawing power (depending on your installation) to keep all the electronics online. Take this into account when calculating your potential savings from enabling this feature.
-
Enable 'Charge from Grid', as this is a requirement for the 'Capacity control' features to be enabled.
-
Set the 'Peak shaving SOC' to the SOC that is reserved for the 'Capacity control features'. This values must be greater than the End-of-discharge SOC - and if a backup box is present - the Off-grid backup box SOC (the latter is not exposed by this integration). Setting the 'Peak shaving SOC' to 25% means that the battery will stop discharging to cover the full consumption of the house. The remaining capacity will only be used when your power consumption exceeds the values set in the 'Capacity control periods'.
-
Use the service
huawei_solar.set_capacity_control_periods
to set the peak power values. You can set up to 14 periods. You must make sure that all moments of the week are covered.You use one line for each period that you want to set, using the format
<start time>-<end time>/<days effective>/<peak power>W
, where<days effective>
are set by using number 1 through 7 with 1=Monday and 7=Sunday.For example, to set the peak power to 2500W for the entire week, use:
00:00-23:59/1234567/2500W
If in addition to the overall 2500W peak power you want the peak power to be reduced to 1500W on Tuesday and Thursday from 16h until 19h30, you will need to define 4 periods:
00:00-23:59/13567/2500W
00:00-14:59/24/2500W
16:00-19:30/24/1500W
19:31-23:59/24/2500W
The capacity control periods that are currently enabled can be retrieved by looking at the attributes of the 'Capacity control periods' sensor:
-
Enable capacity control by selecting 'Active capacity control' from the 'Capacity control mode' dropdown menu.
It is also possible to set these values through the FusionSolar app ('Devices' -> 'Connected devices' -> 'Battery' -> Three dots '...' in upper right corner -> 'Parameter settings').
As the refresh rate for setting parameters is 5 minutes, it will take up to 5 minutes for changes done via this way to show up in Home Assistant.