Hallo nochmal,
hab es heute nochmal getestet, von der PV kamen ungefähr 4,5kw (steht ja auch unten im Log) und trotz Modus PV-Laden hat er dann nochmal 2kw aus dem Netz gezogen um 3-phasig mit 6,5kw zu laden ??
Anbei der Code zum Start:
Code: Alles auswählen
2023-07-25 16:57:16: PID: 16671: uberschuss 4576 wattbezug -4576 ladestatus 1 llsoll 10 pvwatt -4680 mindestuberschussphasen 1500 wattkombiniert 4576 schaltschwelle 230 (LV2) at 586 main /var/www/html/openWB/regel.sh
2023-07-25 16:57:16: PID: 16671: anzahlphasen 1 (LV1) at 585 main /var/www/html/openWB/regel.sh
2023-07-25 16:57:16: PID: 16671: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2023-07-25 16:57:15: PID: 16671: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2023-07-25 16:57:15: PID: 16671: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2023-07-25 16:57:15: PID: 16671: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2023-07-25 16:57:15: PID: 16671: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1271 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16671: lla3 0 llv3 238.9 llas13 llas23 soclp1 56 soclp2 (LV1) at 1270 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16671: lla2 0 llv2 238.5 llas12 llas22 sofortll 16 hausverbrauch 326 wattbezug -4576 uberschuss 4576 (LV1) at 1269 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16671: lla1 0 llv1 238.3 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16671: pv1watt -4680 pv2watt pvwatt -4680 ladeleistung 0 llalt 10 nachtladen 0 nachtladen 0 minimalA 10 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16671: speicherleistung 0 speichersoc 0 (LV1) at 1262 loadvars loadvars.sh
2023-07-25 16:57:14: PID: 16877: EVU RET: 0 (LV2) at 16 main modules/bezug_sungrow/main.sh
2023-07-25 16:57:14: PID: 7588: legacy run server: Completed running command in 0.06s: ["modules.devices.sungrow.device","counter","192.168.178.120","502","1","1"]
2023-07-25 16:57:14: PID: 7588: soc.modules.common.store._api: Saving CounterState(powers=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], frequency=50.0, currents=[0.0, 0.0, 0.0], exported=667693.5096755727, voltages=[238.4, 239.2, 240.8], imported=54450.39889169264, power=-4354)
2023-07-25 16:57:14: PID: 7588: modules.common.simcount._simcount: imported: 0 Wh, exported: 12.4746 Wh, new state: SimCounterState(imported=54450.39889169264, timestamp=1690297034.7690554, exported=667693.5096755727, power=-4354)
2023-07-25 16:57:14: PID: 7588: modules.common.simcount._calculate: power did not change sign. Total energy: -12.4746
2023-07-25 16:57:14: PID: 7588: modules.common.simcount._calculate: time passed: 0.00278761, power1: -4596, power2: -4354
2023-07-25 16:57:14: PID: 7588: modules.common.simcount._simcount: Previous state: SimCounterState(imported=54450.39889169264, timestamp=1690297024.7336466, exported=667681.0351049921, power=-4596.0)
2023-07-25 16:57:14: PID: 7588: modules.devices.sungrow.device: Start device reading {'componentNone': <modules.devices.sungrow.counter.SungrowCounter object at 0x74f2ffb0>}
2023-07-25 16:57:14: PID: 7588: legacy run server: Received command ["modules.devices.sungrow.device","counter","192.168.178.120","502","1","1"]
2023-07-25 16:57:13: PID: 16846: BAT RET: 0 (LV2) at 16 main modules/speicher_sungrow/main.sh
2023-07-25 16:57:13: PID: 7588: legacy run server: Completed running command in 0.04s: ["modules.devices.sungrow.device","bat","192.168.178.120","502","1"]
Er hat dann auch automatisch beendet gegen 17:14, als er nur noch ca. 1,4kw hatte:
Code: Alles auswählen
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, in __read_registers
Traceback (most recent call last):
2023-07-25 17:14:12: PID: 7588: modules.common.fault_state: Sungrow Speicher: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>), Traceback:
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
raise ModbusIOException("Unable to decode request")
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
self._process(callback)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
request.unit_id)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/transaction.py", line 192, in execute
Traceback (most recent call last):
2023-07-25 17:14:12: PID: 7588: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2023-07-25 17:14:12: PID: 7588: pymodbus.factory: index out of range
2023-07-25 17:14:12: PID: 7588: soc.modules.common.component_context: Update Komponente ['Sungrow Speicher']
2023-07-25 17:14:12: PID: 7588: modules.devices.sungrow.device: Start device reading {'componentNone': <modules.devices.sungrow.bat.SungrowBat object at 0x74f7f490>}
2023-07-25 17:14:12: PID: 7588: legacy run server: Received command ["modules.devices.sungrow.device","bat","192.168.178.120","502","1"]
2023-07-25 17:14:12: PID: 7588: legacy run server: Completed running command in 0.05s: ["modules.devices.sungrow.device","inverter","192.168.178.120","502","1","1"]
2023-07-25 17:14:12: PID: 7588: soc.modules.common.store._api: Saving InverterState(dc_power=None, exported=828530.9754044488, currents=[0.0, 0.0, 0.0], power=-1727)
2023-07-25 17:14:12: PID: 7588: modules.common.simcount._simcount: imported: 0 Wh, exported: 4.76692 Wh, new state: SimCounterState(imported=0.0, timestamp=1690298052.8105724, exported=828530.9754044488, power=-1727)
2023-07-25 17:14:12: PID: 7588: modules.common.simcount._calculate: power did not change sign. Total energy: -4.76692
2023-07-25 17:14:12: PID: 7588: modules.common.simcount._calculate: time passed: 0.00278849, power1: -1692, power2: -1727
2023-07-25 17:14:12: PID: 7588: modules.common.simcount._simcount: Previous state: SimCounterState(imported=0.0, timestamp=1690298042.77202, exported=828526.2084863571, power=-1692.0)
2023-07-25 17:14:12: PID: 7588: soc.modules.common.component_context: Update Komponente ['Sungrow Wechselrichter']
2023-07-25 17:14:12: PID: 7588: modules.devices.sungrow.device: Start device reading {'component1': <modules.devices.sungrow.inverter.SungrowInverter object at 0x74f3d7d0>}
2023-07-25 17:14:12: PID: 7588: legacy run server: Received command ["modules.devices.sungrow.device","inverter","192.168.178.120","502","1","1"]
2023-07-25 17:14:11: PID: 24896: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
2023-07-25 17:14:06: PID: 23547: **** Regulation loop needs 5 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2023-07-25 17:14:06: PID: 23547: Überschuss 1470; mindestens 4500 (LV1) at 104 nurpvlademodus nurpv.sh
2023-07-25 17:14:06: PID: 23547: uberschuss 1470 wattbezug -1470 ladestatus 0 llsoll 0 pvwatt -1692 mindestuberschussphasen 4500 wattkombiniert 1470 schaltschwelle 690 (LV2) at 586 main /var/www/html/openWB/regel.sh
2023-07-25 17:14:05: PID: 23547: anzahlphasen 3 (LV1) at 585 main /var/www/html/openWB/regel.sh
2023-07-25 17:14:05: PID: 23547: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2023-07-25 17:14:04: PID: 23547: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1271 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: lla3 0 llv3 235.9 llas13 llas23 soclp1 58 soclp2 (LV1) at 1270 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: lla2 0 llv2 234.8 llas12 llas22 sofortll 16 hausverbrauch 211 wattbezug -1470 uberschuss 1470 (LV1) at 1269 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: lla1 0 llv1 236.0 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: pv1watt -1692 pv2watt pvwatt -1692 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23547: speicherleistung 0 speichersoc 0 (LV1) at 1262 loadvars loadvars.sh
2023-07-25 17:14:04: PID: 23771: EVU RET: 0 (LV2) at 16 main modules/bezug_sungrow/main.sh
2023-07-25 17:14:04: PID: 7588: legacy run server: Completed running command in 0.06s: ["modules.devices.sungrow.device","counter","192.168.178.120","502","1","1"]
2023-07-25 17:14:03: PID: 7588: soc.modules.common.store._api: Saving CounterState(powers=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], frequency=50.0, currents=[0.0, 0.0, 0.0], exported=667732.0381182652, voltages=[236.0, 236.0, 237.6], imported=55531.854852462835, power=-1481)
2023-07-25 17:14:03: PID: 7588: modules.common.simcount._simcount: imported: 0 Wh, exported: 4.04991 Wh, new state: SimCounterState(imported=55531.854852462835, timestamp=1690298043.9871047, exported=667732.0381182652, power=-1481)
2023-07-25 17:14:03: PID: 7588: modules.common.simcount._calculate: power did not change sign. Total energy: -4.04991
2023-07-25 17:14:03: PID: 7588: modules.common.simcount._calculate: time passed: 0.00274757, power1: -1467, power2: -1481
2023-07-25 17:14:03: PID: 7588: modules.common.simcount._simcount: Previous state: SimCounterState(imported=55531.854852462835, timestamp=1690298034.0958617, exported=667727.988203778, power=-1467.0)
2023-07-25 17:14:03: PID: 7588: modules.devices.sungrow.device: Start device reading {'componentNone': <modules.devices.sungrow.counter.SungrowCounter object at 0x74f2fdf0>}
2023-07-25 17:14:03: PID: 7588: legacy run server: Received command ["modules.devices.sungrow.device","counter","192.168.178.120","502","1","1"]
2023-07-25 17:14:02: PID: 23740: BAT RET: 0 (LV2) at 16 main modules/speicher_sungrow/main.sh
2023-07-25 17:14:02: PID: 7588: legacy run server: Completed running command in 0.04s: ["modules.devices.sungrow.device","bat","192.168.178.120","502","1"]
In der einen Zeile steht ja auch mindestens 4500 watt (LV1), also Ladepunkt 1, da ich die Standardeinstellung ja bei 1500 watt pro Phase habe.
Code: Alles auswählen
2023-07-25 17:14:06: PID: 23547: Überschuss 1470; mindestens 4500 (LV1) at 104 nurpvlademodus nurpv.sh
Also ich denke mal, ich muss das dann auf 800watt stellen oder?