question

Noah Z avatar image
0 Likes"
Noah Z asked Benjamin W2 commented

Partition calculation update while token is within the zone?

zone-partition-stat-not-updating-in-real-time-v1.fsm

Basically, I sum up a numerical label for a zone partition calculation. However, if while a token is within the zone that token label changes values it looks like the zone partition calculation is not automatically updated. I've attached an example model to showcase this behavior. Is there a way to essentially force the zone to re-assess the sum of all the tokens label that are within it via code?
The example model includes the situation where we start out a token with a 500 parts in a label and then halfway through it's process flow it loses 10% of the Parts (the label is updated). The zone partition calculation, however, remains at 500 and doesn't change after the 10% part loss.

FlexSim 19.2.0
zonepartition calculations
· 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.

Braydn T avatar image Braydn T commented ·

@Noah Zenker

Did Mikeal Z's answer work for you? If so, could you click the accept button? Thanks!

0 Likes 0 ·

1 Answer

Mikeal Z avatar image
0 Likes"
Mikeal Z answered Benjamin W2 commented

Because it'number only change when the token entry or out the zone ,you can add a Enter Zone and a Exit Zone in the mid of the flow.

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

Noah Z avatar image Noah Z commented ·

@Mikeal Z I just tried to nest an additional enter and exit from the same zone and it didn't work. Do you have an example model you can attach so I can see how you did this?

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Noah Z commented ·

Hi @Noah Zenker, here is a sample model that I built using @Mikeal Z's idea. It seemed to work on my end.

zonecalculations.fsm

0 Likes 0 ·