Verschachtelte Wechselrichter

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

Re: Feedback Nightly 101.1

Beitrag von mrinas »

Wechselrichter hinter virtuellem Zähler blockiert die Verarbeitung des Hausverbrauchs nicht mehr und funktioniert sonst auch grundlegend mit diesem PR: https://github.com/openWB/core/pull/742

Allerdings funktioniert das PV-geführte Laden nicht mehr, trotz reichlich Überschuss im Simulator wird keine Ladung gestartet. Sobald ich den WR wieder direkt unter den EVU Knoten hänge beginnt der Ladevorgang.

Noch ein weiteres Thema ist mir aufgefallen: Der virtuelle Zähler addiert die Leistung, aber es gibt zumindest im Simulator keine Ströme. Hier ist wohl die Frage was man macht, fürs Lastmanagement wären ja insbesondere die einzelnen Phasenströme relevant, aber die gibts von den Wechselrichtern ja nicht. Kann man aus der Leistung und der Spannung berechnen, aber dann müsste man wohl noch die Konfiguration für 1p/3p WR sowie die angeschlossene Phase ermöglichen.

Code: Alles auswählen

2023-01-09 21:22:10,722 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-09 21:22:10,727 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['EVU', 'PV']
2023-01-09 21:22:10,728 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-01-09 21:22:10,728 - {modules.devices.virtual.device:40} - {DEBUG:device1} - Start device reading{'component6': <modules.devices.virtual.counter.VirtualCounter object at 0x7f3a1817f4c0>}
2023-01-09 21:22:10,728 - {soc.modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Virtueller Zähler']
2023-01-09 21:22:10,728 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1673299320.602495, power=0, imported=0.0, exported=0)
2023-01-09 21:22:10,729 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028129, power1: 0, power2: 0
2023-01-09 21:22:10,729 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-01-09 21:22:10,729 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673299330.728923, power=0, imported=0.0, exported=0)
2023-01-09 21:22:10,729 - {soc.modules.common.store._api:26} - {DEBUG:device1} - 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=0.0, exported=0, power=0, frequency=50)
2023-01-09 21:22:10,729 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,729 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp3} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,729 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,730 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp5} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,730 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,730 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp4} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,732 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,732 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['PV']
2023-01-09 21:22:10,738 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,738 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,739 - {soc.modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Virtueller Zähler']
2023-01-09 21:22:10,739 - {soc.modules.common.store._api:30} - {DEBUG:component6} - 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=734.703, exported=5706, power=-8406, frequency=50)
2023-01-09 21:22:10,744 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [35.5, 35.5, 35.5]
2023-01-09 21:22:10,754 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 34526
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 6: [31.0, 31.0, 31.0]
2023-01-09 21:22:10,754 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-09 21:22:10,754 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-09 21:22:10,755 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-09 21:22:10,755 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: Fahrzeug1 (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0
2023-01-09 21:22:10,756 - {control.chargepoint:349} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-01-09 21:22:10,756 - {control.chargepoint:349} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-01-09 21:22:10,763 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0, 'exported': 0, 'daily_exported': 0, 'daily_imported': 0, 'soc': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': True}}
2023-01-09 21:22:10,763 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1380.943, daily_exported=0, power=0, imported=734.703, exported=0))
2023-01-09 21:22:10,763 - {control.data:297} - {DEBUG:MainThread} - cp3
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=70), currents=[0, 0, 0], daily_imported=1380.943, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=734.703, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.6, 229.6, 229.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=1, charging_ev_prev=1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=356.5, imported_at_plugtime=1.269, imported_since_mode_switch=378.203, imported_since_plugged=733.434, range_charged=2.224723529411764, time_charged='0:03', timestamp_start_charging='01/09/2023, 21:12:00'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/09/2023, 20:39:40', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a181629a0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=1, name='LP1 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=3))
2023-01-09 21:22:10,763 - {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=0), 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=[228.5, 228.5, 228.5]), set=Set(change_ev_permitted=[True, ''], 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=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a1817f790>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='LP3 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2023-01-09 21:22:10,763 - {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=68), 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=[231, 231, 231]), set=Set(change_ev_permitted=[True, ''], 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=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a18122820>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=3, name='LP2 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=4))
2023-01-09 21:22:10,763 - {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-09 21:22:10,764 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 34526, 'surplus_power_left': 0, 'consumption_left': 35000, 'raw_currents_left': [35.5, 35.5, 35.5]}, 'get': {'daily_exported': 3271.853, 'daily_imported': 730.693, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 1.878, 'exported': 4196.583, 'power': -7932, 'currents': [-11.5, -11.5, -11.5], 'voltages': [230, 230, 230], 'powers': [-2645, -2645, -2645], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [25, 25, 25], 'max_total_power': 35000}}
2023-01-09 21:22:10,764 - {control.data:297} - {DEBUG:MainThread} - counter6
{'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': 5403, 'daily_imported': 734.703, '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': 734.703, 'exported': 5706, 'power': -8406, 'frequency': 50}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-09 21:22:10,765 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 5, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 6, 'type': 'counter', 'children': [{'id': 3, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}]}]}]), set=Set(loadmanagement_active=False, home_consumption=474, invalid_home_consumption=0, daily_yield_home_consumption=446.75))
2023-01-09 21:22:10,765 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:59'], name='immer 60%', current=16, limit=Limit(selected='soc', amount=1000, soc=65)), '3': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Alter Zeitplan ohne Limit', current=16, limit=Limit(selected='none', amount=1500, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, 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='soc', amount=1000, soc_limit=90, soc_scheduled=80), time='07:00')}), instant_charging=InstantCharging(current=20, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 21:22:10,765 - {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=0, 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=70, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-01-09 21:22:10,765 - {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=6, required_currents=[6, 0.0, 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=None), charge_template=0, ev_template=0, name='Fahrzeug1', tag_id=[], get=Get(soc=70, soc_timestamp='01/09/2023, 21:12:00', force_soc_update=False, range=250, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 21:22:10,766 - {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='PSA', tag_id=[], get=Get(soc=0, soc_timestamp='12/03/2022, 11:56:03', force_soc_update=False, range=0, fault_state=2, fault_str="<class 'Exception'> Error requesting PSA data for vehicle: 2"))
2023-01-09 21:22:10,766 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=1, 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='PSA Test', tag_id=[], get=Get(soc=68, soc_timestamp='01/09/2023, 20:20:05', force_soc_update=False, range=124, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 21:22:10,766 - {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-09 21:22:10,767 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=0, rundown_soc=95, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=20, switch_on_soc=60, switch_on_threshold=1500), 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=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-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 21:22:10,767 - {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-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -8398, 'exported': 5683, 'daily_exported': 1100, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 1100, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -8406, 'exported': 5706}, 'config': {'max_ac_out': 0}}
2023-01-09 21:22:10,768 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '10.2.0.4', 'current_commit': '2023-01-09 20:37:02 +0000 [1e9f9767]', 'current_branch': 'fix', 'current_branch_commit': '2023-01-09 20:37:02 +0000 [1e9f9767]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'lastlivevaluesJson': {'timestamp': 1673299320, 'time': '21:22:00', 'grid': -7.941, 'counter6-power': -8.398, 'house-power': 0.457, 'charging-all': 0.0, 'pv-all': 8.388, 'cp3-power': 0.0, 'cp5-power': 0.0, 'cp4-power': 0.0, 'ev1-soc': 70, 'ev3-soc': 68}, 'boot_done': True, 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 21:22:10,768 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-01-09 21:22:10,769 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-09 21:22:10,769 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'PV', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-09 21:22:10,770 - {control.data:310} - {DEBUG:MainThread} - device1
{'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': {}}
2023-01-09 21:22:10,770 - {control.data:312} - {DEBUG:MainThread} - component6
{'name': 'Virtueller Zähler', 'type': 'counter', 'id': 6, 'configuration': {'external_consumption': 0}}
2023-01-09 21:22:10,770 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 21:22:10,770 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 21:22:10,770 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 21:22:10,771 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 6
2023-01-09 21:22:10,771 - {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-09 21:22:10,772 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 21:22:10,772 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 21:22:10,772 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 21:22:10,773 - {control.counter:407} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 21:22:10,773 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle 1500W nicht erreicht wird.
2023-01-09 21:22:10,773 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 21:22:10,773 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 21:22:10,774 - {control.process:106} - {INFO:MainThread} - LP3: set current 0 A
2023-01-09 21:22:10,775 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,776 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp3} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,790 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,791 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp5} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,792 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,792 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp4} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,794 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 21:22:10,844 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 21:22:17,180 - {helpermodules.setdata:287} - {ERROR:Thread-6} - Payload ungültig: Topic openWB/set/bat/1/get/soc, Payload nan liegt in keinem der angegebenen Wertebereiche.
2023-01-09 21:22:20,862 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 21:22:20,862 - {root:61} - {INFO:MainThread} - # ***Start*** 
Zuletzt geändert von mrinas am Mo Jan 09, 2023 9:24 pm, insgesamt 2-mal geändert.
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: 1904
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Feedback Nightly 101.1

Beitrag von mrinas »

mrinas hat geschrieben: Mo Jan 09, 2023 8:48 pm Wechselrichter hinter virtuellem Zähler blockiert die Verarbeitung des Hausverbrauchs nicht mehr und funktioniert sonst auch grundlegend mit diesem PR: https://github.com/openWB/core/pull/742

Allerdings funktioniert das PV-geführte Laden nicht mehr, trotz reichlich Überschuss im Simulator wird keine Ladung gestartet. Sobald ich den WR wieder direkt unter den EVU Knoten hänge beginnt der Ladevorgang.

Noch ein weiteres Thema ist mir aufgefallen: Der virtuelle Zähler addiert die Leistung, aber es gibt zumindest im Simulator keine Ströme. Hier ist wohl die Frage was man macht, fürs Lastmanagement wären ja insbesondere die einzelnen Phasenströme relevant, aber die gibts von den Wechselrichtern ja nicht. Kann man aus der Leistung und der Spannung berechnen, aber dann müsste man wohl noch die Konfiguration für 1p/3p WR sowie die angeschlossene Phase ermöglichen.

Code: Alles auswählen

2023-01-09 21:22:10,722 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-09 21:22:10,727 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['EVU', 'PV']
2023-01-09 21:22:10,728 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-01-09 21:22:10,728 - {modules.devices.virtual.device:40} - {DEBUG:device1} - Start device reading{'component6': <modules.devices.virtual.counter.VirtualCounter object at 0x7f3a1817f4c0>}
2023-01-09 21:22:10,728 - {soc.modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Virtueller Zähler']
2023-01-09 21:22:10,728 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1673299320.602495, power=0, imported=0.0, exported=0)
2023-01-09 21:22:10,729 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028129, power1: 0, power2: 0
2023-01-09 21:22:10,729 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-01-09 21:22:10,729 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673299330.728923, power=0, imported=0.0, exported=0)
2023-01-09 21:22:10,729 - {soc.modules.common.store._api:26} - {DEBUG:device1} - 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=0.0, exported=0, power=0, frequency=50)
2023-01-09 21:22:10,729 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,729 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp3} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,729 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,730 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp5} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,730 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,730 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp4} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-01-09 21:22:10,732 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,732 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['PV']
2023-01-09 21:22:10,738 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,738 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,739 - {soc.modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Virtueller Zähler']
2023-01-09 21:22:10,739 - {soc.modules.common.store._api:30} - {DEBUG:component6} - 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=734.703, exported=5706, power=-8406, frequency=50)
2023-01-09 21:22:10,744 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [35.5, 35.5, 35.5]
2023-01-09 21:22:10,754 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 34526
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 6: [31.0, 31.0, 31.0]
2023-01-09 21:22:10,754 - {control.chargepoint:696} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-01-09 21:22:10,754 - {control.chargepoint:687} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-01-09 21:22:10,755 - {control.ev:364} - {DEBUG:MainThread} - Änderung des Lademodus :False
2023-01-09 21:22:10,755 - {control.chargepoint:856} - {DEBUG:MainThread} - LP 3, EV: Fahrzeug1 (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0
2023-01-09 21:22:10,756 - {control.chargepoint:349} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-01-09 21:22:10,756 - {control.chargepoint:349} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-01-09 21:22:10,763 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0, 'exported': 0, 'daily_exported': 0, 'daily_imported': 0, 'soc': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': True}}
2023-01-09 21:22:10,763 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1380.943, daily_exported=0, power=0, imported=734.703, exported=0))
2023-01-09 21:22:10,763 - {control.data:297} - {DEBUG:MainThread} - cp3
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=70), currents=[0, 0, 0], daily_imported=1380.943, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=734.703, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[229.6, 229.6, 229.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=1, charging_ev_prev=1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=356.5, imported_at_plugtime=1.269, imported_since_mode_switch=378.203, imported_since_plugged=733.434, range_charged=2.224723529411764, time_charged='0:03', timestamp_start_charging='01/09/2023, 21:12:00'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/09/2023, 20:39:40', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a181629a0>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=1, name='LP1 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=3))
2023-01-09 21:22:10,763 - {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=0), 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=[228.5, 228.5, 228.5]), set=Set(change_ev_permitted=[True, ''], 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=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a1817f790>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='LP3 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=5))
2023-01-09 21:22:10,763 - {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=68), 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=[231, 231, 231]), set=Set(change_ev_permitted=[True, ''], 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=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f3a18122820>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=3, name='LP2 (Sim)', type='mqtt', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=4))
2023-01-09 21:22:10,763 - {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-09 21:22:10,764 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 34526, 'surplus_power_left': 0, 'consumption_left': 35000, 'raw_currents_left': [35.5, 35.5, 35.5]}, 'get': {'daily_exported': 3271.853, 'daily_imported': 730.693, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 1.878, 'exported': 4196.583, 'power': -7932, 'currents': [-11.5, -11.5, -11.5], 'voltages': [230, 230, 230], 'powers': [-2645, -2645, -2645], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [25, 25, 25], 'max_total_power': 35000}}
2023-01-09 21:22:10,764 - {control.data:297} - {DEBUG:MainThread} - counter6
{'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': 5403, 'daily_imported': 734.703, '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': 734.703, 'exported': 5706, 'power': -8406, 'frequency': 50}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-09 21:22:10,765 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 5, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 6, 'type': 'counter', 'children': [{'id': 3, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}]}]}]), set=Set(loadmanagement_active=False, home_consumption=474, invalid_home_consumption=0, daily_yield_home_consumption=446.75))
2023-01-09 21:22:10,765 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:59'], name='immer 60%', current=16, limit=Limit(selected='soc', amount=1000, soc=65)), '3': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Alter Zeitplan ohne Limit', current=16, limit=Limit(selected='none', amount=1500, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, 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='soc', amount=1000, soc_limit=90, soc_scheduled=80), time='07:00')}), instant_charging=InstantCharging(current=20, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 21:22:10,765 - {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=0, 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=70, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-01-09 21:22:10,765 - {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=6, required_currents=[6, 0.0, 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=None), charge_template=0, ev_template=0, name='Fahrzeug1', tag_id=[], get=Get(soc=70, soc_timestamp='01/09/2023, 21:12:00', force_soc_update=False, range=250, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 21:22:10,766 - {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='PSA', tag_id=[], get=Get(soc=0, soc_timestamp='12/03/2022, 11:56:03', force_soc_update=False, range=0, fault_state=2, fault_str="<class 'Exception'> Error requesting PSA data for vehicle: 2"))
2023-01-09 21:22:10,766 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=1, 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='PSA Test', tag_id=[], get=Get(soc=68, soc_timestamp='01/09/2023, 20:20:05', force_soc_update=False, range=124, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 21:22:10,766 - {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-09 21:22:10,767 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=0, rundown_soc=95, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=20, switch_on_soc=60, switch_on_threshold=1500), 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=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-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 21:22:10,767 - {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-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -8398, 'exported': 5683, 'daily_exported': 1100, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 21:22:10,767 - {control.data:297} - {DEBUG:MainThread} - pv2
{'get': {'daily_exported': 1100, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -8406, 'exported': 5706}, 'config': {'max_ac_out': 0}}
2023-01-09 21:22:10,768 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '10.2.0.4', 'current_commit': '2023-01-09 20:37:02 +0000 [1e9f9767]', 'current_branch': 'fix', 'current_branch_commit': '2023-01-09 20:37:02 +0000 [1e9f9767]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'lastlivevaluesJson': {'timestamp': 1673299320, 'time': '21:22:00', 'grid': -7.941, 'counter6-power': -8.398, 'house-power': 0.457, 'charging-all': 0.0, 'pv-all': 8.388, 'cp3-power': 0.0, 'cp5-power': 0.0, 'cp4-power': 0.0, 'ev1-soc': 70, 'ev3-soc': 68}, 'boot_done': True, 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 21:22:10,768 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-01-09 21:22:10,769 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-09 21:22:10,769 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'PV', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-01-09 21:22:10,770 - {control.data:310} - {DEBUG:MainThread} - device1
{'name': 'Virtuelles Gerät', 'type': 'virtual', 'id': 1, 'configuration': {}}
2023-01-09 21:22:10,770 - {control.data:312} - {DEBUG:MainThread} - component6
{'name': 'Virtueller Zähler', 'type': 'counter', 'id': 6, 'configuration': {'external_consumption': 0}}
2023-01-09 21:22:10,770 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 21:22:10,770 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 21:22:10,770 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 21:22:10,771 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 6
2023-01-09 21:22:10,771 - {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-09 21:22:10,772 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 21:22:10,772 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 21:22:10,772 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 21:22:10,773 - {control.counter:407} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 21:22:10,773 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle 1500W nicht erreicht wird.
2023-01-09 21:22:10,773 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 21:22:10,773 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 21:22:10,774 - {control.process:106} - {INFO:MainThread} - LP3: set current 0 A
2023-01-09 21:22:10,775 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,776 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp3} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,790 - {soc.modules.common.component_context:24} - {DEBUG:cp5} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,791 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp5} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,792 - {soc.modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-01-09 21:22:10,792 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp4} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-01-09 21:22:10,794 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 21:22:10,844 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 21:22:17,180 - {helpermodules.setdata:287} - {ERROR:Thread-6} - Payload ungültig: Topic openWB/set/bat/1/get/soc, Payload nan liegt in keinem der angegebenen Wertebereiche.
2023-01-09 21:22:20,862 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 21:22:20,862 - {root:61} - {INFO:MainThread} - # ***Start*** 
Ich hab' hier noch mal weiter nach möglichen Ursachen gesucht. Ich bin wohl auch einen Schritt weiter, weiß jetzt aber leider nicht was ich mit der Erkenntnis anfangen kann, bzw. wie ich das ganze korrigieren kann.

Im Log von oben wird aktuell eingespeist (power -7932)

Code: Alles auswählen

2023-01-09 21:22:10,764 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 34526, 'surplus_power_left': 0, 'consumption_left': 35000, 'raw_currents_left': [35.5, 35.5, 35.5]}, 'get': {'daily_exported': 3271.853, 'daily_imported': 730.693, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'imported': 1.878, 'exported': 4196.583, 'power': -7932, 'currents': [-11.5, -11.5, -11.5], 'voltages': [230, 230, 230], 'powers': [-2645, -2645, -2645], 'power_factors': [1, 1, 1], 'frequency': 50}, 'config': {'max_currents': [25, 25, 25], 'max_total_power': 35000}}
Allerdings kommt die Berechnung der EVU Werte durcheinander, verbleibende Leistung am EVU Zähler ist mit 34526W zu gering, hier müsste eigentlich die Einspeisung aufgeschlagen werden. Zumindest bekomme ich eine verbleibende Leistung >35kW wenn der WR direkt unter dem EVU Zähler hängt.

Code: Alles auswählen

2023-01-09 21:22:10,744 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU']
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [35.5, 35.5, 35.5]
2023-01-09 21:22:10,754 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 34526
2023-01-09 21:22:10,754 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 6: [31.0, 31.0, 31.0]
Ich vermute dass die Ursache hier zu suchen ist: https://github.com/openWB/core/blob/mas ... er.py#L110
So wie ich das verstehe wird hier die verfügbare Leistung berechnet. Hier werdern zumeinen aktive Ladevorgänge herausgerechnet (nachvollziehbar, so bekommt man die tatsächlich zur Verfügung stehende Leistung und kann diese neu verteilen), es werden aber auch normale Zähler mit herausgerechnet.

Den Counter-Teil in elif habe ich mal auskommentiert, dann beginnt der Ladevorgang (hurra!) aber die Laderegelung passt dann doch wieder nicht - es wird nicht der gesamte verfügbare Überschuss verwendet sonder nur ein Teil.
Und hier bin ich dann erstmal irgenwie raus.
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: 1021
Registriert: Fr Jan 22, 2021 6:40 am

Verschachtelte Wechselrichter

Beitrag von LenaK »

Ich habe deine Beiträge ausgelagert, da das Thema komplexer ist. Für die Stable hat erstmal die Standard-Konfiguration Priorität, also WR und Bat auf Level 1. Die Umsetzung für verschachtelte WR ist vorgesehen, folgt im nächsten Schritt.
Benutzeravatar
mrinas
Beiträge: 1904
Registriert: Mi Jan 29, 2020 10:12 pm

Re: Verschachtelte Wechselrichter

Beitrag von mrinas »

LenaK hat geschrieben: Mi Jan 11, 2023 2:39 pm Ich habe deine Beiträge ausgelagert, da das Thema komplexer ist. Für die Stable hat erstmal die Standard-Konfiguration Priorität, also WR und Bat auf Level 1. Die Umsetzung für verschachtelte WR ist vorgesehen, folgt im nächsten Schritt.
Klar, damit kann ich gut leben. Auch das Auslagern macht Sinn. Ich schau' mal ob ich hier weiterkomme.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Antworten