Cool. I appreciate the feedback. Your use-case is a good test-case for oscillating back and forth from saturation. I’m going to use it to validate some more updates to the model.
Do you might want to create a git repository for your model on Github?
Maybe eventually possibly? I don’t use GitHub and have no idea how to use Git. Could change in the future, but not anytime soon.
@holger
I did some tests and the semiconductors definitely slow down the simulation significantly. Ideally, if ngspice could autodetect the linearized piecewise diode model, similarly to how LTspice does, then it would be helpful and worth doing (in my opinion). For now, I’ll leave the current version (v1.1) as semiconductor-based and if the detection feature ever becomes implemented, I’ll update the macromodel once more along with slew rate limiting.
2 Likes