AI4OPT / OPFGenerator

Instance generator for OPF problems
MIT License
2 stars 3 forks source link

Consolidate and streamline OPF formulations #29

Closed mtanneau closed 11 months ago

mtanneau commented 11 months ago

This PR aims at streamlining the building, solving and analysis of OPF models.

The main change is the introduction of the build_opf and extract_result functions They replace previous specific functions such as build_acopf, build_dcopf, etc...

The new code builds on the type hierarchy of PowerModels, and follows PowerModels' OPF formulations This new infrastructure will make it easier to include various OPF formulations, and is better aligned with PowerModels. It will also make it (much) easier to programmatically solve multiple formulations for the same instance data (especially when running on HPC)

Note that we are still building the models ourselves, to retain full control of variables and constraints. At the moment, the supported OPF formulations are:

mtanneau commented 11 months ago

cc @ivanightingale @klamike