In this example, it seems you have added a 0 MW generator to bus 32 and changed the bus type from PQ to PV. The only change should be that there is now a Q injection at bus 32 in order to keep the voltage at the specified 1 p.u.
Is that not what you intended? Ray > On Feb 14, 2019, at 1:21 AM, amir ali Hosseini <[email protected]> wrote: > > Hello ! sorry ! I try again! > you most change type of bus > <image.png> > then add GEN for example > <image.png> > and > <image.png> > then save > >> mpc =loadcase('case33bw'); > >> results = runpf(mpc); > befor add you have > loss Total: 0.276 0.21 > generator Total: 3.92 2.44 3.72 2.30 > after add > loss Total Total: 0.276 0.21: > <image.png> > <image.png> > in bus 32 change value > have nice time > > On Tue, Feb 12, 2019 at 6:40 PM Ray Zimmerman <[email protected] > <mailto:[email protected]>> wrote: > With a power flow (as opposed to OPF), the dispatch of each generator (except > slack, which is typically the substation in a distribution system), including > DGs is specified as an input. So if you want the DG dispatch to change as > load changes you will have to specify the dispatch changes explicitly. > > Ray > > >> On Feb 9, 2019, at 5:36 AM, Aamir Nawaz <[email protected] >> <mailto:[email protected]>> wrote: >> >> Dear Amir al hosseni, >> Thanks for your kind response. But i am sorry that you didnt understand my >> question. Please see distribution system cases like case33bw.m and try to >> add DGs to them. Most of load is take up by first generator while doing >> runpf. This makes other DGs to have static output power and only 1st >> generator output is changing to satisfy demand. You can change load to see >> change in 1st generator output. Please study this and i hope you will >> understand what i wanted to ask. Thanks. >> >> >> Regards, >> Aamir Nawaz >> >> >> On Saturday, February 2, 2019, 10:53:04 AM GMT+8, amir ali Hosseini >> <[email protected] <mailto:[email protected]>> wrote: >> >> >> hi >> you shold read document MATPOWER >> but so >> Are you Mathpower add path to the Matlab?!if yes?! So! >> frist you shold chose the case . for example case 9 that means it has 9bus >> In command window typeing >> mpc=loadcase('case9'); >> Results = runpf(mpc); >> It was simple isn't it?! >> >> >> On Fri, Feb 1, 2019, 19:07 Ray Zimmerman <[email protected] >> <mailto:[email protected]> wrote: >> If you have islands, each island must have it’s own slack bus. >> >> Ray >> >> >>> On Jan 27, 2019, at 1:12 AM, Aamir Nawaz <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Dear Dr. Ray, >>> Thanks for your kind response. I am still unable to understand how to >>> execute opf or pf for distribution system while adding some DGs on other >>> feeders than slack bus. Please share some example where DGs connected >>> within the distribution system is supplying power to load, particularly in >>> case of islanding. I hope you understood my problem and help me solve this. >>> Thanks again. >>> >>> >>> Regards, >>> Aamir Nawaz >>> On Friday, January 11, 2019, 6:49:00 AM GMT+8, Ray Zimmerman >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> >>> If you are running an OPF, it will take the least expensive generation it >>> can. Maybe check the relative costs? >>> >>> Ray >>> >>>> On Jan 3, 2019, at 10:46 PM, Aamir Nawaz <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> Dear Dr. Ray, >>>> I want to execute IEEE 13 bus distribution system with distributed >>>> generations (DG, wind farm, pv etc). I have added generators but it >>>> always take power from generator at slack bus but not others. Please guide >>>> me how to add DG in distribution system at different nodes. >>>> >>>> Regards, >>>> Aamir Nawaz. >>>> <case13bw.m> >>> >> > > <case33bw.m>
