This is not actually a random number generator. Weyl's theorem guarantees a very uniform distribution, but the generated signal is highly correlated.
function RNG_Weyl
extends Noise.Utilities.Interfaces.SampleFreeRNG;
input Real y0 = sqrt(4345543) - 1 "An irrational number used to yield the pseudo-random number rand_i = i*yo mod 1" annotation(
Dialog);
end RNG_Weyl;
Developed 2014 at the DLR Institute of System Dynamics and Control