This sample can be used in the calculation of an indicator.
Consider the "Served order" event, end of the "Preparation and Packaging" organizational process.
The representative magnitude of scenario quality is the number of orders served in less than 30 minutes.
The "Served order" message processing time average value is not sufficiently precise information to assure process quality. In fact, for one pizza served in 10 minutes and 3 pizzas served in 35 minutes, you obtain an average value of 28 minutes 45 seconds, yet only one pizza was in fact served in less than 30 minutes.
Use of the sample allows you to count the number of orders served within 30 minutes and to compare this with the total number of pizzas served.
The indicator calculation rule will be:
Value = ScountIf("Time sample", "value(Processing) 30*60" )
ScountIf is a function of sample calculation. Processing is the result variable to which this function relates.
All the sampling functions are described in the comment available under the Calculation rule.
A calculation function can be defined from any result variable of a message.
For a time sample, the available variables are:
• Processing: processing time
• Performing: effective working time
• Queuing: Limiting queuing time
• Transfer: Transfer time.
• StartUp: Start-up time
• Allocation: Allocation time
• Interruption: interrupt time
For a cost sample, the available variables are:
• Processing: total cost
• Fixed: Total default cost
• Human Resource: human resources cost
• Software Resource: services cost
• Non Consumable Resource: non-consumable resources cost
• Consumable Resource: consumable resources cost
• Transfer: Transfer cost
• Default: Default cost
You can export sample data in an XML file. For improved readability, you can open it in an Excel file on condition that you have a version of Excel later than Excel 2002.
The corresponding XML file is created under C:\tmp.