Question regarding scaling the loads and generation in MATPower

2015-04-13 Thread Shruti Rao
Hi all, I was trying to scale the loads and generation in MATPower using the following lines: clc;clear all; define_constants; mpcb = loadcase('case118'); % load base case mpct = mpcb; % set up target case with mpct.bus(:, VM) = 1; mpct.bus(:, VA) = 0; mpct.gen(:, VG) = 1; mpopt =

Re: Question regarding scaling the loads and generation in MATPower

2015-04-13 Thread Shruti Rao
I am extremely sorry about this. Thank you! On Mon, Apr 13, 2015 at 4:48 PM, Ray Zimmerman r...@cornell.edu wrote: I almost started to become superstitious … … then I noticed a typo in the last line before the call to runpf(). Left-hand side has QD, right-hand side has PD. Ray On Apr

Re: Question regarding scaling the loads and generation in MATPower

2015-04-13 Thread Ray Zimmerman
I almost started to become superstitious … … then I noticed a typo in the last line before the call to runpf(). Left-hand side has QD, right-hand side has PD. Ray On Apr 13, 2015, at 3:58 PM, Shruti Rao sra...@asu.edu wrote: Hi all, I was trying to scale the loads and generation in

Re: Transmission Cost Method Explanation

2015-04-13 Thread Ray Zimmerman
I don’t understand your question. But to reiterate, MATPOWER does not include any SQP algorithm code. Ray On Apr 11, 2015, at 4:19 AM, Rurizwan Syahru Wibisana rurizwa...@gmail.com wrote: is it you have manual calculation in simple case for sqp algorithm for optimal power flow?

Re: Simulation slow down due to addition of DC lines

2015-04-13 Thread Ray Zimmerman
I suppose this is a bit unusual, but I don’t think you are doing anything wrong. The most likely explanation is simply that adding a dispatchable DC line where you did somehow makes the problem numerically much more difficult to solve. You might try changing the from and to bus parameters for