Keyboard Shortcuts
ctrl + shift + ? :
Показати всі комбінації клавіш
ctrl + g :
Не доступний для безкоштовних груп.
ctrl + shift + f :
Знайти
ctrl + / :
Сповіщення
esc to dismiss
Лайки
Пошук
Gaussian and Monte Carlo truly random?
I am using the gauss() and mc() functions from a circuit file recreated from https://www.analog.com/en/resources/technical-articles/how-to-model-statistical-tolerance-analysis.html
The output of both functions, while "random" upon a single run (Alt+R) of say 10 dummy parameter steps, repeat to the be same on another run for another 10 steps. Is this by design?
The functions as described in the manual:
|
||||
On Mon, Nov 25, 2024 at 03:00 PM, HoMeR wrote:
Yes, it is! That is helpful when diagnosing your simulation.
But you might have missed this. In the LTspice Control Panel (Settings), go to the "Hacks" section. Look for the checkbox next to "Use the clock to reseed the MC generator[*]".
That setting applies to gauss() as well.
Andy
|
||||
Wonderful. Thank you, Andy.
I also tested that the seed is also random across components in a single netlist, and it is. It's also nice to know that both Monte Carlo and Gaussian distributions can be used with AC analysis. All the examples I saw online were time-domain analysis. Maybe that is obvious to some. |
||||
Повідомлення
Більше
Додаткові параметри
Більше
to navigate to use esc to dismiss