This is a program written in MATLAB which analyses motors (made by Maxon) and determines how it will behave when used as a generator (to produce electricity).