---
title: "Electricity Demand Forecaster"
url: "https://ridwaanhall.com/projects/electricity-demand-forecaster"
markdown: "https://ridwaanhall.com/projects/electricity-demand-forecaster.md"
summary: "Recurrent neural networks that forecast electricity demand."
---

# Electricity Demand Forecaster

> Recurrent neural networks that forecast electricity demand.

- Category: Machine Learning
- Status: Completed
- Started: January 14, 2024
- Built with: GRU, Python, LSTM, RNN, PyTorch

## About

### The problem

Electricity providers must match supply to demand hour by hour. Under-forecasting risks outages and over-forecasting wastes generation.

### The approach

I trained LSTM and GRU recurrent networks in PyTorch on historical demand combined with weather and calendar features.

- LSTM and GRU models compared on the same data.
- Weather and calendar features alongside historical demand.
- Time-series evaluation suited to forecasting.

### The result

The models capture daily and seasonal patterns and demonstrate how recurrent networks can support energy planning.

## Features

- **Recurrent Models**: LSTM and GRU networks that capture patterns over time.
- **Combined Dataset**: Historical demand with weather and calendar data.
- **Energy Planning**: Forecasts suited to real-world supply planning.

## Tags

RNN, lstm, GRU, Electricity Demand, Forecasting, Time Series, Energy Management, Python, PyTorch, Weather Data, Machine Learning, Energy

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/electricity-demand-forecaster
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
