
Specify Intergeneration Times for Entities
3-11
• Step time = 2.8
• Initial value = 1
• Final value = 2
As a result, the block generates a signal whose value is 1 from T=0 to T=2.8, and whose
value is 2 thereafter.
When you run the simulation, the plot shows that the entities departing from the server
are initially spaced 1 second apart and later spaced 2 seconds apart.
The Time-Based Entity Generator block reads intergeneration times from the step signal
each time it generates an entity. The table below shows when the Time-Based Entity
Generator block generates entities and which intergeneration time values it reads in
each instance. The table also shows when each entity departs from the server, which you
can see from the plot. Although the Step block starts producing the value of 2 at T=2.8,
the Time-Based Entity Generator block does not read the new value until the next time it
generates an entity, at T=3.
Entity Generation Time Intergeneration Time Until
Next Entity Generation
Departure Time of Entity from
Server
0 1 1
1 1 2
2 1 3
Kommentare zu diesen Handbüchern