MATPOWERisapackageofMatlabM-filesforsolvingpowerflowandoptimalpowerflowproblems.Itisintendedasasimulationtoolforresearchersandeducatorsthatiseasytouseandmodify.MATPOWERisdesignedtogivethebestperformancepossiblewhilekeepingthecodesimpletounderstandandmodify.Itwasinitiallydevelope