Related Topics: | ||
Description: Returns the specified system-level simulation result (Result ID).
Syntax: SIM_SYSTEM_RESULTS(Data_Src, Result ID, [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 | Simulation End Time | 20 | Number of OFF Events | |
1 | Mean Availability | 21 | Throughput | |
2 | Mean Availability Std Deviation | 22 | CM Misc Cost | |
3 | Mean Availability (w/o PM & Inspection) | 23 | CM Pool Cost | |
4 | Expected Number of Failures | 24 | CM Crew Cost | |
5 | Expected Number of Failures Standard Deviation | 25 | CM Total Cost | |
6 | MTTF | 26 | PM Misc Cost | |
7 | Uptime | 27 | PM Pool Cost | |
8 | Downtime | 28 | PM Costs for Crews | |
9 | CM Downtime | 29 | PM Total Cost | |
10 | Failure Downtime | 30 | OC Misc Cost | |
11 | Inspection Downtime | 31 | OC Pool Cost | |
12 | PM Downtime | 32 | OC Costs for Crews | |
13 | OC Downtime | 33 | OC Total Cost | |
14 | OFF Event Downtime | 34 | IN Misc Cost | |
15 | Number of Failures | 35 | IN Crew Cost | |
16 | Number of CMs | 36 | Indirect Pool Cost | |
17 | Number of Inspections | 37 | Downtime Cost | |
18 | Number of PMs | 38 | Total Cost | |
19 | Number of OCs |
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_SYSTEM_RESULTS("RBD!RBD1", 4) = 10.499 [This is the expected number of failures for the system for data source 1at the end of the simulation.]
Note that this value will vary depending on the source diagram.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.