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: