Generalized averaging method for power conversion circuits | Synapse