diff --git a/assignment/system.py b/assignment/system.py index 188ce96..f185371 100644 --- a/assignment/system.py +++ b/assignment/system.py @@ -31,6 +31,10 @@ class LockQueueingSystem(CoupledDEVS): gen_num=gen_num, )) + queue = self.addSubModel(Queue( + ship_sizes=set(gen_types), # the queue only needs to know the different ship sizes (and create a FIFO queue for each) + )) + if load_balancer_strategy == STRATEGY_ROUND_ROBIN: LoadBalancer = RoundRobinLoadBalancer elif load_balancer_strategy == STRATEGY_FILL_ER_UP: