The circuit does not work as expected when the switch is connected directly, but works when the switch is connected with a 0.001 Ohm resistor in series.
I consider this a bug, because it does not make sense.
Also, it's strange that the base voltage is increasing when the button is turned on. This does not make sense, because the opposite should happen.
The log is:
Output:-------
Starting new simulation on Tue 25. Dec 2018 at 20:06:55:082
creating netlist... done.
project location:
modules to load: 0
factorycreate.size() is 0
factorycreate has registered:
parsing netlist...
checking netlist...
netlist content
4 Diode instances
2 Switch instances
1 C instances
2 BJT instances
3 VProbe instances
6 R instances
1 Vac instances
1 TR instances
creating netlist...
NOTIFY: TR1: average time-step 4.39303e-05, 966 rejections
NOTIFY: TR1: average NR-iterations 2.94084, 72 non-convergences
Simulation ended on Tue 25. Dec 2018 at 20:06:58:163
Ready.
Errors:-------
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
WARNING: Increased breakdown current to 0.00243695 to match the saturation current 6.3e-08
Last edit: Valentin Stoykov 2018-12-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also, it's strange that the base voltage is increasing when the button is turned on. This does not make sense, because the opposite should happen.
The log is:
Last edit: Valentin Stoykov 2018-12-25
I noticed that the circuit is stop working correctly when I change the R6 from 0.001 to 0.0001 (it's working like in the case when R6 is shorted).
The bug can't be reproduced on Qucs 0.0.19 for Windows.