Hi,
So sorry to bother you with these basic questions, but I’m really struggling to 
output the maximum real power and critical voltage at the nose point of the PV 
curve.
I have searched and find this example:

define_constants;

mpopt = mpoption('out.all',0,'verbose',2);

mpopt = mpoption('cpf.stop_at','nose','cpf.step',0.2);

mpopt = mpoption(mpopt,'cpf.plot.level',2);

mpcb = loadcase('case9'); % load base case

mpct = mpcb; % set up target case with

mpct.gen(:, [PG QG]) = mpcb.gen(:, [PG QG])*2.5

mpct.bus(:,[PD QG]) = mpcb.bus(:,[PD QG])*2.5

results = runcpf(mpcb, mpct, mpopt);

Vm = results.bus(:,8);  % Voltage magnitude at the nose point for all the buses.

Could you please tell me the meaning of Vm = results.bus(:,8)? Why would it 
output the voltage magnitude at the nose point for all the buses? and how could 
I output the maximum real power at the nose point?

If the final result I need is (maximum P - initial P)/(maximum P), should I use 
the maxloadlim function?

Thanks in advance.

Best wishes,

Cynthia



Reply via email to