question

Nip J avatar image
0 Likes"
Nip J asked Nip J commented

how to use milestones to gather data which are assigned to a specific token

Hello community,

I have question about milestones:

from my understanding, milestones help to collect data (e.g. time data) for statistical purpose by saving and calling specific data of every token that enters the beginning / ending milestone activity in a process flow. With the help of the milestone activity, users can gather collective data.

But what if, I am not only interested in the collective data but in every single value of that data when a token enters the beginning and ending milestone activity?

for example, it is not difficult to pin a waiting line´s statistic to get its time-statistic distribution into a dashboard. If I was interested in the stay time of every single patient that waited in that particular waiting line, I could use milestone activities before the patient´s token enters the waiting line and after it leaves the waiting line. Specifically using milestone activities: how can I access the entry time and exit time of each patient / patient´s token to write these data into a global table? Since, looking into the statistic collector´s table I can´t allocate the saved times to a certain patient/token. Alternatively, I could write custom codes instead of using milestones, but using milestones seem to be more appropriate in my case.

I´d be happy about any ideas.

best regards

FlexSim 20.2.3
flexsim 20.2.3data collectormilestone
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

Jeanette F avatar image
0 Likes"
Jeanette F answered Nip J commented

Hello @Nip J,

There is an idea that is in a model in this post. The model uses a statistics collector that uses events to track data. You could use an event like on entry to wait line and on exit to wait line. The statistics collector contains a column for enter time, exit time, duration, and the person. Several different plots are in the dashboard that cover the data collected in the statistics collector.

I used that model as a base for the following post. However, it is in FlexSim 2021 which I don't know if you are able to upgrade to. If you are it would be another good reference for the same idea as above with slight tweaks.

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

Nip J avatar image Nip J commented ·

Thanks @Jeanette F,

I´ll look into the other posts and the models. That might give me some ideas to adapt.

0 Likes 0 ·