functionRNG_DIRCS

DIRCS Immediate Random with Continuous Seed

Extends from Noise.Utilities.Interfaces.SampleFreeRNG (The interface for sample free random number generators).

Information

This is the random number generator "DIRCS Immediate Random with Continuous Seed". It uses the time to seed a conventional sampled random number generator and does a number of discrete steps with this generator. The seeding function Seed and the random number generator RNG can be specified modularly.

Inputs

TypeNameDefaultDescription
Modelica.SIunits.Timeinstance (from InputOutput)The current time for an arithmetic random number generator
Integerstates_in (from InputOutput)The discrete states for a recursive random number generator
Integerk1The number of RNG iterations to apply to the seed

Outputs

TypeNameDefaultDescription
Realrand (from InputOutput)The random number with a uniform distribution on the interval [1,0]
Integerstates_out (from InputOutput)The new states of a recursive random number generator

Contents

NameDescription
Seed
RNG

Revisions

Developed 2014 at the DLR Institute of System Dynamics and Control