/optimal-power-flow

AC Optimal Power Flow (OPF) attempts to determine the setpoints of generators that would minimize the operating cost of a power system while meeting other operational constraints. In this tutorial, learn how to leverage PyTorch to train a neural network to approximate the optimal solutions.

Primary LanguageJupyter NotebookMIT LicenseMIT

AI for Optimal Power Flow

AC Optimal Power Flow (OPF) attempts to determine the setpoints of generators that would minimize the operating cost of a power system while meeting other operational constraints. In this tutorial, learn how to leverage PyTorch to train a neural network to approximate the optimal solutions.

Author(s):

Originally presented at Climate Change AI Summer School 2023

Access this tutorial

We recommend executing this notebook in a Colab environment to gain access to GPUs and to manage all necessary dependencies. Open In Colab

Estimated time to execute end-to-end: 10 minutes

Contribute to this tutorial

Please refer to these GitHub instructions to open a pull request via the "fork and pull request" workflow.

Pull requests will be reviewed by members of the Climate Change AI Tutorials team for relevance, accuracy, and conciseness.

Climate Change AI Tutorials

Check out the tutorials page on our website for a full list of tutorials demonstrating how AI can be used to tackle problems related to climate change.

License

Usage of this tutorial is subject to the MIT License.

Cite

Plain Text

Montalvo, J., Agwan, U., Moutis, P., Liang, E. (2024). AI for Optimal Power Flow [Tutorial]. In Climate Change AI Summer School. Climate Change AI. https://doi.org/10.5281/zenodo.13119828

BibTeX

@misc{montalvo2024ai,
  title={AI for Optimal Power Flow},
  author={Montalvo, Jorge and Agwan, Utkarsha and Moutis, Panos and Liang, Enming},
  year={2024},
  organization={Climate Change AI},
  type={Tutorial},
  doi={https://doi.org/10.5281/zenodo.13119828},
  booktitle={Climate Change AI Summer School},
  howpublished={\url{https://github.com/climatechange-ai-tutorials/optimal-power-flow}}
}