|
|
The model report now includes a section for Count objects where both of our new counters list their results.
CountExampleExperiment Report Model CountExample
Description |
This is a simple process-oriented model of the railway station inside a container terminal using bins to represent different storage areas. Container ships arrive at the terminal and deliver containers to the storage areas. From there they are loaded onto trains that leave for four different destinations: Northern, Central, and Eastern Europe
and Germany. Each destination is allocated a storage area (Bin). Trains only load containers from the storage area that is associated with their destination whereas ships deliver containers to all storage areas.
Two counters are added to record the number of trains leaving the terminal and the overall number of containers exchanged. Report drawn at 1500.0. Last reset at 0.0. |
Counts
Title | (Re)set | Obs | Current Value | Min | Max |
number of trains | 0.0 | 3431 | 3431 | 0 | 3431 |
number of containers | 0.0 | 3431 | 205685 | 0 | 205685 |
Bins
Title | Order | pass | (Re)set | Prod | Cons | Init | Max | Now | Averg. | avg.Wait | QLimit | QMaxL | refus. |
Eastern Europe | FIFO | no | 0.0 | 250 | 853 | 50 | 982 | 54 | 76.6829 | 1.24983 | unlimit. | 1 | 0 |
Northern Europe | FIFO | no | 0.0 | 250 | 880 | 50 | 916 | 0 | 76.50206 | 1.19614 | unlimit. | 1 | 0 |
Central Europe | FIFO | no | 0.0 | 250 | 822 | 50 | 603 | 69 | 66.30563 | 1.3146 | unlimit. | 1 | 0 |
Germany | FIFO | no | 0.0 | 250 | 876 | 50 | 745 | 2 | 74.20416 | 1.20516 | unlimit. | 1 | 0 |
Distributions
Title | (Re)set | Obs | Type | Parameter 1 | Parameter 2 | Seed |
Ships Arrival Stream | 0.0 | 251 | Negative Exponential | 6.0 | | 91080577 |
No of containers per destination | 0.0 | 1000 | Integer Uniform | 25.0 | 400.0 | 71529105 |
Train Length Stream | 0.0 | 3435 | Integer Uniform | 30.0 | 90.0 | 43946618 |
By the way: The four Bin objects show that our counter for the number of trains is working correctly. If you add the values listed under Cons (consumers) for the four bins, you get the 3,431 trains that have departed from the terminal during the simulation run.
You may download the full source code of this example if you want to try it out yourself.
|