English translation EMS

This commit is contained in:
Andreas
2024-12-22 12:18:16 +01:00
committed by Andreas
parent 9edc2d20d3
commit 35142fafbd
5 changed files with 60 additions and 57 deletions

View File

@@ -230,8 +230,8 @@ def create_ems_instance(tmp_config: AppConfig) -> EnergieManagementSystem:
preis_euro_pro_wh_akku=preis_euro_pro_wh_akku,
gesamtlast=gesamtlast,
),
wechselrichter=wechselrichter,
eauto=eauto,
inverter=wechselrichter,
ev=eauto,
home_appliance=home_appliance,
)
@@ -244,7 +244,7 @@ def test_simulation(create_ems_instance):
# Simulate starting from hour 1 (this value can be adjusted)
result = ems.simuliere(start_hour=start_hour)
result = ems.simulate(start_hour=start_hour)
# visualisiere_ergebnisse(
# ems.gesamtlast,

View File

@@ -134,8 +134,8 @@ def create_ems_instance(tmp_config: AppConfig) -> EnergieManagementSystem:
preis_euro_pro_wh_akku=0,
gesamtlast=gesamtlast,
),
wechselrichter=wechselrichter,
eauto=eauto,
inverter=wechselrichter,
ev=eauto,
home_appliance=home_appliance,
)
@@ -154,7 +154,7 @@ def test_simulation(create_ems_instance):
ems = create_ems_instance
# Simulate starting from hour 0 (this value can be adjusted)
result = ems.simuliere(start_hour=start_hour)
result = ems.simulate(start_hour=start_hour)
# --- Pls do not remove! ---
# visualisiere_ergebnisse(

View File

@@ -62,8 +62,8 @@ def test_optimize(
start_hour = 10
# Activate with pytest --full-run
# if ngen > 10 and not is_full_run:
# pytest.skip()
if ngen > 10 and not is_full_run:
pytest.skip()
visualize_filename = str((DIR_TESTDATA / f"new_{fn_out}").with_suffix(".pdf"))