matpower4.0 MATPOWERisapackageofMatlabM-filesforsolvingpowerflowandoptimalpowerflowproblems.Itisintendedasasimulationtoolforresearchersandeducatorsthatiseasytouse