Related Topics: | ||
BlockSim's simulations are based on the component characteristics and the reliability-wise system configuration of the diagram. To simulate a diagram, choose Simulation > Simulation > Simulate or click the Simulate icon.
The Maintainability/Availability Simulation window will open.
The Maintainability/Availability Simulation window allows you to specify the settings to be used in simulating an RBD or fault tree. In addition, it displays the progress of the simulation in the area at the top of the window.
There are two basic types of simulation that you can perform: standard simulations and log of simulations.
When you perform standard simulations, the metrics in the Simulation Results Explorer are obtained by calculating the average of the results from all of the simulation runs.
Saving a log of simulations, on the other hand, provides a set of individual simulation results that can be used to analyze variability within the simulation results and a set of average results in the Simulation Results Explorer.
For more information about how you might use the log of simulations, please read "An Application of BlockSim's Log of Simulations" at: http://www.weibull.com/hotwire/issue97/relbasics97.htm. (Note that this article uses BlockSim 7, but the theory remains the same.)
In addition to having different purposes, the simulations are based on different randomly generated numbers. To understand this, suppose you are interested in the reliability/maintainability performance for a system and you want to use simulation to estimate useful metrics, such as the mean availability and the total expected downtime after 1,000 hours of operation.
Assume that you run 100 simulations for the 1,000 hour mission time using standard simulations and a seed of 1. In this case, the simulation routine will draw from a single stream of randomly generated numbers, generated using the seed of 1, for the series of 100 simulations. Therefore, the results will be reproducible if you perform the exact same set of simulations again, using the same seed, for the exact same diagram.
Now suppose that you want to perform a more in-depth exploration that will help you to analyze the variability within the simulation results. For that purpose, let's assume that you select to save a log of simulations using 100 seeds with a starting seed of 1. BlockSim will perform one simulation using the seed of 1, then will increment the seed by 1 and perform a second simulation using a seed of 2 (1 + 1 = 2), and so on until the utility has performed 100 separate simulations. In this case, each simulation draws from a separate stream of randomly generated numbers. The first simulation will utilize a stream with seed = 1, the second simulation will utilize a stream with seed = 2, and so on. Because of this, the average results that are shown in the Simulation Results Explorer when you have selected to save a log of simulations will not be the same as those that are shown when you have performed basic simulation.
To perform each of these types of simulation, select the simulation type in the Advanced Options drop-down and then do the following:
For all simulation types:
Enter the Simulation End Time, which is the duration of the simulation. Specify the time and the units of time used. Simulations begin at time = 0.
In the Point Results Every field, specify the frequency at which the simulation will return results. For example, if you have entered 100 hours in the Simulation End Time field and you enter 10 hours in the Point Results Every field, the simulation will run from 0 to 100 hours and point results will be available at 10 hours, 20 hours, 30 hours and so on.
In addition:
For standard simulations with a fixed number of simulations:
Enter the Number of Simulations to be performed.
If you need your results to be repeatable, select the Use a Seed check box in the Advanced Options drop-down and enter a seed, which specifies a starting point from which the random numbers used in simulation will be generated. The same random numbers and, therefore, the same simulation results will be generated when the same seed value is used.
For standard simulations with a variable number of simulations:
Specify the Maximum Number of Simulations to be performed.
In the Convergence Criteria field, specify the standard deviation for a key simulation result. The simulation will continue until this standard deviation target is reached in the simulation results or until the maximum number of simulations have been performed, whichever comes first.
If you need your results to be repeatable, select the Use a Seed check box in the Advanced Options drop-down and enter a seed, which specifies a starting point from which the random numbers used in simulation will be generated. The same random numbers and, therefore, the same simulation results will be generated when the same seed value is used.
For log of simulations:
Specify the Number of Seeds to be used (i.e., the number of simulations).
Clicking the Select Results link opens the Select Results window, which allows you to select the items you want to log individual simulation results for and select which results for those items you want to save in the log.
In the Options area, you can select or clear individual results or select/clear the check box for a result category to select/clear all of the results in that category. You also can select or clear all results by selecting/clearing the Options check box.
In the lower left corner of the window, click the button corresponding to the desired item type to open a window that allows you to select the items of that type for which results will be saved in the log. For example, click Select Blocks to open the Select Blocks window. To select a block so that results for it will be saved in the log, select the box next to the block's name and click OK. Selecting or clearing the check box beside the category name will select or clear all of the items.
If you have selected to save a block result, crew result or pool result, you must specify at least one item of the corresponding type to save results for. For example, if you have selected to save block downtime results but have not selected any blocks to save results for, a warning message will appear telling you that there are no results to be displayed. Click OK and select a block.
In the Log of Simulations Results area, select whether you want the log sent to Excel or saved as a tab-delimited text file. If you save the log as a tab-delimited text file, you can choose to save it as an embedded attachment within the project or you can click Browse to specify an external location and filename for the file.
If you need your results to be repeatable, select the Use Starting Seed check box in the Advanced Options drop-down and enter the seed to be used for the first simulation. This specifies a starting point from which the random numbers used in the simulation will be generated. The same random numbers and, therefore, the same simulation results will be generated when the same seed value is used. BlockSim will perform one simulation using the starting seed, then will increment the seed by 1 and perform a second simulation using that seed and so on until the utility has performed the number of simulations specified in the Number of Seeds field.
If you have the multi-thread version of BlockSim, then for any simulation type, you can run simulations in multiple threads, which may improve performance and save time when simulating complex diagrams. The Number of Threads field in the Advanced Options drop-down allows you to specify the number of threads to use for simulation. In general, using twice as many threads as the number of cores in your computer is appropriate; a ratio of threads to cores greater than this 2:1 ratio is likely to degrade performance. To have the application automatically determine the number of cores in your system and set the number of threads accordingly, click the Calculate icon beside the Number of Threads field.
The number of threads you use affects repeatability of results. In order for your results to be repeatable, you must use the same number of threads and the same seed each time you simulate the diagram. When you are using multithreading, the seed that you specify in the Advanced Options drop-down is the seed for the first thread; seeds for additional threads are sequential (e.g., if you are using 3 threads and your starting seed is 7, the threads will use 7, 8 and 9 as the starting points for random number generation).
The Analysis Settings link at the bottom of the Maintainability/Availability Simulation window displays a message that shows the settings you have specified on the Analysis Settings page of the diagram's control panel. These settings determine whether subdiagram results will be included in the results; whether a throughput simulation will be performed and, if so, whether point results will be reported; and whether a system downtime threshold has been specified. You can edit these settings via the diagram's control panel.
The area at the top of the Maintainability/Availability Simulation window displays the status of the simulation.
During simulation, you can click Cancel to stop the simulation at the current point. The results will be provided for the simulations (if any) that were completed before you stopped the process. When simulation is complete, you can click the Details button to view the results of the simulation in the Simulation Results Explorer. Click the Simulate button to re-run the simulation.
Note: Once you have simulated a diagram, the settings you have specified in the Maintainability/Availability Simulation window are saved along with the diagram so that you or another user can easily simulate the diagram again using the same settings. The first time you simulate a diagram, the settings default to the settings used for the last simulation that was performed on your computer.
© 1992-2015. ReliaSoft Corporation. ALL RIGHTS RESERVED.