Hi Carlos,

 

Thank you, outstanding.  Yes, I will do as you suggest.

 

Best regards,

russ

 

Carlos wrote:

The options structure must be passed along as an optional argument to runpf().  
Something along these lines:

method 1: tell mpoption to modify a specific field in the returned structure
>> myoptions = mpoption('pf.nr.max_it', 20)
>> mpc_out = runpf('case30', myoptions);

method 2: create a default options structure and manually modify a field in it:
>> myoptions = mpoption;
>> myoptions.pf.nr.max_it = 20;
>> mpc_out = runpf('case30', myoptions);

Note that all MATPOWER functions also use the traditional MATLAB "help" 
documentation;  I suggest that you do these at least:

>> help caseformat
>> help mpoption
>> help idx_bus
>> help idx_gen
>> help idx_brch
>> help idx_cost
>> help runpf





Reply via email to