Electromagnetic and Circuit Simulation