I am using a manufacturer SPICE model which contains this statement F1 4 10 POLY(2) VS1 VS2 (0,2.42834E-5,3.8E-5)
which leads to a warning when running the simulator.
a$poly$f.xu1.f1 %vnam [ v.xu1.vs1 v.xu1.vs2 ] %id ( 0 xu1.10 ) a$poly$f.xu1.f1
MIF-ERROR - unable to find definition of model a$poly$f.xu1.f1
Warning: Model issue on line 0 :
.model a$poly$f.xu1.f1 spice2poly coef = [ 0 2.42834e-5 3.8e-5 ] ...
Unknown model type spice2poly - ignored
Does someone know how to fix this issue without reinstalling ngspice or KiCad stable? Some workaround how to define this model as a function or something like this?
I found some posts, but could not really solve it.
What version of KiCad are you using? Does the spice2poly.cm file exist in your KiCad/lib/ngspice/ directory? Also, are you able to upload here the entire subcircuit for this device?
It somehow got solved. I had lately uninstalled ngspice via sudo apt remove ngspice. I had reinstalled it yesterday, but somehow it did not find it. After (I guess) restarting KiCad, it works fine and I get this 'message instead: Reducing trtol to 1 for xspice 'A' devices
If you are on Ubuntu (you did not tell us), try reinstalling ngspice: sudo apt installl ngspice
as done here Kicad 6.0 & ngspice 31 - #7 by tylerkiwi sucessfully.