Skip to content

Explore the Production and Consumption of Electricity produced by different types of energy sources and build an RNN and LSTM to forecast them

Notifications You must be signed in to change notification settings

grascya/Forecasting-Electricity-by-Hour-RNN-vs-LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Forecasting Electricity by Hour

About Dataset

Hourly Electricity Consumption and Production by Type in Romania for 5.5 years. It includes hourly consumption and production, split into categories: Nuclear, Wind, Hydroelectric, Oil and Gas, Coal, Solar, and Biomass. When the production is greater than the consumption it means we are exporting electricity, when the value is smaller it means we are importing electricity.
All values are in MWs .

Objective: Explore the Production and Consumption of Electricity produced by different types of energy sources and build an RNN and LSTM to forecast them
Methods Used: Exploratory Data Analysis, time series analysis, Data Visualization, deep learning, Predictive Modeling.
Type of Problem: Multivariate Regression.
Language, Libraries, technologies used: Python, Pandas, Matplotlib, Seaborn, Numpy, Scikit-learn, TensorFlow, Keras

Key Insights

  • I first loaded and Displayed the Dataset and then created the plots to explore the dataset and gain insights about ELectricity Consumption. Here are some Insights:
    • The country imports a little more electricity than it exports.
    • On average 1291 Mws of nuclear energy is produced per hour.
    • In 2023, 32.4% of electricity production was hydroelectric.
    • Hydroelectric and Nuclear have a Negative Correlation meaning when the production of one is increasing the second decreases
  • Then I apply the RNN na LSTM to forecast Electricity production and consumption.
  • Both of these give amazing results, but the LSTM performs slightly better, with a coefficient of determination of 0.98 on Consumption and 0.96 on Production than the RNN.

About

Explore the Production and Consumption of Electricity produced by different types of energy sources and build an RNN and LSTM to forecast them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published