Re: [Qucs/gnucsator] Assertion failed (#9)
al davis <[email protected]> Thu, 23 Sep 2021 19:26:08 -0400
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <20210923192608.7730de67@z> |
> - Gnucap only has spice style bjts without a polarity parameter. ... because it was designed to mimic spice. The polarity parameter does exist internally. It would be a simple mod to bring it out. While you are there, please check the diode and mosfet too. The spice plugins, in gnucap-models, are straight from spice with no mods. on the bjt_zero_area branch .... catching divide by zero is good. It needs a test file to demonstrate that the problem did exist and is now fixed. When you are substituting a value, please check to be sure the substitute value makes sense. It would have been easier if the original model just used conductance there instead of resistance. That might have completely solved the problem. It probably is not worth the effort to rewrite now. While you are there, why not bring out the "polarity" parameter? In some places, Spice uses a zero value as a flag to say to use the default. That may be the case here.