mtwieg
Advanced Member level 6
Hi all, I'm having some difficulties simulating an amplifier driving a series RLC load. I'm doing large sweeps of bias and phase, and am exporting the datasets to MATLAB for processing, so I need all the sweep points to work. To be brief, I'm always having trouble either accuracy or convergence. I've found that if I use gear2only as my solver, I get accurate results, but convergence is an issue. It seems like one of my points will always fail, making the dataset useless. But it's never the same point, so I don't know how to work around it. Aleternatively, if I use euler as my solver, I get consistent convergence but results are accurate (it will tell me that my ideal inductors and capacitors are dissipating power, etc). I've already set tstab aggressively (several hundred fundamental periods) and pushing it further doesn't seem to help.
I don't know if I can eliminate the problem completely since it doesn't seem to be repeatable (which in itself is really strange). But if that's the case, is there a way to configure SPECTRE to keep retrying a point after it fails in the hope that it will magically work? I see this line in the spectre reference for PSS:
I don't know if I can eliminate the problem completely since it doesn't seem to be repeatable (which in itself is really strange). But if that's the case, is there a way to configure SPECTRE to keep retrying a point after it fails in the hope that it will magically work? I see this line in the spectre reference for PSS:
What does "restart the DC solution" mean for PSS? Does that mean redo the initial tran analysis? If so then I guess that's what I want?restart=yes
Restart the DC solution from scratch if any condition has
changed. If not, use the previous solution as initial guess.
Possible values are no or yes