- Akku mit Verlusten + Bug in der test.py Gesamtlast kein update

This commit is contained in:
Bla Bla
2024-03-03 18:32:47 +01:00
parent 21da04e9b7
commit 773ca7162f
6 changed files with 126 additions and 58 deletions

View File

@@ -10,6 +10,8 @@ class EnergieManagementSystem:
self.strompreis_cent_pro_wh = strompreis_cent_pro_wh # Strompreis in Cent pro Wh
self.einspeiseverguetung_cent_pro_wh = einspeiseverguetung_cent_pro_wh # Einspeisevergütung in Cent pro Wh
def set_gesamtlast(self,load):
self.lastkurve_wh = load
def set_akku_discharge_hours(self, ds):
self.akku.set_discharge_per_hour(ds)