Related Topics: | ||
Description: Returns the specified simulation result (Result ID) for the system at the specified time.
Syntax: SIM_SYSTEM_PT_RESULTS(Data_Src, Result ID, Time)
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 | Availability | 6 | Interval Mean Availability | |
1 | Reliability | 7 | System Failures | |
2 | Labor Cost | 8 | Throughput | |
3 | Part Cost | 9 | Time For Reliability | |
4 | Cost | 10 | Time For Availability | |
5 | Mean Availability | 11 | System OFF Events by Trigger |
Time is the time the event occurred at.
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).
The Time value must be greater than 0.
Example:
SIM_SYSTEM_PT_RESULTS("RBD!RBD1", 5, 8765) = 0.081 [This is the mean availability of the system at time 8,765 (where the units are what is specified in the diagram] for data source 1.]
Note that this value will vary depending on the source diagram.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.