Giter Site home page Giter Site logo

gridwarm's Introduction

GridWarm: a warm starter for power grid contingency analysis using probabilistic graphical model

This project is for warm starting power grid contingency analysis in the context of MadIoT attack which can manipulate the loads to cause possible blackouts and disturbances.

Given the system information and contingency information, the warm starter learns a mapping to the grid bus voltages after contingency. The estimate is further used in a power flow solver as an initialization point. The aim is to start from a good initial point so that the power flow solver converges quickly. The warm-starter uses an pairwise conditional gaussian random field model that captures the graph structure (topology) of power grid and adopts neural nets to learn the potential functions that make up the joint distribution.

Results showed its efficacy in have faster convergence compared with traditional initializations: plot

See this paper or this paper for more details:

@article{li2023contingency,
  title={Contingency Analyses with Warm Starter using Probabilistic Graphical Model},
  author={Li, Shimiao and Pandey, Amritanshu and Pileggi, Larry},
  journal={arXiv preprint arXiv:2304.06727},
  year={2023}
}
@article{li2022gridwarm,
  title={Towards Practical Physics-Informed ML Design and Evaluation for Power Grid},
  author={Li, Shimiao and Pandey, Amritanshu and Pileggi, Larry},
  journal={arXiv preprint arXiv:2205.03673},
  year={2022}
}

Project source code structure:

root
│   
└───main.py  # main script that trains and evaluates the ML model
│
└───Data
│   │ # where datasets are stored (e.g. download data here)
│
└───ML
│   │
│   |#where data structure, preprocessing, ML models, train and loss functions are defined 
│   
└───Figure
│   │  # where output figures are saved
│  
└───ML_Output
|   |
│   └───case_name
│   │   │
│   │   └───saved_model #trained models and checkpoints are saved here

gridwarm's People

Contributors

ohcindy avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.