MATLAB SIMEVENTS RELEASE NOTES Uživatelská příručka Strana 107

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 114
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 106
Model a Packet Switch
5-17
Generate Packets
The packet switch example models each packet as an entity. The Time-Based Entity
Generator block creates entities. To implement exponentially distributed intergeneration
times between successive entities from each source, the block has its Distribution
parameter set to Exponential.
Attached to each entity are these pieces of data, stored in attributes:
The source of the packet, an integer between 1 and 3
The destination of the packet, a random integer between 1 and 3
The length of the packet, a random integer between 6 and 10
Zobrazit stránku 106

Komentáře k této Příručce

Žádné komentáře