10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Monte Carlo Analysis<br />

MCCONV Extract Function<br />

Examples<br />

• In this example, the second extract returns a boolean value (1 or 0). It returns 1 when the<br />

standard deviation of quantity GAIN_DB has converged to within ± (0.01 + 0.05 ),<br />

where<br />

is the average value of the STD taken from the last w=20 Monte Carlo runs.<br />

.EXTRACT AC LABEL=GAIN_DB YVAL(VDB(OUT), 1MEG)<br />

.EXTRACT MC LABEL=STDDEV_GAIN_DB_CONV<br />

+ MCCONV(GAIN_DB, STD,SETTLING, 20, 0.01, 0.05)<br />

• Similarly, a test on the standard deviation can be specified with the confidence<br />

techniques:<br />

.EXTRACT MC LABEL=STDDEV_GAIN_DB_CONV<br />

+ MCCONV(GAIN_DB, STD, CONFIDENCE, 40, 0.95, 0.00, 0.01)<br />

• In the next example, the first three .EXTRACT statements are taken into account, and all<br />

three of them must have converged before the MCCONV() function returns 1.<br />

.EXTRACT AC LABEL=GAIN_DB YVAL(VDB(OUT), 1MEG)<br />

.EXTRACT AC LABEL=PHASE_DB YVAL(VP(OUT), 1MEG)<br />

.EXTRACT DC LABEL=CC I(VDD)<br />

.EXTRACT MC LABEL=STD_CONV MCCONV(ALL, STD, SETTLING, 20, 0.01,0.05)<br />

Tolerance tuning is inefficient in this situation; instead, use the default values as much<br />

as possible, for instance, the following syntax should give a first estimate of the<br />

uncertainty:<br />

.EXTRACT MC LABEL=MC_AVG_CONV MCCONV(ALL, AVG, CONFIDENCE)<br />

Then, use the SAVE/RESTART feature to obtain more accurate estimates.<br />

Related Topics<br />

CONFIDENCE Technique<br />

SETTLING Technique<br />

Post-Analysis of Monte Carlo Simulations<br />

Monte Carlo Analysis Examples<br />

Eldo® User's Manual, 15.3 519

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!