mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Pfadkonstruktion OS-uebergreifend
This commit is contained in:
parent
427570ccb2
commit
d1b9b9ac22
5
test.py
5
test.py
@ -12,6 +12,7 @@ from modules.visualize import *
|
||||
from deap import base, creator, tools, algorithms
|
||||
import numpy as np
|
||||
import random
|
||||
import os
|
||||
|
||||
|
||||
date = "2024-02-16"
|
||||
@ -38,12 +39,12 @@ specific_date_load = lf.get_daily_stats(date)[0,...] # Datum anpassen
|
||||
pprint(specific_date_load.shape)
|
||||
|
||||
# PV Forecast
|
||||
PVforecast = PVForecast(r'.\test_data\pvprognose.json')
|
||||
PVforecast = PVForecast(os.path.join(r'test_data', r'pvprognose.json'))
|
||||
pv_forecast = PVforecast.get_forecast_for_date(date)
|
||||
pprint(pv_forecast.shape)
|
||||
|
||||
# Strompreise
|
||||
filepath = r'.\test_data\strompreis.json' # Pfad zur JSON-Datei anpassen
|
||||
filepath = os.path.join (r'test_data', r'strompreis.json') # Pfad zur JSON-Datei anpassen
|
||||
price_forecast = HourlyElectricityPriceForecast(filepath)
|
||||
specific_date_prices = price_forecast.get_prices_for_date(date)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user