GithubHelp home page GithubHelp logo

kit-iai / rapidpf Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 6.0 13.1 MB

Matlab code to generate distributed power flow problems.

Home Page: https://kit-iai.github.io/rapidPF/

License: Other

MATLAB 99.68% M 0.08% Shell 0.24%
optimization powersystems matlab

rapidpf's Introduction

rapidpf's People

Contributors

phill93 avatar timueh avatar xinliang-dai avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

rapidpf's Issues

Apply GN/LM methods for solve nonlinear least squares problems (local step)

Currently, the NLP problems in local step are solved as a standard optimization, although the problem is formulated as a least-sqaures problem.

In order to gain more benefit from LS structure, i.e., saving computing time and increasing robustness, Gauss-Newton method and Levenberg Marquadt method will be implemented in rapidPF.

Validation for OPF

There are several things we need to validate:

  • Does the size of the local state make sense?
  • Do all local functions work for the assumed size of the state?
  • Is the size of the upper/lower bounds correct?
  • etc.

Limited GSK value for 300-subsystem

In the TSO-DSO test, The maximum GSK of case300 file from MATPOWER is limited to 0.55. Consequently, simulation result of the 4662-bus system, which includes 2 300-bus systems, shows a limitation of GSK value (also 0.55). The main factors remain unknown.

Possible solution:

  • Change connection buses of 300-subsystem

  • parititon the 300-subsystem into smaller regions

GSK: a parameter describes the percent of generation shifted from transmission system(s) to distribution system

Numerial Hessian for OPF-Lagrangian

Unfortunately, we can't use matpower's built-in functionality for the Hessian of the Lagrangian.

We need to compute it numerically as the Jacobian of the gradient.

MATPOWER Hessian for Lagrangian

Include MATPOWER hessian function for Lagrangian.
This should be possible by setting the lambda and entries corresponding to the copy nodes to zero.

Termination Conditition of ALADIN Toolbox

The default tolerance parameter is set to 10^{-10}, but some simulations shows a comparable lower accuracy. Main factor might lay in termination condition of ALADIN Toolbox.

Termination condition of ALADIN Toolbox differs from original ALADIN paper in 2 ways:

  • Termination check is activated right after NLP local-step in ALADIN paper. In contrast to the original paper, Toolbox uses a while-loop for iterative, which means the termination conditions in the Toolbox acts like a pre-condition for the while-loop.

  • The sufficitent and necessary conditions of ALADIN paper consists of feasibility condition

    image

    and duality condition

    image

    However, there is only feasibility condition in the Toolbox. Lacking duality condition, or more specifically, lacking consideration of penalty parameter image might be the main factors for comparable lower accuracy.

This topic needs further investigated.

Lagrangian multipliers in solving PF problem

Currently, it has been observed that all lagrangian multipliers converge to zeros for some cases.

The reason might be: at solution, where the first order necessary condition holds, the residual value, i.e., the value of cost function, is equal to zero.

Nevertheless, we need to investigate the Nullspace of matrix A carefully, before we make a conclusion.

image

image

Turn off generators at copy buses

For the OPF problem it is convenient to simply turn off the generators at the copy buses (#3). We can do the same, however, for the PF problem. Hence, the functionality should be moved to the case file generator, and not to the OPF parser.

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.