MATLAB SIMEVENTS RELEASE NOTES Betriebsanweisung Seite 74

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 114
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 73
3 Create Entities Using Intergeneration Times
3-8
For more information
For examples of how to create such signals, see:
“Use a Step Function as Intergeneration Time” on page 3-10
“Use an Arbitrary Discrete Distribution as Intergeneration Time” on page
3-9
For more details about creating event-based signals, see:
“Generate Random Signals”
“Create Event-Based Signals Using Data Sets”
“Time-Based and Event-Based Signal Conversion”
3
Connect the signal to the Time-Based Entity Generator block at its signal input port
labeled t.
Upon generating each entity, the Time-Based Entity Generator block reads the value of
the input signal and uses that value as the time interval until the next entity generation.
Note: The block reads the input signal upon each entity generation, not upon each
simulation sample time, so signal values that occur between successive entity generation
events have no effect on the entity generation process. For example, if the input signal
is 10 when the simulation starts, 1 at T=1, and 10 from T=9 until the simulation ends,
then the value of 1 never becomes an intergeneration time.
Using Random Intergeneration Times in a Queuing System
Open the model that you created in “Build a Discrete-Event Model” on page 2-2.
Alternatively, in the MATLAB Command Window, enter simeventsdocex('doc_dd1') to
open a prebuilt version of the same model.
By examining the Time-Based Entity Generator block Distribution and Period
parameters, you can see that the block is configured to use a constant intergeneration
time of 1 second. To use a random intergeneration time instead, try the variations in the
following table and see how they affect the plot that the simulation creates.
Seitenansicht 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 113 114

Kommentare zu diesen Handbüchern

Keine Kommentare