I am so sorry sir. It will not be repeated again On Thu, Apr 13, 2017 at 12:27 AM, Ray Zimmerman <[email protected]> wrote:
> First, please do not hi-jack an existing thread by replying to an e-mail > on a completely different topic and leaving the subject line unchanged. > > The problem is that ext2int() fails because your case file is not valid. > The number of rows in gencost does not match the number of rows in gen. > > Ray > > > On Apr 12, 2017, at 2:36 PM, Akash Tyagi <[email protected]> wrote: > > Hello everyone, > I am working on the continuation power flow technique. > I have used the given 30 bus data for the continuation power flow and i > have increased all the loads by a factor of 5, which results in the > decreased in the voltage magnitude and the lowest voltage is found to be at > bus 8. > Now after this i want to place Static Var Compensator at bus 8 i.e. i want > to increase the reactive power generation at bus 8 by placing the SVC to > improve the voltage magnitudes, and making the status of the generatoe ON. > I have tried the following code, but it is not giving results, > > clc > clear > close all; > define_constants; > mpopt=mpoption('out.all',-1,'verbose',2); > mpopt=mpoption(mpopt,'cpf.stop_at','NOSE','cpf.step',0.2); > mpopt=mpoption(mpopt,'cpf.plot.level',2); > mpcb=loadcase(case30aaa); > mpct=mpcb; > mpct.bus(:,[PD,QD])=mpcb.bus(:,[PD,QD])*5; % increasing the load by 5 > mpct.gen(8,QG)=mpcb.gen(8,QG)+10; > mpcb.gen(8,GEN_STATUS)=1; > runopf(mpcb) > [results,success]=runcpf(mpcb,mpct,mpopt); > > Below i have attached the following case for which i am doing all this.. > > > > > On Mon, Apr 10, 2017 at 9:47 PM, Ray Zimmerman <[email protected]> wrote: > >> This is a solver issue. See footnote 5 on page 10 of the MOST User’s >> Manual <http://www.pserc.cornell.edu/matpower/docs/MOST-manual-1.0.pdf>. >> For MIQP problems, that is, unit commitment problems with quadratic >> generator costs and/or ramping wear and tear costs, you will need Gurobi, >> CPLEX or MOSEK. I recommend Gurobi. >> >> Ray >> >> >> On Apr 3, 2017, at 3:52 PM, Stephen Suffian <[email protected]> >> wrote: >> >> Hello all, >> >> I have been able to succesfully run MOST for several days, but I recently >> came across a problem when attempting to load cost data into mpc.gencost. >> I >> My original gencost was below: >> >> mpc.gencost = [ >> 2 0 0 2 200 0; >> 2 0 0 2 300 0; >> 2 0 0 2 500 0; >> 2 0 0 2 1000 0; >> ]; >> >> When I changed it to quadratic, it works as long as the first term is 0. >> >> mpc.gencost = [ >> 2 0 0 3 0 200 0; >> 2 0 0 3 0 300 0; >> 2 0 0 3 0 500 0; >> 2 0 0 3 0 1000 0; >> ]; >> >> However, when I change the first term to a non-zero value: >> >> mpc.gencost = [ >> 2 0 0 3 0.004 200 0; >> 2 0 0 3 0 300 0; >> 2 0 0 3 0 500 0; >> 2 0 0 3 0 1000 0; >> ]; >> >> I get the following error. >> >> error: mpopt2qpopt: Sorry, no solver available for MIQP models >> error: called from >> mpopt2qpopt at line 92 column 13 >> most at line 2065 column 14 >> test at line 41 column 5 >> >> I am using the glpk solver. Does anyone know if this is a solver issue, a >> human error (on my part) issue, or otherwise? >> >> Thanks! >> Stephen Suffian >> >> >> > <case30aaa.m> > > >
