Giter Club home page Giter Club logo

camsap17's Introduction

Predicting Voltage Stability Margin via Learning Stability Region Boundary

Published in: 2017 IEEE 7th International Workshop on Computational Advances in Multi-Sensor Adaptive Processing (CAMSAP). For more information, please refer to the paper.

  • Tools: MATLAB (MATPOWER), Python (TensorFlow)

Abstract

Preventing voltage collapse is critical for the reliable operation of the power grid. In this paper, the voltage stability margin, which is defined as the distance from a given power profile to the boundary of the stability region, is efficiently estimated using a data-driven machine learning approach. The key idea is to train a neural network classifier to learn the boundary of the potentially nonconvex stability region, and exploit the resulting score metric as the regressor for stability margin prediction. No particular loading direction is assumed, but rather the minimum distance to the boundary along all possible directions is captured. The training samples are generated from both continuation and semidefinite relaxation power flow methods. The performance and computational advantage of the proposed approach are verified by numerical experiments.

Neural Network Architecture

NN

Output layer: Hinge Loss

L = max(-xy + 1, 0)
where x is the score computed from the output layer, and y is the binary label {-1,1}

Dataset

Power profiles in a nonconvex stability region Sampling method
feasible sampling_for_distance

The samples were generated using MATPOWER package [1]. The sampling method is as follows:

1. Sample Generation for Learning the Stability Boundary

  1. A random power profile vector 's' was generated, including the real and reactive powers for the loads and the real powers for the generators. (To do this, the power factor for each load bus was uniformly sampled in the interval [0.4,1], so that the average power factor can be 0.7. Then, the reactive power demands were adjusted to yield the sampled power factors. The load buses with real or reactive power demands equl to 0 were ignored.)
  2. Based on the sampled power profile, two boundary points were computed; using the continuation power flow for the feasible boundary points 's(η_c)' and the SDP relaxation-based power flow for the infeasible boundary points 's(η_s)'.

2. Sample Generation for Learning the Minimum Distance from an Operating Point to the Stability Boundary

  1. A feasible power profile was picked from the data set already generated above.
  2. A profile 's_1' was obtained by shrinking the profile by a random amount (new base profile).
  3. Another feasible power profile 's_2' was similarly obtained.
  4. Then, the continuation power flow method was used to obtain a boundary point 's_1 + η(s_2 - s_1)' (new target profile).
  5. The profile 's_1' and the minimum distance '||η^* (s_2 - s_1)|| were recorded after performing the 3~4 steps N times, where η^* = arg min η.

Results

1. Learning Stability Boundary

Based on the feasible and infeasible data points, a neural network with one hidden layer is trained for a binary classifier. The trained neural network achieves an testing classification accuracy of 99.9%.

2. Predicting Stability Margin

With the trained binary classifier, the scores computed at the output layer is used to fit a predictor of the voltage stability margin. A scatter plot of score-margin pairs and the fitted function are plotted below. The fitted linear function achieves an R-squared measure of 0.71, indicating reasonably good performance as follows:
marginfit

References

[1] R. D. Zimmerman, C. E. Murillo-Snchez, and R. J. Thomas, “MATPOWER: Steady-state operations, planning and analysis tools for power systems research and education,” IEEE Trans. Power Syst., vol. 26, no. 1, pp. 12–19, Feb. 2011.

camsap17's People

Contributors

young-hwanlee avatar

Watchers

 avatar

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.