I was simulating the below opamp integrator circuit with pulse current.As this is an inverting integrator I thought it would integrate the input current and give me a triangular waveform.
But after simulation in PSpice I got the following result.
Can anyone explain why the current flowing through capacitor jumping to 0 to 2u instead -1u to 1u. Also why Vout is almost constant at 15v.
From my understanding, if dc current flows through capacitor then the voltage across through capacitor will be ramp.