MATLAB SIMEVENTS RELEASE NOTES Guia do Utilizador Página 72

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 71
3 Create Entities Using Intergeneration Times
3-6
The exponential distribution with mean 1/λ has probability density function
f x
x x
x
l
l l
( )
exp
=
-
( )
<
Ï
Ì
Ó
0
0
0
The probability density function does not predict the actual intergeneration time between
a particular entity and the next entity. By integrating the probability density function
for the distribution you select, you can determine the probability that the block generates
the next entity in a range of durations after the previous entity.
Interpreting Probability Density Function
Suppose you set Distribution to Exponential and set Mean to 0.5. A mean of 0.5 in
the exponential distribution corresponds to
l
= =
1
0 5
2
.
During the simulation, suppose the block has just generated an entity. The probability
that the block generates the next entity during the next 0.3 seconds is the probability
that the intergeneration time is in the range from 0 to 0.3. You can compute this
probability by integrating the probability density function over that range:
P
f x dx
x dx
[ . ]
( )
exp( )
.
.
0 0 3
2 2
0
0 3
0
0 3
£ £
=
= -
Ú
intergeneration time
l
ÚÚ
= - -
= - - +
ª
=
=
exp( )
exp( . )
.
.
2
0 6 1
0 45
0
0 3
x
x
x
Vista de página 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 113 114

Comentários a estes Manuais

Sem comentários