Giter Site home page Giter Site logo

wuyou33 / opf-admm-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gobelc/opf-admm

1.0 1.0 1.0 3.89 MB

Distributed Optimal Power Flow for Radial Networks via Message Passing Interface (MPI)

MATLAB 53.00% Makefile 0.71% C++ 46.01% Shell 0.28%

opf-admm-1's Introduction

opf-admm

Distributed Optimal Power Flow with ADMM via Message Passing Interface (MPI) implemented in C++, based on Q. Peng and S. H. Low, "Distributed Optimal Power Flow Algorithm for Radial Networks, I: Balanced Single Phase Case," in IEEE Transactions on Smart Grid, vol. 9, no. 1, pp. 111-121, Jan. 2018.

Requirements

  • Matlab
  • CVX
  • mpich

Setup

For the setup you need to:

  • edit the path to the opf-admm directory in the file NetworkModel.hpp
  • edit the path to the matlab binaries, i.e "/usr/local/MATLAB/R2017a/bin/matlab" in files m/update_x.sh and m/update_y.sh
  • for each node you can modify the SOCP optimization problem, editing the files 0,1...,7/update_x.m and 0,1...,7/update_y.m

The default program works with 8 buses and 8 MPI processors, this can be configured changing the file NetworkModel.hpp and adjusting the makefile.

Compiling

make

Run

make run

Clean

You can delete previous data with:

make clean

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.