CONTROL Home | Components | Ports | Classes | Functions | Enumeratives | Global Variables

CONTROL.RandomSource



COMPONENT RandomSource IS_A SO

ICON:


DESCRIPTION:
Defines a component generating random numbers following various probability distributions

CONSTRUCTION PARAMETERS:
NAME  TYPE  DEFAULT  DESCRIPTION  UNITS  
iseed INTEGER  1200 Integer seed 
random ENUM RandomOption Uniform Probability distrribution  

PORTS:
NAME  TYPE  PARAMETERS  DIRECTION  CARDINALITY  DESCRIPTION  
s_out PORTS_LIB.analog_signal  (n = n_out)  OUT   Outlet signal  

DATA:
NAME  TYPE  DEFAULT  RANGE  DESCRIPTION  UNITS  
REAL   Lower limit of interval on uniform distribution 
REAL   Higher limit of interval on uniform distribution 
dt REAL  0.1  Time between samples 
lambda REAL   Mean of exponential distribution 
mu REAL   Mean of gaussian distribution 
INTEGER  10  Number of tries on binomial distribution 
order INTEGER   Order of gamma distribution 
REAL  0.5  Success probability on binomial distribution 
sigma REAL   Typical deviation of gaussian distribution 
xm REAL   Mean of Poisson distribution 

CLOSED:
PARAM/DATUM/PORT  VALUE  
n_out1

DECLS:
NAME  TYPE  INITIAL  RANGE  DESCRIPTION  UNITS  
Sample BOOLEAN   TRUE   Sampler (TRUE/FALSE) TRUE/FALSE 
i_array[15] INTEGER    Auxiliar array of integers 
r_array[150] REAL    Auxiliar array 
REAL    Random numbers 
FORMULATION:






Document generated automatically with EcosimPro Version: 5.4.14 Date: 2015:02:02 Time: 10:24:02