Download & Installation

The openSDUC model has been tested using the latest versions of Python 3.14.7 and Pyomo 6.10.1, and it uses Gurobi 13.0.3 as a commercial MIP solver, for which a free academic license is available. It uses Pyomo so that it is independent of the preferred solver. Alternatively, you can use one of the free solvers HiGHS 1.15.1, SCIP 10.0.2, GLPK 5.0, or CBC 2.10.13. You can list the serial solver interfaces available under Pyomo with this call:

pyomo help -s

The Gurobi, HiGHS, SCIP, and GLPK solvers can be installed as packages:

conda install -c gurobi      gurobi
pip   install                highspy
conda install -c conda-forge pyscipopt
conda install                glpk

It also requires the following packages:

  • Pandas for reading input data and writing results

  • Matplotlib for plotting some results

Cases

Here are the input files for a small case study of 16 generators.

Code

The openSDUC code is provided under the GNU Affero General Public License:

  • the code cannot become part of a closed-source commercial software product

  • any future changes and improvements to the code remain free and open

The source code can be downloaded from GitHub or installed with pip.

This model is a work in progress and will be updated accordingly. If you want to subscribe to openSDUC model updates, send an email to mailto:andres.ramos@comillas.edu.