SOS

2013-12-13 Thread Raza Farid
Hello, I have been working on an assignment and I can not figure out what the problem is. I checked my system and readings several times but still my system isn't converging. Any help will be appreciated. %%- Power Flow Data -%% %% system MVA base mpc.baseMVA = 100; %% bus data

How to fix generation in for loop?

2013-12-13 Thread Nirav Shah
I have saved as case9 file with the new name case92. I am using this code to decrease my line flow of 4-5. For that I need to decrease the generation 3, but it's not decreasing with this code. Please help me. mpc= loadcase (case92) [MVAbase, bus, gen, branch, success, et]=runpf (case92) a=branch(

Re: How to fix generation in for loop?

2013-12-13 Thread Shri
Pass the casestruct 'mpc' instead of the filename 'case92' to runpf runpf(mpc); What problem are you trying to solve by decreasing the line flow? Maybe we could suggest a better for what you are trying to do. Shri On Dec 13, 2013, at 11:25 AM, Nirav Shah wrote: > I have saved as case9 file wit

Re: SOS

2013-12-13 Thread Shri
You sent the data but forgot to mention what analysis are you trying to do? Are you running a power flow or an optimal power flow? If a power flow, then are you using Newton Method (default), fast decoupled, DC? If OPF, then DC or AC? Shri On Dec 13, 2013, at 11:02 AM, Raza Farid wrote: > Hell

Re: How to fix generation in for loop?

2013-12-13 Thread Nirav Shah
I am working on a fuzzy logic program which reduces the tie-line power flow and frequency deviation. I have made line 4-5 a tie-line. What I'm trying to do right now is, I'm decreasing the load on bus 5 manually, and then I want to decrease the generation of gen-3 by for loop. I did find my that

Re: SOS

2013-12-13 Thread Raza Farid
I want to run Newton Raphson or Gauss Seidal power flow. Raza Farid Electrical Design Engineer Green Building Technologies Contact: +92-333-5615025 razafa...@live..com From: Shri Sent: ‎Saturday‎, ‎December‎ ‎14‎, ‎2013 ‎12‎:‎32‎ ‎AM To: MATPOWER discussion forum Cc: MATPOWER-L@cornell

Re: SOS

2013-12-13 Thread Shri
The generator voltage magnitude setpoints are not set n the data. This should be set in mpc.gen(:,6). On Dec 13, 2013, at 2:29 PM, Raza Farid wrote: > I want to run Newton Raphson or Gauss Seidal power flow. > > Raza Farid > Electrical Design Engineer > Green Building Technologies > > Contac

Fwd: Gradient of cost function

2013-12-13 Thread Arash Alimardani
Dear Dr. Zimmerman, I may be wrong, but apprently, in opf_costfnc.m, line 135, there is an issue which it not clear to me. In calculating the gradiant of cost function, baseMVA is multiplied as in: df_dPgQg(ipol) = baseMVA * polycost(gencost(ipol, :), xx(ipol), 1); However, in calculating xx(ipol

RE: SOS

2013-12-13 Thread ce.murillosanc...@gmail.com
Some of your branch impedances are way too small; you should probably collapse such electically similar buses into a single bus. -Original message- From: Shri Sent: 2013/12/13, 15:59 To: MATPOWER discussion forum Subject: Re: SOS The generator voltage magnitude setpoints are not set