Ruff format

This commit is contained in:
Chris
2024-10-10 15:00:32 +02:00
committed by Andreas
parent 5503b8876c
commit e65eb6b6dd
19 changed files with 101 additions and 286 deletions

View File

@@ -4,9 +4,7 @@ import numpy as np
class Haushaltsgeraet:
def __init__(self, hours=None, verbrauch_wh=None, dauer_h=None):
self.hours = hours # Total duration for which the planning is done
self.verbrauch_wh = (
verbrauch_wh # Total energy consumption of the device in kWh
)
self.verbrauch_wh = verbrauch_wh # Total energy consumption of the device in kWh
self.dauer_h = dauer_h # Duration of use in hours
self.lastkurve = np.zeros(self.hours) # Initialize the load curve with zeros