The exported SPICE netlist file cannot be successfully simulated

91 views
Skip to first unread message

David Cat

unread,
Jan 17, 2024, 6:36:28 AM1/17/24
to KiCad Developers
When I simulate the circuit using KiCAD V7.99, it is successful. However, when I export the netlist file and simulate it using the ngspice, the simulation fails.
Steps for ngspice simulation:
1. source file
2. run
All the files used for reproduction are attached.
 Are there any special parameters set by KiCAD during simulation?In theory, the exported netlist file should also simulate successfully using ngspice, or is there an issue with the exported netlist?

Application: KiCad Schematic Editor x64 on x64
Version: 7.99.0-4204-g 120937b6, release build
Libraries:    
     wxWidgets 3.2.4
     FreeType 2.12.1
     HarfBuzz 8.3.0
     FontConfig 2.14.2
     libcurl/8.4.0-DEV Schannel zlib/1.3
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:  
     Date: Jan 8 2024 06:17:54
     wxWidgets: 3.2.4 (wchar_t,wx containers)
     Boost: 1.83.0
     OCC: 7.7.1
     Curl: 8.4.0-DEV
     ngspice: 42
     Compiler: Visual C++ 1936 without C++ ABI
Build settings:
107.kicad_sch
107.kicad_prl
107.kicad_pcb
107.kicad_pro

Seth Hillbrand

unread,
Jan 17, 2024, 12:51:03 PM1/17/24
to dev...@kicad.org
There are some settings that KiCad will pass to ngspice depending on your configuration.  These are mostly compatibility flags.

However, as a developer mailing list, we're mostly interested in developing KiCad.  It sounds like you are having some trouble using either KiCad or ngspice.  We have user forums for how to use KiCad and ngspice has an ngspice-user mailing list that can help you out with how to use either program.

Seth

KiCad Services Corporation Logo
Seth Hillbrand
Lead Developer
+1-530-302-5483
Long Beach, CA
www.kipro-pcb.com    in...@kipro-pcb.com


--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/0d658e04-9cd1-490e-a00b-e86e0dbea3c5n%40kicad.org.
Reply all
Reply to author
Forward
0 new messages