diff --git a/src/akkudoktoreos/prediction/load_forecast.py b/src/akkudoktoreos/prediction/load_forecast.py index af29851..000c766 100644 --- a/src/akkudoktoreos/prediction/load_forecast.py +++ b/src/akkudoktoreos/prediction/load_forecast.py @@ -92,7 +92,7 @@ class LoadForecast: # Example usage of the class if __name__ == "__main__": - filepath = r"..\data\load_profiles.npz" # Adjust the path to the .npz file + filepath = Path(__file__).parent.parent / "data" / "load_profiles.npz" lf = LoadForecast(filepath=filepath, year_energy=2000) specific_date_prices = lf.get_daily_stats("2024-02-16") # Adjust date as needed specific_hour_stats = lf.get_hourly_stats("2024-02-16", 12) # Adjust date and hour as needed