Most customers use FlexSim because they want to get data from a simulation model. The data from a model can provide you with the information you need to design more efficient business systems or to make important business decisions. For that reason, getting data from a simulation model is likely the entire point of building simulation models in the first place.
In order to get effective data from your simulation model, you need to understand your simulation project's goals and scope. You also need to identify which key metrics you will be most interested in. The chapter about Simulation Best Practices covers these topics in depth. Consider reading the topics in this chapter to help you brainstorm what kind of data you'll need to get from your simulation model. The topic about Determining Your Key Metrics might be especially useful.
Once you've identified which metrics you're interested in, you can then begin to decide which chart templates or additional data-gathering tools will be most useful for your simulation project. To help with this decision, consider asking the following questions:
Statistics are the basic units of data that you'll use to get data from your model. Nearly all 3D objects and process flow activities automatically collect a standard set of statistics while a simulation model runs. In general, these standard statistics are the kind of data that most simulation modelers are typically interested in getting from their model.
For example, most fixed resources collect content statistics that track how many flow items the object currently contains, as well as its minimum, maximum, and average contents, as shown in the following image:
In addition to the standard statistics that are available for each object, you can use chart templates to gather a wide range of other statistics that simulation modelers are typically interested in.
The following table provides an overview of the general categories of standard statistics available on 3D objects and/or process flow activities or through chart templates:
|Content||Tracks the amount of flow items in 3D objects or the number of tokens in process flow activities. The default statistics can give you the current, minimum, maximum, and average content of a 3D object.|
|State||Lists the current state of a 3D object. The available states are generally unique to each object. For example, a processor has an idle state and a processing state, as well as several other possible states. If you are interested in which states are available for a particular 3D object, you should refer to that object's topic in the Reference section of this manual.|
|Staytime||Tracks the amount of time a flow item stays in a fixed resource. The default statistics can give you the minimum, maximum, and average staytimes.|
|Throughput||Tracks how many flow items or tokens pass through a 3D object or process flow activity. The default statistics can give you the object or activity's current input and output.|
|Travel||Tracks the total distance a task executer travels, measured in the simulation distance units you used when you first set up your simulation model.|
In addition to these general categories, some 3D objects or process flow activities collect additional standard statistics that are specific to their functionality.
The following image provides an overview of the major phases of the data gathering process for the majority of simulation projects:
The following sections will explain each phase of the process and link to other relevant topics for more information.
The first step in getting data from your model will be to add a dashboard to your simulation model. Dashboards are a blank window pane that you can customize with anything that you need to access during a simulation run. You will need a dashboard in order to use chart templates or to pin the specific object statistics you're interested in. See Key Concepts About Dashboards and Charts for more information.
The next step is to choose a chart template that is appropriate for the kind of statistics you're interested in getting from your simulation model. You could also pin any of the standard statistics available for any 3D object or process flow activity using the statistics panel in Quick Properties.
When you add a chart template or pin an object statistic to the dashboard, FlexSim will create the necessary background tools (statistics collectors, calculated tables, etc.) that will gather data about the statistic you're interested in. If you're using a chart template, a properties window will pop up that will allow you to select which object(s) you want to gather statistics from. See Overview of Chart Templates and Viewing Standard Statistics for more information.
While the simulation runs, you can:
See Running a Simulation for more information.
After the simulation run, you can study the data outputs and make changes to the simulation model as needed. You can also export the data for analysis by a third party tool. You can also use some of the more advanced data gathering tools if you feel they will be relevant to your simulation project. See the next section for more information.
The majority of simulation projects will only need the standard data gathering methods. However, if your simulation model has advanced data gathering needs, you should consider learning more about how the statistics collector and other tools work. See Overview of Advanced Data Gathering Methods for more information.
The following table provides an overview of the advanced data gathering tools:
|The Statistics Collector||Statistics collectors can gather raw data from the objects and events you specify during a simulation run. During a simulation run, collectors will listen to these objects and put the raw data into a data table.|
|The Calculated Table||Calculated tables can transform the raw data from the data table that was generated by a statistics collector. Calculated tables can transform this data in a variety of ways, including filtering statistics, comparing statistics, and performing advanced calculations.|
|The Experimenter||The Experimenter is a tool that runs the same simulation model multiple times, changing one or more variables each time to see if the results are different.|
|The Optimizer||Depending on your license type, the Experimenter can also include the Optimizer, which can give you a high-level overview of the conditions that will produce the best possible solution for the problem you are trying to solve through simulation.|