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