ec simulations with pspice