I was in trouble in calling the main function, I have managed to solve it.
Thanks for your interest again. Feyyaz Ray Daniel Zimmerman <[email protected]>, 13 Ara 2022 Sal, 17:57 tarihinde şunu yazdı: > 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> > >
