This is the working circuit :
I have researched it quite a lot in the past few hours but still I don’t understand what the error is about.
But when I added a switch, it gives an error ( I am quite a noob with proteus and electricals ) :
Ground the switch, not the positive and before doing the simulation, turn off the switch, then do the simulation and you can put it on. I had a similar problem and it worked.
Answered by serge h on December 4, 2020
Switches are not easy to model, particularly ideal ones. These introduce instantaneous current discontinuities.
Circuit modeling software is just a differential equation solver with a circuit-based interface. A variable discontinuity in time is what is known as a “shock” in diffeq parlance.
Shocks require specialized algorithms to handle them. A normal algorithm would just try to reduce the simulation time step size until it hits the resolution limit, that’s the error you are getting.
You should be able to model it by making the switch more real, by placing a very small capacitor (a few pF) in parallel with it. But there is no guarantee as a discontinuity in a branch current will still be present.
The proper way would be to specify a switch model that avoids all the discontinuities altogether (e.g., a resistor whose value quickly increases), but I am not sure if Proteus allows for that.
Answered by Edgar Brown on December 4, 2020
1 Asked on December 26, 2020 by mcfudge
1 Asked on December 26, 2020 by a-m-s
1 Asked on December 23, 2020 by whiskerbiscuit
1 Asked on December 22, 2020 by radiofreak1041
1 Asked on December 22, 2020 by mfeinstein
1 Asked on December 22, 2020 by bestqualityvacuum
1 Asked on December 22, 2020 by fab
0 Asked on December 21, 2020 by rocko445
0 Asked on December 21, 2020 by juha-mattila
1 Asked on December 21, 2020 by tibu-v
1 Asked on December 21, 2020 by user176257
2 Asked on December 20, 2020 by looper
3 Asked on December 20, 2020 by remco-van-gorsel
0 Asked on December 20, 2020 by robg
2 Asked on December 19, 2020 by simonv
Get help from others!