[nightly/master] Probleme mit der Abschaltung im PV-Laden

Fragen zur Nutzung, Features, usw..
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

[nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

Ich mach' mal einen neuen Thread zu diesem Thema auf, irgendwie scheint mich dieses Thema länger zu begleiten und es wird im Feedback-Thread einigermassen unübersichtlich.

Situation: PV Laden, derzeit kein Überschuss. Nachts wurde mittels Zeitladen und SoC Begrenzung geladen.
SoC Limit von 75% wurde erreicht, Ladevorgang wurde nicht beendet sondern lief im PV Modus weiter, obwohl es Nachts keinen Überschuss gab.

Im Auto ist ein Limit von 77% eingestellt, der Ladevorgang wurde durch das Auto dann beendet.

Derzeit habe ich folgende Statusmeldung: "Da das EV nicht lädt und die Abschaltschwelle erreicht wird, wird die Ladefreigabe sofort entzogen.", tatsächlich bleibt die Ladefreigabe mit 1p/6A aber bestehen.

Aktuelle Version: 2023-01-09 13:58:35 +0100 [7b73a5c1]
Ich mach' dann gleich mal ein Update und versuche ob ich den Fehler dann auch noch reproduzieren kann.
[Update]: Dieses Problem konnte ich mit der aktuellen nicht mehr reproduzieren.

Log hierzu:

Code: Alles auswählen

2023-01-12 08:02:03,728 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-12 08:02:03,785 - {soc.modules.common.component_context:51} - {DEBUG:device4} - Update Komponenten ['EnergyMeter 1.0']
2023-01-12 08:02:03,787 - {soc.modules.common.component_context:51} - {DEBUG:device8} - Update Komponenten ['Pumpe']
2023-01-12 08:02:03,794 - {soc.modules.common.component_context:51} - {DEBUG:device9} - Update Komponenten ['Trockner']
2023-01-12 08:02:03,795 - {soc.modules.common.component_context:24} - {DEBUG:device14} - Update Komponente ['LP1 (Garage)']
2023-01-12 08:02:03,796 - {urllib3.connectionpool:227} - {DEBUG:device8} - Starting new HTTP connection (1): 192.168.178.81:80
2023-01-12 08:02:03,802 - {urllib3.connectionpool:227} - {DEBUG:device9} - Starting new HTTP connection (1): 192.168.178.209:80
2023-01-12 08:02:03,803 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device15} - Start device reading {'component22': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x7261c9e8>}
2023-01-12 08:02:03,805 - {soc.modules.common.component_context:24} - {DEBUG:device4} - Update Komponente ['EnergyMeter 1.0']
2023-01-12 08:02:03,806 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device16} - Start device reading {'component23': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x7261c6e8>}
2023-01-12 08:02:03,811 - {urllib3.connectionpool:272} - {DEBUG:device14} - Resetting dropped connection: 192.168.178.51
2023-01-12 08:02:03,815 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:02:03,817 - {soc.modules.common.store._api:26} - {DEBUG:device4} - Raw data CounterState(voltages=[226.833, 227.786, 227.822], powers=[53.8, 213.6, 305.7], currents=[0.325, 1.462, 1.604], power_factors=[0.831, 0.716, 0.952], imported=35989272.8, exported=73853803.0, power=573.1, frequency=50)
2023-01-12 08:02:03,819 - {soc.modules.common.component_context:24} - {DEBUG:device15} - Update Komponente ['WR Garage (neu)']
2023-01-12 08:02:03,827 - {soc.modules.common.component_context:24} - {DEBUG:device16} - Update Komponente ['WR Haus (neu)']
2023-01-12 08:02:03,828 - {modules.devices.sma_shm.device:29} - {DEBUG:device4} - All components updated
2023-01-12 08:02:03,831 - {urllib3.connectionpool:452} - {DEBUG:device8} - http://192.168.178.81:80 "GET /meter/0 HTTP/1.1" 200 113
2023-01-12 08:02:03,845 - {soc.modules.common.req:11} - {DEBUG:device8} - Get-Response: {"power":0.00,"overpower":0.00,"is_valid":true,"timestamp":1673510523,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-12 08:02:04,298 - {urllib3.connectionpool:452} - {DEBUG:device9} - http://192.168.178.209:80 "GET /meter/0 HTTP/1.1" 200 87
2023-01-12 08:02:04,300 - {soc.modules.common.req:11} - {DEBUG:device9} - Get-Response: {"power":0.00,"is_valid":true,"timestamp":0,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-12 08:02:04,303 - {modules.common.simcount._simcount:38} - {DEBUG:device8} - Previous state: SimCounterState(timestamp=1673506911.4255526, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-12 08:02:04,703 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llkwh HTTP/1.1" 200 8
2023-01-12 08:02:04,705 - {modules.common.simcount._calculate:13} - {DEBUG:device8} - time passed: 0.00357728, power1: 0, power2: 0
2023-01-12 08:02:04,706 - {modules.common.simcount._simcount:38} - {DEBUG:device9} - Previous state: SimCounterState(timestamp=1673506911.8497958, power=0.0, imported=108158.61628581406, exported=0.0)
2023-01-12 08:02:04,707 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 6074.364
2023-01-12 08:02:04,708 - {modules.common.simcount._calculate:29} - {DEBUG:device8} - power did not change sign. Total energy: 0
2023-01-12 08:02:04,710 - {modules.common.simcount._calculate:13} - {DEBUG:device9} - time passed: 0.00357118, power1: 0, power2: 0
2023-01-12 08:02:04,716 - {modules.common.simcount._simcount:47} - {DEBUG:device8} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673506924.3037622, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-12 08:02:04,718 - {modules.common.simcount._calculate:29} - {DEBUG:device9} - power did not change sign. Total energy: 0
2023-01-12 08:02:04,720 - {modules.common.simcount._simcount:47} - {DEBUG:device9} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673506924.7060452, power=0.0, imported=108158.61628581406, exported=0.0)
2023-01-12 08:02:04,719 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llaktuell HTTP/1.1" 200 1
2023-01-12 08:02:04,725 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0
2023-01-12 08:02:04,721 - {soc.modules.common.store._api:26} - {DEBUG:device8} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:02:04,726 - {soc.modules.common.store._api:26} - {DEBUG:device9} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=108158.61628581406, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:02:04,728 - {modules.common.simcount._simcount:38} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1673506911.4247565, power=0.0, imported=728402.6143719663, exported=0)
2023-01-12 08:02:04,741 - {modules.common.simcount._calculate:13} - {DEBUG:device14} - time passed: 0.00369533, power1: 0, power2: 0
2023-01-12 08:02:04,742 - {modules.common.simcount._calculate:29} - {DEBUG:device14} - power did not change sign. Total energy: 0
2023-01-12 08:02:04,742 - {modules.common.simcount._simcount:47} - {DEBUG:device14} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673506924.7279449, power=0.0, imported=728402.6143719663, exported=0)
2023-01-12 08:02:04,752 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla1 HTTP/1.1" 200 3
2023-01-12 08:02:04,754 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:02:04,764 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device15} - WR 192.168.178.204: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2535027, dc_power=0)
2023-01-12 08:02:04,764 - {soc.modules.common.store._api:26} - {DEBUG:device15} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2535027, dc_power=0)
2023-01-12 08:02:04,767 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla2 HTTP/1.1" 200 3
2023-01-12 08:02:04,768 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:02:04,781 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla3 HTTP/1.1" 200 3
2023-01-12 08:02:04,783 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:02:04,784 - {soc.modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=728402.6143719663, exported=0, power=0.0, frequency=50)
2023-01-12 08:02:04,974 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device16} - WR 192.168.178.201: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41032521, dc_power=0)
2023-01-12 08:02:04,975 - {soc.modules.common.store._api:26} - {DEBUG:device16} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41032521, dc_power=0)
2023-01-12 08:02:04,979 - {soc.modules.common.component_context:24} - {DEBUG:component23} - Update Komponente ['WR Haus (neu)']
2023-01-12 08:02:04,980 - {soc.modules.common.store._api:26} - {DEBUG:component23} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41032521, dc_power=0)
2023-01-12 08:02:04,980 - {soc.modules.common.store._api:30} - {DEBUG:component23} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=41032521, dc_power=0)
2023-01-12 08:02:04,981 - {soc.modules.common.component_context:24} - {DEBUG:component22} - Update Komponente ['WR Garage (neu)']
2023-01-12 08:02:04,982 - {soc.modules.common.store._api:26} - {DEBUG:component22} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2535027, dc_power=0)
2023-01-12 08:02:04,982 - {soc.modules.common.store._api:30} - {DEBUG:component22} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=2535027, dc_power=0)
2023-01-12 08:02:04,985 - {soc.modules.common.component_context:24} - {DEBUG:component14} - Update Komponente ['Pumpe']
2023-01-12 08:02:04,987 - {soc.modules.common.store._api:30} - {DEBUG:component14} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:02:04,993 - {soc.modules.common.component_context:24} - {DEBUG:component15} - Update Komponente ['Trockner']
2023-01-12 08:02:04,994 - {soc.modules.common.store._api:30} - {DEBUG:component15} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=108158.61628581406, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:02:05,000 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:02:05,005 - {soc.modules.common.component_context:24} - {DEBUG:component21} - Update Komponente ['LP1 (Garage)']
2023-01-12 08:02:05,007 - {soc.modules.common.store._api:30} - {DEBUG:component21} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=728402.6143719663, exported=0, power=0.0, frequency=50)
2023-01-12 08:02:05,133 - {soc.modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['EnergyMeter 1.0']
2023-01-12 08:02:05,133 - {soc.modules.common.store._api:30} - {DEBUG:component7} - Saving CounterState(voltages=[226.833, 227.786, 227.822], powers=[53.8, 213.6, 305.7], currents=[0.325, 1.462, 1.604], power_factors=[0.831, 0.716, 0.952], imported=35989272.8, exported=73853803.0, power=573.1, frequency=50)
2023-01-12 08:02:05,221 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 7: [33.67, 32.54, 32.4]
2023-01-12 08:02:05,221 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 7: 23426.9
2023-01-12 08:02:05,222 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 14: [15.0, 15.0, 15.0]
2023-01-12 08:02:05,222 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 15: [15.0, 15.0, 15.0]
2023-01-12 08:02:05,223 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 21: [31.0, 31.0, 31.0]
2023-01-12 08:02:05,225 - {control.chargepoint:697} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-12 08:02:05,226 - {control.chargepoint:688} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-12 08:02:05,226 - {control.ev:618} - {DEBUG:MainThread} - Keine Ladung, da kein Zeitfenster für Zeitladen aktiv ist.
2023-01-12 08:02:05,229 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-12 08:02:05,231 - {control.chargepoint:857} - {DEBUG:MainThread} - LP 13, EV: Tesla (EV-Nr.3): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.0
2023-01-12 08:02:05,234 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-12 08:02:05,235 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=9662.6, daily_exported=0, power=0, imported=4330079.59, exported=0))
2023-01-12 08:02:05,236 - {control.data:297} - {DEBUG:MainThread} - cp13
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=76.0), currents=[0.0, 0.0, 0.0], daily_imported=9662.6, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4330079.59, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[228.32, 227.9, 226.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=3, charging_ev_prev=3, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4328575.68, imported_at_plugtime=4320416.99, imported_since_mode_switch=1501.9599999999627, imported_since_plugged=9662.599999999627, range_charged=7.509799999999814, time_charged='0:48', timestamp_start_charging='01/12/2023, 01:46:09'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/11/2023, 12:10:43', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x709b9c70>), config=Config(connection_module={'type': 'external_openwb', 'configuration': {'ip_address': '192.168.178.210', 'duo_num': 1}}, power_module={}, ev=3, name='Gartenhaus', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=13))
2023-01-12 08:02:05,237 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 08:02:05,238 - {control.data:297} - {DEBUG:MainThread} - counter7
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 23426.9, 'surplus_power_left': 0, 'consumption_left': 21395.8, 'raw_currents_left': [33.67, 32.54, 32.4]}, 'get': {'daily_exported': 0.0, 'daily_imported': 27360.300000004, 'voltages': [226.83, 227.79, 227.82], 'currents': [0.33, 1.46, 1.6], 'powers': [53.8, 213.6, 305.7], 'power_factors': [0.83, 0.72, 0.95], 'imported': 35989272.8, 'exported': 73853803.0, 'power': 573.1, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'frequency': 50}, 'config': {'max_currents': [35, 35, 35], 'max_total_power': 24000}}
2023-01-12 08:02:05,238 - {control.data:297} - {DEBUG:MainThread} - counter14
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 56424.15561013759, 'exported': 0.0, 'power': 0.0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 08:02:05,239 - {control.data:297} - {DEBUG:MainThread} - counter15
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 108158.61628581406, 'power': 0.0, 'frequency': 50, 'exported': 0.0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 08:02:05,239 - {control.data:297} - {DEBUG:MainThread} - counter21
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [31.0, 31.0, 31.0]}, 'get': {'daily_exported': 0, 'daily_imported': 13701.5279160503, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 728402.6143719663, 'exported': 0, 'power': 0.0, 'frequency': 50, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-12 08:02:05,239 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 23, 'type': 'inverter', 'children': []}, {'id': 22, 'type': 'inverter', 'children': []}, {'id': 14, 'type': 'counter', 'children': []}, {'id': 15, 'type': 'counter', 'children': []}, {'id': 13, 'type': 'cp', 'children': []}, {'id': 21, 'type': 'counter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=573.1, invalid_home_consumption=0, daily_yield_home_consumption=27360.300000004))
2023-01-12 08:02:05,240 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=22, soc=50))))
2023-01-12 08:02:05,241 - {control.data:297} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='Tesla', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2022-11-07', '2022-11-07'], weekly=[False, False, False, False, False, False, False]), time=['01:00', '06:30'], name='Nachts', current=16, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='none', amount=1000, soc_limit=65, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=20000, soc=75))))
2023-01-12 08:02:05,243 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:02:05,243 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:02:05,244 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:02:05,245 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[0.0, 6, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan='Nachts'), charge_template=1, ev_template=1, name='Tesla', tag_id=[], get=Get(soc=76.0, soc_timestamp='01/12/2023, 02:31:33', force_soc_update=False, range=367.7824702, fault_state=0, fault_str='Kein Fehler.'))
2023-01-12 08:02:05,246 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-12 08:02:05,246 - {control.data:297} - {DEBUG:MainThread} - et1
EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2)
2023-01-12 08:02:05,247 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=8, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=180, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=40, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.23, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-12 08:02:05,247 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-12 08:02:05,247 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-12 08:02:05,248 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 43567548, 'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-12 08:02:05,248 - {control.data:297} - {DEBUG:MainThread} - pv22
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 2535027, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-12 08:02:05,249 - {control.data:297} - {DEBUG:MainThread} - pv23
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 41032521, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-12 08:02:05,251 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.99', 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1673506912, 'time': '08:01:52', 'grid': 0.573, 'counter14-power': 0.0, 'counter15-power': 0.0, 'counter21-power': 0.0, 'house-power': 0.573, 'charging-all': 0.0, 'pv-all': -0.0, 'cp13-power': 0.0, 'ev3-soc': 76.0}, 'version': '1.99.101.1', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_missing_commits': [], 'current_branch': 'master', 'current_branch_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'datastore_version': 6, 'module_update_completed': True}
2023-01-12 08:02:05,252 - {control.data:310} - {DEBUG:MainThread} - device4
{'name': 'EVU', 'type': 'sma_shm', 'id': 4, 'configuration': {}}
2023-01-12 08:02:05,253 - {control.data:312} - {DEBUG:MainThread} - component7
{'name': 'EnergyMeter 1.0', 'type': 'counter', 'id': 7, 'configuration': {'serials': None}}
2023-01-12 08:02:05,253 - {control.data:310} - {DEBUG:MainThread} - device8
{'name': 'Pumpe', 'type': 'json', 'id': 8, 'configuration': {'url': 'http://192.168.178.81/meter/0'}}
2023-01-12 08:02:05,253 - {control.data:312} - {DEBUG:MainThread} - component14
{'name': 'Pumpe', 'type': 'counter', 'id': 14, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-12 08:02:05,253 - {control.data:310} - {DEBUG:MainThread} - device9
{'name': 'Trockner', 'type': 'json', 'id': 9, 'configuration': {'url': 'http://192.168.178.209/meter/0'}}
2023-01-12 08:02:05,254 - {control.data:312} - {DEBUG:MainThread} - component15
{'name': 'Trockner', 'type': 'counter', 'id': 15, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-12 08:02:05,254 - {control.data:310} - {DEBUG:MainThread} - device14
{'name': 'openWB (1.9)', 'type': 'http', 'id': 14, 'configuration': {'url': 'http://192.168.178.51'}}
2023-01-12 08:02:05,254 - {control.data:312} - {DEBUG:MainThread} - component21
{'name': 'LP1 (Garage)', 'type': 'counter', 'id': 21, 'configuration': {'current_l1_path': '/openWB/ramdisk/lla1', 'current_l2_path': '/openWB/ramdisk/lla2', 'current_l3_path': '/openWB/ramdisk/lla3', 'exported_path': None, 'imported_path': '/openWB/ramdisk/llkwh', 'power_path': '/openWB/ramdisk/llaktuell'}}
2023-01-12 08:02:05,254 - {control.data:310} - {DEBUG:MainThread} - device15
{'name': 'WR Garage (neu)', 'type': 'sma_sunny_boy', 'id': 15, 'configuration': {'ip_address': '192.168.178.204'}}
2023-01-12 08:02:05,255 - {control.data:312} - {DEBUG:MainThread} - component22
{'name': 'WR Garage (neu)', 'type': 'inverter', 'id': 22, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-12 08:02:05,255 - {control.data:310} - {DEBUG:MainThread} - device16
{'name': 'WR Haus (neu)', 'type': 'sma_sunny_boy', 'id': 16, 'configuration': {'ip_address': '192.168.178.201'}}
2023-01-12 08:02:05,255 - {control.data:312} - {DEBUG:MainThread} - component23
{'name': 'WR Haus (neu)', 'type': 'inverter', 'id': 23, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-12 08:02:05,255 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-12 08:02:05,256 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-12 08:02:05,257 - {control.counter:313} - {DEBUG:MainThread} - LP13 Switch-Off-Threshold prüfen: EVU 573.1W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2023-01-12 08:02:05,257 - {control.counter:320} - {DEBUG:MainThread} - Relevante Leistung für Löschen der Abschaltschwelle: 573.1W, Schwelle: 350W
2023-01-12 08:02:05,258 - {control.chargepoint:349} - {INFO:MainThread} - LP 13: Da das EV nicht lädt und die Abschaltschwelle erreicht wird, wird die Ladefreigabe sofort entzogen.
2023-01-12 08:02:05,261 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-12 08:02:05,279 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 7
2023-01-12 08:02:05,282 - {control.counter:124} - {DEBUG:MainThread} - Zähler 7: [33.67, 26.54, 32.4]A verbleibende Ströme, 22046.9W verbleibende Leistung
2023-01-12 08:02:05,282 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP13: Stromstärke 6A
2023-01-12 08:02:05,286 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-12 08:02:05,296 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-12 08:02:05,296 - {control.counter:407} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:02:05,298 - {control.counter:407} - {DEBUG:MainThread} - Zähler 14: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:02:05,298 - {control.counter:407} - {DEBUG:MainThread} - Zähler 15: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:02:05,301 - {control.counter:407} - {DEBUG:MainThread} - Zähler 21: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:02:05,302 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-12 08:02:05,302 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-12 08:02:05,305 - {control.process:106} - {INFO:MainThread} - LP13: set current 6 A
2023-01-12 08:02:05,310 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:02:05,324 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-12 08:02:05,606 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

Situation: PV Laden, derzeit kein Überschuss. Mittels Zeitladen und SoC Begrenzung geladen.
SoC Limit wurde erreicht, Ladevorgang wurde nicht beendet sondern lief im PV Modus weiter. PV-geführte Ladung führt Umschaltung von 3p auf 1p durch, 180s Timer für Ladestopp läuft ab, Meldung "Abschaltschwelle während der Verzögerung überschritten." - obwohl es keine Einspeisung gab. Timer läuft erneut ab, Ladung wird nicht beendet.
Screenshot 2023-01-12 090637.png
installierte Version: 2023-01-11 13:44:22 +0100 [330b9b1f]

Code: Alles auswählen

2023-01-12 08:55:20,392 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-12 08:55:20,453 - {soc.modules.common.component_context:51} - {DEBUG:device4} - Update Komponenten ['EnergyMeter 1.0']
2023-01-12 08:55:20,455 - {soc.modules.common.component_context:51} - {DEBUG:device8} - Update Komponenten ['Pumpe']
2023-01-12 08:55:20,456 - {soc.modules.common.component_context:51} - {DEBUG:device9} - Update Komponenten ['Trockner']
2023-01-12 08:55:20,464 - {soc.modules.common.component_context:24} - {DEBUG:device14} - Update Komponente ['LP1 (Garage)']
2023-01-12 08:55:20,465 - {urllib3.connectionpool:227} - {DEBUG:device8} - Starting new HTTP connection (1): 192.168.178.81:80
2023-01-12 08:55:20,470 - {urllib3.connectionpool:227} - {DEBUG:device9} - Starting new HTTP connection (1): 192.168.178.209:80
2023-01-12 08:55:20,471 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device15} - Start device reading {'component22': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x72670c28>}
2023-01-12 08:55:20,472 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device16} - Start device reading {'component23': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x726bf580>}
2023-01-12 08:55:20,475 - {urllib3.connectionpool:272} - {DEBUG:device14} - Resetting dropped connection: 192.168.178.51
2023-01-12 08:55:20,476 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:55:20,482 - {soc.modules.common.component_context:24} - {DEBUG:device15} - Update Komponente ['WR Garage (neu)']
2023-01-12 08:55:20,483 - {soc.modules.common.component_context:24} - {DEBUG:device16} - Update Komponente ['WR Haus (neu)']
2023-01-12 08:55:20,487 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llkwh HTTP/1.1" 200 8
2023-01-12 08:55:20,489 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 6074.364
2023-01-12 08:55:20,495 - {urllib3.connectionpool:452} - {DEBUG:device8} - http://192.168.178.81:80 "GET /meter/0 HTTP/1.1" 200 113
2023-01-12 08:55:20,497 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llaktuell HTTP/1.1" 200 1
2023-01-12 08:55:20,499 - {soc.modules.common.req:11} - {DEBUG:device8} - Get-Response: {"power":0.00,"overpower":0.00,"is_valid":true,"timestamp":1673513720,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-12 08:55:20,501 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0
2023-01-12 08:55:20,899 - {urllib3.connectionpool:452} - {DEBUG:device9} - http://192.168.178.209:80 "GET /meter/0 HTTP/1.1" 200 87
2023-01-12 08:55:20,901 - {modules.common.simcount._simcount:38} - {DEBUG:device8} - Previous state: SimCounterState(timestamp=1673510111.1800833, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-12 08:55:20,903 - {modules.common.simcount._simcount:38} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1673510111.1863596, power=0.0, imported=728402.6143719663, exported=0)
2023-01-12 08:55:20,903 - {soc.modules.common.req:11} - {DEBUG:device9} - Get-Response: {"power":0.00,"is_valid":true,"timestamp":0,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-12 08:55:20,906 - {modules.common.simcount._calculate:13} - {DEBUG:device8} - time passed: 0.00270043, power1: 0, power2: 0
2023-01-12 08:55:21,304 - {modules.common.simcount._calculate:29} - {DEBUG:device8} - power did not change sign. Total energy: 0
2023-01-12 08:55:21,304 - {soc.modules.common.component_context:24} - {DEBUG:device4} - Update Komponente ['EnergyMeter 1.0']
2023-01-12 08:55:20,906 - {modules.common.simcount._calculate:13} - {DEBUG:device14} - time passed: 0.00269911, power1: 0, power2: 0
2023-01-12 08:55:21,307 - {modules.common.simcount._calculate:29} - {DEBUG:device14} - power did not change sign. Total energy: 0
2023-01-12 08:55:21,305 - {soc.modules.common.store._api:26} - {DEBUG:device4} - Raw data CounterState(voltages=[230.722, 227.702, 229.125], powers=[-113.8, 1705.9, 2235.2], currents=[-0.546, 7.628, 9.784], power_factors=[0.959, 0.996, 0.999], imported=35991111.900000006, exported=73853803.0, power=3827.3, frequency=50)
2023-01-12 08:55:21,305 - {modules.common.simcount._simcount:47} - {DEBUG:device8} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673510120.90162, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-12 08:55:21,307 - {modules.common.simcount._simcount:47} - {DEBUG:device14} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673510120.9031594, power=0.0, imported=728402.6143719663, exported=0)
2023-01-12 08:55:21,309 - {modules.common.simcount._simcount:38} - {DEBUG:device9} - Previous state: SimCounterState(timestamp=1673510111.181123, power=0.0, imported=108158.61628581406, exported=0.0)
2023-01-12 08:55:21,313 - {modules.devices.sma_shm.device:29} - {DEBUG:device4} - All components updated
2023-01-12 08:55:21,319 - {modules.common.simcount._calculate:13} - {DEBUG:device9} - time passed: 0.00281339, power1: 0, power2: 0
2023-01-12 08:55:21,319 - {soc.modules.common.store._api:26} - {DEBUG:device8} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:55:21,327 - {modules.common.simcount._calculate:29} - {DEBUG:device9} - power did not change sign. Total energy: 0
2023-01-12 08:55:21,338 - {modules.common.simcount._simcount:47} - {DEBUG:device9} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673510121.309339, power=0.0, imported=108158.61628581406, exported=0.0)
2023-01-12 08:55:21,340 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla1 HTTP/1.1" 200 3
2023-01-12 08:55:21,343 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:55:21,347 - {soc.modules.common.store._api:26} - {DEBUG:device9} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=108158.61628581406, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:55:21,359 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device15} - WR 192.168.178.204: InverterState(currents=[0.0, 0.0, 0.0], power=-118, exported=2535055, dc_power=-187)
2023-01-12 08:55:21,360 - {soc.modules.common.store._api:26} - {DEBUG:device15} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-118, exported=2535055, dc_power=-187)
2023-01-12 08:55:21,371 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla2 HTTP/1.1" 200 3
2023-01-12 08:55:21,373 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:55:21,383 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla3 HTTP/1.1" 200 3
2023-01-12 08:55:21,384 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-12 08:55:21,385 - {soc.modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=728402.6143719663, exported=0, power=0.0, frequency=50)
2023-01-12 08:55:21,521 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device16} - WR 192.168.178.201: InverterState(currents=[0.0, 0.0, 0.0], power=-144, exported=41032564, dc_power=-168)
2023-01-12 08:55:21,522 - {soc.modules.common.store._api:26} - {DEBUG:device16} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-144, exported=41032564, dc_power=-168)
2023-01-12 08:55:21,526 - {soc.modules.common.component_context:24} - {DEBUG:component23} - Update Komponente ['WR Haus (neu)']
2023-01-12 08:55:21,529 - {soc.modules.common.store._api:26} - {DEBUG:component23} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-144, exported=41032564, dc_power=-168)
2023-01-12 08:55:21,530 - {soc.modules.common.store._api:30} - {DEBUG:component23} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-144, exported=41032564, dc_power=-168)
2023-01-12 08:55:21,535 - {soc.modules.common.component_context:24} - {DEBUG:component22} - Update Komponente ['WR Garage (neu)']
2023-01-12 08:55:21,536 - {soc.modules.common.store._api:26} - {DEBUG:component22} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-118, exported=2535055, dc_power=-187)
2023-01-12 08:55:21,536 - {soc.modules.common.store._api:30} - {DEBUG:component22} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-118, exported=2535055, dc_power=-187)
2023-01-12 08:55:21,544 - {soc.modules.common.component_context:24} - {DEBUG:component14} - Update Komponente ['Pumpe']
2023-01-12 08:55:21,544 - {soc.modules.common.store._api:30} - {DEBUG:component14} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:55:21,546 - {soc.modules.common.component_context:24} - {DEBUG:component15} - Update Komponente ['Trockner']
2023-01-12 08:55:21,548 - {soc.modules.common.store._api:30} - {DEBUG:component15} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=108158.61628581406, exported=0.0, power=0.0, frequency=50)
2023-01-12 08:55:21,559 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:55:21,564 - {soc.modules.common.component_context:24} - {DEBUG:component21} - Update Komponente ['LP1 (Garage)']
2023-01-12 08:55:21,577 - {soc.modules.common.store._api:30} - {DEBUG:component21} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=728402.6143719663, exported=0, power=0.0, frequency=50)
2023-01-12 08:55:21,689 - {soc.modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['EnergyMeter 1.0']
2023-01-12 08:55:21,689 - {soc.modules.common.store._api:30} - {DEBUG:component7} - Saving CounterState(voltages=[230.722, 227.702, 229.125], powers=[-113.8, 1705.9, 2235.2], currents=[-0.546, 7.628, 9.784], power_factors=[0.959, 0.996, 0.999], imported=35991111.900000006, exported=73853803.0, power=3827.3, frequency=50)
2023-01-12 08:55:21,777 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 7: [34.55, 32.480000000000004, 24.25]
2023-01-12 08:55:21,779 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 7: 21562.02
2023-01-12 08:55:21,780 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 14: [15.0, 15.0, 15.0]
2023-01-12 08:55:21,780 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 15: [15.0, 15.0, 15.0]
2023-01-12 08:55:21,781 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 21: [31.0, 31.0, 31.0]
2023-01-12 08:55:21,783 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-12 08:55:21,784 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-12 08:55:21,787 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-12 08:55:21,790 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 13, EV: Tesla (EV-Nr.3): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6.11
2023-01-12 08:55:21,795 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-12 08:55:21,796 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10698.73, daily_exported=0, power=1389.32, imported=4331123.54, exported=0))
2023-01-12 08:55:21,797 - {control.data:297} - {DEBUG:MainThread} - cp13
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=78.0), currents=[6.11, 0.03, 0.0], daily_imported=10698.73, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4331123.54, phases_in_use=1, plug_state=True, power=1389.32, rfid_timestamp=None, rfid=None, state_str=None, voltages=[226.45, 229.56, 231.12]), set=Set(change_ev_permitted=[True, ''], charging_ev=3, charging_ev_prev=3, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=4330500.0, imported_at_plugtime=4320416.99, imported_since_mode_switch=618.6500000003725, imported_since_plugged=10701.660000000149, range_charged=3.093250000001863, time_charged='0:11', timestamp_start_charging='01/12/2023, 08:44:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/11/2023, 12:10:43', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x714e9a18>), config=Config(connection_module={'type': 'external_openwb', 'configuration': {'ip_address': '192.168.178.210', 'duo_num': 1}}, power_module={}, ev=3, name='Gartenhaus', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=13))
2023-01-12 08:55:21,799 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 08:55:21,800 - {control.data:297} - {DEBUG:MainThread} - counter7
{'set': {'reserved_surplus': 0, 'released_surplus': 1380.0, 'raw_power_left': 21562.02, 'surplus_power_left': 0, 'consumption_left': 21395.8, 'raw_currents_left': [34.55, 32.480000000000004, 24.25]}, 'get': {'daily_exported': 0.0, 'daily_imported': 29189.5, 'voltages': [230.72, 227.7, 229.12], 'currents': [-0.55, 7.63, 9.78], 'powers': [-113.8, 1705.9, 2235.2], 'power_factors': [0.96, 1.0, 1.0], 'imported': 35991111.900000006, 'exported': 73853803.0, 'power': 3827.3, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'frequency': 50}, 'config': {'max_currents': [35, 35, 35], 'max_total_power': 24000}}
2023-01-12 08:55:21,801 - {control.data:297} - {DEBUG:MainThread} - counter14
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 56424.15561013759, 'exported': 0.0, 'power': 0.0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 08:55:21,802 - {control.data:297} - {DEBUG:MainThread} - counter15
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 108158.61628581406, 'power': 0.0, 'frequency': 50, 'exported': 0.0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 08:55:21,802 - {control.data:297} - {DEBUG:MainThread} - counter21
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [31.0, 31.0, 31.0]}, 'get': {'daily_exported': 0, 'daily_imported': 13701.5279160503, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 728402.6143719663, 'exported': 0, 'power': 0.0, 'frequency': 50, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-12 08:55:21,803 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 23, 'type': 'inverter', 'children': []}, {'id': 22, 'type': 'inverter', 'children': []}, {'id': 14, 'type': 'counter', 'children': []}, {'id': 15, 'type': 'counter', 'children': []}, {'id': 13, 'type': 'cp', 'children': []}, {'id': 21, 'type': 'counter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2699.9800000000005, invalid_home_consumption=0, daily_yield_home_consumption=29258.5))
2023-01-12 08:55:21,804 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=22, soc=50))))
2023-01-12 08:55:21,805 - {control.data:297} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='Tesla', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2022-11-07', '2022-11-07'], weekly=[False, False, False, False, False, False, False]), time=['01:00', '06:30'], name='Nachts', current=16, limit=Limit(selected='soc', amount=1000, soc=75)), '4': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '10:00'], name='Debug', current=16, limit=Limit(selected='soc', amount=1000, soc=77))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=20000, soc=75))))
2023-01-12 08:55:21,805 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:55:21,806 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:55:21,807 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 08:55:21,807 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[0.0, 6, 0.0], phases=1, prio=False, timestamp_switch_on_off='01/12/2023, 08:55:11', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan='Debug'), charge_template=1, ev_template=1, name='Tesla', tag_id=[], get=Get(soc=78.0, soc_timestamp='01/12/2023, 08:53:32', force_soc_update=False, range=373.0128252, fault_state=0, fault_str='Kein Fehler.'))
2023-01-12 08:55:21,808 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-12 08:55:21,808 - {control.data:297} - {DEBUG:MainThread} - et1
EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2)
2023-01-12 08:55:21,808 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=8, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=180, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=40, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.23, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-12 08:55:21,809 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-12 08:55:21,809 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-12 08:55:21,809 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -263, 'exported': 43567618, 'daily_exported': 69, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-12 08:55:21,810 - {control.data:297} - {DEBUG:MainThread} - pv22
{'get': {'daily_exported': 27, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -118, 'exported': 2535055, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-12 08:55:21,810 - {control.data:297} - {DEBUG:MainThread} - pv23
{'get': {'daily_exported': 42, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -144, 'exported': 41032564, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-12 08:55:21,810 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.99', 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1673510112, 'time': '08:55:12', 'grid': 3.84, 'counter14-power': 0.0, 'counter15-power': 0.0, 'counter21-power': 0.0, 'house-power': 2.712, 'charging-all': 1.39, 'pv-all': 0.263, 'cp13-power': 1.39, 'ev3-soc': 78.0}, 'version': '1.99.101.1', 'current_commit': '2023-01-11 13:44:22 +0100 [330b9b1f]', 'current_missing_commits': [], 'current_branch': 'master', 'current_branch_commit': '2023-01-11 13:44:22 +0100 [330b9b1f]', 'datastore_version': 6, 'module_update_completed': True}
2023-01-12 08:55:21,811 - {control.data:310} - {DEBUG:MainThread} - device4
{'name': 'EVU', 'type': 'sma_shm', 'id': 4, 'configuration': {}}
2023-01-12 08:55:21,811 - {control.data:312} - {DEBUG:MainThread} - component7
{'name': 'EnergyMeter 1.0', 'type': 'counter', 'id': 7, 'configuration': {'serials': None}}
2023-01-12 08:55:21,811 - {control.data:310} - {DEBUG:MainThread} - device8
{'name': 'Pumpe', 'type': 'json', 'id': 8, 'configuration': {'url': 'http://192.168.178.81/meter/0'}}
2023-01-12 08:55:21,811 - {control.data:312} - {DEBUG:MainThread} - component14
{'name': 'Pumpe', 'type': 'counter', 'id': 14, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-12 08:55:21,812 - {control.data:310} - {DEBUG:MainThread} - device9
{'name': 'Trockner', 'type': 'json', 'id': 9, 'configuration': {'url': 'http://192.168.178.209/meter/0'}}
2023-01-12 08:55:21,812 - {control.data:312} - {DEBUG:MainThread} - component15
{'name': 'Trockner', 'type': 'counter', 'id': 15, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-12 08:55:21,812 - {control.data:310} - {DEBUG:MainThread} - device14
{'name': 'openWB (1.9)', 'type': 'http', 'id': 14, 'configuration': {'url': 'http://192.168.178.51'}}
2023-01-12 08:55:21,812 - {control.data:312} - {DEBUG:MainThread} - component21
{'name': 'LP1 (Garage)', 'type': 'counter', 'id': 21, 'configuration': {'current_l1_path': '/openWB/ramdisk/lla1', 'current_l2_path': '/openWB/ramdisk/lla2', 'current_l3_path': '/openWB/ramdisk/lla3', 'exported_path': None, 'imported_path': '/openWB/ramdisk/llkwh', 'power_path': '/openWB/ramdisk/llaktuell'}}
2023-01-12 08:55:21,813 - {control.data:310} - {DEBUG:MainThread} - device15
{'name': 'WR Garage (neu)', 'type': 'sma_sunny_boy', 'id': 15, 'configuration': {'ip_address': '192.168.178.204'}}
2023-01-12 08:55:21,813 - {control.data:312} - {DEBUG:MainThread} - component22
{'name': 'WR Garage (neu)', 'type': 'inverter', 'id': 22, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-12 08:55:21,816 - {control.data:310} - {DEBUG:MainThread} - device16
{'name': 'WR Haus (neu)', 'type': 'sma_sunny_boy', 'id': 16, 'configuration': {'ip_address': '192.168.178.201'}}
2023-01-12 08:55:21,816 - {control.data:312} - {DEBUG:MainThread} - component23
{'name': 'WR Haus (neu)', 'type': 'inverter', 'id': 23, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-12 08:55:21,817 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-12 08:55:21,817 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-12 08:55:21,817 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 13: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-01-12 08:55:21,818 - {control.ev:483} - {DEBUG:MainThread} - Genutzter Strom: 6.11A, Überschuss: -5207.3W, benötigte neue Leistung: -3220W
2023-01-12 08:55:21,823 - {control.chargepoint:349} - {INFO:MainThread} - LP 13: Ladevorgang wird nach Ablauf der Abschaltverzögerung 180s gestoppt.
2023-01-12 08:55:21,824 - {control.counter:313} - {DEBUG:MainThread} - LP13 Switch-Off-Threshold prüfen: EVU 3827.3W, freigegebener Überschuss 1380.0W, Einspeisegrenze 0W
2023-01-12 08:55:21,824 - {control.counter:320} - {DEBUG:MainThread} - Relevante Leistung für Löschen der Abschaltschwelle: 2447.3W, Schwelle: 350W
2023-01-12 08:55:21,824 - {control.chargepoint:349} - {INFO:MainThread} - LP 13: Abschaltschwelle während der Verzögerung überschritten.
2023-01-12 08:55:21,825 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-12 08:55:21,837 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 7
2023-01-12 08:55:21,838 - {control.counter:124} - {DEBUG:MainThread} - Zähler 7: [34.55, 26.480000000000004, 24.25]A verbleibende Ströme, 20182.02W verbleibende Leistung
2023-01-12 08:55:21,842 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP13: Stromstärke 6A
2023-01-12 08:55:21,850 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-12 08:55:21,857 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-12 08:55:21,858 - {control.counter:407} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:55:21,859 - {control.counter:407} - {DEBUG:MainThread} - Zähler 14: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:55:21,860 - {control.counter:407} - {DEBUG:MainThread} - Zähler 15: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:55:21,864 - {control.counter:407} - {DEBUG:MainThread} - Zähler 21: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 08:55:21,868 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-12 08:55:21,874 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-12 08:55:21,876 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 623.5400000000373 counter 4331123.54
2023-01-12 08:55:21,877 - {control.process:106} - {INFO:MainThread} - LP13: set current 6 A
2023-01-12 08:55:21,882 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-12 08:55:21,900 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0.0W freigegebene EVU-Leistung
2023-01-12 08:55:22,126 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-12 08:55:30,246 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-12 08:55:30,247 - {root:61} - {INFO:MainThread} - # ***Start*** 
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von LenaK »

Ist gefixt
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

LenaK hat geschrieben: Do Jan 12, 2023 8:56 amIst gefixt
danke Lena.

Mangels Sonne kann ich das nur im Simulator testen, hier klappt das leider nicht. Verhalten ist unverändert, Abschaltverzögerung wird angezählt, Schwelle überschritten, Abschaltschwelle beginnt von vorn.

Version: 2023-01-12 09:55:58 +0100 [4e127a60]

Code: Alles auswählen

2023-01-12 11:16:30,069 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['EVU', 'PV', 'Speicher']
2023-01-12 11:16:30,074 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,074 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp3} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,075 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp5} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,076 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp4} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,078 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Speicher']
2023-01-12 11:16:30,079 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['PV']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,083 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-12 11:16:30,090 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [14.370000000000001, 14.37, 14.37]
2023-01-12 11:16:30,090 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 10562
2023-01-12 11:16:30,090 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-12 11:16:30,090 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-12 11:16:30,091 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-12 11:16:30,091 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 27.254, 'exported': 15.462, 'daily_exported': 117.053, 'daily_imported': 534.591, 'soc': 0}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - bat1
{'get': {'daily_imported': 534.591, 'daily_exported': 117.053, 'imported': 27.254, 'exported': 15.462, 'power': 0, 'soc': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}}
2023-01-12 11:16:30,097 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=29226.526, daily_exported=0, power=1379, imported=613.24, exported=0))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp3
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[6, 0, 0], daily_imported=29226.526, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=613.24, phases_in_use=1, plug_state=True, power=1379, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=365.449, imported_at_plugtime=2.793, imported_since_mode_switch=247.791, imported_since_plugged=610.447, range_charged=1.4575941176470588, time_charged='0:10', timestamp_start_charging='01/12/2023, 11:06:20'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/12/2023, 10:49:50', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fd4eb0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='LP1', type='mqtt', template=3, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=3))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp5
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0792ca0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=1, name='LP3', type='mqtt', template=2, connected_phases=1, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=2, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.5, 230.5, 230.5]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fe5790>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=2, name='LP2', type='mqtt', template=1, connected_phases=2, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=4))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt2
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt3
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 1380.0, 'raw_power_left': 10562, 'surplus_power_left': 0, 'raw_currents_left': [14.370000000000001, 14.37, 14.37]}, 'get': {'daily_exported': 3295.892, 'daily_imported': 116.323, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 394.082, 'exported': 63.805, 'power': 1817, 'currents': [6.63, 0.63, 0.63], 'voltages': [230, 230, 230], 'powers': [1524.8999999999999, 144.9, 144.9], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 11:16:30,097 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=442, invalid_home_consumption=0, daily_yield_home_consumption=4828.204999999998))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off='01/12/2023, 11:16:20', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug2', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug3', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-12 11:16:30,098 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=20, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-12 11:16:30,098 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -4, 'exported': 501, 'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -4, 'exported': 501}, 'config': {'max_ac_out': 0}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '10.2.0.4', 'current_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_branch': 'master', 'current_branch_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'lastlivevaluesJson': {'timestamp': 1673522181, 'time': '11:16:21', 'grid': 1.817, 'house-power': 0.442, 'charging-all': 1.379, 'pv-all': -0.0, 'cp3-power': 1.379, 'cp5-power': 0.0, 'cp4-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'datastore_version': 6, 'module_update_completed': True}
2023-01-12 11:16:30,098 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'PV', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-12 11:16:30,098 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Ladevorgang wird nach Ablauf der Abschaltverzögerung 60s gestoppt.
2023-01-12 11:16:30,098 - {control.counter:313} - {DEBUG:MainThread} - LP3 Switch-Off-Threshold prüfen: EVU 1817W, freigegebener Überschuss 1380.0W, Einspeisegrenze 0W
2023-01-12 11:16:30,098 - {control.counter:320} - {DEBUG:MainThread} - Relevante Leistung für Löschen der Abschaltschwelle: 437.0W, Schwelle: 350W
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Abschaltschwelle während der Verzögerung überschritten.
2023-01-12 11:16:30,098 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-12 11:16:30,099 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-01-12 11:16:30,099 - {control.counter:124} - {DEBUG:MainThread} - Zähler 0: [8.370000000000001, 14.37, 14.37]A verbleibende Ströme, 9182W verbleibende Leistung
2023-01-12 11:16:30,099 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 6A
2023-01-12 11:16:30,099 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-12 11:16:30,099 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-12 11:16:30,099 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 11:16:30,100 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-12 11:16:30,100 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-12 11:16:30,100 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 247.791 counter 613.24
2023-01-12 11:16:30,100 - {control.process:106} - {INFO:MainThread} - LP3: set current 6 A
2023-01-12 11:16:30,100 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,100 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp3} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp5} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp4} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,106 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0.0W freigegebene EVU-Leistung
2023-01-12 11:16:30,154 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-12 11:16:40,169 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-12 11:16:40,169 - {root:61} - {INFO:MainThread} - # ***Start*** 
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von LenaK »

