Warehouse Tutorial
1. Description of the Demo Task
The goal is to determine the optimal number of forklifts needed for smooth warehouse operations. The warehouse receives cargo from incoming trucks and dispatches it via outgoing trucks. Forklifts are responsible for moving and handling cargo within the warehouse. By simulating scenarios with varying numbers of forklifts, considering the warehouse layout and usage patterns, we can identify the most efficient number of forklifts.
1.1. The Structure of the Warehouse
The warehouse comprises a main storage area and gates for receiving incoming and outgoing trucks. Each gate has a small storage area for unloading or loading cargo from the trucks.
1.2. Consider the following management of this system
Incoming and outgoing trucks park at their respective gates. If no gates are available, the truck is queued. After parking, an incoming truck is unloaded at the gate’s unloading zone by a single forklift. The goods are then moved from the unloading zone to the main storage area, a task that can be performed by any number of forklifts. For an outgoing truck, a similar process occurs in reverse order.
2. Initial State
Create a new desktop application using the Amalgama Wizard.
Name the project Warehouse
and, to align with the example code in this tutorial, enter the package name com.company.
(must end with a dot).

Run the product and ensure the main window appears:

3. Source Code
The complete source code for this tutorial is available here: https://github.com/amalgama-llc/warehouse-tutorial