question

Lucas Klein avatar image
0 Likes"
Lucas Klein asked Lucas Klein commented

Backorder Reevaluation using Global Table event

A client of us is trying to use the change of a global table value to reevaluate the backorders of a global List, is that possible to do?

I've created a model to represent the situation. In that model I push a Sink object to a list and try to pull when I write to a Global Table.

Using ProcessFlow I am trying to pull it when its total input is greater than 10, but I push it to the list and create the backorder at time 0, so the total input is 0 yet. After 15 seconds I create another token at the same ProcessFlow, this one writes a value at my Global Table, so I'd like that when I write that value, the backorder was reevaluated, so it will be able to pull the object from the list.

It's like as I'm trying to do what is in the following image:

But I know it does not work directly, so if there is any way to do that, it will help a lot.

Follow attached the model that I've mentioned above. Thanks in advance!

GlobalTable_Backorder_Reevaluation.fsm

FlexSim 20.1.2
global tableflexsim 20.1.2global listeventsbackorder reevaluation
· 3
5 |100000

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

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Lucas Klein, @phil.bobo correct me if I am wrong, but I don't think that a global table cell has an "OnValueChange" event, so this would not be possible. What event causes the global table to change its value? You could probably listen to that event instead.

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel commented ·

You have already an event that changes the table cell value. Then you can use this event to pull from the list a request and require value of zero just to start a reevaluation.

1 Like 1 ·
Lucas Klein avatar image Lucas Klein commented ·

Hello@Benjamin W2, yes, the Global Table does not have this "OnValueChange", I've printed just to exemplify what I was trying to capture and to see if there was a straight forward way to look at this kind of event.

But as you and @Jörg Vogel mentioned, I will suggest to our client activate the reevaluate looking at the event that changes the GlobalTable.

Thanks!

0 Likes 0 ·

0 Answers