4 posts / 0 new
Last post
#1 Apr 12, 2019
charlie.moses
Offline
Last seen: 1 month 4 weeks ago
Joined: 2018-11-26 09:57

Accessing two (or more) monte carlo runs

Hi, Does anyone know how to do the following:

Lets say I have a 100 run monte carlo sim, and I would like access node values from run #52, and run #70 and perform a operation on that in probe, and display the result.

I can display them on a plot (simple just select them from view-simulation results in probe), but I want to select them individually and perform a equation operation on them.

thanks

Charlie

 

Fri, 2019-04-12 16:57
ronaks
ronaks's picture
Offline
Last seen: 4 days 12 hours ago
Joined: 2018-10-15 09:31

Hi Charlie,

For the results you achieved in run#52 and run #70, all you have to do is add the same measurement expressions of MC in Optimizer.

Next input the goals that you achieved in run #52 and run #70 and the components for which you have already assigned tolerance to Optimizer tab. Run the Optimizer to get the right component values which helps you achieve the same goals in run #52 and run #70.

(Adding components and goals in Optimizer will be a one time thing, now you can add more equations/operations if you like)

 

Fri, 2019-04-12 17:39
charlie.moses
Offline
Last seen: 1 month 4 weeks ago
Joined: 2018-11-26 09:57

Thanks for the quick pointer, although its not quite what I am after. The problem is I have two "matched" differential ckts that may differ by X amount due to dev to dev component tolerances in phase, over a frequency band. So in probe I can use view-simulation on the output of the monte-carlo, and select the 2 of greatest difference and display them on probe (lets say 52 and 70). And I can see the two diverge as I expect using "P(V(OUT+,OUT-), and I get the two traces. But what I would like to do is..

P(V(OUT+,OUT-):52-P(V(OUT+,OUT-):70    <<<I just added the :52 and :70 as a descriptor of the monte carlo run .

What I'm really after is the difference due to dev to dev variation.

Charlie

Wed, 2019-04-17 08:38
charlie.moses
Offline
Last seen: 1 month 4 weeks ago
Joined: 2018-11-26 09:57

Well, it seems probe wouldnt let me do what I wanted (algebraically subtract monte carlo run XX from monte carlo run YY), BUT....just plot the monte carlo data in probe, and then do a File>Export>CSV from probe and you can work the file in excel, or matlab or mathcad, or C. So that worked like a champ.

thanks all

cm

Download PSpice Lite and try it for free! Get PSpice Lite
Cadence