Downloads · 30 days
0
Sari95/SARIMAX-for-Energy-Consumption-Prediction
SARIMAX-for-Energy-Consumption-Prediction is a machine learning model from Sari95. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl.
This SARIMAX model predicts energy consumption over a 48-hour period based on meteorological data and historical energy usage from 2021 to 2023. It utilizes time series data from a transformer station and incorporates…
Downloads · 30 days
0
Access
Public
Updated May 22, 2024
Repo size
—
Likes
1
Public
Click a slice to open those files.
.ipynb86 KB · 96%
From the Hugging Face model README
This SARIMAX model predicts energy consumption over a 48-hour period based on meteorological data and historical energy usage from 2021 to 2023. It utilizes time series data from a transformer station and incorporates both time-based and weather-related variables to enhance prediction accuracy.
Model Type: SARIMAX (Seasonal ARIMA with exogenous variables)
Data Period: 2021-2023
Variables Used:
Lastgang: Energy consumption dataStundenwertStrahlung: Hourly radiationGlobalstrahlung_15Min: Global radiation every 15 minutesStrahlungGeneigteFläche: Radiation on inclined surfacesTheorPVProd: Theoretical photovoltaic productionDirektnormalstrahlung: Direct normal radiationSchönwetterstrahlung: Clear sky radiationLufttemperatur: Air temperatureLastgang_Moving_Average: Moving average of energy consumptionLastgang_First_Difference: First difference of energy consumptionThe model splits the data into training and testing sets, with the last 192 data points (equivalent to 48 hours at 15-minute intervals) designated as the test dataset. It defines target variables (Lastgang) and explanatory variables including hourly and daily patterns as well as derived features from the consumption data. The dataset includes preprocessed features such as scaled energy consumption (Lastgang), and weather-related features.
To run this model, you need Python along with the following libraries:
pandasnumpymatplotlibstatsmodelsscikit-learnpmdarimapsutilInstall Required Packages
Load your Data
Preprocess the data according to the specifications
Run the Script