G-MES: a computer aided electromechanical system model generator for SPICE | IEEE Conference Publication | IEEE Xplore