question

Ken Voisine avatar image
0 Likes"
Ken Voisine asked Ken Voisine answered

Recreating the Tasklist data from Ver 3 in 17?

I am on the learning curve for 17 from ver 3, and having difficulty recreating the data that I used to create by writing to the tasklist via a trigger at each processor. I could then look at any flex-bin item running through the model and see each of the stay-times by processor in the list. It feels like this should be easy to do or even automatic now but I can't find how?

FlexSim 17.0.0
taskliststaytimes
5 |100000

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

Mischa Spelt avatar image
3 Likes"
Mischa Spelt answered Phil BoBo edited

If you want to log the stay time of each flow item at each processor, you can use the Exit trigger on the processor to write to a Global Table.

From the Tools panel, add a Global Table and give it the columns you want (you can right-click a column and select Assign String Data to make it a text column).

Then, on each processor you want to perform the logging on, add an On Exit trigger and select the Add Row And Data To Global Table option from the Data submenu.

In the popup, enter the fields you want to add to the table, and run the model. You may want to add a reset trigger to reset the table (settablesize("MyGlobalTable", 1, gettablecols("MyGlobalTable")).

If you want to see the data visually, instead of in table form, you can also add the Staytime vs Time chart to a new dashboard, using the pin in the Quick Properties:

You can show all the results in a single graph by double clicking the chart and adding all processors you want to track in the Objects tab.

Finally, if you want to trace actual items, consider the Item Trace Gantt chart from the dashboard library, which will automatically add a Gantt trace for each item passing through a specific object (like the first queue).


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

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

Here's a screenshot showing how to add an Item Trace Gantt chart to a Dashboard to see this information in chart form:

2 Likes 2 ·
item-trace-gantt.png (141.5 KiB)
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

Maybe you are looking for the Event Log. You find this console in the Main Menu bar Debug > Event Log. Unfortunately the Flowitems get only the standard name. If you want to follow the item in your model, you should add a different suffix for example a number as a string to the name.

The Button Settings let you enter a menu wherein you can set the Events you like to see in the console.


5 |100000

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

Ken Voisine avatar image
0 Likes"
Ken Voisine answered

@Jörg Vogel Jörg The event log has proven to be useful as I troubleshoot my model, Thank you again.

5 |100000

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

Ken Voisine avatar image
0 Likes"
Ken Voisine answered

Thank you all for the responses, all are helpful and assist getting me to my end goal.

@Mischa Spelt Mischa the global table is great, I do have one issue as the table resets itself randomly during the simulation run, and erases prior data. I am trying to troubleshoot what is happening by stepping through.

@phil.bobo Phil the Item Trace Gantt is also helpful and a great visual for checking my recipes for ac

20jan-1.fsm

20jan-1.fsm (53.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.

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.