set current hour value None in class_ems.py

This commit is contained in:
Normann
2024-10-08 18:55:51 +02:00
committed by Andreas
parent 3050320607
commit 62339a0e6c
+4
View File
@@ -138,4 +138,8 @@ class EnergieManagementSystem:
"Haushaltsgeraet_wh_pro_stunde": haushaltsgeraet_wh_pro_stunde,
}
# set the first value to None so no action will be done in the current hour
out["Last_Wh_pro_Stunde"][0] = None
out["Netzeinspeisung_Wh_pro_Stunde"][0] = None
out["Netzbezug_Wh_pro_Stunde"][0] = None
return out