### Dear community,

as I was struggling with this a bit in the beginning, sharing this might help someone. Goal was to model a output voltage spread of an LDO varying the Vref=0.55V (1.5% tolerance) and divider resistors (1% tolerance).

I was interested how the results differ when using “random()” function or “gauss()” function. In the case of gauss() the argument is sigma and the percentage of tolerance is considered as 6sigma. Therefore the argument is (tol/600).

### The typical Vout value (no component variation) is Vout=1.275V

I also used Python scipt (credit: PyLTSpice · PyPI) to create the histograms.The visual difference between the results is apparent

### Histogram of V(out_mc)

### Histogram of V(out_gauss)

Hereby I’d like to suggest to Mike @Engelhardt making the .meas output more machine-processing friendly. I needed to do some manual editing after every simulation to be able to process with python script. Option of some basic .csv- type output would be greatly appreciated.

Kind regards,

Tomas