15.01.2015 Views

D5.9: Extended Simulation Environment - Phosphorus

D5.9: Extended Simulation Environment - Phosphorus

D5.9: Extended Simulation Environment - Phosphorus

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

D5.6 - <strong>Extended</strong> <strong>Simulation</strong> <strong>Environment</strong><br />

c. Update the entity‟s statistics.<br />

4.2.1 Class diagram<br />

There are no big changes in the overall design of the simulator as outlined in deliverable [1]. Each real world<br />

object in the grid setup (such as a link, a switch, a server) is represented in the simulation framework as an<br />

Entity. Entities in the simulation framework exchange messages (e.g., representing jobs) through so-called<br />

in/out ports. These messages are wrapped into a SimbaseEvent and are passed via the GridInPort of the<br />

receiving entity. The SimbaseSimulator class is responsible of keeping track of every event and executes each<br />

event chronologically.<br />

1<br />

1<br />

1<br />

SimbaseSimulator<br />

<strong>Simulation</strong>Instance<br />

1<br />

SimbaseEntity<br />

*<br />

1<br />

Time<br />

*<br />

1<br />

SimbaseEvent<br />

1 1<br />

SimbasePort<br />

*<br />

1<br />

SimbaseOutPort<br />

SimbaseOutPort<br />

SimbaseMessage<br />

1<br />

1<br />

Figure 3 Class diagram of the discrete event simulator.<br />

Project:<br />

<strong>Phosphorus</strong><br />

Deliverable Number: <br />

Date of Issue: 2009-03-31<br />

EC Contract No.: 034115<br />

Document Code: <br />

20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!