The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> RF Simulators >> Re-use PSS results to run PAC
https://designers-guide.org/forum/YaBB.pl?num=1663687541

Message started by Marios on Sep 20th, 2022, 8:25am

Title: Re-use PSS results to run PAC
Post by Marios on Sep 20th, 2022, 8:25am

Hello guys,

I have a question with regards to PSS and PAC. Assuming a PSS has just finished, can I somehow run a PAC without re-running PSS? And how would I do that?

Best regards
Marios

Title: Re: Re-use PSS results to run PAC
Post by Horror Vacui on Sep 20th, 2022, 8:45am

There is an option to write the periodic operation point into a file in the PSS analysis, and there must be an option to load this file in for PAC analysis. I've never tried it, but it should work. It is analogous to how the DC/AC pair would work.

I hope it helps. I can't check the exact option right now, and I thought you would appreciate such a vague answer, if it points you into the right direction.

Title: Re: Re-use PSS results to run PAC
Post by Marios on Sep 20th, 2022, 9:13am

Yes thanks a lot. However, once the PSS is done, assuming I had not selected the option for producing the periodic op point into a file I guess the results are lost right?

Marios

Title: Re: Re-use PSS results to run PAC
Post by Andrew Beckett on Dec 30th, 2022, 7:12am

The pss parameter in question is writepss. The idea is that to re-use this you run another pss (followed by pac) where you use the readpss parameter to point to the same file. If nothing changed in the circuit or conditions, then you can make it faster by using the finitediff=no parameter setting on both the first and second pss analyses - this avoids a refinement step which sometimes can take significant effort.


Quote:
However, once the PSS is done, assuming I had not selected the option for producing the periodic op point into a file I guess the results are lost right?


If you'd not run the first pss with writepss, then that's correct - you have to run again from scratch (there's no data for it to resume from, so it's not exactly surprising that this would be the case).

Andrew

Title: Re: Re-use PSS results to run PAC
Post by Ken Kundert on Dec 30th, 2022, 11:24pm

Perhaps this is obvious, but the above suggestions are only needed if Spectre terminates.  It is possible to run a single PSS analysis and many periodic small signals analyses in the same run, each of which will use the periodic operating point computed by the previous PSS analysis.

Due to limitations in ADE you can only run one analysis of each type in a single run.  But if you run Spectre directly on the command line, you can run any number of any type of analysis.  So you can run a PSS analysis, then some periodic small signals analyses, then another PSS analysis, them more periodic small-signal analyses, etc.

-Ken

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.