- The authors present an algorithm for the simulation of a resonant inverter on digital computers. It is shown that the switching devices can be modeled as variable inductors controlled by a local controller. As the topology of the circuit changes due to closing and opening of the switches, only one set of linear state-space equations is needed to characterize the circuit mathematically. The topology changes in the circuit translate into a simple change of parameters is these equations. The change of parameters is accomplished by the local controllers at the start of each cycle. Simulation results are presented.