Skip to content

Public repository of code and data for simulations for MOST paper.

License

Notifications You must be signed in to change notification settings

MATPOWER/most-paper-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOST Paper Simulations

by Haeyong (David) Shin, Alberto J. Lamadrid, Ray D. Zimmerman


This is a public repository of the code and data used in the simulations presented in following paper:

A. J. Lamadrid, D. Muñoz-Álvarez, C. E. Murillo-Sánchez, R. D. Zimmerman, H. Shin and R. J. Thomas, "Using the MATPOWER Optimal Scheduling Tool to Test Power System Operation Methodologies Under Uncertainty," IEEE Transactions on Sustainable Energy, early access. DOI: 10.1109/TSTE.2018.2865454.

Background

The simulations in the paper are based on a number of free-open source packages for the Matlab language.

  • MATPOWER -- steady state power flow simulation and optimization for MATLAB and Octave
  • MOST -- MATPOWER Optimal Scheduling Tool (installed with MATPOWER)
  • MP-Sim -- simulator framework for MATLAB and Octave

While the above packages work on both MATLAB and Octave, the simulations in the paper require a high-performance MIP solver. We used Gurobi, which is supported by MATPOWER only for MATLAB. At the time of this writing, Gurobi is available via a free license for academic use.

Getting Started

Before you can run these simulations, you will need to do the following steps to get set up.

  1. Install MATLAB. This is commercial software available from The MathWorks. For system requirements and installation instructions, please refer to their documentation.

  2. Install Gurobi, and include it in your MATLAB path.

  3. Install MATPOWER 6.0 or later, available from the MATPOWER web site. This includes MOST.

  4. Install MP-Sim.

  5. Download (or clone) this repository and add the lib sub-directory to your MATLAB path (but not it's sub-directories).

  6. Put the contents of the sim_data sub-directory in the MP-Sim <INPUTDIR> specified in the (optional) Step 4 of the MP-Sim installation. By default this is <MPSIM>/sim_data, where <MPSIM> refers to the location where you installed MP-Sim.

Testing Your Installation

To test your installation and make sure everything is working properly, we have provided a small 9-bus test case, with only 4 different reserve levels for the deterministic case, and only 2 realizations to test each unit commitment.

At the MATLAB prompt, type:

>> sim = mostpaper().run('testsim9');

Running the Simulations

To run the full 118 bus case used for the simulations in the paper, at the MATLAB prompt, type:

>> sim = mostpaper().run('sim118');

By default, this runs a reduced version of the simulations, again with only 4 different reserve levels for the deterministic case, and only 2 realizations to test each unit commitment.

To run the full set of simulations used to generate the results described in the paper, with 25 different reserve levels for the deterministic case, and 500 realizations to test each unit commitment, at the MATLAB prompt, type:

>> sim = mostpaper().run('sim118', 'R', [2 25 500]);

Be prepared for this run to take hours to complete.

License and Terms of Use

The MOST Paper Simulations code is distributed as open-source under the 3-clause BSD license.

About

Public repository of code and data for simulations for MOST paper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages