EMTP errors in modeling resonant circuits