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:
This PR aims at streamlining the building, solving and analysis of OPF models.
The main change is the introduction of the
build_opf
andextract_result
functions They replace previous specific functions such asbuild_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:
ACPPowerModel
DCPPowerModel
SOCWRPowerModel