Related Topics: | ||
Description: Returns the specified simulation result (Result ID) for the specified block (Block Index).
Syntax: SIM_BLOCK_RESULTS(Data_Src, Result ID, Block 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 one of the following values:
# | Result ID | # | Result ID | |
0 | Name | 26 | Misc Cost CM | |
1 | Uptime | 27 | Spare Part Pool Cost CM | |
2 | Downtime | 28 | Crew Cost CM | |
3 | Active Uptime | 29 | Total Cost CM | |
4 | Active Downtime | 30 | Misc Cost IN | |
5 | Quiescent Uptime | 31 | Crew Cost IN | |
6 | Quiescent Downtime | 32 | Total Cost IN | |
7 | Failure Downtime | 33 | Misc Cost PM | |
8 | Undetected Downtime | 34 | Spare Part Pool Cost PM | |
9 | Mean Downtime Per Event | 35 | Crew Cost PM | |
10 | Block System Downtime | 36 | Total Cost PM | |
11 | RS DECI | 37 | Misc Cost OC | |
12 | Mean Time Between Downing Events | 38 | Spare Part Pool Cost OC | |
13 | RS FCI | 39 | Crew Cost OC | |
14 | MTBF | 40 | Total Cost OC | |
15 | RS DTCI | 41 | Downtime Cost | |
16 | Number of CMs | 42 | Total Cost | |
17 | CM Downtime | 43 | Throughput | |
18 | Number of Inspections | 44 | Throughput Excess Capacity | |
19 | Inspection Downtime | 45 | Throughput Back Log | |
20 | Number of PMs | 46 | Throughput Back Log Processed | |
21 | PM Downtime | 47 | Throughput Back Log Excess | |
22 | Number of OCs | 48 | Throughput Max Uptime Capacity | |
23 | OC Downtime | 49 | Throughput Uptime Utilization | |
24 | Number of OFF Events | 50 | Throughput Max Capacity | |
25 | OFF Event Downtime | 51 | Throughput Actual Utilization |
Block Index is the index number of the block you want the data for. BlockSim assigns the number based on the order the block was added to the diagram. Note that if you are using the Function Wizard, you can click the Select button to choose the block. 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_BLOCK_RESULTS("RBD!RBD1", 3, 7) = 152.2521885
Note that this value will vary depending on the source diagram.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.