Borrar filtros
Borrar filtros

How do you keep the intergeneration time with a large ServiceTime in Simevents

2 visualizaciones (últimos 30 días)
I'm using the following code to generate time-based entities some of which are multiple entities at a particular instance. The following is my MATLAB code for Intergeneration interval:
persistent SEQ1;
persistent idx1;
if isempty(SEQ1)
SEQ1 = [0 15 15 15 inf];
idx1 = 1;
end
dt = SEQ1(idx1);
idx1 = idx1 + 1;
If I run this through a server with a ServiceTime that is around 10, I find that the model creates entities at T = 0, 0, 15, 30, 45]. However when my ServiceTime is large (like 300), the entities are generated at T= 0, 0, 15, 300, 600. I'm not sure why this is? Do you know if there is a way to have a large ServiceTime for the server block and still generate entities at the originally specified MATLAB code?
Thanks

Respuestas (0)

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by