question

Oleksii avatar image
0 Likes"
Oleksii asked Felix Möhlmann commented

Combiner as a resource to load it via ProcessFlow

Dear FLEXSIM experts. When I use Combiner as a resource to load it via ProcessFlow I am missing ports. I want to use the Join operation. Can I use: when loading Combiner for the main port #1 token.Combiner.inputObjects[1] and for port #2 token.Combiner.inputObjects[2]? That being said, for port #2 I need to send 2 parts to start the process. Thank you in advance!

FlexSim 25.0.1
combiner as a resource to load it via processflow
· 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.

1 Answer

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

The correct expression is "inObjects[]", not "inputObjects[]", but yes, that is one option.

You can also use the Custom Task activity which allows you to specify additional parameters of the unload task, including the port number. In that case the position of the dummy queues does not matter.

combiner-load-process-flow.fsm

In theory you can make the combiner work without input objects that way, if you set the "targetcomponentsum" variable to the correct value on model reset. But adding the two dummy queues is certainly easier and not risking any unforeseen issues.

combiner-load-process-flow_1.fsm


· 4
5 |100000

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