I am just beginning with repast python. I want to simulate a small order handling process with multiple steps.
Let's say there are 1000 orders with different order placement timestamps. There are 3 steps after the order is received, picking(10 - 15 mins), packing(8 - 12mins), shipping(5 - 10 mins). Each step has dedicated number of workers lets say 10 for picking, 5 for packing and 2 for shipping.
All the workers are independent and can work parallelly. Once a worker is done with the assigned activity for an order, he can move on the next order to process it.
How can a create a queue variable that is accessible to all the processors in repast python.
I cant find any logistics based examples of repast python. I am trying to explore repast libraries like Simpy but they are not scalable for large problems.
In the Random Walk example in repast4py documentation, we run the program using
mpirun -n 4 python rndwalk.py random_walk.yaml
This will run the program on multiple ranks but they all share a SharedGrid to interact. Is there something similar for creating shared queues for each step of the process like an order queue, picking queue, packing queue etc...than can accessed by all workers?