Hi. Have you tried to increase the number of steps on the 'transient simulation'? (or reduce the size of the time step? It seems to work on my sidee with about 1001 steps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The transient simulation performs a numerical integration of the circuit. The integration advances in time in steps. Time steps should be small enough to capture the relevant behavior of the circuit (switching and oscillations for instance). The smaller the step the longer it takes to integrate. The larger the step the faster it integrates, but sometimes the solver has a hard time to compute the result of the next step. You can either enter the time-step or the number of steps between start and stop times. Simpler integrators use a fixed time-step throughout. Other integrators use variable time-step which reduces the step size in order to get past fast transients and increase the step size to quickly go over smooth regions.
Hi. I am studying a simple RC circuit with switches. When simulate next file, this one never ends. Am I doing anything wrong?
https://www.dropbox.com/s/do0arrosfwnj0qg/034.sch
Hi. Have you tried to increase the number of steps on the 'transient simulation'? (or reduce the size of the time step? It seems to work on my sidee with about 1001 steps.
You are right! Thank you. But, what is exactly the function of 'step'? What it does?
The transient simulation performs a numerical integration of the circuit. The integration advances in time in steps. Time steps should be small enough to capture the relevant behavior of the circuit (switching and oscillations for instance). The smaller the step the longer it takes to integrate. The larger the step the faster it integrates, but sometimes the solver has a hard time to compute the result of the next step. You can either enter the time-step or the number of steps between start and stop times. Simpler integrators use a fixed time-step throughout. Other integrators use variable time-step which reduces the step size in order to get past fast transients and increase the step size to quickly go over smooth regions.
You can find some further documentation over here:
http://qucs.sourceforge.net/docs/technical.pdf
Regards, Guilherme
Last edit: Guilherme 2013-09-13
The link [http://qucs.sourceforge.net/docs/technical.pdf] seems to be broken: "An error has been encountered in accessing this page."
This should work: http://qucs.sourceforge.net/docs/technical/technical.pdf
Good. Thanks.