2

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!

Rish
  • 159
  • 2
  • 8
  • 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. – a concerned citizen May 07 '18 at 07:19
  • Rish, even if it's greyed it allows to initialize by double clicking on the box. – Pai Apr 28 '19 at 04:36
  • Btw, how did you make PSpice display the parameters vertically rather than horizontally? – alexei Apr 15 '22 at 18:25

1 Answers1

1

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

Andy aka
  • 456,226
  • 28
  • 367
  • 807