Matlab project for power grid research