question

Hemanth Sai Kumar avatar image
0 Likes"
Hemanth Sai Kumar asked Hemanth Sai Kumar answered

Dynamic Operators choose in Multiprocessor based on type

Hi Flexsimmers,
I am looking for a dynamic operator allocation based on type ways, I got we can feed the operators capacity in the multiprocessor but is there any way to make it dynamic. Below is my use case that I am attaching.
Thanks in advance.


multiprocessorOperators_type.fsm

FlexSim 24.2.1
operatorsmultiprocessorvariant change
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

I think it would be easiest to set the relevant variable nodes' value in the On Entry trigger.

1725257959184.png

Table processTable = getvarnode(current, "optable");
for(int p = 1; p <= 3; p++) {     processTable[p]["nrofops"] = Table("OperatorsRequired")[p][item.Variant]; }

multiprocessoroperators-type_1.fsm

(I made the operators return to the dispatcher when finishing a task to make it more visible when one of them is not working)


5 |100000

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

Hemanth Sai Kumar avatar image
0 Likes"
Hemanth Sai Kumar answered

Thanks for the solution.

5 |100000

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