question

Paulina B6 avatar image
0 Likes"
Paulina B6 asked Jeanette F commented

processor attention logic

Hello, I'm trying to understand what is the logic that the processors use when calling the next element to be served. That is why I would like you to indicate the logic and some examples taking into account the following model.


1678396192803.png

What I want to understand is if I leave the configuration that is in the red box, how will the logic be assumed to call the next green, yellow, blue or orange box, the red one does not have maximum priority, therefore it will be called first.

Thank you very much in advance

Logica para procesadores Flexsim.fsm

FlexSim 22.2.1
processorlogic
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

There's a few errors in your model.

You have an expression on Cola 2 and 6 queue to send to a port number whose value is:

  1. current.outObjects[1].stats.input.value

This means once the Processor has taken two items for processing the Cola 2 and 6 queues will be trying to send to port numbers 2 and higher, while it only had one port out so should never send to a higher port than one.

Also all the queues are pulling based on Cola values and you are additionally sending from the source based on Type. For a transfer to take place both have to be true so you will never get any Type 11 leaving the source since even though the queue pulling Cola 4 would like to receive the item, the Source is telling it to leave on out port 11 which does not exist.

When all priorities are equal the process will pull from the highest port first, regardless of waiting time.



· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.