mrinas hat geschrieben: Do Jan 12, 2023 11:18 am
LenaK hat geschrieben: Do Jan 12, 2023 8:56 amIst gefixt
danke Lena.

Mangels Sonne kann ich das nur im Simulator testen, hier klappt das leider nicht. Verhalten ist unverändert, Abschaltverzögerung wird angezählt, Schwelle überschritten, Abschaltschwelle beginnt von vorn.

Version: 2023-01-12 09:55:58 +0100 [4e127a60]

Code: Alles auswählen

2023-01-12 11:16:30,069 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['EVU', 'PV', 'Speicher']
2023-01-12 11:16:30,074 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,074 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp3} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,075 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp5} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,076 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp4} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,078 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Speicher']
2023-01-12 11:16:30,079 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['PV']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,083 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-12 11:16:30,090 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [14.370000000000001, 14.37, 14.37]
2023-01-12 11:16:30,090 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 10562
2023-01-12 11:16:30,090 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-12 11:16:30,090 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-12 11:16:30,091 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-12 11:16:30,091 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 27.254, 'exported': 15.462, 'daily_exported': 117.053, 'daily_imported': 534.591, 'soc': 0}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - bat1
{'get': {'daily_imported': 534.591, 'daily_exported': 117.053, 'imported': 27.254, 'exported': 15.462, 'power': 0, 'soc': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}}
2023-01-12 11:16:30,097 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=29226.526, daily_exported=0, power=1379, imported=613.24, exported=0))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp3
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[6, 0, 0], daily_imported=29226.526, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=613.24, phases_in_use=1, plug_state=True, power=1379, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=365.449, imported_at_plugtime=2.793, imported_since_mode_switch=247.791, imported_since_plugged=610.447, range_charged=1.4575941176470588, time_charged='0:10', timestamp_start_charging='01/12/2023, 11:06:20'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/12/2023, 10:49:50', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fd4eb0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='LP1', type='mqtt', template=3, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=3))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp5
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0792ca0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=1, name='LP3', type='mqtt', template=2, connected_phases=1, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=2, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.5, 230.5, 230.5]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fe5790>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=2, name='LP2', type='mqtt', template=1, connected_phases=2, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=4))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt2
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt3
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 1380.0, 'raw_power_left': 10562, 'surplus_power_left': 0, 'raw_currents_left': [14.370000000000001, 14.37, 14.37]}, 'get': {'daily_exported': 3295.892, 'daily_imported': 116.323, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 394.082, 'exported': 63.805, 'power': 1817, 'currents': [6.63, 0.63, 0.63], 'voltages': [230, 230, 230], 'powers': [1524.8999999999999, 144.9, 144.9], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 11:16:30,097 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=442, invalid_home_consumption=0, daily_yield_home_consumption=4828.204999999998))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off='01/12/2023, 11:16:20', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug2', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug3', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-12 11:16:30,098 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=20, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-12 11:16:30,098 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -4, 'exported': 501, 'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -4, 'exported': 501}, 'config': {'max_ac_out': 0}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '10.2.0.4', 'current_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_branch': 'master', 'current_branch_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'lastlivevaluesJson': {'timestamp': 1673522181, 'time': '11:16:21', 'grid': 1.817, 'house-power': 0.442, 'charging-all': 1.379, 'pv-all': -0.0, 'cp3-power': 1.379, 'cp5-power': 0.0, 'cp4-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'datastore_version': 6, 'module_update_completed': True}
2023-01-12 11:16:30,098 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'PV', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-12 11:16:30,098 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Ladevorgang wird nach Ablauf der Abschaltverzögerung 60s gestoppt.
2023-01-12 11:16:30,098 - {control.counter:313} - {DEBUG:MainThread} - LP3 Switch-Off-Threshold prüfen: EVU 1817W, freigegebener Überschuss 1380.0W, Einspeisegrenze 0W
2023-01-12 11:16:30,098 - {control.counter:320} - {DEBUG:MainThread} - Relevante Leistung für Löschen der Abschaltschwelle: 437.0W, Schwelle: 350W
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Abschaltschwelle während der Verzögerung überschritten.
2023-01-12 11:16:30,098 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-12 11:16:30,099 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-01-12 11:16:30,099 - {control.counter:124} - {DEBUG:MainThread} - Zähler 0: [8.370000000000001, 14.37, 14.37]A verbleibende Ströme, 9182W verbleibende Leistung
2023-01-12 11:16:30,099 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 6A
2023-01-12 11:16:30,099 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-12 11:16:30,099 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-12 11:16:30,099 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 11:16:30,100 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-12 11:16:30,100 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-12 11:16:30,100 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 247.791 counter 613.24
2023-01-12 11:16:30,100 - {control.process:106} - {INFO:MainThread} - LP3: set current 6 A
2023-01-12 11:16:30,100 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,100 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp3} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp5} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp4} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,106 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0.0W freigegebene EVU-Leistung
2023-01-12 11:16:30,154 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-12 11:16:40,169 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-12 11:16:40,169 - {root:61} - {INFO:MainThread} - # ***Start*** 
Bitte nochmal testen, bei mir hat es im Simulator nun funktioniert.
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

