Figure 4: Basic flow diagram of an electromagnetic transient simulator.