(a) Generator
(b) Motor
Figure 3: Schematics of the circuit model.