필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by