Generalized Analysis of Electromechanical Devices Using Pseudo-Linear Transformations