Strompreis entkoppelt, kann jetzt als Array übergeben werden.

This commit is contained in:
Bla Bla
2024-07-30 09:22:55 +02:00
parent 2605460a99
commit 5e842d5ee4
7 changed files with 314 additions and 156 deletions

View File

@@ -29,7 +29,7 @@ def repeat_to_shape(array, target_shape):
class HourlyElectricityPriceForecast:
def __init__(self, source, cache_dir='cache', abgaben=0.000, prediction_hours=24): #228
def __init__(self, source, cache_dir='cache', abgaben=0.000228, prediction_hours=24): #228
self.cache_dir = cache_dir
if not os.path.exists(self.cache_dir):
os.makedirs(self.cache_dir)