question

Brandon Frank avatar image
0 Likes"
Brandon Frank asked Brandon Frank answered

Multiprocessor "Multiple Teams" dispatcher issue

I am trying to setup a multiprocessor with "Multiple Teams" to pull a different number of operators from 3 different dispatchers. When I initially set it up, I immediately get an error when the model runs. I think the source of that error are extra commas that I found in the code. When I delete the commas the error seems to go away, but the operators are not properly released when the multiprocessor has no flow items. The multi processor will be empty, yet it will still seize operators and show them as utilized. Any idea why this is happening?

See attached photo for the extra commas.flexsim-issue.png

Thanks

FlexSim 17.1.4
dispatchermultiprocessor
flexsim-issue.png (66.6 KiB)
5 |100000

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

Brandon Frank avatar image
0 Likes"
Brandon Frank answered

I'm not sure if this problem was fixed in the 2018 version of Flexsim, but I am currently running 17.2.3 and the problem still exists. I have found a solution to the problem however...

The reason why the operators from the multiple dispatchers are not released is because the "PICK_OPERATOR_PROCESS_RELEASE" switch case under the "Multiple Teams" source code does not execute. So if you copy over the code under that switch case (along with the corresponding variables) to the "OnProcessFinish" trigger, then the operators are properly released.

See the attached image. onprocessfinishtrig.png


5 |100000

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

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered
@Brandon Frank

Because you are trying to go "outside" of the norm for calling a process operator, you might try putting in code in the OnProcessFinish trigger to release them through code there.

5 |100000

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