Can't get Simulation to Work

I am have a KiCad schematic for some analog components (a MOSFET, some resistors and two voltage sources - see attached). If I set up V1 in the Simulation Parameters -> DC Transfer -> Source 1, and set the values to 0, 5, 1 (ramping the voltage from 0 to 5 volts in 1 volt steps), the simulation produces believable output.

If I then change V1 to be a voltage pulse source - pulse (0, 5, 0, 2u, 2u, 100m, 200m) - in the properties tab of V1 (Spice model -> Source), I can’t seem to get rid of the DC transfer values and the V1 pulses are all 0 V (ie no pulses?). If I restart KiCad, the DC Transfer values are wiped out, but the simulation is not enabled (simulation button grayed out), until I fill in the DC Transfer values, and then again, no pulses.

My KiCad versions:
Version: 5.99.0-unknown-4fe025909d~114~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.3.0-7648-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11
Build Info:
Date: Oct 27 2021 15:31:47
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OCC: 7.5.2
Curl: 7.58.0
ngspice: unknown
Compiler: GCC 7.5.0 with C++ ABI 1011
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

Any suggestions on how to get the pulses to work?

Thanks!

Mark

PS Would have liked to upload the schematic, but new users can’t do that… The MOSFET is an IRLZ34N, Drain to 3 series resistors to 12V DC. Gate to V1 through resistor. Source to resistor to ground.

The exported spice netlist from the grayed out Simulation button
.title KiCad schematic
.include “/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi”
Rwire1 Net-Rwire1-Pad1 Net-Rclips1-Pad2 50m
Rclips1 Vigniter Net-Rclips1-Pad2 150m
V2 Net-Rwire1-Pad1 0 dc 12
R1 Vsource 0 1
XQ1 Vdrain Vgate Vsource irlz34n
R2 Net-R2-Pad1 Vgate 1K
V1 Net-R2-Pad1 0 pulse(0 5 0 2u 2u 100m 200m)
Rigniter1 Vigniter Vdrain 0.655
.end

