Project

Algemeen

Profiel

Ess » Geschiedenis » Versie 11

Micha Kersloot, 14-07-2023 08:50

1 1 Micha Kersloot
h1. Ess
2
3 4 Micha Kersloot
{{>toc}}
4
5 11 Micha Kersloot
Gathered info about the Victron Dynamic ESS algorithm
6
7
* 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.
8
* 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.
9
* 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.
10
* 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.
11
* 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.
12
13 9 Micha Kersloot
h1. EasySolar II
14 1 Micha Kersloot
15 10 Micha Kersloot
ESS #1 means low SOC
16
17 9 Micha Kersloot
h2. Multiplus II
18 1 Micha Kersloot
19 9 Micha Kersloot
{{collapse(Configuration)
20 1 Micha Kersloot
<pre>
21
TAB: GeneralSystem frequency	50Hz
22
23
Shore current	19.0	A
24
Overruled by remote	checked
25
Dynamic current limiter	unchecked
26
External current sensor connected (see manual)	unchecked
27
State of charge when Bulk finished	95.0	%
28
Battery capacity	200	Ah
29
Charge efficiency	0.95	TAB: Grid
30
Country / grid code standard	Germany:             VDE-AR-N 4105:2018-11, internal NS protection
31
32
AC input 1	Above selected gridcode plus LOM B (compliant)
33
rise-in-voltage protection U>	253.0	V
34
start network service HF treshold	50.20	Hz
35
P(f>) droop	5.00	%
36
Use Aux1 as disable FeedIn signal	checked
37
Maximum AC current for charge or feed in	100.0	%
38
Reactive power regulation	Use a fixed Cos Phi
39
Filter time for reactive power	3.3	s
40
Cos phi at point 1	1.00	TAB: Inverter
41
PowerAssist	unchecked
42
43
Inverter output voltage	230	V
44
Inverter DC shut-down voltage	44.00	V
45
Inverter DC restart voltage	48.00	V
46
Low DC alarm level	48.00	V
47
Do not restart after short-circuit (VDE 2510-2  safety)	unchecked
48
enable AES	uncheckedTAB: Charger
49
Enable charger	checked
50
51
Weak AC input	unchecked
52
Stop after excessive bulk	unchecked
53
Lithium batteries	checked
54
Disable VSense (for diagnostic purposes)	unchecked
55
Configured for VE.Bus BMS	unchecked
56
Charge curve	Fixed
57
Absorption voltage	52.00	V
58
Float voltage	51.00	V
59
Charge current	70	A
60
Repeated absorption time	1.00	Hr
61
Repeated absorption interval	7.00	Days
62
Absorption time	1	HrTAB: Virtual switch
63
TAB: Usage
64
Virtual switch usage	Do not use VS
65
TAB: Assistants
66
TAB: Assistant Configuration
67
ESS (Energy Storage System) (size:978)
68
69
*)	System uses LiFePo4 with other type BMS
70
	(This can be either a BMS connected via CAN bus or a BMS system in which the 
71
	batteries are protected from high/low cell voltages by external equipment.)
72
*)	The battery capacity of the system is 200 Ah.
73
*)	Sustain voltage 48.00 V.
74
*)	Cut off voltage for a discharge current of:
75
	0.005 C= 46.00 V
76
	0.25 C= 46.00 V
77
	0.7 C= 46.00 V
78
	2 C= 46.00 V
79
*)	Inverting is allowed again when voltage rises 1.20 V above cut-off(0).
80
*)	Relevant VEConfigure settings:
81
	  -  Battery capacity 200 Ah.
82
	  -  PowerAssist unchecked
83
	  -  Lithium batteries checked
84
	  -  Dynamic current limiter unchecked
85
	  -  Storage mode unchecked
86
87
88
Total size of all assistants including the required
89
(hidden) system assistants is: 1037
90
</pre>
91 9 Micha Kersloot
}}
92 2 Micha Kersloot
93 9 Micha Kersloot
h2. GX device
94 3 Micha Kersloot
95 1 Micha Kersloot
seems to be an : Allwinner sun8i Family
96
97 2 Micha Kersloot
https://www.victronenergy.com/live/ccgx:root_access
98
99 9 Micha Kersloot
h3. ESPhome grid meter
100
101 5 Micha Kersloot
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:
102 1 Micha Kersloot
https://github.com/freakent/dbus-mqtt-devices
103 5 Micha Kersloot
104
Using the following ESPHome alternate P1 meter configuration to send P1 data to the GX device AND to home assistant:
105 1 Micha Kersloot
106 8 Micha Kersloot
after updating the firmware you seem to need to run the setup.sh script again.
107
108 1 Micha Kersloot
[[esphome p1meter victron version]]
109
110 9 Micha Kersloot
h3. GX to Home Assistant
111 1 Micha Kersloot
112 6 Micha Kersloot
To get information from the GX device into home assistant you can use the following HACS addon: https://github.com/sfstar/hass-victron
113
114
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.
115
116 9 Micha Kersloot
{{collapse(configuration.yml)
117 5 Micha Kersloot
<pre>
118
sensor:
119
    #total battery input energy (cummulate)
120
  - platform: integration
121
    source: sensor.battery_power_input
122
    name: battery_input_energy
123
    unit_prefix: k
124
    method: left
125
    round: 3
126
    #total battery output energy (cummulate)
127
  - platform: integration
128
    source: sensor.battery_power_output
129
    name: battery_output_energy
130
    unit_prefix: k
131
    method: left
132
    round: 3
133 1 Micha Kersloot
134 5 Micha Kersloot
----
135 6 Micha Kersloot
136 5 Micha Kersloot
template:
137
  -  sensor:
138
      - name: "Battery power input"
139
        unique_id: sensor.battery_power_input
140
        device_class: power
141
        unit_of_measurement: "W"
142
        state: >
143
          {% if states('sensor.victron_system_battery_power')|float >= 0 %}
144
            {{ states('sensor.victron_system_battery_power') }}
145
          {% else %}
146
            0
147
          {% endif %}
148
      - name: "Battery power output"
149
        unique_id: sensor.battery_power_output
150
        device_class: power
151
        unit_of_measurement: "W"
152
        state: >
153
          {% if states('sensor.victron_system_battery_power')|float < 0 %}
154 1 Micha Kersloot
            {{ -1 * states('sensor.victron_system_battery_power')|float }}
155
          {% else %}
156 5 Micha Kersloot
            0
157
          {% endif %}
158
</pre>
159 9 Micha Kersloot
}}
160 7 Micha Kersloot
161 9 Micha Kersloot
h3. GX Venus OS Large
162 7 Micha Kersloot
163 8 Micha Kersloot
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/
164 1 Micha Kersloot
165 8 Micha Kersloot
when installing Venus OS Large, you better run 
166
167 7 Micha Kersloot
  /opt/victronenergy/swupdate-scripts/resize2fs.sh
168
169 9 Micha Kersloot
h1. Pylontech 5000US
170 4 Micha Kersloot
171
https://www.victronenergy.com/live/battery_compatibility:pylontech_phantom