Skip to content

Forecasting daily electricity consumption πŸ’‘ with Portuguese weather data on precipitation 🌧️ and temperature 🌑️

Notifications You must be signed in to change notification settings

Gaurav0502/electricity-forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

70 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Daily Electricity Usage Forecasting

Aim

To forecast the daily electricity consumption with weather data (daily temperature ranges and precipitation).

Environment Setup

  • Clone this repository.
git clone https://github.com/Gaurav0502/electricity-forecasting.git
  • Install all packages in the requirements.txt file.
pip install -r requirements.txt
  • Download and store all the three datasets from following sources:
  1. Electricity dataset: https://archive.ics.uci.edu/dataset/321/electricityloaddiagrams20112014

  2. Weather dataset: https://www.kaggle.com/datasets/gauravpendharkar/portuguese-weather-data-from-2011-to-2014

  • Ensure the all the data and code files have the directory structure as follows:
.
β”œβ”€β”€ README.md
β”œβ”€β”€ clustering.ipynb
β”œβ”€β”€ clusters.json
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ LD2011_2014.txt
β”‚   β”œβ”€β”€ lisbon_precip_2011-2014.csv
β”‚   └── lisbon_temp_2011-2014.csv
β”œβ”€β”€ eda.ipynb
β”œβ”€β”€ model.py
β”œβ”€β”€ modelling.ipynb
β”œβ”€β”€ preprocess.py
└── requirements.txt

References

Electricity: https://archive.ics.uci.edu/dataset/321/electricityloaddiagrams20112014

Weather: https://www.ipma.pt/en/oclima/series.longas/list.jsp

About

Forecasting daily electricity consumption πŸ’‘ with Portuguese weather data on precipitation 🌧️ and temperature 🌑️

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages