I want to simulate an RF amplifier using an op amp AD8001AN, however the simulator is not working. It instead says that it couldn’t find symbol library file then the following output:
Note: Compatibility modes selected: ps
Circuit: KiCad schematic
Too many parameters for subcircuit type "ad8001an" (instance: xxu1)
Background thread stopped with timeout = 0
Error: there aren't any circuits loaded.
Note: No compatibility mode selected!
Circuit: KiCad schematic
Error on line 0 or its substitute:
a$poly$g.xu1.gb1 %vd [ net-_u1-pad3_ xu1.100 ] %id ( net-_v1-pad1_ net-_u1-pad3_ ) a$poly$g.xu1.gb1
MIF-ERROR - unable to find definition of model a$poly$g.xu1.gb1
Error: circuit not parsed.
There seems to be a bug in your circuit schematic. ‘Unconnected’ is bad, and having a node only once in a netlist is bad too (connection is missing). V1 is floating.
Did you have a look at the data sheet of the AD8001? Where is your power supply (± 3 V minimum)?
I did almost the same circuit on the spreadsheet, but still I’m getting this:
Note: No compatibility mode selected!
Circuit: KiCad schematic
Error on line 0 or its substitute:
a$poly$g.xu1.gb1 %vd [ net-_u1-pad3_ xu1.100 ] %id ( net-_u1-pad7_ net-_u1-pad3_ ) a$poly$g.xu1.gb1
MIF-ERROR - unable to find definition of model a$poly$g.xu1.gb1
Error: circuit not parsed.
This points to an Eeschema/ngspice installation problem on your side. ngspice requires certain files, e.g. containing the model a$poly…, which obviously are not found.
A first step to know about your installation is the KiCad version information, to be found by
KiCad → About KiCad → Copy Version Info.
I’m familiar with Linux file system, been using it for a year now.
No, there is no analog.cm in my /usr or /usr/local
should I reinstall libngspice or install another package?
Edit: Thank you very much for the help! I ran dnf provides */analog.cm
Turns out that I needed to install ngspice package in addition to libngspice
I should report this to kicad fedora package maintainer(s).
I am not sure if re-installing libngspice will include the analog.cm (and some other *.cm as well). However installing standard ngspice should include all of these files. But then I am not sure if they are at the right place for Eeschema/ngspice to be found.
So yes, maybe re-installing libngspice first. If not successful, then installing standard ngspice (I am running these parallel on my SUSE Linux without interference, so there should be no problem).
I will then talk to Steven Falco (Fedora KiCad package manager) and Mamoru Tasaka (ngspice package manager) how to fix this problem.
icad@fedora ~]$ dnf provides */analog.cm
created by dnf config-manager from https://down 488 B/s | 373 B 00:00
Errors during downloading metadata for repository ‘download.docker.com_linux_fedora_docke’:
Status code: 404 for https://download.docker.com/linux/fedora/docke/repodata/repomd.xml (IP: 2600:9000:2017:6600:3:db06:4200:93a1)
Error: Failed to download metadata for repo ‘download.docker.com_linux_fedora_docke’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: download.docker.com_linux_fedora_docke
Last metadata expiration check: 18 days, 3:49:48 ago on Mon 31 Oct 2022 01:21:37 PM EET.
ngspice-36-1.fc36.1.x86_64 : A mixed level/signal circuit simulator
Repo : fedora
Matched from:
Filename : /usr/lib64/ngspice/analog.cm
tclspice-37-1.fc36.x86_64 : Tcl/Tk interface for ngspice
Repo : updates
Matched from:
Filename : /usr/lib64/tclspice/ngspice/analog.cm
td221 …am instalat ceea ce tu ai recomandat .ianaint de a instala am rulat exemplele de simulare ale lui Holger .Merg dar foarte rau se incarca diagramale osciloscopului.Un joc de strategie merge ,fulger’’ in schimb :))).Oricum multumesc pentru indicatii Mai trebuie sa studiez dircetoarele unde pot instala librariile spice ale producatorilor de semiconductori
If the diagram loads very badly, try to increase the data points on the plot. Also verify your circuit, ngspice simulations may need some quirks to work well.
Also it would be better to post in English, just paste your comment in any translation service and copy paste the English text here.
De asemenea, ar fi mai bine să postați în limba engleză, doar lipiți comentariul dvs. în orice serviciu de traducere și lipiți aici textul în limba engleză.
While English is the default language the translators can be pretty poor sometimes. Posting in both languages might help overcome some problems if there is a native speaker offering help. I’ll sometimes go the extra step and post the translation for someone in hopes it gets the ball rolling.
In short, I have come to favor the dual language post in some cases over an either/or approach. Basically whatever works best.
[kicad@fedora share]$ cd /usr
[kicad@fedora usr]$ ls
bin games include lib lib64 libexec local sbin share src tmp
[kicad@fedora usr]$ cd local
[kicad@fedora local]$ ls
bin etc games include lib lib64 libexec sbin share src
[kicad@fedora local]$ which analog.cm
/usr/bin/which: no analog.cm in (/home/kicad/.local/bin:/home/kicad/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin)
The answer ist ::: no analog.cm