MATLAB SIMEVENTS RELEASE NOTES Guide de l'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
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
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 113 114

Commentaires sur ces manuels

Pas de commentaire