Skip to content

Latest commit

Β 

History

History
55 lines (36 loc) Β· 1.26 KB

File metadata and controls

55 lines (36 loc) Β· 1.26 KB

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