LenaK hat geschrieben: Do Jan 12, 2023 3:02 pm
mrinas hat geschrieben: Do Jan 12, 2023 11:18 am
LenaK hat geschrieben: Do Jan 12, 2023 8:56 amIst gefixt
danke Lena.

Mangels Sonne kann ich das nur im Simulator testen, hier klappt das leider nicht. Verhalten ist unverändert, Abschaltverzögerung wird angezählt, Schwelle überschritten, Abschaltschwelle beginnt von vorn.

Version: 2023-01-12 09:55:58 +0100 [4e127a60]

Code: Alles auswählen

2023-01-12 11:16:30,069 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['EVU', 'PV', 'Speicher']
2023-01-12 11:16:30,074 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-01-12 11:16:30,074 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,074 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp3} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,075 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp5} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,075 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,076 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp4} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-12 11:16:30,078 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Speicher']
2023-01-12 11:16:30,079 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['PV']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,082 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,083 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-12 11:16:30,090 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [14.370000000000001, 14.37, 14.37]
2023-01-12 11:16:30,090 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 10562
2023-01-12 11:16:30,090 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-12 11:16:30,090 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-12 11:16:30,091 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-12 11:16:30,091 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.chargepoint:349} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-01-12 11:16:30,096 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 27.254, 'exported': 15.462, 'daily_exported': 117.053, 'daily_imported': 534.591, 'soc': 0}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - bat1
{'get': {'daily_imported': 534.591, 'daily_exported': 117.053, 'imported': 27.254, 'exported': 15.462, 'power': 0, 'soc': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}}
2023-01-12 11:16:30,097 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=29226.526, daily_exported=0, power=1379, imported=613.24, exported=0))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp3
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[6, 0, 0], daily_imported=29226.526, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=613.24, phases_in_use=1, plug_state=True, power=1379, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=365.449, imported_at_plugtime=2.793, imported_since_mode_switch=247.791, imported_since_plugged=610.447, range_charged=1.4575941176470588, time_charged='0:10', timestamp_start_charging='01/12/2023, 11:06:20'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/12/2023, 10:49:50', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fd4eb0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='LP1', type='mqtt', template=3, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=3))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp5
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[229.8, 229.8, 229.8]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0792ca0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=1, name='LP3', type='mqtt', template=2, connected_phases=1, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0, 0, 0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=2, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.5, 230.5, 230.5]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f07d0fe5790>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=2, name='LP2', type='mqtt', template=1, connected_phases=2, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=4))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt2
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - cpt3
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 1380.0, 'raw_power_left': 10562, 'surplus_power_left': 0, 'raw_currents_left': [14.370000000000001, 14.37, 14.37]}, 'get': {'daily_exported': 3295.892, 'daily_imported': 116.323, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 394.082, 'exported': 63.805, 'power': 1817, 'currents': [6.63, 0.63, 0.63], 'voltages': [230, 230, 230], 'powers': [1524.8999999999999, 144.9, 144.9], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-12 11:16:30,097 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=442, invalid_home_consumption=0, daily_yield_home_consumption=4828.204999999998))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off='01/12/2023, 11:16:20', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,097 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug2', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Fahrzeug3', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-12 11:16:30,098 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=20, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-12 11:16:30,098 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -4, 'exported': 501, 'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 36550, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -4, 'exported': 501}, 'config': {'max_ac_out': 0}}
2023-01-12 11:16:30,098 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '10.2.0.4', 'current_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_branch': 'master', 'current_branch_commit': '2023-01-12 09:55:58 +0100 [4e127a60]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'lastlivevaluesJson': {'timestamp': 1673522181, 'time': '11:16:21', 'grid': 1.817, 'house-power': 0.442, 'charging-all': 1.379, 'pv-all': -0.0, 'cp3-power': 1.379, 'cp5-power': 0.0, 'cp4-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'datastore_version': 6, 'module_update_completed': True}
2023-01-12 11:16:30,098 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'PV', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-01-12 11:16:30,098 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-12 11:16:30,098 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Ladevorgang wird nach Ablauf der Abschaltverzögerung 60s gestoppt.
2023-01-12 11:16:30,098 - {control.counter:313} - {DEBUG:MainThread} - LP3 Switch-Off-Threshold prüfen: EVU 1817W, freigegebener Überschuss 1380.0W, Einspeisegrenze 0W
2023-01-12 11:16:30,098 - {control.counter:320} - {DEBUG:MainThread} - Relevante Leistung für Löschen der Abschaltschwelle: 437.0W, Schwelle: 350W
2023-01-12 11:16:30,098 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Abschaltschwelle während der Verzögerung überschritten.
2023-01-12 11:16:30,098 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-12 11:16:30,099 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-01-12 11:16:30,099 - {control.counter:124} - {DEBUG:MainThread} - Zähler 0: [8.370000000000001, 14.37, 14.37]A verbleibende Ströme, 9182W verbleibende Leistung
2023-01-12 11:16:30,099 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP3: Stromstärke 6A
2023-01-12 11:16:30,099 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-12 11:16:30,099 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-12 11:16:30,099 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-12 11:16:30,100 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-12 11:16:30,100 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-12 11:16:30,100 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 247.791 counter 613.24
2023-01-12 11:16:30,100 - {control.process:106} - {INFO:MainThread} - LP3: set current 6 A
2023-01-12 11:16:30,100 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,100 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp3} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp5} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,102 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-12 11:16:30,102 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp4} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-12 11:16:30,106 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0.0W freigegebene EVU-Leistung
2023-01-12 11:16:30,154 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-12 11:16:40,169 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-12 11:16:40,169 - {root:61} - {INFO:MainThread} - # ***Start*** 
Bitte nochmal testen, bei mir hat es im Simulator nun funktioniert.
Ja, das sieht nun viel besser aus!
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

Heute gibts hier wieder Sonne, PV-geführte Ladung funktioniert gut. Auch Abschaltung und Neustart bei mangelnder Einspeisung hat mehrfach gut funktioniert.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

Läuft seit dem letzten Fix hierzu weiterhin gut 👍
Gibts eigentlich Unit-Tests für diese Szenarien? Gerade das Thema PV-geführte Ladung ist ja doch eins der Kernthmen. Zumindest in meinem Fall ;)
Würd' mich da gern einbringen und ein paar dieser Szenarien dort abbilden, bin mir aber nicht sicher ob ich einen Test von Null auf aufgesetzt bekomme. Parameter finden, anpassen und ergänzen sollte kein Thema sein, da bin ich dabei.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von LenaK »

Es gibt Integration-Tests für PV- und Sofortladen und Unit-Tests für viele Methoden des neuen Algorithmus. Bitte aufpassen, dass sich Unit-und Integration-
Tests nicht überschneiden. Schau mal unter packages/control/algorithm/integration_test und packages/control/algorithm/*_test.py
Benutzeravatar
mrinas
Beiträge: 1868
Registriert: Mi Jan 29, 2020 10:12 pm

Re: [nightly/master] Probleme mit der Abschaltung im PV-Laden

Beitrag von mrinas »

alles klar, schau' ich mir mal an, danke.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Antworten