-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulation regression on with LM358 spice model #186
Comments
Confirmed. DC analysis runs OK, but transient has problems. It may be connected with #34 and #41 . |
in
while in
so not too different, in average. Likely the time step algorithm in |
With
The major change I can see are these (on
Could it be that Edit: the changes are for |
For me the 0.0.18 is also failing (OS X 64bit). Setting |
I am getting this with 0.0.18, OSX 64 bit, MinStep = 1e-11
The
|
...32 bit system here, might partly explain it. |
...there is definitely something strange going on here... For
For Doing a |
I also always build and install with It is likely that the code is broken. We cannot afford to keep rolling with it. See gcc-optimizations-cause-app-to-fail for some further comments. @in3otd , can you try to add more compiler checks to see if we can spot some issues like overflows, ranges, ... ? Maybe we can walk the code on a debugger with |
for
...but then there might be differences between the default options, like we have seen in MinGW recently... |
I have done a small modification to the transient solver to fix this - there might be better way to handle this. Actually I feel that the entire time-step control of the transient solver should be modified, but this would be a much larger effort... |
Has anyone tried to run the example again? |
just tried again now 😁 |
I kicked off Travis on PR 202 to see what happens. |
Seems to be fixed after #202. Closing. |
Here is a Qucs archive with a project using a LM358 spice model.
The transient simulation runs fine in
0.0.18
but stops withJacobian singular at t = 6.091e-05
incurrent
, using the default Transient settings (Trapezoidal
integration). If theEuler
integration is selected, the simulation runs but very slowly. In 0.0.18, usingEuler
it is much faster.The text was updated successfully, but these errors were encountered: