Hello,
Is there any way to pull the minimum value of the Entity priority values in a Queue and assign it to an attribute?
I have 5 Queues and I want to know which has the Entity with the lowest priority value.
I attached the file I was working with, I was assigning the min of the current value and the ET Time+SimTime which is obviously gonig to jsut stay as the first number it was given the entire time. Apart from somehow checking the queue length is at least 1 else assign the value some really large number and placing that object in series with the signals, I am not sure how to make the minimum value increase.
It would be preferential to use the ETT value as the priority and have the model say "Hey which of the Queues has the priority value with the lowest time?"
Any help is appreciated.
Thanks,
Chris