RE: runopf() - optional step control

2016-10-18 Thread André Carvalho da Silva
Got it! Thank you very much. Best regards, André From: bounce-120902626-76858...@list.cornell.edu [mailto:bounce-120902626-76858...@list.cornell.edu] On Behalf Of Ray Zimmerman Sent: segunda-feira, 17 de outubro de 2016 19:58 To: MATPOWER discussion forum Subject: Re: runopf() - opti

Updating [Y] matrix

2016-10-18 Thread Aaqib Peerzada
Dear Dr. Zimmerman and Friends I have a query about updating the Ybus matrix. While running the power flow on any system, it is possible that some of the generators will hit their respective reactive limits, and change from a PV to a PQ bus. When this happens, how can I update the Ybus matrix whic

Re: Updating Ybus matrix

2016-10-18 Thread Ray Zimmerman
Hi Aaqib, Let me give you a few different answers, and you can pick the one you like based on your real ultimate goal. 1. If you just want to run a power flow that respects the reactive power limits, simply call runpf() with the 'pf.enforce_q_lims' option set. 2. If you want to change the PV b

Re: Updating Ybus matrix

2016-10-18 Thread Aaqib Peerzada
Thank you Dr. Zimmerman. I am more inclined to the third answer. The challenge for me right now is to update the [*Ybus*​] matrix whenever any generator hits its reactive limit, and that I can do by adding the generator synchronous reactance in series to the diagonal element in the [Ybus] matrix, c