pspice netlist

Discussion in 'General Electronics Chat' started by termus, Mar 14, 2009.

  1. termus

    Thread Starter New Member

    Mar 14, 2009
    4
    0
    Hi, can anyone tell me how to enter a circuit as a netlist in orcad and simulate it? I tried entering it in textfile with .cir extension but the simulation comes back with "simulation aborted because no device was found in schematic". thanks.
     
  2. n9352527

    AAC Fanatic!

    Oct 14, 2005
    1,198
    4
    Did you specify the library used?
     
  3. Management

    Active Member

    Sep 18, 2007
    306
    0
    Can you post the your netlist?
     
  4. termus

    Thread Starter New Member

    Mar 14, 2009
    4
    0
    Hi, the following is my netlist

    Regulator with Vswitch
    .SUBCKT Ideal_Diode anode cathode
    Vx anode int DC 0V
    Ed int cathode TABLE {I(Vx)}=(-0.01A,-30V) (0A,0V)
    .ENDS
    Vpls 10 0 PULSE(0V 2V 0s 1us 1us 49us 100us)
    Rpls 10 0 1MEG
    Vdc 1 0 DC 20V
    Sw1 1 2 10 0 Smod
    Xd 0 2 Ideal_Diode
    .MODEL Smod VSWITCH(Ron=1m Roff=1MEG Von=1V Voff=0V)
    Lf 2 3 250uH IC=4.00A
    Cf 3 0 50uF IC=10.0V
    RL 3 0 2.0
    .PROBE
    .TRAN 1us 1ms 0us 1us UIC
    .END
     
  5. Management

    Active Member

    Sep 18, 2007
    306
    0
    It didn't run for me as well. Do you have the sub circuit at the top? Can you place it above ".probe"? Doing that gave me an error free run.
     
    Last edited: Mar 14, 2009
Loading...