question

Rober G avatar image
0 Likes"
Rober G asked Rober G commented

Event Triggered Source By Global Table

I would like to implement a trigger for my Min/Max (s, S) policy. Ordering should be triggered when the quantity of a specific Type in my "Bunker Bulk Inventory" drops below my "MinimumS" value of the corresponding Type.

1692987037743.png

I already have the ordering logic, but I, unfortunately, have no idea of how to create a token once the described event is triggered. I have tried using the assign data as a tracked variable in my global table and then using a wait-for event, however, the tracked variable automates to 0?

Any advice is appreciated :)

(s,S).fsm

FlexSim 23.0.10
global tableevent-triggered source
1692987037743.png (29.2 KiB)
ss.fsm (62.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.

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Rober G commented

In the activity/trigger that updates the global table values, check if the new value is below the threshold. If so, you can send a message (command sendmessage() to an object in the model and thus create an event that a Event-Triggered Source can react to. A message can hold up to three parameters which could store information about which material needs to be ordered.

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
Or push the table row to a list of reorders, or call a function that invokes a process subflow.
1 Like 1 ·
Rober G avatar image Rober G Jason Lightfoot ♦♦ commented ·
0 Likes 0 ·