

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 | # | Result ID | ||
| 0 | Name |
28 | Crew Cost CM |
56 | System Level Total Costs |
||
| 1 | Uptime |
29 | Total Cost CM |
57 | Opportunity Costs |
||
| 2 | Downtime |
30 | Misc Cost IN |
58 | RS BCCI |
||
| 3 | Active Uptime |
31 | Crew Cost IN |
59 | Expected Number of Failures |
||
| 4 | Active Downtime |
32 | Total Cost IN |
60 | Uptime Costs |
||
| 5 | Quiescent Uptime |
33 | Misc Cost PM |
61 |
Diagram ID* |
||
| 6 | Quiescent Downtime |
34 | Spare Part Pool Cost PM |
62 |
Block ID* |
||
| 7 | Failure Downtime |
35 | Crew Cost PM |
63 |
Mean Availability (All Events)* |
||
| 8 | Undetected Downtime |
36 | Total Cost PM |
64 | Mean Availability (w/o PM, OC & Inspection)* |
||
| 9 | Mean Downtime Per Event |
37 | Misc Cost OC |
65 | MTBF (Uptime)* |
||
| 10 | Block System Downtime |
38 | Spare Part Pool Cost OC |
66 | MTBE (Uptime)* |
||
| 11 | RS DECI |
39 | Crew Cost OC |
67 | MTTM* |
||
| 12 | Mean Time Between Downing Events |
40 | Total Cost OC |
68 | MTTR* |
||
| 13 | RS FCI |
41 | Downtime Cost |
69 | Active Maintenance Time* |
||
| 14 | MTBF |
42 | Total Cost |
70 | Total Waiting Time* |
||
| 15 | RS DTCI |
43 | Throughput |
71 | Waiting for Opportunity* |
||
| 16 | Number of CMs |
44 | Throughput Excess Capacity |
72 | Waiting for Crews (Availability)* |
||
| 17 | CM Downtime |
45 | Throughput Back Log |
73 | Waiting for Crews (Logistic)* |
||
| 18 | Number of Inspections |
46 | Throughput Back Log Processed |
74 | Waiting for Team Assembly* |
||
| 19 | Inspection Downtime |
47 | Throughput Back Log Excess |
75 | Waiting for Parts* |
||
| 20 | Number of PMs |
48 | Throughput Max Uptime Capacity |
76 | Number of System Downing Failures* |
||
| 21 | PM Downtime |
49 | Throughput Uptime Utilization |
77 | Number of Block Downing Events* |
||
| 22 | Number of OCs |
50 | Throughput Max Capacity |
78 | Number of System Downing Events* |
||
| 23 | OC Downtime |
51 | Throughput Actual Utilization |
79 | System Level Failure Cost (CM)* |
||
| 24 | Number of OFF Events |
52 |
Failure Costs |
80 | System Level Downtime Cost (CM)* |
||
| 25 | OFF Event Downtime |
53 | Downtime Costs |
81 | System Level Total Costs (CM)* |
||
| 26 | Misc Cost CM |
54 | System Level Failure Costs |
||||
| 27 | Spare Part Pool Cost CM |
55 | System Level Downtime Costs |
*Available starting in Version 19.0.2
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:
A default data source selected from the Data Source Index drop-down list.
A diagram name (e.g., "RBD!RBD1").
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.
Diagram ID and Block ID will work for phase diagrams only if a phase is supplied.
Example:
SIM_BLOCK_RESULTS("RBD!RBD1", 3, 7) = 152.2521885
Note that this value will vary depending on the source diagram.
© 1992-2019. HBM Prenscia Inc. ALL RIGHTS RESERVED.
| E-mail Link |