this is the optimization of PI controller of dc motor speed control.this is done in matlab7.0.you can change the range of the PI controller for optimization,by changing [varmin],[varmax] matrix. in the 'Main_ImperialistCompetitveAlgorithm.m'.
the cost function is based on settling time,rise time,steady state error,overshoot.priority is given to these parameter.you can change the priority also.see the 'costfunction.m'.
you will get error if don't simulate it in just matlab7.0.Even matlab7.5,6.5 will not work,because there is some function like refershdata().this will not work in matlab6,5.but, but the model is made in matlab6.5.there is a difference of model between 6.5 and updated version.In 6.5 power line is considered as signal line,but updated version consider it as separate power line,simpower system of 6.5 will not work in updated version.it will be shown as badlink.
very soon ,the updated model will be submitted.who dont have matlab7.0,have to wait few days,the updated version of the same models will be submitted.