question

Yuvinne G avatar image
0 Likes"
Yuvinne G asked Yuvinne G commented

Is it possible to set the combiner quantity equal to the batch size of a queue?

FlexSim 20.2.2
queueflexsim 20.2.2combiner itemtype
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
1 Like"
Jason Lightfoot answered Yuvinne G commented

In code? Yes. Here's an example:

Object combiner=Model.find("Combiner1");
Table  componentlist=node(">variables/componentlist",combiner);
componentlist[1][1]=3;   //number from port2
componentlist[2][1]=2;   //number from port3  if there is another input
combiner.setVariable("targetcomponentsum",5);


· 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.

Yuvinne G avatar image Yuvinne G commented ·

Thanks! That was just what I wanted to do

0 Likes 0 ·