Git Product home page Git Product logo

powermodelsada.jl's Introduction

PowerModelsADA.jl

Status: CI codecov Documentation

Overview

PowerModelsADA.jl (Power Models Alternating Distributed Algorithms) provides a framework to solve Optimal Power Flow (OPF) problems using alternating distributed algorithms. The package allows to use different distributed algorithms. PowerModelsADA is built on top of PowerModels.jl and JuMP.jl to model and solve the subproblems.

Distributed Algorithms

The PowerModelsADA framework is designed to easily incorporate new alternating distributed algorithms. The framework provides means to decompose a test case into multiple areas, model the subproblems associated with each area using PowerModels, solve the supropblems in parallel using multi-threading or multi-processing via Distributed Computing, communicate the shared data between the areas, and calculate the mismatches to decide if the termination criteria are satisfied.

The current version of PowerModelsADA implements four distributed algorithms:

  • Alternating Direction Method of Multipliers (ADMM)
  • Analytical Target Cascading (ATC)
  • Auxiliary Problem Principle (APP)
  • Augmented Lagrangian Alternating Direction Inexact Newton (ALADIN)

PowerModelsADA can be extended to include variations of the existing algorithms or new user-defined algorithms. More details about the formulations and algorithm implementations are shown in Technical Specifications

Installation

PowerModelsADA can be installed using the Julia package manager with

using Pkg
Pkg.add("PowerModelsADA")

Examples

An example demonstrating how to code up and solve the OPF problem with distributed algorithms is found in Quick Start Guide section of the documentation.

Contributions

Contributions and enhancements of PowerModelADA are welcomed and encouraged. Please feel free to fork this repository and share your contributions to the main branch with a pull request.

Citation

If you find PowerModelsADA useful for your work, please cite our paper:

@ARTICLE{alkhraijah2023powermodelsada,
  author={Alkhraijah, Mohannad and Harris, Rachel and Coffrin, Carleton and Molzahn, Daniel K.},
  journal={IEEE Transactions on Power Systems}, 
  title={PowerModelsADA: A Framework for Solving Optimal Power Flow using Distributed Algorithms}, 
  year={2023},
  volume={},
  number={},
  pages={1-4},
  doi={10.1109/TPWRS.2023.3318858}
}

Acknowledgments

This work is partially supported by the NSF AI Institute for Advances in Optimization (Award #2112533).

powermodelsada.jl's People

Contributors

awkbr549 avatar ccoffrin avatar mkhraijah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

powermodelsada.jl's Issues

Why this package cannot be installled from the Julia manager?

julia> Pkg.add("PowerModelsADA")
Updating registry at C:\Users\eee\.julia\registries\General.toml
ERROR: The following package names could not be resolved:

  • PowerModelsADA (not found in project, manifest or registry)
    Suggestions: PowerModelsACDC PowerModelsSecurityConstrained PowerModelsAnnex PowerModelsAnalytics PowerModelsStability PowerModelsInterfaceStacktrace:

solve_dopf_aladin_coordinated method call error

Dear Mohannad,

Thank you for your publishing PowerModelsADA. I test the ALADIN implementation of PowerModelsADA. I noticed, that it is not possible leave out the optional arguments of solve_dopf_aladin_coordinated. This gives:

julia> PowerModelsADA.solve_dopf_aladin_coordinated(data_14, ACPPowerModel, nlp_solver)

ERROR: MethodError: no method matching var"#solve_dopf_aladin_coordinated#262"(::String, ::Float64, ::Int64, ::Int64, ::Int64, ::Int64, ::Float64, ::Float64, ::Float64, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Dict{Any, Any}, ::typeof(solve_dopf_aladin_coordinated), ::Dict{String, Any}, ::Type{ACPPowerModel}, ::MathOptInterface.OptimizerWithAttributes)

Moreover, I could not run the test for solve_dopf_aladin_coordinated in runtests.jl with data_rts.jl.

Could be give me a hint on how to fix this, please?

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.