flexsim_get_performance_measure
Retrieve a model-defined performance measure such as utilization or throughput from FlexSim simulation statistics for analysis.
Instructions
Read a performance measure defined in the model (Statistics > Performance Measures).
This is the native way to get statistics out of a model, e.g. utilization or throughput.
Dual backend: with the FlexSim window connected reads the treenode
Model.find("Tools/PerformanceMeasureTables/PerformanceMeasures>variables/measures/<name>")
by script (discovery inline: when that path does not resolve, lists
Tools/PerformanceMeasureTables and returns the available measures as help);
without window uses controller.getPerformanceMeasure. Never creates nor
modifies rows (PerformanceMeasureTables.addRow broke OnReset).
Args:
name: Performance measure name as defined in the model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |