Skip to content

rmanicav/smart-grid-demand-response-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Grid Demand Response Forecasting

Overview

Machine learning and statistical modeling for forecasting electricity demand and detecting anomalous consumption patterns in smart grid demand response programs.

This repository contains research experiments developed during my PhD research in applied machine learning for cyber-physical energy systems.


Research Motivation

Demand Response (DR) programs rely on accurate prediction of electricity consumption patterns to balance supply and demand in smart grids.

However, consumption data may be affected not only by natural behavioral variation but also by cyber-attacks targeting communication protocols used in smart grid networks.

Protocol-level attacks such as MODBUS, TCP/IP, and WiMAX can introduce anomalies in power consumption data, leading to:

  • incorrect demand forecasts
  • financial losses for grid operators
  • reduced reliability of energy systems

Traditional statistical forecasting alone often fails to capture these attack-induced deviations.


Research Objectives

This project investigates how machine learning can improve demand response analytics through:

  • seasonal demand forecasting
  • detection of anomalous consumption patterns
  • correlation of anomalies with network protocol attacks
  • improved reliability of smart grid demand response systems

Methodology

The research pipeline includes:

  • preprocessing and cleaning of smart grid demand response datasets
  • feature engineering on temporal and behavioral attributes
  • seasonal time-series modeling using ARIMA / SARIMA
  • machine learning models for anomaly detection
  • deep learning models for temporal pattern learning
  • comparative evaluation of statistical, ML, and deep learning approaches

Models Used

Statistical Models

  • ARIMA
  • SARIMA

Machine Learning Models

  • Random Forest
  • Support Vector Machines (SVM)

Deep Learning Models

  • LSTM for modeling long-term temporal dependencies

Results

  • ARIMA and SARIMA models successfully captured seasonal demand patterns
  • Machine learning models identified abnormal consumption patterns linked to network protocol anomalies
  • LSTM models improved detection of subtle time-dependent anomalies

Tech Stack

Programming
Python

Machine Learning
scikit-learn, TensorFlow, PyTorch

Data Processing
NumPy, Pandas

Visualization
Matplotlib, Seaborn


Project Structure

data/ -> datasets src/ -> model implementations results/ -> experiment outputs assets/ -> figures and plots

data/ -> datasets src/ -> model implementations results/ -> experiment outputs assets/ -> figures and plots

pip install -r requirements.txt

Run experiments python src/main.py


Research Context

This project was developed during my PhD research in Computer Engineering focusing on machine learning for cyber-physical systems and smart grid analytics.

Related Publications

Relating Network Behavior to Demand Response during DDoS Attack in the Smart Grid
Future Technologies Conference (FTC), 2023

Testbed for Evaluating Smart Grid Behavior in Demand Response Scenarios
ICUMT 2022

Google Scholar
https://scholar.google.com/citations?user=2XswkUcAAAAJ


Skills Demonstrated

  • Time-series forecasting
  • Machine learning for energy systems
  • anomaly detection in cyber-physical systems
  • feature engineering
  • reproducible research workflows

Author

Dr. Rajesh Manicavasagam
Research Software Engineer | Applied Machine Learning | Scientific Computing

GitHub
https://github.com/rmanicav

About

Machine learning and time-series forecasting for smart grid demand response analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages