Monte-Carlo analysis (DC or Large Signal)
The Frequency response for a Monte-Carlo analysis can be obtained following the steps explained below.

- Introduce the circuit with its particular bias and input drive condition in the template.
- Connect the perturbation source to a sensitive node of the circuit.
- Set up the Monte-Carlo parameters and define the statistical variables in the design.
- Set up the frequency sweep (initial frequency, final frequency and number of points). The frequency resolution (number of points) can be modified by the user, taking into account the dynamics of his system, in order to have a transfer function sufficiently well sampled.
- Run the Harmonic Balance (HB) (or AC) simulation. Because of the presence of the two sources, this is in fact a mixer like simulation with the unput drive playing the role of the LO and the small-signal current source being the RF.
- Once the simulation is finished, the data display "STAN_display" or "STAN_display_HB" template appears. The table containing magnitude and phase of the transfer function will be exported and the file will be later read by STAN Tool.