MATLAB: PSO

pso

Can any body help me dealing with the code for the prohibited zones of operation in Pso. Actually I am dealing with economic load dispatch in that a equation will be there like, Ft=a*P^2+b*P+C and the value of the power should lie between as 100<P<400 but P should not be in the region from 200 to 220 .That means I have to get a solution that P should lie between 100 and 400 but should not lie between 200 and 220

Best Answer

I have tried the above by using a for loop and switch case for two regions like 100-200 one and 220-400 the other .I have changed the VR used in PSO_trealeavectorized algorithm with the above ranges as for case1:VR=100-200 and for Case2:VR=220-400 and I have found the min of these as is my requirement.I had got the answer but stil the time taken was a lot more ,I want to decrease the time taken Kindly suggest me any other better method to do this