The schematic netlist
(export (version “E”)
(design
(source “/home/mark/python-projects/rocket_launcher_web/Expansion Board/rocket_launcher_expansion_board/MOSFET-test1/MOSFET-test1.kicad_sch”)
(date “Wed 27 Oct 2021 03:49:23 PM MST”)
(tool “Eeschema 5.99.0-unknown-4fe025909d~114~ubuntu18.04.1”)
(sheet (number “1”) (name “/”) (tstamps “/”)
(title_block
(title “MOSFET Tests”)
(company)
(rev “0.1”)
(date “2021-10-26”)
(source “MOSFET-test1.kicad_sch”)
(comment (number “1”) (value “Estes Igniter”))
(comment (number “2”) (value “”))
(comment (number “3”) (value “”))
(comment (number “4”) (value “”))
(comment (number “5”) (value “”))
(comment (number “6”) (value “”))
(comment (number “7”) (value “”))
(comment (number “8”) (value “”))
(comment (number “9”) (value “”)))))
(components
(comp (ref “Q1”)
(value “IRLZ34N”)
(footprint “Package_TO_SOT_THT:TO-220-3_Vertical”)
(datasheet “http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720”)
(fields
(field (name “Spice_Lib_File”) “/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi”)
(field (name “Spice_Model”) “irlz34n”)
(field (name “Spice_Netlist_Enabled”) “Y”)
(field (name “Spice_Primitive”) “X”))
(libsource (lib “Transistor_FET”) (part “IRLZ34N”) (description “30A Id, 55V Vds, 35mOhm Rds, N-Channel HEXFET Power MOSFET, TO-220AB”))
(property (name “Spice_Primitive”) (value “X”))
(property (name “Spice_Model”) (value “irlz34n”))
(property (name “Spice_Netlist_Enabled”) (value “Y”))
(property (name “Spice_Lib_File”) (value “/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “db9bcbba-4314-4dc2-9ff3-9bad8cf36f3f”))
(comp (ref “R1”)
(value “1”)
(datasheet “~”)
(libsource (lib “Device”) (part “R”) (description “Resistor”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “69be1810-9cb0-4613-85dd-ea45ee36540c”))
(comp (ref “R2”)
(value “1K”)
(datasheet “~”)
(libsource (lib “Device”) (part “R”) (description “Resistor”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “d1f93155-9008-4f33-a5c1-9c014236feee”))
(comp (ref “Rclips1”)
(value “150m”)
(datasheet “~”)
(libsource (lib “Device”) (part “R”) (description “Resistor”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “f8a81f6c-4cb0-42e1-bd78-04d1a03993fe”))
(comp (ref “Rigniter1”)
(value “0.655”)
(datasheet “~”)
(libsource (lib “Device”) (part “R”) (description “Resistor”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “f41d63c4-dc48-4957-b2d5-844ec6035623”))
(comp (ref “Rwire1”)
(value “50m”)
(datasheet “~”)
(libsource (lib “Device”) (part “R”) (description “Resistor”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “3e0cb95c-dc40-46e7-a236-7f1b951ab601”))
(comp (ref “V1”)
(value “pulse(0,5,0,2u,2u,100m,200m)”)
(datasheet “~”)
(fields
(field (name “Spice_Model”) “pulse(0 5 0 2u 2u 100m 200m)”)
(field (name “Spice_Netlist_Enabled”) “Y”)
(field (name “Spice_Primitive”) “V”))
(libsource (lib “pspice”) (part “VSOURCE”) (description “Voltage source symbol for simulation only”))
(property (name “Spice_Primitive”) (value “V”))
(property (name “Spice_Model”) (value “pulse(0 5 0 2u 2u 100m 200m)”))
(property (name “Spice_Netlist_Enabled”) (value “Y”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “ca766d7b-b857-4c46-8961-3c2d3aafe7b5”))
(comp (ref “V2”)
(value “12”)
(datasheet “~”)
(fields
(field (name “Spice_Model”) “dc 12”)
(field (name “Spice_Netlist_Enabled”) “Y”)
(field (name “Spice_Primitive”) “V”))
(libsource (lib “Simulation_SPICE”) (part “VDC”) (description “Voltage source, DC”))
(property (name “Spice_Netlist_Enabled”) (value “Y”))
(property (name “Spice_Primitive”) (value “V”))
(property (name “Spice_Model”) (value “dc 12”))
(property (name “Sheetname”) (value “”))
(property (name “Sheetfile”) (value “MOSFET-test1.kicad_sch”))
(sheetpath (names “/”) (tstamps “/”))
(tstamps “fbdf0418-19b5-4efb-bae0-88d5974d9f1b”)))
(libparts
(libpart (lib “Device”) (part “R”)
(description “Resistor”)
(docs “~”)
(footprints
(fp “R_"))
(fields
(field (name “Reference”) “R”)
(field (name “Value”) “R”)
(field (name “Datasheet”) “~”))
(pins
(pin (num “1”) (name “”) (type “passive”))
(pin (num “2”) (name “”) (type “passive”))))
(libpart (lib “Simulation_SPICE”) (part “VDC”)
(description “Voltage source, DC”)
(docs “~”)
(fields
(field (name “Reference”) “V”)
(field (name “Value”) “VDC”)
(field (name “Datasheet”) “~”)
(field (name “Spice_Netlist_Enabled”) “Y”)
(field (name “Spice_Primitive”) “V”)
(field (name “Spice_Model”) “dc(1)”))
(pins
(pin (num “1”) (name “”) (type “passive”))
(pin (num “2”) (name “”) (type “passive”))))
(libpart (lib “Transistor_FET”) (part “IRLZ34N”)
(description “30A Id, 55V Vds, 35mOhm Rds, N-Channel HEXFET Power MOSFET, TO-220AB”)
(docs “http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720”)
(footprints
(fp "TO?220
”))
(fields
(field (name “Reference”) “Q?”)
(field (name “Value”) “IRLZ34N”)
(field (name “Footprint”) “Package_TO_SOT_THT:TO-220-3_Vertical”)
(field (name “Datasheet”) “http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720”))
(pins
(pin (num “1”) (name “D”) (type “passive”))
(pin (num “2”) (name “G”) (type “input”))
(pin (num “3”) (name “S”) (type “passive”))))
(libpart (lib “pspice”) (part “VSOURCE”)
(description “Voltage source symbol for simulation only”)
(docs “~”)
(fields
(field (name “Reference”) “V”)
(field (name “Value”) “VSOURCE”)
(field (name “Datasheet”) “~”))
(pins
(pin (num “1”) (name “E1”) (type “input”))
(pin (num “2”) (name “E2”) (type “input”)))))
(libraries
(library (logical “Device”)
(uri “/usr/share/kicad/library/Device.lib”))
(library (logical “Simulation_SPICE”)
(uri “/usr/share/kicad/library/Simulation_SPICE.lib”))
(library (logical “Transistor_FET”)
(uri “/usr/share/kicad/library/Transistor_FET.lib”))
(library (logical “pspice”)
(uri “/usr/share/kicad/library/pspice.lib”)))
(nets
(net (code “1”) (name “0”)
(node (ref “R1”) (pin “2”) (pintype “passive”))
(node (ref “V1”) (pin “2”) (pinfunction “E2”) (pintype “input”))
(node (ref “V2”) (pin “2”) (pintype “passive”)))
(net (code “2”) (name “Net-(R2-Pad1)”)
(node (ref “R2”) (pin “1”) (pintype “passive”))
(node (ref “V1”) (pin “1”) (pinfunction “E1”) (pintype “input”)))
(net (code “3”) (name “Net-(Rclips1-Pad2)”)
(node (ref “Rclips1”) (pin “2”) (pintype “passive”))
(node (ref “Rwire1”) (pin “2”) (pintype “passive”)))
(net (code “4”) (name “Net-(Rwire1-Pad1)”)
(node (ref “Rwire1”) (pin “1”) (pintype “passive”))
(node (ref “V2”) (pin “1”) (pintype “passive”)))
(net (code “5”) (name “Vdrain”)
(node (ref “Q1”) (pin “1”) (pinfunction “D”) (pintype “passive”))
(node (ref “Rigniter1”) (pin “2”) (pintype “passive”)))
(net (code “6”) (name “Vgate”)
(node (ref “Q1”) (pin “2”) (pinfunction “G”) (pintype “input”))
(node (ref “R2”) (pin “2”) (pintype “passive”)))
(net (code “7”) (name “Vigniter”)
(node (ref “Rclips1”) (pin “1”) (pintype “passive”))
(node (ref “Rigniter1”) (pin “1”) (pintype “passive”)))
(net (code “8”) (name “Vsource”)
(node (ref “Q1”) (pin “3”) (pinfunction “S”) (pintype “passive”))
(node (ref “R1”) (pin “1”) (pintype “passive”)))))

Wow…now when I run the electrical rules check (no changes to the schematic or simulation parameters), all of the components on the schematic have the error “Symbol not found”. But, if I add the DC transfer values (0, 5, 1) for V1 in the simulation parameters, the circuit simulates as it should - as voltage on the gate rises, current through source resistor rises per the spec sheet for the MOSFET.

I then closed all KiCad windows, and restarted my computer, and opened KiCad, and tried the electrical rules check…same result…same for the simulation.

Not convinced that KiCad is really ready for prime time…

Mark

What specifically are you trying to do? Everything you explained sounds like the software is working as expected.

PULSE only works during a transient analysis. Are you trying to compare a ramp/sawtooth waveform to a square wave?

Just trying to drive the gate of my mosfet with a square wave.

How can the software be working correctly if none of the parts that I place on the schematic from the library are now no longer in the library (e.g a resistor), but yet the simulation produces output?

Spice knows what a resistor is, even if kicad’s schematic editor has forgotten what the schematic symbol looks like. The two concepts are orthogonal.

The library symbol issue is likely something in your path settings where Kicad is looking for your libraries in the wrong place.

If you post some screenshots, or better yet the whole project, someone can provide useful help. If you read around the forum for a bit you should get bumped up to the next level where you can post attachments. Alternatively, maybe an admin will see this and do it manually.

What version of kicad are you using? I missed it in your first post.

Can you post all of your spice libraries?

Also, please put code blocks (three backticks) around your schematic contents so the forum software doesn’t mangle them. It has replaced all the quotation marks with smartquotes which prevents kicad from reading the schematic when I copy and paste it into a file.

I don’t understand what you mean by “post all your spice libraries”.

Sorry about the mangling of the schematic text. When I made the original post (my first), I selected all the text for the schematic netlist, then clicked on what I thought was the symbol for code block </>. Since there isn’t a preview option for posts, I wasn’t sure how this interface formatted the text. Thanks for the hint for using three backticks.

Here are the schematic again:

(export (version "E")
  (design
    (source "/home/mark/python-projects/rocket_launcher_web/Expansion Board/rocket_launcher_expansion_board/MOSFET-test1/MOSFET-test1.kicad_sch")
    (date "Wed 27 Oct 2021 03:49:23 PM MST")
    (tool "Eeschema 5.99.0-unknown-4fe025909d~114~ubuntu18.04.1")
    (sheet (number "1") (name "/") (tstamps "/")
      (title_block
        (title "MOSFET Tests")
        (company)
        (rev "0.1")
        (date "2021-10-26")
        (source "MOSFET-test1.kicad_sch")
        (comment (number "1") (value "Estes Igniter"))
        (comment (number "2") (value ""))
        (comment (number "3") (value ""))
        (comment (number "4") (value ""))
        (comment (number "5") (value ""))
        (comment (number "6") (value ""))
        (comment (number "7") (value ""))
        (comment (number "8") (value ""))
        (comment (number "9") (value "")))))
  (components
    (comp (ref "Q1")
      (value "IRLZ34N")
      (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
      (datasheet "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720")
      (fields
        (field (name "Spice_Lib_File") "/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi")
        (field (name "Spice_Model") "irlz34n")
        (field (name "Spice_Netlist_Enabled") "Y")
        (field (name "Spice_Primitive") "X"))
      (libsource (lib "Transistor_FET") (part "IRLZ34N") (description "30A Id, 55V Vds, 35mOhm Rds, N-Channel HEXFET Power MOSFET, TO-220AB"))
      (property (name "Spice_Primitive") (value "X"))
      (property (name "Spice_Model") (value "irlz34n"))
      (property (name "Spice_Netlist_Enabled") (value "Y"))
      (property (name "Spice_Lib_File") (value "/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "db9bcbba-4314-4dc2-9ff3-9bad8cf36f3f"))
    (comp (ref "R1")
      (value "1")
      (datasheet "~")
      (libsource (lib "Device") (part "R") (description "Resistor"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "69be1810-9cb0-4613-85dd-ea45ee36540c"))
    (comp (ref "R2")
      (value "1K")
      (datasheet "~")
      (libsource (lib "Device") (part "R") (description "Resistor"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "d1f93155-9008-4f33-a5c1-9c014236feee"))
    (comp (ref "Rclips1")
      (value "150m")
      (datasheet "~")
      (libsource (lib "Device") (part "R") (description "Resistor"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "f8a81f6c-4cb0-42e1-bd78-04d1a03993fe"))
    (comp (ref "Rigniter1")
      (value "0.655")
      (datasheet "~")
      (libsource (lib "Device") (part "R") (description "Resistor"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "f41d63c4-dc48-4957-b2d5-844ec6035623"))
    (comp (ref "Rwire1")
      (value "50m")
      (datasheet "~")
      (libsource (lib "Device") (part "R") (description "Resistor"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "3e0cb95c-dc40-46e7-a236-7f1b951ab601"))
    (comp (ref "V1")
      (value "pulse(0,5,0,2u,2u,100m,200m)")
      (datasheet "~")
      (fields
        (field (name "Spice_Model") "pulse(0 5 0 2u 2u 100m 200m)")
        (field (name "Spice_Netlist_Enabled") "Y")
        (field (name "Spice_Primitive") "V"))
      (libsource (lib "pspice") (part "VSOURCE") (description "Voltage source symbol for simulation only"))
      (property (name "Spice_Primitive") (value "V"))
      (property (name "Spice_Model") (value "pulse(0 5 0 2u 2u 100m 200m)"))
      (property (name "Spice_Netlist_Enabled") (value "Y"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "ca766d7b-b857-4c46-8961-3c2d3aafe7b5"))
    (comp (ref "V2")
      (value "12")
      (datasheet "~")
      (fields
        (field (name "Spice_Model") "dc 12")
        (field (name "Spice_Netlist_Enabled") "Y")
        (field (name "Spice_Primitive") "V"))
      (libsource (lib "Simulation_SPICE") (part "VDC") (description "Voltage source, DC"))
      (property (name "Spice_Netlist_Enabled") (value "Y"))
      (property (name "Spice_Primitive") (value "V"))
      (property (name "Spice_Model") (value "dc 12"))
      (property (name "Sheetname") (value ""))
      (property (name "Sheetfile") (value "MOSFET-test1.kicad_sch"))
      (sheetpath (names "/") (tstamps "/"))
      (tstamps "fbdf0418-19b5-4efb-bae0-88d5974d9f1b")))
  (libparts
    (libpart (lib "Device") (part "R")
      (description "Resistor")
      (docs "~")
      (footprints
        (fp "R_*"))
      (fields
        (field (name "Reference") "R")
        (field (name "Value") "R")
        (field (name "Datasheet") "~"))
      (pins
        (pin (num "1") (name "") (type "passive"))
        (pin (num "2") (name "") (type "passive"))))
    (libpart (lib "Simulation_SPICE") (part "VDC")
      (description "Voltage source, DC")
      (docs "~")
      (fields
        (field (name "Reference") "V")
        (field (name "Value") "VDC")
        (field (name "Datasheet") "~")
        (field (name "Spice_Netlist_Enabled") "Y")
        (field (name "Spice_Primitive") "V")
        (field (name "Spice_Model") "dc(1)"))
      (pins
        (pin (num "1") (name "") (type "passive"))
        (pin (num "2") (name "") (type "passive"))))
    (libpart (lib "Transistor_FET") (part "IRLZ34N")
      (description "30A Id, 55V Vds, 35mOhm Rds, N-Channel HEXFET Power MOSFET, TO-220AB")
      (docs "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720")
      (footprints
        (fp "TO?220*"))
      (fields
        (field (name "Reference") "Q?")
        (field (name "Value") "IRLZ34N")
        (field (name "Footprint") "Package_TO_SOT_THT:TO-220-3_Vertical")
        (field (name "Datasheet") "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720"))
      (pins
        (pin (num "1") (name "D") (type "passive"))
        (pin (num "2") (name "G") (type "input"))
        (pin (num "3") (name "S") (type "passive"))))
    (libpart (lib "pspice") (part "VSOURCE")
      (description "Voltage source symbol for simulation only")
      (docs "~")
      (fields
        (field (name "Reference") "V")
        (field (name "Value") "VSOURCE")
        (field (name "Datasheet") "~"))
      (pins
        (pin (num "1") (name "E1") (type "input"))
        (pin (num "2") (name "E2") (type "input")))))
  (libraries
    (library (logical "Device")
      (uri "/usr/share/kicad/library/Device.lib"))
    (library (logical "Simulation_SPICE")
      (uri "/usr/share/kicad/library/Simulation_SPICE.lib"))
    (library (logical "Transistor_FET")
      (uri "/usr/share/kicad/library/Transistor_FET.lib"))
    (library (logical "pspice")
      (uri "/usr/share/kicad/library/pspice.lib")))
  (nets
    (net (code "1") (name "0")
      (node (ref "R1") (pin "2") (pintype "passive"))
      (node (ref "V1") (pin "2") (pinfunction "E2") (pintype "input"))
      (node (ref "V2") (pin "2") (pintype "passive")))
    (net (code "2") (name "Net-(R2-Pad1)")
      (node (ref "R2") (pin "1") (pintype "passive"))
      (node (ref "V1") (pin "1") (pinfunction "E1") (pintype "input")))
    (net (code "3") (name "Net-(Rclips1-Pad2)")
      (node (ref "Rclips1") (pin "2") (pintype "passive"))
      (node (ref "Rwire1") (pin "2") (pintype "passive")))
    (net (code "4") (name "Net-(Rwire1-Pad1)")
      (node (ref "Rwire1") (pin "1") (pintype "passive"))
      (node (ref "V2") (pin "1") (pintype "passive")))
    (net (code "5") (name "Vdrain")
      (node (ref "Q1") (pin "1") (pinfunction "D") (pintype "passive"))
      (node (ref "Rigniter1") (pin "2") (pintype "passive")))
    (net (code "6") (name "Vgate")
      (node (ref "Q1") (pin "2") (pinfunction "G") (pintype "input"))
      (node (ref "R2") (pin "2") (pintype "passive")))
    (net (code "7") (name "Vigniter")
      (node (ref "Rclips1") (pin "1") (pintype "passive"))
      (node (ref "Rigniter1") (pin "1") (pintype "passive")))
    (net (code "8") (name "Vsource")
      (node (ref "Q1") (pin "3") (pinfunction "S") (pintype "passive"))
      (node (ref "R1") (pin "1") (pintype "passive")))))```

I’m looking for this file:

P.S. there is a preview if you click this button:

Thanks for your reply. The point of my post was more along the line that while doing nothing to my schematic, and just posting to this forum, the KiCad schematic editor somehow forgot how to find all the libraries that I have been using for the past two weeks when I started using KiCad. Coupled with the fact that the spice module can find the component libraries seems to point to a certain brittleness of the KiCad software.

I didn’t change the location of the libraries, just posted to this forum, and went back the schematic editor. I am not implying that posting to this forum made KiCad forget the location of the libraries. That comment is just pointing out that I did nothing to the KiCad software to help if forget the location of the librairies.

Where are the libraries and how do I fix the path setting in KiCad so it can find them again?

I wanted to post the whole project, screen shots, etc., but alas, as a newbie, I can’t. Maybe someday…

Mark

@gkeeth Thanks for the info on the preview button. Up to this point, the preview pane has been showing all sorts of forum hints and text, so it didn’t appear as a preview pane. Very annoying. They have stopped popping up now, so I can see the preview pane.

Here is the file irlz34n.spi

.SUBCKT irlz34n 1 2 3
**************************************
*      Model Generated by MODPEX     *
*Copyright(c) Symmetry Design Systems*
*         All Rights Reserved        *
*    UNPUBLISHED LICENSED SOFTWARE   *
*   Contains Proprietary Information *
*      Which is The Property of      *
*     SYMMETRY OR ITS LICENSORS      *
*Commercial Use or Resale Restricted *
*   by Symmetry License Agreement    *
**************************************
* Model generated on Apr 24, 96
* Model format: SPICE3
* Symmetry POWER MOS Model (Version 1.0)
* External Node Designations
* Node 1 -> Drain
* Node 2 -> Gate
* Node 3 -> Source
M1 9 7 8 8 MM L=100u W=100u
* Default values used in MM:
* The voltage-dependent capacitances are
* not included. Other default values are:
*   RS=0 RD=0 LD=0 CBD=0 CBS=0 CGBO=0
.MODEL MM NMOS LEVEL=1 IS=1e-32
+VTO=2.09128 LAMBDA=0.00659881 KP=14.4595
+CGSO=8.22043e-06 CGDO=2.94451e-07
RS 8 3 0.0236528
D1 3 1 MD
.MODEL MD D IS=5.31057e-13 RS=0.00899451 N=1.01104 BV=55
+IBV=0.00025 EG=1 XTI=1 TT=5.00772e-08
+CJO=5.88011e-10 VJ=1.06884 M=0.467851 FC=0.5
RDS 3 1 2.2e+06
RD 9 1 0.0001
RG 2 7 7.24763
D2 4 5 MD1
* Default values used in MD1:
*   RS=0 EG=1.11 XTI=3.0 TT=0
*   BV=infinite IBV=1mA
.MODEL MD1 D IS=1e-32 N=50
+CJO=7.15463e-10 VJ=0.5 M=0.630172 FC=1e-08
D3 0 5 MD2
* Default values used in MD2:
*   EG=1.11 XTI=3.0 TT=0 CJO=0
*   BV=infinite IBV=1mA
.MODEL MD2 D IS=1e-10 N=0.411212 RS=3e-06
RL 5 10 1
FI2 7 9 VFI2 -1
VFI2 4 0 0
EV16 10 0 9 7 1
CAP 11 10 1.74606e-09
FI1 7 9 VFI1 -1
VFI1 11 6 0
RCAP 6 10 1
D4 0 6 MD3
* Default values used in MD3:
*   EG=1.11 XTI=3.0 TT=0 CJO=0
*   RS=0 BV=infinite IBV=1mA
.MODEL MD3 D IS=1e-10 N=0.411212
.ENDS

Given the timing of the error appearing, I suspect you were bitten by this: https://lists.launchpad.net/kicad-developers/msg45357.html

The default installation location for the symbol & footprint libraries changed to somewhere slightly more sensible. Your installed version is from after that change, so your libraries will be in the new location, but if you had it installed before the change as well than your paths might still be configured to point to the old location. Alternatively, your libraries might still be in the old location but your paths were updated to point to the new location. This is packaging-defined and I’m not sure how ubuntu is packaged. Seth’s message indicates that this should be handled automatically but it seems something went wrong in your case.

You can look at these paths by opening the schematic editor’s Preferences -> Manage Symbol Libraries. Mine looks like this (Windows):

My library setup on this machine is screwy so your paths will be different (plus windows versus linux). But taking the 4xxx lib as an example: mine is at ${KICAD_SYMBOL_DIR}/4xxx.lib (my library is in the old format .lib but yours should be .kicad_sym). You can see in the Path Substitutions frame at the bottom what the env var is set to.

Go check if your libraries are actually at the location Kicad is expecting them to be at. If not, you’ll either have to update where your libraries are (probably this is just updating your library package, but again I’m not sure exactly how ubuntu is packaged), or update your paths.

Coupled with the fact that the spice module can find the component libraries seems to point to a certain brittleness of the KiCad software.

Again, the spice module (an external shared library) has no connection to the component libraries. It has not found the component libraries, nor is it looking for them. Everything in your schematic is either a passive component with an intrinsic spice model (i.e. spice has a builtin model for resistors, capacitors, inductors), or it’s an external model that you’ve directly specified the path to (the IRLZ34n model you posted above).

With respect, you’re running an unstable development version of kicad. Some issues are to be expected. Where they are reproducible and actionable, they should be reported on the bug tracker so they can be fixed. You say “Not convinced that KiCad is really ready for prime time…” – that’s why kicad version 6 hasn’t been released yet.

This is an exported netlist, but can you post just the contents of the schematic file (open up the .kicad_sch file with a text editor and copy & paste).

Alternatively, I think you’ve been bumped up to full user so you should be able to add attachments now.

In any case, I need to look at the schematic file and not the netlist.

Here is the file:

(kicad_sch (version 20210621) (generator eeschema)

  (uuid 3962c29e-3a1f-404f-8689-949fc598d1da)

  (paper "USLetter")

  (title_block
    (title "MOSFET Tests")
    (date "2021-10-26")
    (rev "0.1")
    (comment 1 "Estes Igniter")
  )

  (lib_symbols
    (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "R" (id 0) (at 2.032 0 90)
        (effects (font (size 1.27 1.27)))
      )
      (property "Value" "R" (id 1) (at 0 0 90)
        (effects (font (size 1.27 1.27)))
      )
      (property "Footprint" "" (id 2) (at -1.778 0 90)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Datasheet" "~" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_keywords" "R res resistor" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "Resistor" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_fp_filters" "R_*" (id 6) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "R_0_1"
        (rectangle (start -1.016 -2.54) (end 1.016 2.54)
          (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
      )
      (symbol "R_1_1"
        (pin passive line (at 0 3.81 270) (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27))))
        )
        (pin passive line (at 0 -3.81 90) (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))
        )
      )
    )
    (symbol "Simulation_SPICE:VDC" (pin_numbers hide) (pin_names (offset 0.0254)) (in_bom yes) (on_board yes)
      (property "Reference" "V" (id 0) (at 2.54 2.54 0)
        (effects (font (size 1.27 1.27)) (justify left))
      )
      (property "Value" "VDC" (id 1) (at 2.54 0 0)
        (effects (font (size 1.27 1.27)) (justify left))
      )
      (property "Footprint" "" (id 2) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Datasheet" "~" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Spice_Netlist_Enabled" "Y" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide)
      )
      (property "Spice_Primitive" "V" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide)
      )
      (property "Spice_Model" "dc(1)" (id 6) (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left))
      )
      (property "ki_keywords" "simulation" (id 7) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "Voltage source, DC" (id 8) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "VDC_0_0"
        (polyline
          (pts
            (xy -1.27 0.254)
            (xy 1.27 0.254)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy -0.762 -0.254)
            (xy -1.27 -0.254)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.254 -0.254)
            (xy -0.254 -0.254)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 -0.254)
            (xy 0.762 -0.254)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (text "+" (at 0 1.905 0)
          (effects (font (size 1.27 1.27)))
        )
      )
      (symbol "VDC_0_1"
        (circle (center 0 0) (radius 2.54) (stroke (width 0.254))           (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type background))
        )
      )
      (symbol "VDC_1_1"
        (pin passive line (at 0 5.08 270) (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27))))
        )
        (pin passive line (at 0 -5.08 90) (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))
        )
      )
    )
    (symbol "Transistor_FET:IRLZ34N" (pin_names hide) (in_bom yes) (on_board yes)
      (property "Reference" "Q?" (id 0) (at 5.207 0.9085 0)
        (effects (font (size 1.27 1.27)) (justify left))
      )
      (property "Value" "IRLZ34N" (id 1) (at 5.207 -1.8666 0)
        (effects (font (size 1.27 1.27)) (justify left))
      )
      (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical" (id 2) (at 6.35 -1.905 0)
        (effects (font (size 1.27 1.27) italic) (justify left) hide)
      )
      (property "Datasheet" "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide)
      )
      (property "ki_keywords" "N-Channel HEXFET MOSFET Logic-Level" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "30A Id, 55V Vds, 35mOhm Rds, N-Channel HEXFET Power MOSFET, TO-220AB" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_fp_filters" "TO?220*" (id 6) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "IRLZ34N_0_1"
        (polyline
          (pts
            (xy 0.254 0)
            (xy -2.54 0)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.254 1.905)
            (xy 0.254 -1.905)
          )
          (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.27)
            (xy 0.762 -2.286)
          )
          (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 0.508)
            (xy 0.762 -0.508)
          )
          (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 2.286)
            (xy 0.762 1.27)
          )
          (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 2.54)
            (xy 2.54 1.778)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 2.54 -2.54)
            (xy 2.54 0)
            (xy 0.762 0)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.762 -1.778)
            (xy 3.302 -1.778)
            (xy 3.302 1.778)
            (xy 0.762 1.778)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.016 0)
            (xy 2.032 0.381)
            (xy 2.032 -0.381)
            (xy 1.016 0)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type outline))
        )
        (polyline
          (pts
            (xy 2.794 0.508)
            (xy 2.921 0.381)
            (xy 3.683 0.381)
            (xy 3.81 0.254)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (polyline
          (pts
            (xy 3.302 0.381)
            (xy 2.921 -0.254)
            (xy 3.683 -0.254)
            (xy 3.302 0.381)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (circle (center 1.651 0) (radius 2.794) (stroke (width 0.254))           (stroke (width 0.254) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (circle (center 2.54 -1.778) (radius 0.254) (stroke (width 0))           (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type outline))
        )
        (circle (center 2.54 1.778) (radius 0.254) (stroke (width 0))           (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type outline))
        )
      )
      (symbol "IRLZ34N_1_1"
        (pin passive line (at 2.54 5.08 270) (length 2.54)
          (name "D" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27))))
        )
        (pin input line (at -5.08 0 0) (length 2.54)
          (name "G" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))
        )
        (pin passive line (at 2.54 -5.08 90) (length 2.54)
          (name "S" (effects (font (size 1.27 1.27))))
          (number "3" (effects (font (size 1.27 1.27))))
        )
      )
    )
    (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "#FLG" (id 0) (at 0 1.905 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Value" "PWR_FLAG" (id 1) (at 0 3.81 0)
        (effects (font (size 1.27 1.27)))
      )
      (property "Footprint" "" (id 2) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Datasheet" "~" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "PWR_FLAG_0_0"
        (pin power_out line (at 0 0 90) (length 0)
          (name "pwr" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27))))
        )
      )
      (symbol "PWR_FLAG_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 1.27)
            (xy -1.016 1.905)
            (xy 0 2.54)
            (xy 1.016 1.905)
            (xy 0 1.27)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
      )
    )
    (symbol "pspice:0" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#GND" (id 0) (at 0 -2.54 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Value" "0" (id 1) (at 0 -1.778 0)
        (effects (font (size 1.27 1.27)))
      )
      (property "Footprint" "" (id 2) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Datasheet" "~" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_keywords" "simulation" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "0V reference potential for simulation" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "0_0_1"
        (polyline
          (pts
            (xy -1.27 0)
            (xy 0 -1.27)
            (xy 1.27 0)
            (xy -1.27 0)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
      )
      (symbol "0_1_1"
        (pin power_in line (at 0 0 0) (length 0) hide
          (name "0" (effects (font (size 1.016 1.016))))
          (number "1" (effects (font (size 1.016 1.016))))
        )
      )
    )
    (symbol "pspice:VSOURCE" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
      (property "Reference" "V" (id 0) (at -6.35 7.62 0)
        (effects (font (size 1.27 1.27)))
      )
      (property "Value" "VSOURCE" (id 1) (at 0 0 0)
        (effects (font (size 1.27 1.27)))
      )
      (property "Footprint" "" (id 2) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "Datasheet" "~" (id 3) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_keywords" "simulation" (id 4) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (property "ki_description" "Voltage source symbol for simulation only" (id 5) (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide)
      )
      (symbol "VSOURCE_0_1"
        (polyline
          (pts
            (xy -6.35 -6.35)
            (xy -6.35 3.81)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type outline))
        )
        (polyline
          (pts
            (xy -7.62 3.81)
            (xy -6.35 6.35)
            (xy -5.08 3.81)
          )
          (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type outline))
        )
        (circle (center 0 0) (radius 5.08) (stroke (width 0))           (stroke (width 0) (type default) (color 0 0 0 0))
          (fill (type none))
        )
        (text "V" (at -8.128 -0.254 0)
          (effects (font (size 1.27 1.27)))
        )
      )
      (symbol "VSOURCE_1_1"
        (pin input line (at 0 7.62 270) (length 2.54)
          (name "E1" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27))))
        )
        (pin input line (at 0 -7.62 90) (length 2.54)
          (name "E2" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))
        )
      )
    )
  )

  (junction (at 158.75 96.52) (diameter 0) (color 0 0 0 0))
  (junction (at 189.23 63.5) (diameter 0) (color 0 0 0 0))
  (junction (at 189.23 76.2) (diameter 0) (color 0 0 0 0))

  (wire (pts (xy 74.93 111.76) (xy 74.93 118.11))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid b0cae783-fa8b-4ae4-a8bb-9ac5fa01195f)
  )
  (wire (pts (xy 123.19 87.63) (xy 123.19 93.98))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 4526f950-0cd2-4ff5-8e88-dbcb12144752)
  )
  (wire (pts (xy 123.19 109.22) (xy 123.19 116.84))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 3132b420-59e6-4699-94a2-b230eb8bec2c)
  )
  (wire (pts (xy 128.27 87.63) (xy 123.19 87.63))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 7015a4d5-3837-4150-b913-9d191b4e7210)
  )
  (wire (pts (xy 129.54 45.72) (xy 129.54 48.26))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 65b78da7-5873-4b35-a646-18c18cc23f5c)
  )
  (wire (pts (xy 129.54 45.72) (xy 152.4 45.72))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 6de56dc1-de36-403a-9f97-7f20303134e9)
  )
  (wire (pts (xy 129.54 58.42) (xy 129.54 67.31))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid f06a5a97-9c79-4bc6-b22d-2a78fd49e72d)
  )
  (wire (pts (xy 135.89 87.63) (xy 144.78 87.63))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 676628aa-8f1c-42ec-a764-b26972ec0a1f)
  )
  (wire (pts (xy 152.4 45.72) (xy 152.4 63.5))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid f4b5a212-5f10-48a5-9baa-0f17c16ec952)
  )
  (wire (pts (xy 152.4 63.5) (xy 161.29 63.5))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 777ec0d1-9cd7-4ee0-8059-b76695bd4cc6)
  )
  (wire (pts (xy 152.4 76.2) (xy 152.4 82.55))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid d65f1021-e4b7-4260-af2f-d0133675181f)
  )
  (wire (pts (xy 152.4 76.2) (xy 189.23 76.2))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid a6fe9a76-c408-4f5f-af7d-3c549749faa2)
  )
  (wire (pts (xy 152.4 92.71) (xy 152.4 96.52))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 3ea19a72-43cf-4ac0-8b8e-04a79faad621)
  )
  (wire (pts (xy 152.4 96.52) (xy 158.75 96.52))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 2514c9ca-6034-4b40-81d5-9fa807ab72a4)
  )
  (wire (pts (xy 158.75 96.52) (xy 158.75 104.14))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 846988f5-5b96-44d9-9fbc-0dafbcd9d7c0)
  )
  (wire (pts (xy 158.75 96.52) (xy 166.37 96.52))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 2514c9ca-6034-4b40-81d5-9fa807ab72a4)
  )
  (wire (pts (xy 158.75 111.76) (xy 158.75 120.65))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 4ff96450-1d53-4539-9b72-2f74f3e53706)
  )
  (wire (pts (xy 166.37 92.71) (xy 166.37 96.52))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid b5ffddbe-6abc-4cea-98be-28d924385763)
  )
  (wire (pts (xy 167.64 92.71) (xy 166.37 92.71))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid b5ffddbe-6abc-4cea-98be-28d924385763)
  )
  (wire (pts (xy 168.91 63.5) (xy 175.26 63.5))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 356d2bfd-849b-4d6b-8302-451cdaebab8b)
  )
  (wire (pts (xy 182.88 63.5) (xy 189.23 63.5))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 9088074a-c392-4dde-a2ad-92dcf3b9753e)
  )
  (wire (pts (xy 189.23 63.5) (xy 189.23 66.04))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 9088074a-c392-4dde-a2ad-92dcf3b9753e)
  )
  (wire (pts (xy 189.23 63.5) (xy 194.31 63.5))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid fb6ee91f-47b8-4150-87f9-e1021cdaf9c4)
  )
  (wire (pts (xy 189.23 73.66) (xy 189.23 76.2))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 2465e534-508e-42e1-be42-e23faf9176ea)
  )
  (wire (pts (xy 194.31 76.2) (xy 189.23 76.2))
    (stroke (width 0) (type default) (color 0 0 0 0))
    (uuid 189600ed-a19b-4880-a037-e2f959302a61)
  )

  (global_label "Vgate" (shape input) (at 142.24 87.63 90) (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 27652c1f-8c3a-4bae-92f4-c7caf1614e58)
    (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 142.1606 80.0159 90)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
  )
  (global_label "Vsource" (shape output) (at 167.64 92.71 0) (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 2cc5142b-5e57-4bbb-a02a-15a502adbf57)
    (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 177.4312 92.6306 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
  )
  (global_label "Vigniter" (shape input) (at 194.31 63.5 0) (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 04ed4726-1298-49af-b65b-07ff68689987)
    (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 203.9198 63.4206 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
  )
  (global_label "Vdrain" (shape input) (at 194.31 76.2 0) (fields_autoplaced)
    (effects (font (size 1.27 1.27)) (justify left))
    (uuid 0abef1ba-57fa-46e0-964a-ffa69ca913fe)
    (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 202.6498 76.1206 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
  )

  (symbol (lib_id "pspice:0") (at 74.93 118.11 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid 20d293f8-990f-4741-991b-537914cb6250)
    (property "Reference" "#GND0104" (id 0) (at 74.93 120.65 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "0" (id 1) (at 74.93 116.6644 0))
    (property "Footprint" "" (id 2) (at 74.93 118.11 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 74.93 118.11 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 6436d164-1e4b-43e3-a692-760ffb77dd9e))
  )

  (symbol (lib_id "pspice:0") (at 123.19 116.84 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid d2714d39-9e73-4e96-8dc4-a7cdd2b4da5f)
    (property "Reference" "#GND0102" (id 0) (at 123.19 119.38 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "0" (id 1) (at 123.19 115.3944 0))
    (property "Footprint" "" (id 2) (at 123.19 116.84 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 123.19 116.84 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 55369e0f-c314-47bc-b077-43391ae587ef))
  )

  (symbol (lib_id "pspice:0") (at 129.54 67.31 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid 0455c81b-b43c-4d21-984b-e20057a42a33)
    (property "Reference" "#GND0103" (id 0) (at 129.54 69.85 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "0" (id 1) (at 129.54 65.8644 0))
    (property "Footprint" "" (id 2) (at 129.54 67.31 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 129.54 67.31 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 04fcfb50-e11d-496c-adb8-6526833b6dec))
  )

  (symbol (lib_id "pspice:0") (at 158.75 120.65 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid e7674998-8d3d-4a4f-b1a1-fd19dc849c7a)
    (property "Reference" "#GND0101" (id 0) (at 158.75 123.19 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "0" (id 1) (at 158.75 119.2044 0))
    (property "Footprint" "" (id 2) (at 158.75 120.65 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 158.75 120.65 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 6606a49a-e59e-4a95-bd6e-051ec4128d79))
  )

  (symbol (lib_id "power:PWR_FLAG") (at 74.93 111.76 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid 6a325d30-d8ca-487f-9d0b-505f145c362a)
    (property "Reference" "#FLG0101" (id 0) (at 74.93 109.855 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "PWR_FLAG" (id 1) (at 74.93 108.1555 0))
    (property "Footprint" "" (id 2) (at 74.93 111.76 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 74.93 111.76 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 6ea82cd0-544a-4e7d-b5c5-21bb736295bf))
  )

  (symbol (lib_id "Device:R") (at 132.08 87.63 90) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid d1f93155-9008-4f33-a5c1-9c014236feee)
    (property "Reference" "R2" (id 0) (at 132.08 82.6475 90))
    (property "Value" "1K" (id 1) (at 132.08 85.4226 90))
    (property "Footprint" "" (id 2) (at 132.08 89.408 90)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 132.08 87.63 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 6ea345a4-1335-43ec-a05b-99c136ee9995))
    (pin "2" (uuid 164a1e3d-1f74-4e7a-abb4-ec9143aad7dc))
  )

  (symbol (lib_id "Device:R") (at 158.75 107.95 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid 69be1810-9cb0-4613-85dd-ea45ee36540c)
    (property "Reference" "R1" (id 0) (at 160.528 107.0415 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "1" (id 1) (at 160.528 109.8166 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "" (id 2) (at 156.972 107.95 90)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 158.75 107.95 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 8bbfe10e-0dd2-441c-994d-fa616a4ae8c4))
    (pin "2" (uuid 636003f0-23d5-420e-93f9-e767583a8662))
  )

  (symbol (lib_id "Device:R") (at 165.1 63.5 90) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid 3e0cb95c-dc40-46e7-a236-7f1b951ab601)
    (property "Reference" "Rwire1" (id 0) (at 165.1 58.5175 90))
    (property "Value" "50m" (id 1) (at 165.1 61.2926 90))
    (property "Footprint" "" (id 2) (at 165.1 65.278 90)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 165.1 63.5 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 176173b2-63d7-44eb-bc59-bdfd3f650376))
    (pin "2" (uuid 60c8ffcf-dfe0-4b1f-b3cd-580c99db013a))
  )

  (symbol (lib_id "Device:R") (at 179.07 63.5 270) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid f8a81f6c-4cb0-42e1-bd78-04d1a03993fe)
    (property "Reference" "Rclips1" (id 0) (at 179.07 58.5175 90))
    (property "Value" "150m" (id 1) (at 179.07 61.2926 90))
    (property "Footprint" "" (id 2) (at 179.07 61.722 90)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 179.07 63.5 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 08d1daa9-6d5a-4599-8b7d-8dc1c3a877f6))
    (pin "2" (uuid a325651e-9740-4ba4-8313-79dcf0b931bf))
  )

  (symbol (lib_id "Device:R") (at 189.23 69.85 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid f41d63c4-dc48-4957-b2d5-844ec6035623)
    (property "Reference" "Rigniter1" (id 0) (at 191.008 68.9415 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "0.655" (id 1) (at 191.008 71.7166 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "" (id 2) (at 187.452 69.85 90)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 189.23 69.85 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid ec64075b-4304-42bb-bca8-c4605f08ea00))
    (pin "2" (uuid 19c9627a-18e6-4f9b-a4c6-6acf8b37d4fa))
  )

  (symbol (lib_id "Simulation_SPICE:VDC") (at 129.54 53.34 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid fbdf0418-19b5-4efb-bae0-88d5974d9f1b)
    (property "Reference" "V2" (id 0) (at 132.842 51.0439 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "12" (id 1) (at 132.842 53.819 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "" (id 2) (at 129.54 53.34 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 129.54 53.34 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Netlist_Enabled" "Y" (id 4) (at 129.54 53.34 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Spice_Primitive" "V" (id 5) (at 129.54 53.34 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Spice_Model" "dc 12" (id 6) (at 132.842 56.5941 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (pin "1" (uuid 807ba629-1559-408b-9974-a4afe22ec6ee))
    (pin "2" (uuid 641d9ecb-cd6a-4b82-937c-1e738ae2cedb))
  )

  (symbol (lib_id "Transistor_FET:IRLZ34N") (at 149.86 87.63 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid db9bcbba-4314-4dc2-9ff3-9bad8cf36f3f)
    (property "Reference" "Q1" (id 0) (at 155.067 86.7215 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "IRLZ34N" (id 1) (at 155.067 89.4966 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_TO_SOT_THT:TO-220-3_Vertical" (id 2) (at 156.21 89.535 0)
      (effects (font (size 1.27 1.27) italic) (justify left) hide)
    )
    (property "Datasheet" "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" (id 3) (at 149.86 87.63 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Spice_Primitive" "X" (id 4) (at 149.86 87.63 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Model" "irlz34n" (id 5) (at 149.86 87.63 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Netlist_Enabled" "Y" (id 6) (at 149.86 87.63 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Lib_File" "/home/mark/python-projects/rocket_launcher_web/Designs/libraries/irlz34n.spi" (id 7) (at 149.86 87.63 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 08e02b80-8791-4772-b595-52c91593f278))
    (pin "2" (uuid 8f5aaf45-66b9-43b9-b43f-23941f1a9270))
    (pin "3" (uuid 96184dfc-0d25-4a11-989e-55584744fb06))
  )

  (symbol (lib_id "pspice:VSOURCE") (at 123.19 101.6 0) (unit 1)
    (in_bom yes) (on_board yes) (fields_autoplaced)
    (uuid ca766d7b-b857-4c46-8961-3c2d3aafe7b5)
    (property "Reference" "V1" (id 0) (at 128.905 100.6915 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "pulse(0,5,0,2u,2u,100m,200m)" (id 1) (at 128.905 103.4666 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "" (id 2) (at 123.19 101.6 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "~" (id 3) (at 123.19 101.6 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Primitive" "V" (id 4) (at 123.19 101.6 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Model" "pulse(0 5 0 2u 2u 100m 200m)" (id 5) (at 123.19 101.6 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Spice_Netlist_Enabled" "Y" (id 6) (at 123.19 101.6 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (pin "1" (uuid 8b64fa26-4e23-4d7a-b288-be1424da3201))
    (pin "2" (uuid b4d28ae3-4f3c-419f-b93d-a874a6663f2c))
  )

  (sheet_instances
    (path "/" (page "1"))
  )

  (symbol_instances
    (path "/6a325d30-d8ca-487f-9d0b-505f145c362a"
      (reference "#FLG0101") (unit 1) (value "PWR_FLAG") (footprint "")
    )
    (path "/e7674998-8d3d-4a4f-b1a1-fd19dc849c7a"
      (reference "#GND0101") (unit 1) (value "0") (footprint "")
    )
    (path "/d2714d39-9e73-4e96-8dc4-a7cdd2b4da5f"
      (reference "#GND0102") (unit 1) (value "0") (footprint "")
    )
    (path "/0455c81b-b43c-4d21-984b-e20057a42a33"
      (reference "#GND0103") (unit 1) (value "0") (footprint "")
    )
    (path "/20d293f8-990f-4741-991b-537914cb6250"
      (reference "#GND0104") (unit 1) (value "0") (footprint "")
    )
    (path "/db9bcbba-4314-4dc2-9ff3-9bad8cf36f3f"
      (reference "Q1") (unit 1) (value "IRLZ34N") (footprint "Package_TO_SOT_THT:TO-220-3_Vertical")
    )
    (path "/69be1810-9cb0-4613-85dd-ea45ee36540c"
      (reference "R1") (unit 1) (value "1") (footprint "")
    )
    (path "/d1f93155-9008-4f33-a5c1-9c014236feee"
      (reference "R2") (unit 1) (value "1K") (footprint "")
    )
    (path "/f8a81f6c-4cb0-42e1-bd78-04d1a03993fe"
      (reference "Rclips1") (unit 1) (value "150m") (footprint "")
    )
    (path "/f41d63c4-dc48-4957-b2d5-844ec6035623"
      (reference "Rigniter1") (unit 1) (value "0.655") (footprint "")
    )
    (path "/3e0cb95c-dc40-46e7-a236-7f1b951ab601"
      (reference "Rwire1") (unit 1) (value "50m") (footprint "")
    )
    (path "/ca766d7b-b857-4c46-8961-3c2d3aafe7b5"
      (reference "V1") (unit 1) (value "pulse(0,5,0,2u,2u,100m,200m)") (footprint "")
    )
    (path "/fbdf0418-19b5-4efb-bae0-88d5974d9f1b"
      (reference "V2") (unit 1) (value "12") (footprint "")
    )
  )
)

@gkeeth I looked into my software sources list, and I had two version of KiCad installed. My bad. No wonder I had a screwy installation.

I removed the nightly builds ppa and reverted back to the 5.1 version ppa, and tried to install that using the installation instructions on
https://www.kicad.org/download/ubuntu/. That works, but for the life of me I cannot get Ubuntu to install the libraries. I have tried

sudo apt install --install-recommends kicad and
sudo apt install kicad-libraries

but there are no

/usr/share/kicad/library or
/usr/share/kicad/modules or 
/usr/share/kicad/symbols or
/usr/share/kicad/footprints

directories on my machine after the installation completes, and KiCad cannot find any libraries. Not sure if the official Ubuntu installation script is broken, or what is going on. I have plenty of disk space, and receive no error messages from the installer.

At this point I have version 5.1.11-e4df9d881f~92~ubuntu18.04.1, release build installed, but cannot find nor install any libraries. I have spent 2 weeks hitting my head on the wall with KiCad trying to build and simulate a circuit with 1 MOSFET and several resistors, I give up. There has to be an easier application to use.

Thanks for your help, and all the best to you and the KiCad community, but I need to move on to something else before my blood pressure explodes! :wink:

Mark

Sorry for the delay here. Since your reply was not directed at me it did not notify me. Anyway, I think one of the main problems you were having is you were incorrectly using DC Transfer instead of Transient. PULSE() only works with Transient simulations. I am not able to get your SCH code block to work, but regardless I attached below an example project of what I believe you were trying to do. Even if you use another SPICE-based simulation software, the same principle with DC Transfer vs Transient will apply.

mosfet_test.zip (4.8 KB)