0
\$\begingroup\$

I'm new to PSpice and working on setting up my initial conditions for a capacitor and an inductor in a series RLC circuit. However, whenever I try to set up my initial conditions, the IC box is greyed out and I can't edit it.

enter image description here

The circuit I'm trying to implement is:

enter image description here

Any help would be appreciated!

\$\endgroup\$
  • \$\begingroup\$ I don't know PSpice, but in LTspice you can simply add 200u ic=0, right next to the value. WIll that work in PSpice? If not, is there a way to add the capacitor as a SPICE directive, instead of a graphical element? Something ike this: C1 a b 200u ic=0. \$\endgroup\$ – a concerned citizen May 7 '18 at 7:19
  • \$\begingroup\$ Rish, even if it's greyed it allows to initialize by double clicking on the box. \$\endgroup\$ – Adithya Pai Apr 28 at 4:36
0
\$\begingroup\$

If it's at all like micro-cap or LTSpice you use a dot directive and place it on the schematic like this: -

.IC V(C1) = 1 or

.IC I(L1) = 2

I set this up in microcap recently for simulating a flyback controller: -

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.