Open jrmagers opened 3 years ago
There is a bug in the ADA4084 model. In line 87
V1 451 98 -0.038 ;
AD uses a non-utf-8 character between -0.038 and ;. The ngspice utf-8 syntax check fails.
If you remove the characters following -0.038, the simulation will run in standard ngspice (no PySpice used).
I have to check if the ngspice utf-8 syntax check can be made optional (with the risk of a simulation failing arbitrarily).
Environment (OS, Python version, PySpice version, simulator)
Windows 10, Python 3.8.3, PySpice 1.4.3
Expected Behaviour
I created a simple inverting op-amp with a gain of -2. The simulation works for AD8606 and AD8603, but fails for ADA4084. All of these were downloaded directly from ADI's website.
Here is the code to reproduce the error. You can uncomment/comment lines to switch to a different opamp model.
Actual Behaviour
This is the error that results when ADA4084 is used:
Steps to reproduce the behaviour
See attached for the opamp models and python code:
inverting_opamp.zip