Your original question was not clear enough for me to understand where you are 
having trouble. In the paper you mention, Table 1 gives the generator 
capacities (PMAX) and Table 7 gives the generator dispatch (PG), both of which 
match the case5 included in MATPOWER. To run the power flow, simply follow the 
instructions in the Getting Started section of the manual or README 
<https://github.com/MATPOWER/matpower/#running-matpower>.

  runpf('case5')

Does that answer your question?

    Ray
 

> On Oct 17, 2017, at 4:57 AM, naime ahmadi <[email protected]> wrote:
> 
> I found the data in "small test system for power system economic studies".
> The problem is for getting this data do I need to run load flow?
> If yes how I can run it for 5 case buses.
> 
> 
> On Mon, Oct 16, 2017 at 8:59 PM, naime ahmadi <[email protected] 
> <mailto:[email protected]>> wrote:
> Sorry, you mean in the program. I could not find mpc.gen.
> Is it possible to tell me more specifically?
> 
> On Mon, Oct 16, 2017 at 3:33 AM, Bone, Gorazd <[email protected] 
> <mailto:[email protected]>> wrote:
> The PV busses are generators, so when looking at the input data for case5, 
> please also look at the part that indicates generator powers; mpc.gen.
> 
> Od: [email protected] 
> <mailto:[email protected]> 
> [[email protected] 
> <mailto:[email protected]>] v imenu naime ahmadi 
> [[email protected] <mailto:[email protected]>]
> Poslano: 16. oktober 2017 12:10
> Za: MATPOWER discussion forum
> Zadeva: Re: Help with matpower
> 
> Sorry, I did not understand.
> 
> 
> 
> On Mon, Oct 16, 2017 at 2:27 AM, Bone, Gorazd <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi, 
> Please note that there are PQ buses and PV buses. 
> Also, please note that there are general bus data in mpc.bus and generator 
> specific data in mpc.gen.
> 
> Hope this helps
> 
> Od: [email protected] 
> <mailto:[email protected]> 
> [[email protected] 
> <mailto:[email protected]>] v imenu naime ahmadi 
> [[email protected] <mailto:[email protected]>]
> Poslano: 16. oktober 2017 11:02
> Za: [email protected] <mailto:[email protected]>
> Zadeva: Help with matpower
> 
> Hi,
> I checked Matlab code of 'case 5' with the data of 'Small test systems for 
> power system economic studies' but in the part 'generator data' I could not 
> get how to write 'Pg' , 'Qg', 'Qmax', 'Qmin', 'Pmax,'  and 'Qmin'.
>  
> For example, if I use Table 1 (Generation parameters) the Pg (real power 
> output) should be 40, 170, 520, 200, 600 but in the Matlab codes it is 40, 
> 170, 323.49, 0, 466.51. 
> Respectively, I have a problem with other parameters which is written before. 
> 
> Would you please help me in this aspect.
> 
> Kind Regards,
> Naime
> 
> 
> 

Reply via email to