Download A Simulator for Marine Wireless Sensor Networks
Transcript
ulation software). A resource is a system element that provides a service. Entities typically use resources. Resources may be limited and entities have to compete for them or wait for them to be available. A control element deals with system state. An operation is something an entity does or happens to it. An example of components in a discrete-event simulation is customers queueing for bank tellers. Customers are entities which wait for resources, the bank tellers. Events happen when customers enter the queue, leave the queue or leave the teller. Operations would be actions performed by the customer, like depositing money. Figure 1.1 shows customers at the bank. Fig. 1.1. Discrete event simulation components. Customers are entities. Tellers are resources. Events happen when customers enter queue, leave queue, and leave teller. Operations like deposit money are performed by customers. 3