question

Trevor Manzanares avatar image
0 Likes"
Trevor Manzanares asked Trevor Manzanares answered

Update Global Table Based on Variable Batch Size?

I'd like to update a global table incrementally based on the number of units that pass inspection each time an item goes through it. At the Inspect step, the flow is based on a bernoulli distribution with 90 percent passing and 10 percent failing. When I currently write to the global table, it just writes the cumulative value.

FlexSim 18.0.0
write to global table
· 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.

Cliff King avatar image Cliff King commented ·

Trevor, not sure what you're asking for. Currently you have the trigger options to set the table to a value (like content(current) as you've done in your model), or increment a cell in the table by a value, or add a row and data to your table. None of these are what you want?

0 Likes 0 ·

1 Answer

·
Trevor Manzanares avatar image
1 Like"
Trevor Manzanares answered

Thanks for your help, Cliff. It turned out to be a timing issue. Previously, the value would just add up instead of changing based on each "passed" batch. Looks like it's working now.


update-batch-size.fsm (275.1 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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