Re:Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Ji Chen
Hi Shri, I am interested in power flows for distribution networks recently. Do you mean that Matpower is not a good chioce for distribution networks simulation or it just can not do distribution networks simulation? Thanks, Ji At 2016-05-04 23:02:50, "Abhyankar, Shrirang G." wrote: ht

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
hi Chee wooi Ten can you please send me the full name of Kersting book. Have a nice day Regards, FIAZ AHMAD PhD Student, FENS Sabanci University, Istanbul Turkey On Thu, May 5, 2016 at 10:41 AM, Ji Chen wrote: > Hi Shri, > I am interested in power flows for distribution networks recentl

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Papiya Dutta
Hi Its *Distribution System Modeling and Analysis* On Thu, May 5, 2016 at 2:03 PM, Fiaz Ahmad wrote: > hi Chee wooi Ten can you please send me the full name of Kersting book. > > > Have a nice day > > Regards, > FIAZ AHMAD > PhD Student, > FENS Sabanci University, > Istanbul Turkey > > > > On T

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Jovan Ilic
You could use Matpower to simulate distribution systems if you are only interested in balanced 3 phase without mutual line coupling systems. Jovan On Thu, May 5, 2016 at 3:41 AM, Ji Chen wrote: > Hi Shri, > I am interested in power flows for distribution networks recently. Do > you mean th

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
Yes I m using balanced three phase but how can I do it with matpower. I changed the bus data and gen.data matrices but I couldn't get the power flows. On May 5, 2016 2:24 PM, "Jovan Ilic" wrote: > > You could use Matpower to simulate distribution systems if you are only > interested in balanced 3

Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Stela Sarri
You can calculate the symmetrical components (direct, inverse and zero) and if your three-phase network is balanced, you can represent it with a 1-ph equivalent using the direct sequence. However, distribution networks are in principle unbalanced (unbalanced lines, non-symmetric loads etc.) R

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Jovan Ilic
Fiaz, If you are using the data in your original post only, there are no generators in that data set. You should put a (unlimited P and Q) generator where the substation would be in your system. Jovan On Thu, May 5, 2016 at 7:29 AM, Fiaz Ahmad wrote: > Yes I m using balanced three phase but

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
I am putting P=5000W and Q=3500VARs as a substation. How can I make P Q unlimited? Any suggestion On May 5, 2016 2:48 PM, "Jovan Ilic" wrote: > > Fiaz, > > If you are using the data in your original post only, there are no > generators in > that data set. You should put a (unlimited P and Q) gen

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Mirish Thakur
Hello Fiaz, If you want to perform OPF then you have to put limits on active and reactive power generation; i.e. Pmax, Pmin, Qmax Qmin in generator matrix column. Just try to format your case according to any sample case;e.g. case9. You can get additional information from manual in the Table B-1 t

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Jovan Ilic
Where did you add P=5000W and Q = 3500VAR in your data, it is not in the data you posted? If I remember well the default MVA base in MatPower is 100MVA; your P and Q data seems to be in W and VAR . Also, if I remember well, if you specify 0 for Pmax and Pmin and Qmax and Qmin there will be no li

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
%% MATPOWER Case Format : Version 2 mpc.version = '2'; %%- Power Flow Data -%% %% system MVA base mpc.baseMVA = 1; %% bus data % bus_i type Pd Qd Gs Bs area Vm Va baseKV zone VmaxVmin mpc.bus = [ 130 0 0 0 1

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Jovan Ilic
Mirish, You should use Qmax and Qmin for power flow as well. In Fiaze's case, if there are no other generators in his system, he should just put a fictitious generator at the substation bus and declare it a slack bus. Jovan On Thu, May 5, 2016 at 8:05 AM, Mirish Thakur wrote: > Hello Fiaz, > >

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Mirish Thakur
Ok. I know in OPF, we should use constraints on active and reactive power generation and declare one bus as a reference bus. But I'm not sure about whether in PF we must have to put constraints on reactive power generation. But in this case I agree with you that, to satisfy the power balance equat

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Jovan Ilic
Fiaz, I get an error when running runpf function on your data using Matlab 2015b and MatPower 5.1: >> runpf(case33_dis) Subscript indices must either be real positive integers or logicals. Error in ext2int (line 149) brs = ( mpc.branch(:, BR_STATUS) & ... %% branch status Error in

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
I am also getting this problem even after doing the changes you suggested I think now Dr. Ray should help us now Have a nice day Regards, FIAZ AHMAD PhD Student, FENS Sabanci University, Istanbul Turkey On Thu, May 5, 2016 at 4:31 PM, Jovan Ilic wrote: > > Fiaz, > > I get an error when

Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Ray Zimmerman
When you get errors like that, always check the case with case_info() to see if there are any obvious errors in the case file. In this case, it appears that you are missing bus 14. And a clarification about power flow … by default generator limits are ignored when solving the power flow. You ca

Re: Change 1 PQ to PV -> infeasible problem

2016-05-05 Thread Ray Zimmerman
Thanks Jose. I’ve added that to the manual as you suggested. I also agree with your suggestions for Chris. However, I’m curious about your [*] note. In the situation you describe, it’s just that the Newton method will diverge, correct? The original solution will still be a solution of the power

Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Papiya Dutta
Hi Sir Are you planning to include 3 phase load flow for unbalanced distribution systems in matpower? Thanking you On Fri, May 6, 2016 at 1:03 AM, Ray Zimmerman wrote: > When you get errors like that, always check the case with case_info() to > see if there are any obvious errors in the case

Re: Change 1 PQ to PV -> infeasible problem

2016-05-05 Thread Jose Luis Marín
Sorry for the confusion, Ray: where I said, *"...solvable with the bus running as PV, but unfeasible when the bus is running as PQ"*, I meant to say: "*a valid powerflow solution* with the bus running as PV, but an *unstable* one when the bus is running as PQ" (it is one of the multiple low

Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Fiaz Ahmad
Three phase balanced flow On May 6, 2016 8:14 AM, "Papiya Dutta" wrote: > Hi Sir > > Are you planning to include 3 phase load flow for unbalanced distribution > systems in matpower? > > Thanking you > > > On Fri, May 6, 2016 at 1:03 AM, Ray Zimmerman wrote: > >> When you get errors like that, al

Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Papiya Dutta
Hi Fiaz I asked Dr. Ray if he could include it for unbalanced system as well in matpower. Distribution systems are mostly unbalanced so that is much needed. On Fri, May 6, 2016 at 11:05 AM, Fiaz Ahmad wrote: > Three phase balanced flow > On May 6, 2016 8:14 AM, "Papiya Dutta" wrote: > >> Hi Sir