Unfortunately the project file is somewhat inconsistent: Openeing the project mosfet.sch from posting #3 generates a warning message "It appears that last time you were editing the file "mosfet.sch" it was not saved properly. I aknowledge this message with "No". Then I get a circuit calling the Infineon MOSFET with all legs shorted to GND.
I have added a "simulation command ".tran 1 2" in a text box (we definitely would need .op here!).
Running the simulation: No crash, but a ngspice error message:
Circuit: KiCad schematic
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Error: no data saved for Transient analysis; analysis not run
doAnalyses: not found
run simulation(s) aborted
This is of no use because GND is (internally, within ngspice) translated to 0. 0 is our reference. No need to save it. It is ignored.
.save is exclusive: If you issue a .save command, only the vector named in the command will be saved. If you issue multiple .save commands, all vectors following the commands are assembled and saved, but no others. So here we save our reference only that is simply ignored by ngspice. No other vectors are to be saved, so no simulation is run.
Please do not .save 0 or GND !
A strange thing is that we have now three different OSs, three different reactions of eeschem-ngspice. Maybe this occurs due to different approaches how to finally start the simulation.
Application: eeschema
Version: (5.1.2)-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.0 with C++ ABI 1013
Just another vote:
Unfortunately the project file is somewhat inconsistent: Openeing the project mosfet.sch from posting #3 generates a warning message "It appears that last time you were editing the file "mosfet.sch" it was not saved properly. I aknowledge this message with "No". Then I get a circuit calling the Infineon MOSFET with all legs shorted to GND.
I have added a "simulation command ".tran 1 2" in a text box (we definitely would need .op here!).
Running the simulation: No crash, but a ngspice error message:
Circuit: KiCad schematic
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Error: no data saved for Transient analysis; analysis not run
doAnalyses: not found
run simulation(s) aborted
Printing the ngspice netlist reveals the issue:
.title KiCad schematic general\ kicad\mosfet_ orig\infineon\ OptiMOS2_ 20V.lib"
.include "D:\Spice_
XQ? 0 0 0 BSC019N02KS_L1
.save V(0)
.save V(GND)
.tran 1 2
.end
Eeschema adds
.save v(0)
.save v(GND)
This is of no use because GND is (internally, within ngspice) translated to 0. 0 is our reference. No need to save it. It is ignored.
.save is exclusive: If you issue a .save command, only the vector named in the command will be saved. If you issue multiple .save commands, all vectors following the commands are assembled and saved, but no others. So here we save our reference only that is simply ignored by ngspice. No other vectors are to be saved, so no simulation is run.
Please do not .save 0 or GND !
A strange thing is that we have now three different OSs, three different reactions of eeschem-ngspice. Maybe this occurs due to different approaches how to finally start the simulation.
Application: eeschema compatible with 2.8)
Version: (5.1.2)-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.0 with C++ ABI 1013
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= OFF SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ PYTHON3= OFF SCRIPTING_ WXPYTHON= ON SCRIPTING_ WXPYTHON_ PHOENIX= OFF SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON