First of all, thank you kindly for creating kicad; it is an amazing tool! I am however, having great difficulty with the simulator; may I please have some baby-step assistance.
Problem = cannot get externally imported sub-circuit models working; .lib files in particular from ti.com.
What I have already done:
I have both the .spiceinit & spice.rc files with “set ngbehavior=ps”. I have both of these files located in my “Home” directory as depicted in the file explorer GUI. I have downloaded and unzipped the model of interest into the folder of my kicad project. I find the .lib file using “edit spice model”, and change the “alternate pin numbering” accordingly. I do not have a “.include” text sting on my schematic with the path to the file.
different kicad outputs:
Too many parameters for subcircuit type “ths3001” (instance: xxu1)
I was able to probe/view the input to the opamp, however, the output was constant at some arbitrary value since kicad could not resolve the model.
Conclusion:
I have confused myself, and I am out of optimism; seeking professional help. This is my first question via online forums, so please be gentle; I’m aware that my post is lacking information.
Circuit: KiCad schematic
******
** ngspice-31 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please get your ngspice manual from http://ngspice.sourceforge.net/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
** Creation Date: Sun Oct 27 09:07:06 UTC 2019
I replicated the tutorial with my model ths3001.lib used as the spice model; it now runs with no apparent errors. However, I do not seem to get any useful output. Do you have any suggestions?
Thank you for your help, and creating a safe learning environment for us noobs . I have worked with ideal toys for too long, and I now realize that I must pay close attention to the data sheet if it is to function.
Again thank you for your help, and to the kicad community for creating such a wonderful tool for the world to use!