A Matlab-based tool for power system dynamics analysis: A comparison with PSS/E | IEEE Conference Publication | IEEE Xplore