Re: convergence failure?
al davis <[email protected]> Fri, 18 May 2012 09:18:24 -0400
| Newsgroups | gmane.comp.gnu.gnucap.general |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 16 May 2012, Chris Cole wrote: > Hey all, I've spent the last day or so messing around with > gschem and gnucap trying to simulate a half wave rectifier > circuit. I'm attaching what I have so far...the problem I'm > seeing is with running a transient analysis. If my sine wave > voltage goes over 10 Volts, I get the convergence > error...under 10 Volts and I can run without a problem? I'm > sure it's something stupid. Hopefully somebody has seen > something of this nature before. All you should have to do > to replicate the problem is run 'make' inside the extracted > folder. I have the sine voltage set to 11 V, so the error > should appear. The list strips out attachments and holds HTML postings for moderation. Can you send us the files as plain text? I am aware of a convergence problem with the diode. The "modelgen" models are planned for replacement. A couple of suggestions: 1. Simple .. try "option dampstrategy=2". (Take a partial Newton step in certain situations.) 2. (more like the long term solution) .. Try using the spice diode model plugin instead.