Hi Mirko, Thank you. This looks very nice, and yes, I am interested in seeing MATPOWER expand it’s applicability for distribution systems. In fact, I have implemented a prototype Implicit Zbus Gauss power flow method recently with this in mind. It’s been a while since I’ve looked at these algorithms, so if you have a pointer to a good reference on how to handle PV buses, that would be great.
Regarding your code, I’m still figuring out the ideal workflows, but I think the best approach is for you to go ahead and create a pull request where we can discuss and commit any changes before accepting and merging it into the master branch. I think you’ll want to create the pull request from a branch in your repo that you are ok with giving me push access to <https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/>. Thanks, Ray > On Dec 31, 2016, at 10:58 AM, Mirko Todorovski <mi...@feit.ukim.edu.mk> wrote: > > Dear friends, > > I would like to inform you that I have made a "fork" of Matpower on github. > It can be found at https://github.com/todorovski-m/matpower > <https://github.com/todorovski-m/matpower> > > I have added three power flow methods which are applicable to distribution > systems, as well as several distribution test cases taken from the > literature. The methods are: power summation (a version of it known as > voltage correction power flow), current summation and admittance summation. > They can be called if we specify the following options: > mpopt = mpoption('pf.alg','PQSUM') > mpopt = mpoption('pf.alg','ISUM') > mpopt = mpoption('pf.alg','YSUM') > respectively. > > The test cases are: case18, case22, case69, case85 and case 141. They are all > radial, but the methods can solve cases with radial networks and arbitrary > number of PV generators. They can be easily modified to solve weakly meshed > networks as well. > > For each new file there is a help explaning the purpose of the file and a > reference for the method or case data. There is a file test_radial.m where I > compare the results with those obtained by Newton method. > > I wonder if there is an interest to develop Matpower in this direction. > Please give me your comment and opinions on the matter. > > Best wishes for the new year, > Mirko Todorovski