What is the error message you are getting? Is it coming from MATPOWER, or from 
your code?

   Ray

> On Dec 7, 2022, at 7:01 AM, feyyaz fatih aydın <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to apply Best Sitting and Sizing of Distrubuted Generators 
> problem to find the  minimum  LMP by using PSO.
> I use discrete and continuous variables in the problem as in the attachment.
> 
> But I get some errors during optimization procedure.but when I just create a 
> function and try to calculate, I don't get any error message, and the 
> function I wrote seems to be working.
> 
> Thanks already for your help.
> 
> Feyyaz
> 
> 
> <PSO_2.m><sc_1.JPG>

Reply via email to