MATLAB SIMEVENTS RELEASE NOTES Guide de l'utilisateur Page 43

  • 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 42
Explore Simulations Using the Debugger and Plots
2-21
Simulate with Different Intergeneration Times
By changing the intergeneration time (that is, the reciprocal of the entity arrival rate)
in the Time-Based Entity Generator block, you can see when entities accumulate in the
queue. Try this procedure:
Note: If you skipped the earlier model-building steps, you can open a completed version
of the model for this section by entering simeventsdocex('doc_dd1_blockage') in the
MATLAB Command Window.
1
Double-click the Time-Based Entity Generator block to open its dialog box, set the
Period parameter to 0.85, and click OK. This causes entities to arrive somewhat
faster than the Single Server block can process them. As a result, the queue is not
always empty.
2
Save and run the simulation. The plot whose title bar is labeled Signal Scope1
represents the queue length. The figure below explains some of the points on the
plot. The vertical range on the plot has been modified to fit the data better.
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 113 114

Commentaires sur ces manuels

Pas de commentaire