Hi Aqeeb,
  The ‘mu’ you mention is the same as the load scaling factor ‘lambda’ in 
MATPOWER’s continuation power flow. Lambda = 0 denotes a base-case 
generation/loading scenario, while lambda=1 is the target generation/loading 
scenario.

For plotting the lambda (or mu)-voltage curve for a specific bus you merely 
need to use the option ‘cpf.plot.bus’.

results = 
runcpf(<basecase>,<targetcase>,mpoption(‘cpf.plot.level’,2,cpf.plot.bus,<bus#>);

Please read the Continuation Power Flow chapter in the MATPOWER manual for a 
list of all the available options.

Shri

From: Aaqib Peerzada <[email protected]<mailto:[email protected]>>
Reply-To: MATPOWER discussion forum 
<[email protected]<mailto:[email protected]>>
Date: Sunday, March 5, 2017 at 1:37 PM
To: MATPOWER discussion forum 
<[email protected]<mailto:[email protected]>>
Subject: Re: CPF Question

Hello Shri

Thanks for getting back.

 I'd like to make my situation more clear. My work involves scaling up the all 
the loads in a power network in an incremental fashion up until the power flow 
equations become unfeasible. So I progressively stress the system by increasing 
all the loads through a load multiplier factor, lets call it mu. As I do this, 
the system will not converge for some value of mu, in case of 39 bus system, 
mu=1.239, which means the system collapses when all loads are scaled up by a 
factor of 1.239 Now I'd like to plot the nose curve (FULL) of any arbitrary bus 
using the CPF in MATPOWER. So ideally what I want is bus voltage plotted with 
mu.

Can i get additional insights in to how can I modify the default callback 
function keeping in view my requirements?

Thanks,
Aaqib

On Sun, Mar 5, 2017 at 12:22 PM, Abhyankar, Shrirang G. 
<[email protected]<mailto:[email protected]>> wrote:
Hello Aaqib,
  There is no in-built function in MATPOWER to plot what you need. However, you 
can do so easily in two ways:

  1.  Modify the default callback function, cpf_default_callback.m, to plot the 
active power - voltage curve. Currently, it is set to plot lambda-voltage curve 
(both predicted and corrected).
  2.  runcpf’s output struct stores all the states for each continuation step 
in its cpf field (results.cpf). You can use these values to create the active 
power-voltage curve.

Hope this helps,
Shri

From: Aaqib Peerzada <[email protected]<mailto:[email protected]>>
Reply-To: MATPOWER discussion forum 
<[email protected]<mailto:[email protected]>>
Date: Friday, March 3, 2017 at 9:10 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: CPF Question

Dear Dr. Zimmerman and Friends

I have a question regarding CPF in Matpower. In matpower the CPF algorithm 
plots the bus voltage against the continuation parameter (λ). However I'd like 
to plot the voltage against the active power at a bus(abscissa ). Is there any 
specific function that can let me do that or do i need to write some  
additional code for accomplishing this?

Thanks

--
Aaqib A Peerzada





--
Aaqib A Peerzada
Graduate Student
Department of Electrical and Computer Engineering
Wisenbaker Engineering Research Center
Texas A&M University
College Station, Texas
United States.
Phone # 979-739-2799
Email: [email protected]<mailto:[email protected]>

Reply via email to