Jump to content
Simio Forum
SimioSupport

Combiner for identical entities (no parent required)

Recommended Posts

The Combiner object in the standard library assumes that you have a parent entity representing a box or container and members representing the parts that are combined into the parent.

In some cases you don't want to have a parent, you just have a number of entities that you want to temporarily join together and process as one.

The attached project contains an object of type Node that represents a very simple Combiner and a TestModel to illustrate how it works. The node simply asks for a Batch Size and then holds the incoming entities until that batch size is reached. It creates a "normal" batch so it can be used with the Separator as long as you treat all outbound entities as the same. [attachment=274:name] Requires Sprint 5.80 or later.

Share this post


Link to post
Share on other sites
Was this created in response to... http://www.simio.com/forums/viewtopic.php?f=6&t=1017

Thanks for the share though.

Share this post


Link to post
Share on other sites
[quote="SimioSupport"]The Combiner object in the standard library assumes that you have a parent entity representing a box or container and members representing the parts that are combined into the parent.

In some cases you don't want to have a parent, you just have a number of entities that you want to temporarily join together and process as one.

The attached project contains an object of type Node that represents a very simple Combiner and a TestModel to illustrate how it works. The node simply asks for a Batch Size and then holds the incoming entities until that batch size is reached. It creates a "normal" batch so it can be used with the Separator as long as you treat all outbound entities as the same. [attachment=0]CombinerNode.spfx[/attachment] Requires Sprint 5.80 or later.[/quote]
Great job! How did you create the CombinerNode? Is it a sub class of basic or transfer node?

Share this post


Link to post
Share on other sites

×