Code Monkey home page Code Monkey logo

Comments (2)

nickpowersys avatar nickpowersys commented on July 19, 2024

Do you (or does anybody) know what the generator voltage setpoints are for OPF under a version of MATPOWER that updates the generator voltage setpoints?

from pypower.

DGeorgiadis avatar DGeorgiadis commented on July 19, 2024

So, I experimented a little bit. This post will have two (small) sections. One answering your question and one summarising what I found.

Section A:
I am not certain about how MATPOWER does it. I know what it says in the manual and what it should be doing according to theory, but I have not gone through the code line by line.

Here is what should be happening (I will be very explicit just in case someone does not know electrical power system stuff): The voltage get points of the generator should control the voltage amplitude at the bus the generator is connected at. This quantity could be given either in Volts or per units. The MATPOWER manual says that they are using per units, which makes much more sense.

In other words, the optimum vector of voltage amplitudes produced by the OPF should be used to fill in the voltage set points of the generators. Specifically, the bus ID to which the generator is connected should have the same voltage amplitude as the generator setpoint.

Section B:
I found a way to NOT have the PF solver iterate. I do not know if it is the proper solution but it seems to be closer. Right now it is very late where I am and I do not have the time, but tomorrow I will edit this post and include a minimal ingredients solution (this is the first time I am using a platform like this, I do not know what I am saying is good etiquette). To give a small peak, I addressed the voltage stepping issue, just to be sure, and made sure that the voltage angles and power generation (VA in bus and PG QG in gen) are in degrees and MVW, MVar respectively.

Some of the three steps might be redundant. I will check tomorrow.

from pypower.

Related Issues (20)

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.