functionInputOutput

The basic interface for inputs and outputs of a random number generator function

Inputs

TypeNameDefaultDescription
Modelica.SIunits.TimeinstanceThe current time for an arithmetic random number generator
Integerstates_inThe discrete states for a recursive random number generator

Outputs

TypeNameDefaultDescription
RealrandThe random number with a uniform distribution on the interval [1,0]
Integerstates_outThe new states of a recursive random number generator

Revisions

Developed 2014 at the DLR Institute of System Dynamics and Control