Re: [ng-spice] Switch problems once more
> Now back to ngspice... Switch levels can be used but:
> 1) I don't know how to add them
I added levels to the BJT model. I can't remember
exactly how it worked, but it wasn't that difficult.
> 2) I am not sure if they are really needed. How often standard "rapid"
>switches
> will be used? This was the first time that I needed a switch, and I am
>doing really
> a lot of simulations.
I've used the switch to make a simple comparator with
hysteresis. There's no need to sacrifice backward
compatibility.
> 3) Commercial PSPICE and other spice based simulators that I know don't
>use
> rapid switches.
Yeah, I agree that if we introduce a smoother changing
switch, it would be more useful.
If you send in your code, I'll have a look at adding
the levels.
Cheers,
Alan
Partial thread listing:
- Re: [ng-spice] Switch problems once more, (continued)
- Message not available
- Message not available
- Message not available
- Alan Gillespie
Rework 13,
Paolo Nenzi
ACS
Alan Gillespie