question

Ben Walker avatar image
0 Likes"
Ben Walker asked Adrian Haws edited

How to take multiple tokens, in my case 15 and consolidate them into 1 token halfway through process flow?

FlexSim 16.0.1
process flowtokensbatch
5 |100000

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

Regan Blackett avatar image
1 Like"
Regan Blackett answered Regan Blackett edited

Sounds like what are looking for is the 'Batch' activity

It should be noted too that the Batching can do 15 to 1 pretty easily but also other combinations like taking 1 and turning into 15 or taking 3 and making them into 5.

The 'Batch Quantity' field tells you how many of something (in this case tokens) to collect and the '# Tokens to Release' tells you how many there should be after the batching. The middle field, 'Quantifier' tells you what you are batching, this is important because the Batch can also collect an amount given by a Label value as an alternative to a simple number of tokens.


batch.png (14.8 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.

Adrian Haws avatar image
1 Like"
Adrian Haws answered Adrian Haws edited

Hi Ben,

Without seeing your model, here is a general process that might be helpful.

The "Batch" activity on process flow can do this by grouping tokens together. Simply set the Quantity of the batch to 15 (in my example I used 5) and the # Tokens to Release as 1.

(See attached model).


batching.fsm (15.0 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.