Closed ra3xdh closed 9 years ago
Confirmed in 0.0.18. Are you sure it worked in 0.0.17?
It might be related with known issues with switches: https://sourceforge.net/p/qucs/bugs/128/
For the moment, try to add a small Ron to the switch. I added Ron=1e-2 and the the simulation completes.
Right now I can only speculate about the reasons...
Yes, with Ron=0.01Ohm all works properly.
The simulation results for Qucs0.0.17 are here:
I have a good book about simulating switch. Will try to add it in reference
I am trying to simulate simple LCR-circuit. For Qucs0.0.17 all works fine. Qucs0.0.18 has very strange behavior. Schematic under simulation is here: If DC voltage is 12 V, simualtion results are incorrect. Pr1.Vt voltage always is zero. You cannot obtain voltage waveform. If transient simulation stop time is 20ms, simulation process hangs. Here is voltage waveform plot: If we set less V1 voltage value (for example 5V), simulation works properly. Voltage waveform is damped oscillations. Here is circuit and waveform plot. Qucs schematic file is attached: https://gist.github.com/ra3xdh/9df9d0694d9a4ca6a954/download
So, simulation results are dependent from voltage value even for simple LCR-circuit. What reasons can cause this strange behavior?