Advanced Modelling FeaturesRes
Model Description |
||
The example model to demonstrate the use of the Res construct is rather simple. It focuses on the allocation of berths (docking space at a quay) to incoming container ships (see image below). There are eight equal-sized berths on the quay in question. Every time a ship arrives, it tries to allocate one, two, or three of these berths depending on its size. If there is enough space available, the container ship docks and starts unloading its freight. Otherwise, it has to wait in a queue until other ships leave the port and free the occupied berths. We will model the berths as resources and make use of its internal queue to have ships waiting for available space at the quay.
|
||
http://desmoj.sourceforge.net/tutorial/advanced/res1.html |