An Object Event Simulation (OES) example model. You can download and inspect its code from the OES GitHub repo.
Process Design Model

Forklift-Transport-2 Read more...

With Preemption of DriveForkliftHome and WalkBackHome Activities

In a forklift transport operation, incoming products of different types are hauled from an arrival area to a destination area. There are different types of operators and each of them can only handle specific types of forklifts, which, in turn, can only transport specific types of products. This modeling problem has been posted by Noorjax Consulting as their AnyLogic Contest #2.

The Forklift-Transport-2 model, which is based on Forklift-Transport-1 and described by the DPMN Activity Network diagram to the right, solves this problem. Notice how Drive FL home and Walk back home activities can be preempted when a new product arrives and no suitable forklift/operator combination is available.

Default scenario

The default scenario has 4 forklifts and 6 operators.

Simulation Log
StepTimeCurrent EventsSystem StateFuture Events