Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grascya/forecasting-electricity-by-hour-rnn-vs-lstm
Explore the Production and Consumption of Electricity produced by different types of energy sources and build an RNN and LSTM to forecast them
https://github.com/grascya/forecasting-electricity-by-hour-rnn-vs-lstm
deep-neural-networks electricity keras lstm-neural-networks rnn-model tensorflow2
Last synced: 28 days ago
JSON representation
Explore the Production and Consumption of Electricity produced by different types of energy sources and build an RNN and LSTM to forecast them
- Host: GitHub
- URL: https://github.com/grascya/forecasting-electricity-by-hour-rnn-vs-lstm
- Owner: grascya
- Created: 2024-08-21T17:17:44.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T19:53:48.000Z (about 2 months ago)
- Last Synced: 2024-09-23T07:31:11.172Z (about 2 months ago)
- Topics: deep-neural-networks, electricity, keras, lstm-neural-networks, rnn-model, tensorflow2
- Language: Jupyter Notebook
- Homepage:
- Size: 3.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Forecasting Electricity by Hour
## About DatasetHourly Electricity Consumption and Production by Type in Romania for 5.5 years.
It includes the hourly consumption and production, and the production is split into one of the 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 this gives 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.