Re: question about matpower please help to me

2018-09-07 Thread Ray Zimmerman
I’m not sure I understand your question exactly, but the placement of generators in your system is defined in the case file. You can create your own case file by copying one of the existing ones (like case9.m) and editing it with data from your own system. Ray > On Sep 7, 2018, at 2:07 AM

Re: makePTDF - what is the point of using slack argument?

2018-09-07 Thread Ray Zimmerman
Yes, those are equivalent ways to compute changes in power with respect to changes in injections. However, any PTDF matrix is an expression of sensitivities of flow w.r.t injection under a specific slack assumption. MATPOWER makes it easy to specify which slack assumption that is. Ray > O

Re: DC OPF - Power balance is not fulfilled

2018-09-07 Thread Ray Zimmerman
Did you check the success flag in the results to make sure it solved successfully? Also, the fact that your example code uses mdo makes me wondering if it’s the output of most(), not rundcopf(). If so, then you are looking in the wrong place for the results. Ray > On Sep 3, 2018, at 1:59

question about matpower please help to me

2018-09-07 Thread amir ali Hosseini
Hello may name is amir ali .I am student . I like work with MATPOWER tool . because MATPOWER is faster simulation in the MATLAB. my subject study is : Distributed generation planning .and use TLBO , PSO algorithm for answers Optimization . ok ! so tow variables 1- where must be generation on the