MATLAB SIMEVENTS RELEASE NOTES Betriebsanweisung Seite 36

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 114
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 35
2 Building Simple Models with SimEvents Software
2-14
inappropriate for this particular example model, which is completely event-based and
contains no blocks with continuous states. The application overrides the inappropriate
parameters and alerts you to that fact.
If you want to prevent these warnings when you simulate event-based models in the
future, you need to set the solver type and step size parameters to appropriate values.
To do this, with your model open in the model editor, open Simulation > Configuration
Parameters > Solver. Under the Solver options section, for the Type: parameter select
the Variable-step option in the drop-down list. For the Solver: parameter, select
Discrete in the drop-down list and in the field for the Max step size: parameter, type
inf. Click OK and save your model.
Results of the Simulation
When the simulation runs, the Signal Scope block opens a window containing a plot. The
horizontal axis represents the times at which entities depart from the server, while the
vertical axis represents the total number of entities that have departed from the server.
After an entity departs from the Single Server block, the block updates its output signal
at the #d port. The updated values are reflected in the plot and highlighted with plotting
markers. From the plot, you can make these observations:
Until T=1, no entities depart from the server. This is because it takes one second for
the server to process the first entity.
Seitenansicht 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 113 114

Kommentare zu diesen Handbüchern

Keine Kommentare