An efficient solver for electromagnetic transient simulationi