Related Topics: | ||
Description: Returns the specified simulation result (Result ID) for the specified crew (Crew Index).
Syntax: SIM_CREW_RESULTS(Data_Src, Result ID, Crew Index, [Phase])
Data_Src is the source diagram from which the data are taken.
Result ID is the specific piece of data you are retrieving. The Result ID can be of the following values:
# | Result ID | # | Result ID | |
0 | Name | 6 | Ratio Accepted | |
1 | Average Call Duration | 7 | Ratio Rejected | |
2 | Average Cost per Call | 8 | Total Utilization | |
3 | Calls Received | 9 | Total Waiting Time | |
4 | Calls Accepted | 10 | Total Cost | |
5 | Calls Rejected |
Crew Index is the index number of the crew you want the data for. BlockSim assigns the number based on the order the crew was added to the project. Note that if you are using the Function Wizard, you can click the Select button to choose the crew. BlockSim will assign the number based on your selection.
Phase is the index number of the phase the results occurred in. BlockSim assigns the number based on the order the phase was added to the diagram. Note that if you are using the Function Wizard, you can click the Select button to choose the phase. BlockSim will assign the number based on your selection.
Remarks:
The Data_Src can be one of the following values:
If using a default data source, it must be either 1, 2, 3 or 4, as selected from the Data Source Index drop-down list.
It can take a diagram name (e.g., "RBD!RBD1").
It can take a variable name defined via the Defined Names window (e.g., datasource).
Phase is an optional value and returns a result only if the source diagram is a phase diagram.
Example:
SIM_CREW_RESULTS("RBD!RBD1", 4, 1) = 8.595 [This is the average number of calls the crew accepted.]
Note that this value will vary depending on the source diagram.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.