This project implements the UML model provided in the task using Object-Oriented Programming in Java.
It simulates industrial processes in a warehouse, where operations are performed by Autonomous Guided Vehicles (AGVs).
- Holds a list of operations (
IOperation). - Provides methods to:
- Calculate total process duration.
- List required AGVs.
- Calculate total energy consumption.
- Defines an operation with:
ID,Description,NominalTime,Resources (AGVs).
- Methods:
setData(),getData(),getDurationMinutes().
- Implements common parts of
IOperation. - Stores metadata and AGV assignments.
- Models loading/unloading tasks with fixed duration.
- Models transport tasks.
- Duration = distance ÷ AGV speed (+ overhead).
- Represents an autonomous vehicle.
- Attributes:
battery,consumption,chargingTime,speed,position. - Provides energy usage calculation.
-
Two example processes created:
- Inbound Receiving (Dock → Transport → Storage).
- Outbound Picking (Rack → Transport → Packing).
-
Each process prints:
- Operation details (time, AGVs).
- Total duration.
- Distinct AGVs required.
- Total energy consumed.
-
A batch simulation combines processes and prints overall statistics.