Code Monkey home page Code Monkey logo

steady-state-and-transient-for-voltage-control's Introduction

Bridging Transient and Steady-state Performance in Voltage Control: A Reinforcement Learning Approach With Safe Gradient Flow

This is the official repo for the paper titled as ''Bridging Transient and Steady-state Performance in Voltage Control: A Reinforcement Learning Approach With Safe Gradient Flow''.

Abstract

Deep reinforcement learning approaches are becoming appealing for the design of nonlinear controllers for voltage control problems, but the lack of stability guarantees hinders their real-world deployment. This paper constructs a decentralized RL-based controller for inverter-based real-time voltage control in distribution systems. It features two components: a transient control policy and a steady-state performance optimizer. The transient policy is parameterized as a neural network, and the steady-state optimizer represents the gradient of the long-term operating cost function. The two parts are synthesized through a safe gradient flow framework, which prevents the violation of reactive power capacity constraints. We prove that if the output of the transient controller is bounded and monotonically decreasing with respect to its input, then the closed-loop system is asymptotically stable and converges to the optimal steady-state solution. We demonstrate the effectiveness of our method by conducting experiments with IEEE 13-bus and 123-bus distribution system test feeders.

Code Structure

This repo contains two tested simulation environments, the algorithm, training pipline, and the test cases.

The algorithm is written in safeDDPG.py. Plotting figures: test.py Ploting the effect of alpha: effect_of_alph.py Test stability condition: test_condition.py

Note: This code is for academic use only.

How to train

python train_DDPG.py --algorithm safe-ddpg --env_name 13bus --status train
#customize your own algorithm, env_name and status
#env: 13bus,123bus
#algorithm: safe-ddpg
#status: train,test
#safe_method: safe-flow, no_gradient
#use_safe_flow: Ture or False
#use_gradient: Ture or False
#check points are available

Citation

@ARTICLE{10163934,
  author={Feng, Jie and Cui, Wenqi and Cortés, Jorge and Shi, Yuanyuan},
  journal={IEEE Control Systems Letters}, 
  title={Bridging Transient and Steady-State Performance in Voltage Control: A Reinforcement Learning Approach With Safe Gradient Flow}, 
  year={2023},
  volume={7},
  number={},
  pages={2845-2850},
  doi={10.1109/LCSYS.2023.3289435}}

steady-state-and-transient-for-voltage-control's People

Contributors

jiefeng-cse avatar

Stargazers

 avatar  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.