Project

General

Profile

Actions

Ess

Gathered info about the Victron Dynamic ESS algorithm

  • The algorithm does consider tomorrow's prices, consumption and PV yield estimates (from the moment tomorrow's prices are published). This is not expressed visually on the graphs because Node-RED implementation is only a proof-of-concept :). But the documentation perhaps should reflect this fact to make it clear.
  • It seems you have understood the reason behind why the discharge is always happening: because it is still profitable to do so since it is energy that is present in the battery. It is important to note that the algorithm only works with the future, so what happens in the past (the price at which it charged) is irrelevant because the algorithm only sees it as the available energy in the battery at a given moment.
  • The partial charge that happens at 13 when the b_cost is below 0.04 is because it only considers the PV-yield as the profitable energy at that time. Looking at the buy/sell prices of the installation, it is hardly ever profitable to do energy trading using the grid since buy price is greatly higher than the sell price. But PV yield is 'free' in that way. And the reason why the charge/discharge (at 13 and evening) does not happen with prices above 0.05 is because the battery costs of that operation outweighs the earnings you would get from selling it to the grid.
  • The reason why the controls do not reflect what you see on the graph is because the system is trying to be conservative with allowing the battery to be idle. Since the forecasts for both consumption and solar yield can be inaccurate and the battery costs are a factor to consider, we have seen that it is best to disallow the battery to be non-idle when its planned usage is below 10% of its charge/discharge capabilities.
  • For the hours 1 and 2, the planned battery discharge was below 0.3 (10% of the FB_max) looking at the screenshot you have provided in the original post. In this case the battery is set to be idle in order to be conservative with its usage. But for the hour 3, the planned discharge was above 0.3 hence the battery was not idle (as you can see from the screenshot you posted the last) It is important to note that the decision-making with regards to this conservative usage is made based on the forecasts not what happens in reality in that hour: for hour 2 the usage was actually above 0.3 while for hour 3 it was the opposite.
  • For instance, for the first installation screenshots you have provided, the reason why it charges at 11 is because it expects
    consumption of around 4 kWh in the hours after and the FG_max is 3.5 kWh, meaning there is a need for battery to meet that 1 kWh in those hours. Hence it plans to discharge till 14. After 14 it starts charging at a high rate because the prices are the lowest at that time. It continues charging till 17, to be ready to meet the consumption needs in the evening where the prices will be more expensive. And then it discharges.
    In doing these it never aims to charge fully, because that is not necessarily the most cost-effective way to go according to the algorithm. I hope this provides more context as to how the algorithm functions, if you have any more questions feel free to ask.
  • There are two minSoc settings, one of them is set via the RemoteConsole in the ESS part, the otherone can be synced with the followin flow:
    [{"id":"fbce6d35fe3e1aa8","type":"victron-input-custom","z":"b9bfd7d55fb5c6e4","service":"com.victronenergy.settings","path":"/Settings/CGwacs/BatteryLife/MinimumSocLimit","serviceObj":{"service":"com.victronenergy.settings","name":"com.victronenergy.settings"},"pathObj":{"path":"/Settings/CGwacs/BatteryLife/MinimumSocLimit","name":"/Settings/CGwacs/BatteryLife/MinimumSocLimit","type":"number"},"name":"","onlyChanges":false,"x":410,"y":720,"wires":[["e25f1acc1d3799b5"]]},{"id":"e25f1acc1d3799b5","type":"victron-output-custom","z":"b9bfd7d55fb5c6e4","service":"com.victronenergy.settings","path":"/Settings/DynamicEss/MinSoc","serviceObj":{"service":"com.victronenergy.settings","name":"com.victronenergy.settings"},"pathObj":{"path":"/Settings/DynamicEss/MinSoc","name":"/Settings/DynamicEss/MinSoc","type":"number"},"name":"","onlyChanges":false,"x":1000,"y":720,"wires":[]}] 

https://github.com/victronenergy/dynamic-ess

EasySolar II

ESS #1 means low SOC

Multiplus II

Configuration

GX device

seems to be an : Allwinner sun8i Family

Use the firmware 'large' to have access to MQTT and Node-Red.

https://www.victronenergy.com/live/ccgx:root_access

ESPhome grid meter

Using the the following extra software on the GX device to enable mqtt devices to connect to the victron GX and be used as a grid meter:
https://github.com/freakent/dbus-mqtt-devices

Using the following ESPHome alternate P1 meter configuration to send P1 data to the GX device AND to home assistant:

after updating the firmware you seem to need to run the setup.sh script again.

esphome p1meter victron version

GX to Home Assistant

To get information from the GX device into home assistant you can use the following HACS addon: https://github.com/sfstar/hass-victron

To get the battery input/output into the energy dashboard you need to split the sensor.victron_system_battery_power into two values with template sensors and add two cummulative entries with the integration platform.

configuration.yml

You can also have some custom information send from the node-red on the Victron to HomeAssistant via MQTT. For example the next hour Dynamic ESS settings from the example Victron Dynamic ESS flow:

node-red to home assistant

GX Venus OS Large

You can update the firmware with a Venus OS Large version. This version includes Node-RED. In the Remote Console, this can be enabled and you can finde node-red on https://venus:1881/

when installing Venus OS Large, you better run

/opt/victronenergy/swupdate-scripts/resize2fs.sh

Pylontech 5000US

https://www.victronenergy.com/live/battery_compatibility:pylontech_phantom

The equalization takes place according to my information only if:
  • At least one cell has over 3.450V &
  • The cell difference within the battery is over 0,030V &
  • The battery is being charged &
  • The battery is not in error &

Updated by Micha Kersloot 12 months ago · 16 revisions