11 Output Buffering
11.1 Data
| Name | Description | Initial Value |
|---|---|---|
| NextPacketIdNum | The Id number that will be assigned to the next packet | 1 |
| \(P\) | The set of all packets | \(\emptyset\) |
| Name | Source | Model | Type | Input | Output |
|---|---|---|---|---|---|
| InterarrivalTime | Problem Description | Poisson Process | Stochastic | Mean (1 min) | Sample from distribution |
| PacketSize | Problem Description | Triangular Distribution | Stochastic | Min, Mode, Max | Sample from Distribution |
| TransmitRate | Problem Description | Constant | Deterministic | - | Value |
| TransmitDuration | Problem Description | Function | Deterministic | Size, Rate | Value (Size / Rate) |
| BufferSize | Experiment | Constant | Deterministic | - | Value |
11.2 Components
| Entity | Attributes |
|---|---|
| Packet | ID |
| CurrentActivity | |
| CurrentStart | |
| Size | |
| Link | ID |
| CurrentActivity | |
| CurrentStart |
| Participant | Name | From Event | To Event |
|---|---|---|---|
| Packet | P.1 | Packet Arrives | Wait for Link.Start |
| P.2 | Wait for Link.End | Transmit.Start | |
| P.3 | Wait for Link.End | Packet Leaves | |
| P.4 | Transmit.End | Packet Leaves | |
| Link | L.1 | Link Created | Wait for Packet.Start |
| L.2 | Wait for Packet.End | Transmit.Start | |
| L.3 | Transmit.End | Wait for Packet.Start |
| Activity | Participants | Event | Type | State Change |
|---|---|---|---|---|
| Wait for Link | Packet (p) | Start | Scheduled | |
| End | Controlled | |||
| Transmit | Packet (p), Link (l) | Start | Controlled | |
| End | Scheduled | |||
| Wait for Packet | Link (l) | Start | Scheduled | |
| End | Controlled |
| Event | Participants | Type | State Change |
|---|---|---|---|
| Simulation Start | - | Scheduled | |
| Packet Arrives | - | Scheduled | |
| Packet Leaves | Packet (p) | Scheduled | |
| Link Created | - | Scheduled | |
| Simulation Finish | - | Scheduled |