Before reading this topic, consider reading Key Concepts About Getting Data to ensure you are familiar with the overall processes and tools that are involved in getting data from a simulation model.
The Milestone Collector is a tool that you can use to create and track milestones in your simulation model. A milestone is any event that occurs in a simulation run that you are interested in tracking for statistical purposes. For example, imagine you were simulating a health care facility and you wanted to track how long it takes patients to complete the check-in process. You could create a new milestone collector and set milestones for the beginning and end of the check-in process. During a simulation run as patients begin to enter the health care facility, the milestone collector could track when each patient began and ended the check-in process. You could even gather more specific data about when the patient completed specific steps in the check-in process by making each step in the process its own milestone.
After setting up your milestone collector and running the simulation model, you could then export the data or use one of FlexSim's milestone chart templates to visualize the milestone data. A milestone interval is the amount of time it took a flow item or customer to get from one milestone to another during a simulation run. You can gather statistics about the minimum, maximum, and average times between two intervals as needed.
One important concept to keep in mind is that each milestone collector will always have a data table associated with it. If you would like to create multiple tables that will each track different milestone data, you should create a separate milestone collector for each table.
You can add, manage, and delete milestone collectors using the Toolbox. See Using the Toolbox for more information.
The first step in setting up a milestone collector is to define your milestones. For that you need to tell the milestone collector which object(s) and events will be considered a milestone. You'll use the Milestones tab on the milestone collector to add the events:
The Milestone List is on the left side of this tab. The Milestone List displays all the milestones that the milestone collector is currently listening to. You'll need to add milestones to this list if you want the milestone collector to listen to them. (See Types of Events for more information about the types of events a milestone collector can listen to.)
The sampler button is one of the easiest ways to add a milestone to the collector. To add a milestone using the sampler button:
|3D Object||Click an object in the 3D model to sample it|
|Process Flow Activity or Shared Asset||Click an activity or shared asset in a process flow to sample it|
|Groups||In the Toolbox under Groups, click the name of the group to sample it|
|Tracked Variables||In the Toolbox under Tracked Variables, click the name of the variable to sample it|
Alternatively, you can use the Add button to select an event using the menu. To add events using the menu:
Use the Event List in the Events group to delete, copy, or add any additional milestones as needed.
The properties in the milestone details are context-sensitive, meaning that different properties will be available depending on the type of event that is currently selected in the Event List. In general, you'll likely use the default settings for the milestone details and you won't need to change them. However, you can use the milestone details to:
Once you've set up a milestone collector, you can add a milestone chart template to a dashboard that will display data from that collector. The chart templates that are designed to work with milestone collectors can be found in the Dashboard Library under the Milestone Templates group.
Pick a chart based on the type of statistic you want and the way you want to visualize the statistic. (See Key Concepts About Dashboards and Charts and Overview of Chart Templates - Milestone Templates for more information.) The chart template will auto-generate any additional collectors or calculated tables that you'll need for that statistic.
If you would like to view the raw data collected by a milestone collector during or after a simulation run, you can view the milestone collector table. To view the table:
You can also export the data gathered by a milestone collector as a .CSV file for analysis by your preferred third party software if needed. To export the data from a milestone collector table: