MATLAB SIMEVENTS RELEASE NOTES Guide de l'utilisateur Page 68

  • 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 67
3 Create Entities Using Intergeneration Times
3-2
Role of Entities in SimEvents Models
In this section...
“Create Entities in a Model” on page 3-2
“Vary the Interpretation of Entities” on page 3-2
“Data and Entities” on page 3-2
“Introduction to the Time-Based Entity Generator” on page 3-2
Create Entities in a Model
As described in “What Is an Entity?” on page 1-6, entities are discrete items of interest in
a discrete-event simulation. You determine what an entity signifies, based on what you
are modeling.
SimEvents models typically contain at least one source block that generates entities.
Other SimEvents blocks in the model process the entities that the source block generates.
Vary the Interpretation of Entities
A single model can use entities to represent different kinds of items. For example, if you
are modeling a factory that processes two different kinds of parts, then you can
Use two Time-Based Entity Generator blocks to create the two kinds of parts.
Use one Time-Based Entity Generator block and subsequently assign an attribute to
indicate what kind of part each entity represents.
Data and Entities
You can optionally attach data to entities. Such data is stored in one or more attributes
of an entity. You define names and numeric values for attributes. For example, if your
entities represent a message that you are transmitting across a communication network,
you might assign data called length that indicates the length of each particular
message. You can read or change the values of attributes during the simulation.
Introduction to the Time-Based Entity Generator
The Time-Based Entity Generator block creates entities. You configure the Time-Based
Entity Generator block to customize aspects such as:
Vue de la page 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 113 114

Commentaires sur ces manuels

Pas de commentaire