Simulation of modern industry 4.0 factory :factory:
Project simulate modern industry 4.0 factory. Factory adjust production process to achieve the most optimal setup. Production order is based on available machines, production time and priorities. Project uses JADE (Java Agent Development), framework for building multi-agent applications. All data about simulation are loaded from JSON configuration.
Configuration file contains following modules:
Role: Simulation Initializer
Agent reads configuration and initialize Machine Agents. Prepares communication list for each machine.
It is also responsible for sending necessary information to Supervisor and Fitter.
Role: Producer, Principal
For each produced product agent contain list of machines that produce necessary subproducts. Whenever new machine is added to factory, it update list for every machine.
When machine needs specific subproduct, it send request and choose machine that deliver required products first.
Role: Principal
Agent receives orders from manager, then for each products based on priorities, it send request to machines that can produce specific product. It waits for responses and choose machine that can deliver product first.
After receiving completed product, it report to manager how fast order was finished.
Role: MachineFitter
Agent simulate mechanic in factory. After breakdown, it turns off machine for time specified in configuration. After delay, it resume repaired machine. When machine is broke, it redirect received orders to other machines.
Sample configurations are defined in files: guitar-factory.json, clothes-factory.json, simple_confiq.json.