Julia for optimization simulation and modeling of PowerSystems. Part of the Scalable Integrated Infrastructure Planning Initiative at the National Renewable Energy Lab.
124 Stars
Updated Last
2 Years Ago
Started In
November 2017


Master - CI codecov Documentation DOI

PowerSimulations.jl is a Julia package for power system modeling and simulation of Power Systems operations. The objectives of the package are:

  • Provide a flexible modeling framework that can accommodate problems of different complexity and at different time-scales.

  • Streamline the construction of large scale optimization problems to avoid repetition of work when adding/modifying model details.

  • Exploit Julia's capabilities to improve computational performance of large scale power system quasi-static simulations.

The flexible modeling framework is enabled through a modular set of capabilities that enable scalable power system analysis and exploration of new analysis methods. The modularity of PowerSimulations results from the structure of the simulations enabled by the package:

  • Simulations define a set of problems that can be solved using numerical techniques.

For example, an annual production cost modeling simulation can be created by formulating a unit commitment model against system data to assemble a set of 365 daily time-coupled scheduling problems.

Simulations enabled by PowerSimulations

  • Production Cost Modeling
  • Load Flow and Contingency Analysis - TODO

Model formulations contained in PowerSimulations


julia> ]
(v1.6) pkg> add PowerSystems
(v1.6) pkg> add PowerSimulations


PowerSimulations.jl uses PowerSystems.jl to handle the data used in the simulations.

using PowerSimulations
using PowerSystems


Contributions to the development and enahancement of PowerSimulations is welcome. Please see CONTRIBUTING.md for code contribution guidelines.


PowerSimulations is released under a BSD license. PowerSimulations has been developed as part of the Scalable Integrated Infrastructure Planning (SIIP) initiative at the U.S. Department of Energy's National Renewable Energy Laboratory (NREL)