InitRandom Function

Initialises the random number generator used for SIMPLIS Monte Carlo distribution functions.

A seed value can be specified allowing the generator to be reset to a known state. This will allow a Monte Carlo run to be repeated to give identical results.

This function resets the random number generator used for functions Unif , Gauss , GaussTrunc , GaussLim , Distribution , UD and WC . These functions can only be used for evaluating expressions in a netlist processed by the pre-processor. This applies to value expressions used for components in SIMPLIS simulations.

Arguments

Number Type Compulsory Default Description
1 real No seed randomly generated seed value

Returns

Return type: real

seed used to initialise generator

Example