008_monte-carlo_complex_variation : Stability analysis
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.17.26.C
This example input deck shows global and local parameter variation in Monte Carlo analysis. Also extended prmc printout is shown which provides full hierarchical info on parameter dependencies and modification.
Input Files
monte_pm.in
* Monte Carlo parameter modification, test for complex prmc printout .option brief nomod nodeck .subckt sub n1 n2 rsub1 n1 n2 '5+s_local' rsub2 n1 n2 '5+s_random' .param s_local=agauss(0,1,1) .param s_random=r_random .ends .param r_local=agauss(0,1,1) .param r_local2=agauss(0,1,1) .param r_random=agauss(0,1,1) .param r_global=r_random vin 1 0 5 r1 1 2 '5+r_global' r2 2 3 '5+r_global' r3 3 4 '5+r_global' r4 4 5 '5+r_local' r5 5 6 '5+r_local+r_local2' r6 6 0 '5+r_local*r_local2' x1 1 2 sub x2 1 2 sub .tran 0.1p 1p sweep monte=5 prmc .save v(4) *.print @*[res] .end
Graphics