<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miklos+Szidarovszky</id>
	<title>ReliaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Miklos+Szidarovszky"/>
	<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php/Special:Contributions/Miklos_Szidarovszky"/>
	<updated>2026-04-12T17:14:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Warranty_Data_Analysis&amp;diff=65252</id>
		<title>Warranty Data Analysis</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Warranty_Data_Analysis&amp;diff=65252"/>
		<updated>2017-08-16T15:37:46Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:LDABOOK|19|Warranty Data Analysis}}&lt;br /&gt;
The Weibull++ warranty analysis folio provides four different data entry formats for warranty claims data. It allows the user to automatically perform life data analysis, predict future failures (through the use of conditional probability analysis), and provides a method for detecting outliers. The four data-entry formats for storing sales and returns information are: &lt;br /&gt;
&lt;br /&gt;
:1)	Nevada Chart Format&lt;br /&gt;
:2)	Time-to-Failure Format&lt;br /&gt;
:3)	Dates of Failure Format&lt;br /&gt;
:4)	Usage Format&lt;br /&gt;
&lt;br /&gt;
These formats are explained in the next sections. We will also discuss some specific warranty analysis calculations, including warranty predictions, analysis of non-homogeneous warranty data and using statistical process control (SPC) to monitor warranty returns.&lt;br /&gt;
&lt;br /&gt;
==Nevada Chart Format==&lt;br /&gt;
The Nevada format allows the user to convert shipping and warranty return data into the standard reliability data form of failures and suspensions so that it can easily be analyzed with traditional life data analysis methods. For each time period in which a number of products are shipped, there will be a certain number of returns or failures in subsequent time periods, while the rest of the population that was shipped will continue to operate in the following time periods. For example, if 500 units are shipped in May, and 10 of those units are warranty returns in June, that is equivalent to 10 failures at a time of one month. The other 490 units will go on to operate and possibly fail in the months that follow. This information can be arranged in a diagonal chart, as shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Nevada-Chart-Illustration.png|center|450px| ]]&lt;br /&gt;
&lt;br /&gt;
At the end of the analysis period, all of the units that were shipped and have not failed in the time since shipment are considered to be suspensions. This process is repeated for each shipment and the results tabulated for each particular failure and suspension time prior to reliability analysis. This process may sound confusing, but it is actually just a matter of careful bookkeeping. The following example illustrates this process.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&#039;&#039;&#039;Nevada Chart Format Calculations Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A company keeps track of its shipments and warranty returns on a month-by-month basis. The following table records the shipments in June, July and August, and the warranty returns through September:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| ||colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align:center;&amp;quot;|RETURNS&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:right;&amp;quot;|SHIP||Jul. 2010||Aug. 2010||Sep. 2010&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jun. 2010||100||3||3||5&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jul. 2010||140||-||2||4&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Aug. 2010||150||-||-||4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will examine the data month by month.  In June 100 units were sold, and in July 3 of these units were returned. This gives 3 failures at one month for the June shipment, which we will denote as &amp;lt;math&amp;gt;{{F}_{JUN,1}}=3\,\!&amp;lt;/math&amp;gt;. Likewise, 3 failures occurred in August and 5 occurred in September for this shipment, or &amp;lt;math&amp;gt;{{F}_{JUN,2}}=3\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{F}_{JUN,3}}=5\,\!&amp;lt;/math&amp;gt;.  Consequently, at the end of our three-month analysis period, there were a total of 11 failures for the 100 units shipped in June. This means that 89 units are presumably still operating, and can be considered suspensions at three months, or &amp;lt;math&amp;gt;{{S}_{JUN,3}}=89\,\!&amp;lt;/math&amp;gt;. For the shipment of 140 in July, 2 were returned the following month, or &amp;lt;math&amp;gt;{{F}_{JUL,1}}=2\,\!&amp;lt;/math&amp;gt;, and 4 more were returned the month after that, or &amp;lt;math&amp;gt;{{F}_{JUL,2}}=4\,\!&amp;lt;/math&amp;gt;.  After two months, there are 134 ( &amp;lt;math&amp;gt;140-2-4=134\,\!&amp;lt;/math&amp;gt; ) units from the July shipment still operating, or &amp;lt;math&amp;gt;{{S}_{JUL,2}}=134\,\!&amp;lt;/math&amp;gt;. For the final shipment of 150 in August, 4 fail in September, or &amp;lt;math&amp;gt;{{F}_{AUG,1}}=4\,\!&amp;lt;/math&amp;gt;, with the remaining 146 units being suspensions at one month, or &amp;lt;math&amp;gt;{{S}_{AUG,1}}=146\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is now a simple matter to add up the number of failures for 1, 2, and 3 months, then add the suspensions to get our reliability data set:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Failures at 1 month:} &amp;amp; {{F}_{1}}={{F}_{JUN,1}}+{{F}_{JUL,1}}+{{F}_{AUG,1}}=3+2+4=9  \\&lt;br /&gt;
   \text{Suspensions at 1 month:} &amp;amp; {{S}_{1}}={{S}_{AUG,1}}=146  \\&lt;br /&gt;
   \text{Failures at 2 months:} &amp;amp; {{F}_{2}}={{F}_{JUN,2}}+{{F}_{JUL,2}}=3+4=7  \\&lt;br /&gt;
   \text{Suspensions at 2 months:} &amp;amp; {{S}_{2}}={{S}_{JUL,2}}=134  \\&lt;br /&gt;
   \text{Failures at 3 months:} &amp;amp; {{F}_{3}}={{F}_{JUN,3}}=5  \\&lt;br /&gt;
   \text{Suspensions at 3 months:} &amp;amp; {{S}_{JUN,3}}=89  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These calculations can be performed automatically in Weibull++. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{{Examples Box|Weibull++_Examples|&amp;lt;p&amp;gt;More Nevada chart format warranty analysis examples are available! See also:&amp;lt;/p&amp;gt; &lt;br /&gt;
{{Examples Both|http://www.reliasoft.com/Weibull/examples/rc5/index.htm|Warranty Analysis Example|http://www.reliasoft.tv/weibull/appexamples/weibull_app_ex_5.html|Watch the video...}}&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Time-to-Failure Format==&lt;br /&gt;
This format is similar to the standard folio data entry format (all number of units, failure times and suspension times are entered by the user). The difference is that when the data is used within the context of warranty analysis, the ability to generate forecasts is available to the user.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{:Warranty_Data_Analysis_Times-to-Failure_Format_with_Plot_Example}}&lt;br /&gt;
&lt;br /&gt;
==Dates of Failure Format==&lt;br /&gt;
Another common way for reporting field information is to enter a date and quantity of sales or shipments (Quantity In-Service data) and the date and quantity of returns (Quantity Returned data). In order to identify which lot the unit comes from, a failure is identified by a return date and the date of when it was put in service. The date that the unit went into service is then associated with the lot going into service during that time period. You can use the optional Subset ID column in the data sheet to record any information to identify the lots.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{:Warranty_Data_Analysis_Dates_Format_Example}}&lt;br /&gt;
&lt;br /&gt;
==Usage Format==&lt;br /&gt;
Often, the driving factor for reliability is usage rather than time. For example, in the automotive industry, the failure behavior in the majority of the products is mileage-dependent rather than time-dependent. The usage format allows the user to convert shipping and warranty return data into the standard reliability data for of failures and suspensions when the return information is based on usage rather than return dates or periods. Similar to the dates of failure format, a failure is identified by the return number and the date of when it was put in service in order to identify which lot the unit comes from. The date that the returned unit went into service associates the returned unit with the lot it belonged to when it started operation. However, the return data is in terms of usage and not date of return. Therefore the usage of the units needs to be specified as a constant usage per unit time or as a distribution. This allows for determining the expected usage of the surviving units.&lt;br /&gt;
&lt;br /&gt;
Suppose that you have been collecting sales (units in service) and returns data. For the returns data, you can determine the number of failures and their usage by reading the odometer value, for example. Determining the number of surviving units (suspensions) and their ages is a straightforward step. By taking the difference between the analysis date and the date when a unit was put in service, you can determine the age of the surviving units.&lt;br /&gt;
&lt;br /&gt;
What is unknown, however, is the exact usage accumulated by each surviving unit. The key part of the usage-based warranty analysis is the determination of the usage of the surviving units based on their age. Therefore, the analyst needs to have an idea about the usage of the product. This can be obtained, for example, from customer surveys or by designing the products to collect usage data. For example, in automotive applications, engineers often use 12,000 miles/year as the average usage. Based on this average, the usage of an item that has been in the field for 6 months and has not yet failed would be 6,000 miles. So to obtain the usage of a suspension based on an average usage, one could take the time of each suspension and multiply it by this average usage. In this situation, the analysis becomes straightforward. With the usage values and the quantities of the returned units, a failure distribution can be constructed and subsequent warranty analysis becomes possible.&lt;br /&gt;
&lt;br /&gt;
Alternatively, and more realistically, instead of using an average usage, an actual distribution that reflects the variation in usage and customer behavior can be used. This distribution describes the usage of a unit over a certain time period (e.g., 1 year, 1 month, etc). This probabilistic model can be used to estimate the usage for all surviving components in service and the percentage of users running the product at different usage rates. In the automotive example, for instance, such a distribution can be used to calculate the percentage of customers that drive 0-200 miles/month, 200-400 miles/month, etc. We can take these percentages and multiply them by the number of suspensions to find the number of items that have been accumulating usage values in these ranges.&lt;br /&gt;
&lt;br /&gt;
To proceed with applying a usage distribution, the usage distribution is divided into increments based on a specified interval width denoted as &amp;lt;math&amp;gt;Z\,\!&amp;lt;/math&amp;gt;. The usage distribution, &amp;lt;math&amp;gt;Q\,\!&amp;lt;/math&amp;gt;, is divided into intervals of &amp;lt;math&amp;gt;0+Z\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Z+Z\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2Z+Z\,\!&amp;lt;/math&amp;gt;, etc., or &amp;lt;math&amp;gt;{{x}_{i}}={{x}_{i-1}}+Z\,\!&amp;lt;/math&amp;gt;, as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:Usage pdf Plot.png|center|250px| ]] &lt;br /&gt;
&lt;br /&gt;
The interval width should be selected such that it creates segments that are large enough to contain adequate numbers of suspensions within the intervals. The percentage of suspensions that belong to each usage interval is calculated as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
F({{x}_{i}})=Q({{x}_{i}})-Q({{x}_{i}}-1)&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q()\,\!&amp;lt;/math&amp;gt; is the usage distribution Cumulative Density Function, &#039;&#039;cdf&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x\,\!&amp;lt;/math&amp;gt; represents the intervals used in apportioning the suspended population.&lt;br /&gt;
&lt;br /&gt;
A suspension group is a collection of suspensions that have the same age. The percentage of suspensions can be translated to numbers of suspensions within each interval, &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;. This is done by taking each group of suspensions and multiplying it by each &amp;lt;math&amp;gt;F({{x}_{i}})\,\!&amp;lt;/math&amp;gt;, or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{N}_{1,j}}= &amp;amp; F({{x}_{1}})\times N{{S}_{j}} \\ &lt;br /&gt;
 &amp;amp; {{N}_{2,j}}= &amp;amp; F({{x}_{2}})\times N{{S}_{j}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; ... \\ &lt;br /&gt;
 &amp;amp; {{N}_{n,j}}= &amp;amp; F({{x}_{n}})\times N{{S}_{j}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{N}_{n,j}}\,\!&amp;lt;/math&amp;gt; is the number of suspensions that belong to each interval.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{S}_{j}}\,\!&amp;lt;/math&amp;gt; is the jth group of suspensions from the data set.&lt;br /&gt;
&lt;br /&gt;
This is repeated for all the groups of suspensions.&lt;br /&gt;
&lt;br /&gt;
The age of the suspensions is calculated by subtracting the Date In-Service ( &amp;lt;math&amp;gt;DIS\,\!&amp;lt;/math&amp;gt; ), which is the date at which the unit started operation, from the end of observation period date or End Date ( &amp;lt;math&amp;gt;ED\,\!&amp;lt;/math&amp;gt; ). This is the Time In-Service ( &amp;lt;math&amp;gt;TIS\,\!&amp;lt;/math&amp;gt; ) value that describes the age of the surviving unit.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
TIS=ED-DIS&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: &amp;lt;math&amp;gt;TIS\,\!&amp;lt;/math&amp;gt; is in the same time units as the period in which the usage distribution is defined.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;{{N}_{k,j}}\,\!&amp;lt;/math&amp;gt;, the usage is calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Uk,j=xi\times TISj\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this step, the usage of each suspension group is estimated. This data can be combined with the failures data set, and a failure distribution can be fitted to the combined data.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{:Warranty_Analysis_Usage_Format_Example}}&lt;br /&gt;
&lt;br /&gt;
To illustrate the calculations behind the results of this example, consider the 9 units that went in service on December 2009. 1 unit failed from that group; therefore, 8 suspensions have survived from December 2009 until the beginning of December 2010, a total of 12 months. The calculations are summarized as follows.&lt;br /&gt;
&lt;br /&gt;
[[Image:Usage Suspension Allocation.PNG|center|500px| ]] &lt;br /&gt;
&lt;br /&gt;
The two columns on the right constitute the calculated suspension data (number of suspensions and their usage) for the group. The calculation is then repeated for each of the remaining groups in the data set. These data are then combined with the data about the failures to form the life data set that is used to estimate the failure distribution model.&lt;br /&gt;
&lt;br /&gt;
==Warranty Prediction==&lt;br /&gt;
Once a life data analysis has been performed on warranty data, this information can be used to predict how many warranty returns there will be in subsequent time periods. This methodology uses the concept of conditional reliability (see [[Basic Statistical Background]]) to calculate the probability of failure for the remaining units for each shipment time period. This conditional probability of failure is then multiplied by the number of units at risk from that particular shipment period that are still in the field (i.e., the suspensions) in order to predict the number of failures or warranty returns expected for this time period. The next example illustrates this.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Using the data in the following table, predict the number of warranty returns for October for each of the three shipment periods. Use the following Weibull parameters, beta = 2.4928 and eta = 6.6951. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| ||colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align:center;&amp;quot;|RETURNS&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:right;&amp;quot;|SHIP||Jul. 2010||Aug. 2010||Sep. 2010&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jun. 2010||100||3||3||5&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jul. 2010||140||-||2||4&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Aug. 2010||150||-||-||4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use the Weibull parameter estimates to determine the conditional probability of failure for each shipment time period, and then multiply that probability with the number of units that are at risk for that period as follows. The equation for the conditional probability of failure is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(t|T)=1-R(t|T)=1-\frac{R(T+t)}{R(T)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the June shipment, there are 89 units that have successfully operated until the end of September ( &amp;lt;math&amp;gt;T=3 months)\,\!&amp;lt;/math&amp;gt;. The probability of one of these units failing in the next month ( &amp;lt;math&amp;gt;t=1 month)\,\!&amp;lt;/math&amp;gt; is then given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(1|3)=1-\frac{R(4)}{R(3)}=1-\frac{{{e}^{-{{\left( \tfrac{4}{6.70} \right)}^{2.49}}}}}{{{e}^{-{{\left( \tfrac{3}{6.70} \right)}^{2.49}}}}}=1-\frac{0.7582}{0.8735}=0.132\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the probability of failure for an additional month of operation is determined, the expected number of failed units during the next month, from the June shipment, is the product of this probability and the number of units at risk ( &amp;lt;math&amp;gt;{{S}_{JUN,3}}=89)\,\!&amp;lt;/math&amp;gt; or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\widehat{F}}_{JUN,4}}=89\cdot 0.132=11.748\text{, or 12 units}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is then repeated for the July shipment, where there were 134 units operating at the end of September, with an exposure time of two months.  The probability of failure in the next month is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(1|2)=1-\frac{R(3)}{R(2)}=1-\frac{0.8735}{0.9519}=0.0824\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is multiplied by &amp;lt;math&amp;gt;{{S}_{JUL,2}}=134\,\!&amp;lt;/math&amp;gt; to determine the number of failures, or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\widehat{F}}_{JUL,3}}=134\cdot 0.0824=11.035\text{, or 11 units}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the August shipment, there were 146 units operating at the end of September, with an exposure time of one month. The probability of failure in the next month is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Q(1|1)=1-\frac{R(2)}{R(1)}=1-\frac{0.9519}{0.9913}=0.0397\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is multiplied by &amp;lt;math&amp;gt;{{S}_{AUG,1}}=146\,\!&amp;lt;/math&amp;gt; to determine the number of failures, or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\widehat{F}}_{AUG,2}}=146\cdot 0.0397=5.796\text{, or 6 units}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the total expected returns from all shipments for the next month is the sum of the above, or 29 units.  This method can be easily repeated for different future sales periods, and utilizing projected shipments. If the user lists the number of units that are expected be sold or shipped during future periods, then these units are added to the number of units at risk whenever they are introduced into the field. The &#039;&#039;&#039;Generate Forecast&#039;&#039;&#039; functionality in the Weibull++ warranty analysis folio can automate this process for you.&lt;br /&gt;
&lt;br /&gt;
==Non-Homogeneous Warranty Data==&lt;br /&gt;
In the previous sections and examples, it is important to note that the underlying assumption was that the population was homogeneous. In other words, all sold and returned units were exactly the same (i.e., the same population with no design changes and/or modifications). In many situations, as the product matures, design changes are made to enhance and/or improve the reliability of the product.  Obviously, an improved product will exhibit different failure characteristics than its predecessor. To analyze such cases, where the population is non-homogeneous, one needs to extract each homogenous group, fit a life model to each group and then project the expected returns for each group based on the number of units at risk for each specific group.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Using Subset IDs in Weibull++&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Weibull++ includes an optional Subset ID column that allows to differentiate between product versions or different designs (lots). Based on the entries, the software will separately analyze (i.e., obtain parameters and failure projections for) each subset of data. Note that it is important to realize that the same limitations with regards to the number of failures that are needed are also applicable here.  In other words, distributions can be automatically fitted to lots that have return (failure) data, whereas if no returns have been experienced yet (either because the units are going to be introduced in the future or because no failures happened yet), the user will be asked to specify the parameters, since they can not be computed. Consequently, subsequent estimation/predictions related to these lots would be based on the user specified parameters. The following example illustrates the use of Subset IDs.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{{:Warranty Analysis Non-Homogeneous Data Example}}&lt;br /&gt;
&lt;br /&gt;
==Monitoring Warranty Returns Using Statistical Process Control (SPC)==&lt;br /&gt;
By monitoring and analyzing warranty return data, one can detect specific return periods and/or batches of sales or shipments that may deviate (differ) from the assumed model. This provides the analyst (and the organization) the advantage of early notification of possible deviations in manufacturing, use conditions and/or any other factor that may adversely affect the reliability of the fielded product. Obviously, the motivation for performing such analysis is to allow for faster intervention to avoid increased costs due to increased warranty returns or more serious repercussions.  Additionally, this analysis can also be used to uncover different sub-populations that may exist  within the population.&lt;br /&gt;
&lt;br /&gt;
===Basic Analysis Method===&lt;br /&gt;
&lt;br /&gt;
For each  sales period &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; and return period &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;, the prediction error can be calculated as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{e}_{i,j}}={{\hat{F}}_{i,j}}-{{F}_{i,j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\hat{F}}_{i,j}}\,\!&amp;lt;/math&amp;gt; is the estimated number of failures based on the estimated distribution parameters for the sales period &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; and the return period &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;, which is calculated using the equation for the conditional probability, and &amp;lt;math&amp;gt;{{F}_{i,j}}\,\!&amp;lt;/math&amp;gt; is the actual number of failure for the sales period &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; and the return period &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since we are assuming that the model is accurate, &amp;lt;math&amp;gt;{{e}_{i,j}}\,\!&amp;lt;/math&amp;gt; should follow a normal distribution with mean value of zero and a standard deviation &amp;lt;math&amp;gt;s\,\!&amp;lt;/math&amp;gt;, where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{e}}_{i,j}}=\frac{\underset{i}{\mathop{\sum }}\,\underset{j}{\mathop{\sum }}\,{{e}_{i,j}}}{n}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of return data (total number of residuals). &lt;br /&gt;
&lt;br /&gt;
The estimated standard deviation of the prediction errors can then be calculated by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;s=\sqrt{\frac{1}{n-1}\underset{i}{\mathop \sum }\,\underset{j}{\mathop \sum }\,e_{i,j}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &amp;lt;math&amp;gt;{{e}_{i,j}}\,\!&amp;lt;/math&amp;gt; can be normalized as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{z}_{i,j}}=\frac{{{e}_{i,j}}}{s}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{z}_{i,j}}\,\!&amp;lt;/math&amp;gt; is the standardized error. &amp;lt;math&amp;gt;{{z}_{i,j}}\,\!&amp;lt;/math&amp;gt; follows a normal distribution with &amp;lt;math&amp;gt;\mu =0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is known that the square of a random variable with standard normal distribution follows the &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; (Chi Square) distribution with 1 degree of freedom and that the sum of the squares of &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; random variables with standard normal distribution follows the &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; distribution with &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; degrees of freedom.  This then can be used to help detect the abnormal returns for a given sales period, return period or just a specific cell (combination of a return and a sales period).&lt;br /&gt;
&lt;br /&gt;
:*	For a cell, abnormality is detected if &amp;lt;math&amp;gt;z_{i,j}^{2}=\chi _{1}^{2}\ge \chi _{1,\alpha }^{2}.\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:*	For an entire sales period &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;, abnormality is detected if &amp;lt;math&amp;gt;\underset{j}{\mathop{\sum }}\,z_{i,j}^{2}=\chi _{J}^{2}\ge \chi _{\alpha ,J}^{2},\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the total number of return period for a sales period &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:*	For an entire return period &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;, abnormality is detected if &amp;lt;math&amp;gt;\underset{i}{\mathop{\sum }}\,z_{i,j}^{2}=\chi _{I}^{2}\ge \chi _{\alpha ,I}^{2},\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the total number of sales period for a return period &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
Here &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; is the criticality value of the &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; distribution, which can be set at critical value or caution value. It describes the level of sensitivity to outliers (returns that deviate significantly from the predictions based on the fitted model). Increasing the value of  &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; increases the power of detection, but this could lead to more false alarms.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&#039;&#039;&#039;Example Using SPC for Warranty Analysis Data&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the data from the following table, the expected returns for each sales period can be obtained using conditional reliability concepts, as given in the conditional probability equation. &lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| ||colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align:center;&amp;quot;|RETURNS&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:right;&amp;quot;|SHIP||Jul. 2010||Aug. 2010||Sep. 2010&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jun. 2010||100||3||3||5&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Jul. 2010||140||-||2||4&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Aug. 2010||150||-||-||4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example, for the month of September, the expected return number from the June shipment is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{F}}_{Jun,3}}=(100-6)\cdot \left( 1-\frac{R(3)}{R(2)} \right)=94\cdot 0.08239=7.7447\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The actual number of returns during this period is five; thus, the prediction error for this period is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{e}_{Jun,3}}={{\hat{F}}_{Jun,3}}-{{F}_{Jun,3}}=7.7447-5=2.7447.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can then be repeated for each cell, yielding the following table for &amp;lt;math&amp;gt;{{e}_{i,j}}\,\!&amp;lt;/math&amp;gt; : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; RETURNS &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   {} &amp;amp; SHIP  &amp;amp; \text{Jul}\text{. 2005} &amp;amp; \text{Aug}\text{. 2005} &amp;amp; \text{Sep}\text{. 2005}  \\&lt;br /&gt;
   \text{Jun}\text{. 2005} &amp;amp; \text{100} &amp;amp; \text{-2}\text{.1297} &amp;amp; \text{0}\text{.8462} &amp;amp; \text{2}\text{.7447}  \\&lt;br /&gt;
   \text{Jul}\text{. 2005} &amp;amp; \text{140} &amp;amp; \text{-} &amp;amp; \text{-0}\text{.7816} &amp;amp; \text{1}\text{.4719}  \\&lt;br /&gt;
   \text{Aug}\text{. 2005} &amp;amp; \text{150} &amp;amp; \text{-} &amp;amp; \text{-} &amp;amp; \text{-2}\text{.6946}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, for this example, &amp;lt;math&amp;gt;n=6\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\bar{e}}_{i,j}}=-0.0904\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s=2.1366.\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Thus the &amp;lt;math&amp;gt;z_{i,j}\,\!&amp;lt;/math&amp;gt; values are: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; RETURNS &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   {} &amp;amp; SHIP  &amp;amp; \text{Jul}\text{. 2005} &amp;amp; \text{Aug}\text{. 2005} &amp;amp; \text{Sep}\text{. 2005}  \\&lt;br /&gt;
   \text{Jun}\text{. 2005} &amp;amp; \text{100} &amp;amp; \text{-0}\text{.9968} &amp;amp; \text{0}\text{.3960} &amp;amp; \text{1}\text{.2846}  \\&lt;br /&gt;
   \text{Jul}\text{. 2005} &amp;amp; \text{140} &amp;amp; \text{-} &amp;amp; \text{-0}\text{.3658} &amp;amp; \text{0}\text{.6889}  \\&lt;br /&gt;
   \text{Aug}\text{. 2005} &amp;amp; \text{150} &amp;amp; \text{-} &amp;amp; \text{-} &amp;amp; \text{-1}\text{.2612}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;z_{i,j}^{2}\,\!&amp;lt;/math&amp;gt; values, for each cell, are given in the following table. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; RETURNS &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   {} &amp;amp; SHIP  &amp;amp; \text{Jul}\text{. 2005} &amp;amp; \text{Aug}\text{. 2005} &amp;amp; \text{Sep}\text{. 2005} &amp;amp; \text{Sum}  \\&lt;br /&gt;
   \text{Jun}\text{. 2005} &amp;amp; \text{100} &amp;amp; \text{0}\text{.9936} &amp;amp; \text{0}\text{.1569} &amp;amp; \text{1}\text{.6505} &amp;amp; 2.8010  \\&lt;br /&gt;
   \text{Jul}\text{. 2005} &amp;amp; \text{140} &amp;amp; \text{-} &amp;amp; \text{0}\text{.1338} &amp;amp; \text{0}\text{.4747} &amp;amp; 0.6085  \\&lt;br /&gt;
   \text{Aug}\text{. 2005} &amp;amp; \text{150} &amp;amp; \text{-} &amp;amp; \text{-} &amp;amp; \text{1}\text{.5905} &amp;amp; 1.5905  \\&lt;br /&gt;
   \text{Sum} &amp;amp; {} &amp;amp; 0.9936 &amp;amp; 0.2907 &amp;amp; 3.7157 &amp;amp; {}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the critical value is set at &amp;lt;math&amp;gt;\alpha = 0.01\,\!&amp;lt;/math&amp;gt; and the caution value is set at &amp;lt;math&amp;gt;\alpha = 0.1\,\!&amp;lt;/math&amp;gt;, then the critical and caution &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; values will be: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {} &amp;amp; &amp;amp; Degree of Freedom \\&lt;br /&gt;
   {} &amp;amp; \text{1} &amp;amp; \text{2} &amp;amp; \text{3}  \\&lt;br /&gt;
   {{\chi}^{2}\text{Critical}} &amp;amp; \text{6.6349} &amp;amp; \text{9.2103} &amp;amp; \text{11.3449}   \\&lt;br /&gt;
   {{\chi}^{2}\text{Caution}} &amp;amp; \text{2,7055} &amp;amp; \text{4.6052} &amp;amp; \text{6.2514}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we consider the sales periods as the basis for outlier detection, then after comparing the above table to the sum of &amp;lt;math&amp;gt;z_{i,j}^{2}\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(\chi _{1}^{2})\,\!&amp;lt;/math&amp;gt; values for each sales period, we find that all the sales values do not exceed the critical and caution limits. For example, the total &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; value of the sale month of July is 0.6085. Its degrees of freedom is 2, so the corresponding caution and critical values are 4.6052 and 9.2103 respectively. Both values are larger than 0.6085, so the return numbers of the July sales period do not deviate (based on the chosen significance) from the model&#039;s predictions.&lt;br /&gt;
&lt;br /&gt;
If we consider returns periods as the basis for outliers detection, then after comparing the above table to the sum of &amp;lt;math&amp;gt;z_{i,j}^{2}\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(\chi _{1}^{2})\,\!&amp;lt;/math&amp;gt;  values for each return period, we find that all the return values do not exceed the critical and caution limits. For example, the total &amp;lt;math&amp;gt;{{\chi }^{2}}\,\!&amp;lt;/math&amp;gt; value of the sale month of August is 3.7157. Its degree of freedom is 3, so the corresponding caution and critical values are 6.2514 and 11.3449 respectively.  Both values are larger than 3.7157, so the return numbers for the June return period do not deviate from the model&#039;s predictions.&lt;br /&gt;
&lt;br /&gt;
This analysis can be automatically performed in Weibull++ by entering the alpha values in the Statistical Process Control page of the control panel and selecting which period to color code, as shown next.&lt;br /&gt;
&lt;br /&gt;
[[Image:Warranty Example 5 SPC settings.png|center|250px| ]] &lt;br /&gt;
&lt;br /&gt;
To view the table of chi-squared values ( &amp;lt;math&amp;gt;z_{i,j}^{2}\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\chi _{1}^{2}\,\!&amp;lt;/math&amp;gt; values), click the &#039;&#039;&#039;Show Results (...)&#039;&#039;&#039; button. &lt;br /&gt;
&lt;br /&gt;
[[Image:Warranty Example 5 Chi-square.png|center|450px| ]] &lt;br /&gt;
&lt;br /&gt;
Weibull++ automatically color codes SPC results for easy visualization in the returns data sheet. By default, the green color means that the return number is normal; the yellow color indicates that the return number is larger than the caution threshold but smaller than the critical value; the red color means that the return is abnormal, meaning that the return number is either too big or too small compared to the predicted value.&lt;br /&gt;
&lt;br /&gt;
In this example, all the cells are coded in green for both analyses (i.e., by sales periods or by return periods), indicating that all returns fall within the caution and critical limits (i.e., nothing abnormal). Another way to visualize this is by using a Chi-Squared plot for the sales period and return period, as shown next.&lt;br /&gt;
&lt;br /&gt;
[[Image:Warranty Example 5 SPC Sales.png|center|450px| ]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Warranty Example 5 SPC Return.png|center|450px| ]]&lt;br /&gt;
&lt;br /&gt;
===Using Subset IDs with SPC for Warranty Data===&lt;br /&gt;
The warranty monitoring methodology explained in this section can also be used to detect different subpopulations in a data set. The different subpopulations can reflect different use conditions, different material, etc. In this methodology, one can use different subset IDs to differentiate between subpopulations, and obtain models that are distinct to each subpopulation. The following example illustrates this concept.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
{{:Non-Homogeneous Data with Subset IDs Example}}&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repairable_Systems_Analysis_Through_Simulation&amp;diff=64813</id>
		<title>Repairable Systems Analysis Through Simulation</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repairable_Systems_Analysis_Through_Simulation&amp;diff=64813"/>
		<updated>2017-01-03T20:47:52Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* Additional Rules and Assumptions for Standby Containers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:bsbook|7}}&lt;br /&gt;
{{TU}}&lt;br /&gt;
&lt;br /&gt;
Having introduced some of the basic theory and terminology for repairable systems in [[Introduction to Repairable Systems]], we will now examine the steps involved in the analysis of such complex systems.  We will begin by examining system behavior through a sequence of discrete deterministic events and expand the analysis using discrete event simulation.&lt;br /&gt;
&lt;br /&gt;
=Simple Repairs=&lt;br /&gt;
==Deterministic View, Simple Series==&lt;br /&gt;
To first understand how component failures and simple repairs affect the system and to visualize the steps involved, let&#039;s begin with a very simple deterministic example with two components, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, in series.&lt;br /&gt;
&lt;br /&gt;
[[Image:i8.1.png|center|200px|link=]]&lt;br /&gt;
&lt;br /&gt;
Component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 hours and component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 120 hours.  Both require 10 hours to get repaired.  Furthermore, assume that the surviving component stops operating when the system fails (thus not aging).  &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: When a failure occurs in certain systems, some or all of the system&#039;s components&lt;br /&gt;
may or may not continue to accumulate operating time while the system is down. For example,&lt;br /&gt;
consider a transmitter-satellite-receiver system. This is a series system and the probability&lt;br /&gt;
of failure for this system is the probability that any of the subsystems fail. If the receiver&lt;br /&gt;
fails, the satellite continues to operate even though the receiver is down. In this case, the&lt;br /&gt;
continued aging of the components during the system inoperation &#039;&#039;&#039;must&#039;&#039;&#039; be taken into&lt;br /&gt;
consideration, since this will affect their failure characteristics and have an impact on the&lt;br /&gt;
overall system downtime and availability.&lt;br /&gt;
&lt;br /&gt;
The system behavior during an operation from 0 to 300 hours would be as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.1.png|center|500px|Overview of system and components for a simple series system with two components. Component A fails every 100 hours and component B fails every 120 hours. Both require 10 hours to get repaired and do not age(operate through failure) when the system is in a failed state.|link=]]&lt;br /&gt;
&lt;br /&gt;
Specifically, component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would fail at 100 hours, causing the system to fail.  After 10 hours, component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would be restored and so would the system.  The next event would be the failure of component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  We know that component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 120 hours (or after an age of 120 hours).  Since a component does not age while the system is down, component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would have reached an age of 120 when the clock reaches 130 hours.  Thus, component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would fail at 130 hours and be repaired by 140 and so forth.  Overall in this scenario, the system would be failed for a total of 40 hours due to four downing events (two due to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and two due to &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ).  The overall system availability (average or mean availability) would be &amp;lt;math&amp;gt;260/300=0.86667\,\!&amp;lt;/math&amp;gt;.  Point availability is the availability at a specific point time.  In this deterministic case, the point availability would always be equal to 1 if the system is up at that time and equal to zero if the system is down at that time.&lt;br /&gt;
&lt;br /&gt;
====Operating Through System Failure====&lt;br /&gt;
&lt;br /&gt;
In the prior section we made the assumption that components do not age when the system is down.  This assumption applies to most systems.  However, under special circumstances, a unit may age even while the system is down.  In such cases, the operating profile will be different from the one presented in the prior section.  The figure below illustrates the case where the components operate continuously, regardless of the system status.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.2.png|center|500px|Overview of up and down states for a simple series system with two components. Component &#039;&#039;A&#039;&#039; failes every 100 hours and component &#039;&#039;B&#039;&#039; fails every 120 hours. Both require 10 hours to get repaired and age when the system is in a failed state(operate through failure).|link=]]&lt;br /&gt;
&lt;br /&gt;
====Effects of Operating Through Failure====&lt;br /&gt;
&lt;br /&gt;
Consider a component with an increasing failure rate, as shown in the figure below.  In the case that the component continues to operate through system failure, then when the system fails at &amp;lt;math&amp;gt;{{t}_{1}}\,\!&amp;lt;/math&amp;gt; the surviving component&#039;s failure rate will be &amp;lt;math&amp;gt;{{\lambda }_{1}}\,\!&amp;lt;/math&amp;gt;, as illustrated in figure below.  When the system is restored at &amp;lt;math&amp;gt;{{t}_{2}}\,\!&amp;lt;/math&amp;gt;, the component would have aged by &amp;lt;math&amp;gt;{{t}_{2}}-{{t}_{1}}\,\!&amp;lt;/math&amp;gt; and its failure rate would now be &amp;lt;math&amp;gt;{{\lambda }_{2}}\,\!&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
In the case of a component that does not operate through failure, then the surviving component would be at the same failure rate, &amp;lt;math&amp;gt;{{\lambda }_{1}},\,\!&amp;lt;/math&amp;gt; when the system resumes operation.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.3.png|center|400px|Illustration of a component with a linearly increasing failure rate and the effect of operation through system failure.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Deterministic View, Simple Parallel==&lt;br /&gt;
Consider the following system where &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; every 120, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; every 140 and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; every 160 time units.  Each takes 10 time units to restore.  Furthermore, assume that components do not age when the system is down.&lt;br /&gt;
&lt;br /&gt;
[[Image:i8.2.png|center|300px|link=]]&lt;br /&gt;
&lt;br /&gt;
A deterministic system view is shown in the figure below.  The sequence of events is as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails and is repaired by 110.  The system is failed.  &lt;br /&gt;
#At 130, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails and is repaired by 140.  The system continues to operate.&lt;br /&gt;
#At 150, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails and is repaired by 160.  The system continues to operate.&lt;br /&gt;
#At 170, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails and is repaired by 180.  The system is failed.  &lt;br /&gt;
#At 220, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails and is repaired by 230.  The system is failed.  &lt;br /&gt;
#At 280, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails and is repaired by 290.  The system continues to operate.&lt;br /&gt;
#End at 300.&lt;br /&gt;
 &lt;br /&gt;
[[Image:BS8.4.png|center|500px|Overview of simple redundant system with four components.|link=]]&lt;br /&gt;
&lt;br /&gt;
====Additional Notes====&lt;br /&gt;
&lt;br /&gt;
It should be noted that we are dealing with these events deterministically in order to better illustrate the methodology.  When dealing with deterministic events, it is possible to create a sequence of events that one would not expect to encounter probabilistically.  One such example consists of two units in series that do not operate through failure but both fail at exactly 100, which is highly unlikely in a real-world scenario.  In this case, the assumption is that one of the events must occur at least an infinitesimal amount of time ( &amp;lt;math&amp;gt;dt)\,\!&amp;lt;/math&amp;gt; before the other.  Probabilistically, this event is extremely rare, since both randomly generated times would have to be exactly equal to each other, to 15 decimal points.  In the rare event that this happens, BlockSim would pick the unit with the lowest ID value as the first failure.  BlockSim assigns a unique numerical ID when each component is created.  These can be viewed by selecting the &#039;&#039;&#039;Show Block ID&#039;&#039;&#039; option in the Diagram Options window.&lt;br /&gt;
&lt;br /&gt;
==Deterministic Views of More Complex Systems==&lt;br /&gt;
&lt;br /&gt;
Even though the examples presented are fairly simplistic, the same approach can be repeated for larger and more complex systems.  The reader can easily observe/visualize the behavior of more complex systems in BlockSim using the Up/Down plots.  These are the same plots used in this chapter.  It should be noted that BlockSim makes these plots available only when a single simulation run has been performed for the analysis (i.e., Number of Simulations = 1).  These plots are meaningless when doing multiple simulations because each run will yield a different plot.&lt;br /&gt;
&lt;br /&gt;
==Probabilistic View, Simple Series==&lt;br /&gt;
&lt;br /&gt;
In a probabilistic case, the failures and repairs do not happen at a fixed time and for a fixed duration, but rather occur randomly and based on an underlying distribution, as shown in the following figures.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.5.png|center|600px| A single component with a probabilistic failure time and repair duration.|link=]]&lt;br /&gt;
[[Image:BS8.6.png|center|500px|A system up/down plot illustrating a probabilistic failure time and repair duration for component B.|link=]]&lt;br /&gt;
 &lt;br /&gt;
We use discrete event simulation in order to analyze (understand) the system behavior.  Discrete event simulation looks at each system/component event very similarly to the way we looked at these events in the deterministic example.  However, instead of using deterministic (fixed) times for each event occurrence or duration, random times are used.  These random times are obtained from the underlying distribution for each event.  As an example, consider an event following a 2-parameter Weibull distribution.  The &#039;&#039;cdf&#039;&#039; of the 2-parameter Weibull distribution is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;F(T)=1-{{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Weibull reliability function is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
R(T)= &amp;amp; 1-F(t) \\ &lt;br /&gt;
= &amp;amp; {{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to generate a random time from a Weibull distribution with a given &amp;lt;math&amp;gt;\eta \,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, a uniform random number from 0 to 1, &amp;lt;math&amp;gt;{{U}_{R}}[0,1]\,\!&amp;lt;/math&amp;gt;, is first obtained.   The random time from a Weibull distribution is then obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{T}_{R}}=\eta \cdot {{\left\{ -\ln \left[ {{U}_{R}}[0,1] \right] \right\}}^{\tfrac{1}{\beta }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To obtain a conditional time, the Weibull conditional reliability function is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,t)=\frac{R(T+t)}{R(T)}=\frac{{{e}^{-{{\left( \tfrac{T+t}{\eta } \right)}^{\beta }}}}}{{{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,t)={{e}^{-\left[ {{\left( \tfrac{T+t}{\eta } \right)}^{\beta }}-{{\left( \tfrac{T}{\eta } \right)}^{\beta }} \right]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The random time would be the solution for &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;R(T,t)={{U}_{R}}[0,1]\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the sequence of events, assume a single block with a failure and a repair distribution.  The first event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, would be the failure of the component.  Its first time-to-failure would be a random number drawn from its failure distribution, &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  Thus, the first failure event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, would be at &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  Once failed, the next event would be the repair of the component, &amp;lt;math&amp;gt;{{E}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The time to repair the component would now be drawn from its repair distribution, &amp;lt;math&amp;gt;{{T}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The component would be restored by time &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}+{{T}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The next event would now be the second failure of the component after the repair, &amp;lt;math&amp;gt;{{E}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt;.  This event would occur after a component operating time of &amp;lt;math&amp;gt;{{T}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt; after the item is restored (again drawn from the failure distribution), or at &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}+{{T}_{{{R}_{1}}}}+{{T}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt;.  This process is repeated until the end time.  It is important to note that each run will yield a different sequence of events due to the probabilistic nature of the times.  To arrive at the desired result, this process is repeated many times and the results from each run (simulation) are recorded.  In other words, if we were to repeat this 1,000 times, we would obtain 1,000 different values for &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\left[ {{E}_{{{F}_{{{1}_{1}}}}}},{{E}_{{{F}_{{{1}_{2}}}}}},...,{{E}_{{{F}_{{{1}_{1,000}}}}}} \right]\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
The average of these values, &amp;lt;math&amp;gt;\left( \tfrac{1}{1000}\underset{i=1}{\overset{1,000}{\mathop{\sum }}}\,{{E}_{{{F}_{{{1}_{i}}}}}} \right)\,\!&amp;lt;/math&amp;gt;, would then be the average time to the first event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, or the mean time to first failure (MTTFF) for the component.  Obviously, if the component were to be 100% renewed after each repair, then this value would also be the same for the second failure, etc.&lt;br /&gt;
&lt;br /&gt;
=General Simulation Results=&lt;br /&gt;
To further illustrate this, assume that components A and B in the prior example had normal failure and repair distributions with their means equal to the deterministic values used in the prior example and standard deviations of 10 and 1 respectively.  That is, &amp;lt;math&amp;gt;{{F}_{A}}\tilde{\ }N(100,10),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;{{F}_{B}}\tilde{\ }N(120,10),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;{{R}_{A}}={{R}_{B}}\tilde{\ }N(10,1)\,\!&amp;lt;/math&amp;gt;.  The settings for components C and D are not changed. Obviously, given the probabilistic nature of the example, the times to each event will vary.  If one were to repeat this &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; number of times, one would arrive at the results of interest for the system and its components.  Some of the results for this system and this example, over 1,000 simulations, are provided in the figure below and explained in the next sections. &lt;br /&gt;
[[Image:r2.png|center|600px|Summary of system results for 1,000 simulations.|link=]]&lt;br /&gt;
&lt;br /&gt;
The simulation settings are shown in the figure below.&lt;br /&gt;
[[Image:8.7.gif|center|600px|BlockSim simulation window.|link=]]&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
====Mean Availability (All Events), &amp;lt;math&amp;gt;{{\overline{A}}_{ALL}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the mean availability due to all downing events, which can be thought of as the operational availability.  It is the ratio of the system uptime divided by the total simulation time (total time).  For this example: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{\overline{A}}_{ALL}}= &amp;amp; \frac{Uptime}{TotalTime} \\ &lt;br /&gt;
= &amp;amp; \frac{269.137}{300} \\ &lt;br /&gt;
= &amp;amp; 0.8971  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Std Deviation (Mean Availability)====&lt;br /&gt;
This is the standard deviation of the mean availability of all downing events for the system during the simulation.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (w/o PM, OC &amp;amp; Inspection), &amp;lt;math&amp;gt;{{\overline{A}}_{CM}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the mean availability due to failure events only and it is 0.971 for this example.  Note that for this case, the mean availability without preventive maintenance, on condition maintenance and inspection is identical to the mean availability for all events.  This is because no preventive maintenance actions or inspections were defined for this system.  We will discuss the inclusion of these actions in later sections.&lt;br /&gt;
&lt;br /&gt;
Downtimes caused by PM and inspections are not included.  However, if the PM or inspection action results in the discovery of a failure, then these times are included.  As an example, consider a component that has failed but its failure is not discovered until the component is inspected.  Then the downtime from the time failed to the time restored after the inspection is counted as failure downtime, since the original event that caused this was the component&#039;s failure.  &lt;br /&gt;
====Point Availability (All Events), &amp;lt;math&amp;gt;A\left( t \right)\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the probability that the system is up at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;.  As an example, to obtain this value at &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; = 300, a special counter would need to be used during the simulation.  This counter is increased by one every time the system is up at 300 hours.  Thus, the point availability at 300 would be the times the system was up at 300 divided by the number of simulations.  For this example, this is 0.930, or 930 times out of the 1000 simulations the system was up at 300 hours.&lt;br /&gt;
&lt;br /&gt;
====Reliability (Fail Events), &amp;lt;math&amp;gt;R(t)\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the probability that the system has not failed by time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;.  This is similar to point availability with the major exception that it only looks at the probability that the system did not have a single failure.  Other (non-failure) downing events are ignored.  During the simulation, a special counter again must be used.  This counter is increased by one (once in each simulation) if the system has had at least one failure up to 300 hours.  Thus, the reliability at 300 would be the number of times the system did not fail up to 300 divided by the number of simulations.  For this example, this is 0 because the system failed prior to 300 hours 1000 times out of the 1000 simulations.&lt;br /&gt;
&lt;br /&gt;
It is very important to note that this value is not always the same as the reliability computed using the analytical methods, depending on the redundancy present.  The reason that it may differ is best explained by the following scenario:&lt;br /&gt;
&lt;br /&gt;
Assume two units in parallel.  The analytical system reliability, which does not account for repairs, is the probability that both units fail.  In this case, when one unit goes down, it does not get repaired and the system fails after the second unit fails.  In the case of repairs, however, it is possible for one of the two units to fail and get repaired before the second unit fails.  Thus, when the second unit fails, the system will still be up due to the fact that the first unit was repaired.&lt;br /&gt;
&lt;br /&gt;
====Expected Number of Failures, &amp;lt;math&amp;gt;{{N}_{F}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the average number of system failures.  The system failures (not downing events) for all simulations are counted and then averaged.  For this case, this is 3.188, which implies that a total of 3,188 system failure events occurred over 1000 simulations.  Thus, the expected number of system failures for one run is 3.188.  This number includes all failures, even those that may have a duration of zero.&lt;br /&gt;
&lt;br /&gt;
====Std Deviation (Number of Failures)====&lt;br /&gt;
This is the standard deviation of the number of failures for the system during the simulation.&lt;br /&gt;
&lt;br /&gt;
====MTTFF====&lt;br /&gt;
MTTFF is the mean time to first failure for the system.  This is computed by keeping track of the time at which the first system failure occurred for each simulation.  MTTFF is then the average of these times.  This may or may not be identical to the MTTF obtained in the analytical solution for the same reasons as those discussed in the Point Reliability section.  For this case, this is 100.2511.  This is fairly obvious for this case since the mean of one of the components in series was 100 hours.&lt;br /&gt;
&lt;br /&gt;
It is important to note that for each simulation run, if a first failure time is observed, then this is recorded as the system time to first failure.  If no failure is observed in the system, then the simulation end time is used as a right censored (suspended) data point.  MTTFF is then computed using the total operating time until the first failure divided by the number of observed failures (constant failure rate assumption).  Furthermore, and if the simulation end time is much less than the time to first failure for the system, it is also possible that all data points are right censored (i.e.,  no system failures were observed).  In this case, the MTTFF is again computed using a constant failure rate assumption, or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTTFF=\frac{2\cdot ({{T}_{S}})\cdot N}{\chi _{0.50;2}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{T}_{S}}\,\!&amp;lt;/math&amp;gt; is the simulation end time and &amp;lt;math&amp;gt;N\,\!&amp;lt;/math&amp;gt; is the number of simulations.  One should be aware that this formulation may yield unrealistic (or erroneous) results if the system does not have a constant failure rate.   If you are trying to obtain an accurate (realistic) estimate of this value, then your simulation end time should be set to a value that is well beyond the MTTF of the system (as computed analytically).  As a general rule, the simulation end time should be at least three times larger than the MTTF of the system.&lt;br /&gt;
&lt;br /&gt;
====MTBF (Total Time)====&lt;br /&gt;
This is the mean time between failures for the system based on the total simulation time and the expected number of system failures. For this example:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
MTBF (Total Time)= &amp;amp; \frac{TotalTime}{{N}_{F}} \\ &lt;br /&gt;
= &amp;amp; \frac{300}{3.188} \\ &lt;br /&gt;
= &amp;amp; 94.102886  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====MTBF (Uptime)====&lt;br /&gt;
This is the mean time between failures for the system, considering only the time that the system was up. This is calculated by dividing system uptime by the expected number of system failures. You can also think of this as the mean uptime. For this example:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
MTBF (Uptime)= &amp;amp; \frac{Uptime}{{N}_{F}} \\ &lt;br /&gt;
= &amp;amp; \frac{269.136952}{3.188} \\ &lt;br /&gt;
= &amp;amp; 84.42188  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====MTBE (Total Time)====&lt;br /&gt;
This is the mean time between all downing events for the system, based on the total simulation time and including all system downing events. This is calculated by dividing the simulation run time by the number of downing events (&amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
====MTBE (Uptime)====&lt;br /&gt;
his is the mean time between all downing events for the system, considering only the time that the system was up. This is calculated by dividing system uptime by the number of downing events (&amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
===System Uptime/Downtime===&lt;br /&gt;
&lt;br /&gt;
====Uptime, &amp;lt;math&amp;gt;{{T}_{UP}}\,\!&amp;lt;/math&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was up and operating.  This is obtained by taking the sum of the uptimes for each simulation and dividing it by the number of simulations.  For this example, the uptime is 269.137.  To compute the Operational Availability, &amp;lt;math&amp;gt;{{A}_{o}},\,\!&amp;lt;/math&amp;gt; for this system, then:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{o}}=\frac{{{T}_{UP}}}{{{T}_{S}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====CM Downtime, &amp;lt;math&amp;gt;{{T}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt; ====&lt;br /&gt;
This is the average time the system was down for corrective maintenance actions (CM) only.  This is obtained by taking the sum of the CM downtimes for each simulation and dividing it by the number of simulations.  For this example, this is 30.863.&lt;br /&gt;
To compute the Inherent Availability, &amp;lt;math&amp;gt;{{A}_{I}},\,\!&amp;lt;/math&amp;gt; for this system over the observed time (which may or may not be steady state, depending on the length of the simulation), then:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{I}}=\frac{{{T}_{S}}-{{T}_{C{{M}_{Down}}}}}{{{T}_{S}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Inspection Downtime ====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to inspections.  This is obtained by taking the sum of the inspection downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no inspections were defined.&lt;br /&gt;
&lt;br /&gt;
====PM Downtime, &amp;lt;math&amp;gt;{{T}_{P{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to preventive maintenance (PM) actions.  This is obtained by taking the sum of the PM downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no PM actions were defined.&lt;br /&gt;
&lt;br /&gt;
====OC Downtime, &amp;lt;math&amp;gt;{{T}_{O{{C}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to on-condition maintenance (PM) actions.  This is obtained by taking the sum of the OC downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no OC actions were defined.&lt;br /&gt;
&lt;br /&gt;
====Waiting Downtime, &amp;lt;math&amp;gt;{{T}_{W{{ait}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the amount of time that the system was down due to crew and spare part wait times or crew conflict times. For this example, this is zero because no crews or spare part pools were defined.&lt;br /&gt;
&lt;br /&gt;
====Total Downtime, &amp;lt;math&amp;gt;{{T}_{Down}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the downtime due to all events. In general, one may look at this as the sum of the above downtimes. However, this is not always the case. It is possible to have actions that overlap each other, depending on the options and settings for the simulation. Furthermore, there are other events that can cause the system to go down that do not get counted in any of the above categories. As an example, in the case of standby redundancy with a switch delay, if the settings are to reactivate the failed component after repair, the system may be down during the switch-back action. This downtime does not fall into any of the above categories but it is counted in the total downtime.&lt;br /&gt;
&lt;br /&gt;
For this example, this is identical to &amp;lt;math&amp;gt;{{T}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===System Downing Events===&lt;br /&gt;
System downing events are events associated with downtime.  Note that events with zero duration will appear in this section only if the task properties specify that the task brings the system down or if the task properties specify that the task brings the item down and the item’s failure brings the system down.&lt;br /&gt;
&lt;br /&gt;
====Number of Failures, &amp;lt;math&amp;gt;{{N}_{{{F}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the average number of system downing failures.  Unlike the Expected Number of Failures, &amp;lt;math&amp;gt;{{N}_{F}},\,\!&amp;lt;/math&amp;gt; this number does not include failures with zero duration.  For this example, this is 3.188.  &lt;br /&gt;
&lt;br /&gt;
====Number of CMs, &amp;lt;math&amp;gt;{{N}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of corrective maintenance actions that caused the system to fail.  It is obtained by taking the sum of all CM actions that caused the system to fail divided by the number of simulations.  It does not include CM events of zero duration.  For this example, this is 3.188.  Note that this may differ from the Number of Failures, &amp;lt;math&amp;gt;{{N}_{{{F}_{Down}}}}\,\!&amp;lt;/math&amp;gt;.  An example would be a case where the system has failed, but due to other settings for the simulation, a CM is not initiated (e.g., an inspection is needed to initiate a CM).&lt;br /&gt;
&lt;br /&gt;
====Number of Inspections, &amp;lt;math&amp;gt;{{N}_{{{I}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of inspection actions that caused the system to fail.  It is obtained by taking the sum of all inspection actions that caused the system to fail divided by the number of simulations.  It does not include inspection events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of PMs, &amp;lt;math&amp;gt;{{N}_{P{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of PM actions that caused the system to fail.  It is obtained by taking the sum of all PM actions that caused the system to fail divided by the number of simulations.  It does not include PM events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of OCs, &amp;lt;math&amp;gt;{{N}_{O{{C}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of OC actions that caused the system to fail.  It is obtained by taking the sum of all OC actions that caused the system to fail divided by the number of simulations.  It does not include OC events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of OFF Events by Trigger, &amp;lt;math&amp;gt;{{N}_{O{{FF}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the total number of events where the system is turned off by state change triggers. An OFF event is not a system failure but it may be included in system reliability calculations. For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Total Events, &amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the total number of system downing events.  It also does not include events of zero duration.  It is possible that this number may differ from the sum of the other listed events.  As an example, consider the case where a failure does not get repaired until an inspection, but the inspection occurs after the simulation end time.  In this case, the number of inspections, CMs and PMs will be zero while the number of total events will be one.&lt;br /&gt;
&lt;br /&gt;
===Costs and Throughput===&lt;br /&gt;
Cost and throughput results are discussed in later sections.&lt;br /&gt;
&lt;br /&gt;
===Note About Overlapping Downing Events===&lt;br /&gt;
&lt;br /&gt;
It is important to note that two identical system downing events (that are continuous or overlapping) may be counted and viewed differently.  As shown in Case 1 of the following figure, two overlapping failure events are counted as only one event from the system perspective because the system was never restored and remained in the same down state, even though that state was caused by two different components.  Thus, the number of downing events in this case is one and the duration is as shown in CM system.  In the case that the events are different, as shown in Case 2 of the figure below, two events are counted, the CM and the PM.  However, the downtime attributed to each event is different from the actual time of each event.  In this case, the system was first down due to a CM and remained in a down state due to the CM until that action was over.  However, immediately upon completion of that action, the system remained down but now due to a PM action.  In this case, only the PM action portion that kept the system down is counted.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.9.png|center|350px|Duration and count of different overlapping events.|link=]]&lt;br /&gt;
&lt;br /&gt;
===System Point Results===&lt;br /&gt;
&lt;br /&gt;
The system point results, as shown in the figure below, shows the Point Availability (All Events), &amp;lt;math&amp;gt;A\left( t \right)\,\!&amp;lt;/math&amp;gt;, and Point Reliability, &amp;lt;math&amp;gt;R(t)\,\!&amp;lt;/math&amp;gt;, as defined in the previous section.  These are computed and returned at different points in time, based on the number of intervals selected by the user.  Additionally, this window shows &amp;lt;math&amp;gt;(1-A(t))\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;(1-R(t))\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{Labor Cost(t)}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\text{Part Cost(t)}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Cost(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Mean\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;A(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Mean\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;A({{t}_{i}}-{{t}_{i-1}})\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;System\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Failures(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{System Off Events by Trigger(t)}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Throughput(t)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.10.png|center|750px|link=]]&lt;br /&gt;
The number of intervals shown is based on the increments set. In this figure, the number of increments set was 300, which implies that the results should be shown every hour. The results shown in this figure are for 10 increments, or shown every 30 hours.&lt;br /&gt;
&lt;br /&gt;
=Results by Component=&lt;br /&gt;
Simulation results for each component can also be viewed.  The figure below shows the results for component A.  These results are explained in the sections that follow.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.11.gif|center|600px|The Block Details results for component A.|link=]]&lt;br /&gt;
&lt;br /&gt;
===General Information===&lt;br /&gt;
====Number of Block Downing Events, &amp;lt;math&amp;gt;Componen{{t}_{NDE}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This the number of times the component went down (failed).  It includes all downing events.&lt;br /&gt;
&lt;br /&gt;
====Number of System Downing Events, &amp;lt;math&amp;gt;Componen{{t}_{NSDE}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the number of times that this component&#039;s downing caused the system to be down.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 2.038.  Note that this value is the same in this case as the number of component failures, since the component A is reliability-wise in series with components D and components B, C.  If this were not the case (e.g., if they were in a parallel configuration, like B and C), this value would be different.&lt;br /&gt;
&lt;br /&gt;
====Number of Failures, &amp;lt;math&amp;gt;Componen{{t}_{NF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the number of times the component failed and does not include other downing events.  Note that this could also be interpreted as the number of spare parts required for CM actions for this component.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 2.038.&lt;br /&gt;
&lt;br /&gt;
====Number of System Downing Failures, &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of times that this component&#039;s failure caused the system to be down.  Note that this may be different from the Number of System Downing Events.  It only counts the failure events that downed the system and does not include zero duration system failures.&lt;br /&gt;
&lt;br /&gt;
====Number of OFF events by Trigger, &amp;lt;math&amp;gt;Componen{{t}_{OFF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
The total number of events where the block is turned off by state change triggers. An OFF event is not a failure but it may be included in system reliability calculations.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (All Events), &amp;lt;math&amp;gt;{{\overline{A}}_{AL{{L}_{Component}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This has the same definition as for the system with the exception that this accounts only for the component.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (w/o PM, OC &amp;amp; Inspection), &amp;lt;math&amp;gt;{{\overline{A}}_{C{{M}_{Component}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
The mean availability of all downing events for the block, not including preventive, on condition or inspection tasks, during the simulation.&lt;br /&gt;
&lt;br /&gt;
====Block Uptime, &amp;lt;math&amp;gt;{{T}_{Componen{{t}_{UP}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is tThe total amount of time that the block was up (i.e., operational) during the simulation.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 279.8212.&lt;br /&gt;
&lt;br /&gt;
====Block Downtime, &amp;lt;math&amp;gt;{{T}_{Componen{{t}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the component was down for any reason.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 20.1788.&lt;br /&gt;
&lt;br /&gt;
Block Downtime shows the total amount of time that the block was down (i.e., not operational) during the simulation.&lt;br /&gt;
&lt;br /&gt;
===Metrics===&lt;br /&gt;
====RS DECI====&lt;br /&gt;
&lt;br /&gt;
The ReliaSoft Downing Event Criticality Index for the block. This is a relative index showing the percentage of times that a downing event of the block caused the system to go down (i.e., the number of system downing events caused by the block divided by the total number of system downing events).  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 63.93%.  This implies that 63.93% of the times that the system went down, the system failure was due to the fact that component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; went down.  This is obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
RSDECI=\frac{Componen{{t}_{NSDE}}}{{{N}_{AL{{L}_{Down}}}}} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mean Time Between Downing Events====&lt;br /&gt;
This is the mean time between downing events of the component, which is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTBDE=\frac{{{T}_{Componen{{t}_{UP}}}}}{Componen{{t}_{NDE}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 137.3019.&lt;br /&gt;
&lt;br /&gt;
====RS FCI====&lt;br /&gt;
ReliaSoft&#039;s Failure Criticality Index (RS FCI) is a relative index showing the percentage of times that a failure of this component caused a system failure.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 63.93%.  This implies that 63.93% of the times that the system failed, it was due to the fact that component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; failed.  This is obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
RSFCI=\frac{Componen{{t}_{NSDF}}+{{F}_{ZD}}}{{{N}_{F}}} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{F}_{ZD}}\,\!&amp;lt;/math&amp;gt; is a special counter of system failures not included in &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt;.  This counter is not explicitly shown in the results but is maintained by the software.  The reason for this counter is the fact that zero duration failures are not counted in &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt; since they really did not down the system.  However, these zero duration failures need to be included when computing RS FCI.&lt;br /&gt;
&lt;br /&gt;
It is important to note that for both RS DECI and RS FCI, and if overlapping events are present, the component that caused the system event gets credited with the system event.  Subsequent component events that do not bring the system down (since the system is already down) do not get counted in this metric.&lt;br /&gt;
&lt;br /&gt;
====MTBF, &amp;lt;math&amp;gt;MTB{{F}_{C}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Mean time between failures is the mean (average) time between failures of this component, in real clock time.  This is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTB{{F}_{C}}=\frac{{{T}_{S}}-CFDowntime}{Componen{{t}_{NF}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;CFDowntime\,\!&amp;lt;/math&amp;gt; is the downtime of the component due to failures only (without PM, OC and inspection).  The discussion regarding what is a failure downtime that was presented in the section explaining Mean Availability (w/o PM &amp;amp; Inspection) also applies here.&lt;br /&gt;
For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 137.3019.  Note that this value could fluctuate for the same component depending on the simulation end time.  As an example, consider the deterministic scenario for this component.  It fails every 100 hours and takes 10 hours to repair.  Thus, it would be failed at 100, repaired by 110, failed at 210 and repaired by 220.  Therefore, its uptime is 280 with two failure events, MTBF = 280/2 = 140.  Repeating the same scenario with an end time of 330 would yield failures at 100, 210 and 320.  Thus, the uptime would be 300 with three failures, or MTBF = 300/3 = 100.  Note that this is not the same as the MTTF (mean time to failure), commonly referred to as MTBF by many practitioners.  &lt;br /&gt;
&lt;br /&gt;
====Mean Downtime per Event, &amp;lt;math&amp;gt;MDPE\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
Mean downtime per event is the average downtime for a component event.  This is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MDPE=\frac{{{T}_{Componen{{t}_{Down}}}}}{Componen{{t}_{NDE}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====RS DTCI====&lt;br /&gt;
The ReliaSoft Downtime Criticality Index for the block. This is a relative index showing the contribution of the block to the system’s downtime (i.e., the system downtime caused by the block divided by the total system downtime).&lt;br /&gt;
&lt;br /&gt;
====RS BCCI====&lt;br /&gt;
The ReliaSoft Block Cost Criticality Index for the block. This is a relative index showing the contribution of the block to the total costs (i.e., the total block costs divided by the total costs).&lt;br /&gt;
&lt;br /&gt;
====Non-Waiting Time CI====&lt;br /&gt;
A relative index showing the contribution of repair times to the block’s total downtime. (The ratio of the time that the crew is actively working on the item to the total down time). &lt;br /&gt;
&lt;br /&gt;
====Total Waiting Time CI====&lt;br /&gt;
A relative index showing the contribution of wait factor times to the block’s total downtime. Wait factors include crew conflict times, crew wait times and spare part wait times. (The ratio of downtime not including active repair time). &lt;br /&gt;
&lt;br /&gt;
====Waiting for Opportunity/Maximum Wait Time Ratio====&lt;br /&gt;
A relative index showing the contribution of crew conflict times. This is the ratio of the time spent waiting for the crew to respond (not including crew logistic delays) to the total wait time (not including the active repair time). &lt;br /&gt;
&lt;br /&gt;
====Crew/Part Wait Ratio====&lt;br /&gt;
The ratio of the crew and part delays. A value of 100% means that both waits are equal. A value greater than 100% indicates that the crew delay was in excess of the part delay. For example, a value of 200% would indicate that the wait for the crew is two times greater than the wait for the part.&lt;br /&gt;
&lt;br /&gt;
====Part/Crew Wait Ratio====&lt;br /&gt;
The ratio of the part and crew delays. A value of 100% means that both waits are equal. A value greater than 100% indicates that the part delay was in excess of the crew delay. For example, a value of 200% would indicate that the wait for the part is two times greater than the wait for the crew.&lt;br /&gt;
&lt;br /&gt;
===Downtime Summary===&lt;br /&gt;
====Non-Waiting Time====&lt;br /&gt;
Time that the block was undergoing active maintenance/inspection by a crew. If no crew is defined, then this will return zero.&lt;br /&gt;
&lt;br /&gt;
====Waiting for Opportunity====&lt;br /&gt;
The total downtime for the block due to crew conflicts (i.e., time spent waiting for a crew while the crew is busy with another task). If no crew is defined, then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Waiting for Crew====&lt;br /&gt;
The total downtime for the block due to crew wait times (i.e., time spent waiting for a crew due to logistical delay). If no crew is defined, then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Waiting for Parts====&lt;br /&gt;
The total downtime for the block due to spare part wait times. If no spare part pool is defined then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Other Results of Interest====&lt;br /&gt;
The remaining component (block) results are similar to those defined for the system with the exception that now they apply only to the component.&lt;br /&gt;
&lt;br /&gt;
=Imperfect Repairs= &amp;lt;!-- THIS SECTION HEADER IS LINKED TO: http://help.synthesis8.com/rcm8/tasks.htm. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK. --&amp;gt;&lt;br /&gt;
{{:Imperfect Repairs}}&lt;br /&gt;
&lt;br /&gt;
=Using Resources: Pools and Crews=&lt;br /&gt;
In order to make the analysis more realistic, one may wish to consider additional sources of delay times in the analysis or study the effect of limited resources.  In the prior examples, we used a repair distribution to identify how long it takes to restore a component.  The factors that one chooses to consider in this time may include the time it takes to do the repair and/or the time it takes to get a crew, a spare part, etc.  While all of these factors may be included in the repair duration, optimized usage of these resources can only be achieved if the resources are studied individually and their dependencies are identified.&lt;br /&gt;
&lt;br /&gt;
As an example, consider the situation where two components in parallel fail at the same time and only a single repair person is available.  Because this person would not be able to execute the repair on both components simultaneously, an additional delay will be encountered that also needs to be included in the modeling.  One way to accomplish this is to assign a specific repair crew to each component.&lt;br /&gt;
&lt;br /&gt;
===Including Crews===&lt;br /&gt;
&lt;br /&gt;
BlockSim allows you to assign maintenance crews to each component and one or more crews may be assigned to each component from the Maintenance Task Properties window.  Note that there may be different crews for each action, (i.e., corrective, preventive, on condition and inspection).&lt;br /&gt;
&lt;br /&gt;
A crew record needs to be defined for each named crew, as shown in the picture below. The basic properties for each crew include factors such as:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Logistic delays.  How long does it take for the crew to arrive?&lt;br /&gt;
* Is there a limit to the number of tasks this crew can perform at the same time? If yes, how many simultaneous tasks can the crew perform?&lt;br /&gt;
* What is the cost per hour for the crew?&lt;br /&gt;
* What is the cost per incident for the crew?&lt;br /&gt;
&lt;br /&gt;
[[Image:8.16.png|center|518px|link=]]&lt;br /&gt;
&lt;br /&gt;
===Illustrating Crew Use===&lt;br /&gt;
To illustrate the use of crews in BlockSim, consider the deterministic scenario described by the following RBD and properties.&lt;br /&gt;
&lt;br /&gt;
[[Image:r12.png|center|350px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Unit&lt;br /&gt;
! Failure&lt;br /&gt;
! Repair&lt;br /&gt;
! Crew&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;100\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;120\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;140\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;160\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.17.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
As shown in the figure above, the System Up/Down plot illustrates the sequence of events, which are:&lt;br /&gt;
&lt;br /&gt;
::#At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  It takes 20 to get the crew and 10 to repair, thus the component is repaired by 130.  The system is failed/down during this time.  &lt;br /&gt;
::#At 150, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails since it would have accumulated an operating age of 120 by this time.  It again has to wait for the crew and is repaired by 190.  &lt;br /&gt;
::#At 170, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails.  Upon this failure, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; requests the only available crew.  However, this crew is currently engaged by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and, since the crew can only perform one task at a time, it cannot respond immediately to the request by &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;.  Thus, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; will remain failed until the crew becomes available.  The crew will finish with unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; at 190 and will then be dispatched to &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;.  Upon dispatch, the logistic delay will again be considered and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; will be repaired by 230.  The system continues to operate until the failures of &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; overlap (i.e., the system is down from 170 to 190)&lt;br /&gt;
::#At 210, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails.  It again has to wait for the crew and repair.&lt;br /&gt;
::#&amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; is up at 260.&lt;br /&gt;
The following figure shows an example of some of the possible crew results (details), which are presented next.  &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.18.png|thumb|center|500px|Crew results shown in the BlockSim&#039;s Simulation Results Explorer.|link=]]&lt;br /&gt;
&lt;br /&gt;
====Explanation of the Crew Details====&lt;br /&gt;
::#Each request made to a crew is logged.  &lt;br /&gt;
::#If a request is successful (i.e., the crew is available), the call is logged once in the Calls Received counter and once in the Accepted Calls counter.  &lt;br /&gt;
::#If a request is not accepted (i.e., the crew is busy), the call is logged once in the Calls Received counter and once in the Rejected Calls counter.  When the crew is free and can be called upon again, the call is logged once in the Calls Received counter and once in the Accepted Calls counter.&lt;br /&gt;
::#In this scenario, there were two instances when the crew was not available, Rejected Calls = 2, and there were four instances when the crew performed an action, Calls Accepted = 4, for a total of six calls, Calls Received = 6.&lt;br /&gt;
::#Percent Accepted and Percent Rejected are the ratios of calls accepted and calls rejected with respect to the total calls received.&lt;br /&gt;
::#Total Utilization is the total time that the crew was used.  It includes both the time required to complete the repair action and the logistic time.  In this case, this is 140, or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   {{T}_{{{R}_{A}}}}= &amp;amp; 10,{{T}_{{{L}_{A}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{B}}}}= &amp;amp; 20,{{T}_{{{L}_{B}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{C}}}}= &amp;amp; 20,{{T}_{{{L}_{C}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{D}}}}= &amp;amp; 10,{{T}_{{{L}_{D}}}}=20 \\ &lt;br /&gt;
	  {{T}_{U}}= &amp;amp; \left( {{T}_{{{R}_{A}}}}+{{T}_{{{L}_{A}}}} \right)+\left( {{T}_{{{R}_{B}}}}+{{T}_{{{L}_{B}}}} \right) \\ &lt;br /&gt;
	   &amp;amp; +\left( {{T}_{{{R}_{C}}}}+{{T}_{{{L}_{C}}}} \right)+\left( {{T}_{{{R}_{D}}}}+{{T}_{{{L}_{D}}}} \right) \\ &lt;br /&gt;
	  {{T}_{U}}= &amp;amp; 140  &lt;br /&gt;
	\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::6.  Average Call Duration is the average duration of each crew usage, and it also includes both logistic and repair time.  It is the total usage divided by the number of accepted calls.  In this case, this is 35.&lt;br /&gt;
:::7.  Total Wait Time is the time that blocks in need of a repair waited for this crew.  In this case, it is 40 ( &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; both waited 20 each).  &lt;br /&gt;
:::8.  Total Crew Costs are the total costs for this crew.  It includes the per incident charge as well as the per unit time costs.  In this case, this is 180.  There were four incidents at 10 each for a total of 40, as well as 140 time units of usage at 1 cost unit per time unit.&lt;br /&gt;
:::9.  Average Cost per Call is the total cost divided by the number of accepted calls.  In this case, this is 45.&lt;br /&gt;
&lt;br /&gt;
Note that crew costs that are attributed to individual blocks can be obtained from the Blocks reports, as shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.19.png|thumb|center|650px|Allocation of crew costs.|link=]]&lt;br /&gt;
&lt;br /&gt;
====How BlockSim Handles Crews====&lt;br /&gt;
::#Crew logistic time is added to each repair time.  &lt;br /&gt;
::#The logistic time is always present, and the same, regardless of where the crew was called from (i.e., whether the crew was at another job or idle at the time of the request).&lt;br /&gt;
::#For any given simulation, each crew&#039;s logistic time is constant (taken from the distribution) across that single simulation run regardless of the task  (CM, PM or inspection).&lt;br /&gt;
::#A crew can perform either a finite number of simultaneous tasks or an infinite number.  &lt;br /&gt;
::#If the finite limit of tasks is reached, the crew will not respond to any additional request until the number of tasks the crew is performing is less than its finite limit.&lt;br /&gt;
::#If a crew is not available to respond, the component will &amp;quot;wait&amp;quot; until a crew becomes available.&lt;br /&gt;
::#BlockSim maintains the queue of rejected calls and will dispatch the crew to the next repair on a &amp;quot;first come, first served&amp;quot; basis.&lt;br /&gt;
::#Multiple crews can be assigned to a single block (see overview in the next section).&lt;br /&gt;
::#If no crew has been assigned for a block, it is assumed that no crew restrictions exist and a default crew is used.  The default crew can perform an infinite number of simultaneous tasks and has no delays or costs.&lt;br /&gt;
&lt;br /&gt;
====Looking at Multiple Crews====&lt;br /&gt;
Multiple crews may be available to perform maintenance for a particular component.  When multiple crews have been assigned to a block in BlockSim, the crews are assigned to perform maintenance based on their order in the crew list, as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r23.png||thumb|center|500px|A single component with two corrective maintenance crews assigned to it.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the case where more than one crew is assigned to a block, and if the first crew is unavailable, then the next crew is called upon and so forth.  As an example, consider the prior case but with the following modifications (i.e.,  Crews &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are assigned to all blocks):&lt;br /&gt;
&lt;br /&gt;
[[Image:r8.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Unit&lt;br /&gt;
! Failure&lt;br /&gt;
! Repair&lt;br /&gt;
! Crew&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;100\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;120\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;140\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;160\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; ; Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ; Delay = 30, Single Task&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system would behave as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r13.png|center|550px|link=]]&lt;br /&gt;
 &lt;br /&gt;
In this case, Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; was used for the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; repair since Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was busy.  On all others, Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was used.  It is very important to note that once a crew has been assigned to a task it will complete the task.  For example, if we were to change the delay time for Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; to 100, the system behavior would be as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r14.png|center|550px|System up/down plot with the delay time for Crew B changed to 100.|link=]]&lt;br /&gt;
&lt;br /&gt;
In other words, even though Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would have finished the repair on &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; more quickly if it had been available when originally called, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; was assigned the task because &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was not available at the instant that the crew was needed.&lt;br /&gt;
&lt;br /&gt;
===Additional Rules on Crews===&lt;br /&gt;
&lt;br /&gt;
::1.  If all assigned crews are engaged, the next crew that will be chosen is the crew that can get there first.  &lt;br /&gt;
:::a)	This accounts for the time it would take a particular crew to complete its current task (or all tasks in its queue) and its logistic time.&lt;br /&gt;
::2.  If a crew is available, it gets used regardless of what its logistic delay time is.  &lt;br /&gt;
:::a)	In other words, if a crew with a shorter logistic time is busy, but almost done, and another crew with a much higher logistic time is currently free, the free one will get assigned to the task.&lt;br /&gt;
::3.  For each simulation each crew&#039;s logistic time is computed (taken randomly from its distribution or its fixed time) at the beginning of the simulation and remains constant across that one simulation for all actions (CM, PM and inspection).&lt;br /&gt;
&lt;br /&gt;
===Using Spare Part Pools===&lt;br /&gt;
&lt;br /&gt;
BlockSim also allows you to specify spare part pools (or depots). Spare part pools allow you to model and manage spare part inventory and study the effects associated with limited inventories.  Each component can have a spare part pool associated with it. If a spare part pool has not been defined for a block, BlockSim&#039;s analysis assumes a default pool of infinite spare parts. To speed up the simulation, no details on pool actions are kept during the simulation if the default pool is used.&lt;br /&gt;
&lt;br /&gt;
Pools allow you to define multiple aspects of the spare part process, including stock levels, logistic delays and restock options. Every time a part is repaired under a CM or scheduled action (PM, OC and Inspection), a spare part is obtained from the pool. If a part is available in the pool, it is then used for the repair.  Spare part pools perform their actions based on the simulation clock time.  &lt;br /&gt;
  &lt;br /&gt;
====Spare Properties====&lt;br /&gt;
&lt;br /&gt;
A spare part pool is identified by a name.  The general properties of the pool are its stock level (must be greater than zero), cost properties and logistic delay time.  If a part is available (in stock), the pool will dispense that part to the requesting block after the specified logistic time has elapsed.  One needs to think of a pool as an independent entity.  It accepts requests for parts from blocks and dispenses them to the requesting blocks after a given logistic time.  Requests for spares are handled on a first come, first served basis.  In other words, if two blocks request a part and only one part is in stock, the first block that made the request will receive the part.  Blocks request parts from the pool immediately upon the initiation of a CM or scheduled event (PM, OC and Inspection).&lt;br /&gt;
&lt;br /&gt;
====Restocking the Pool====&lt;br /&gt;
&lt;br /&gt;
If the pool has a finite number of spares, restock actions may be incorporated. The figure below shows the restock properties. Specifically, a pool can restock itself either through a scheduled restock action or based on specified conditions.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.24.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
A scheduled restock action adds a set number of parts to the pool on a predefined scheduled part arrival time. For the settings in the figure above, one spare part would be added to the pool every 100 hours, based on the system (simulation) time. In other words, for a simulation of 1,000 hours, a spare part would arrive at 100 hours, 200 hours, etc.  The part is available to the pool immediately after the restock action and without any logistic delays.  &lt;br /&gt;
&lt;br /&gt;
In an on-condition restock, a restock action is initiated when the stock level reaches (or is below) a specified value.  In figure above, five parts are ordered when the stock level reaches 0.  Note that unlike the scheduled restock, parts added through on-condition restock become available after a specified logistic delay time.  In other words, when doing a scheduled restock, the parts are pre-ordered and arrive when needed.  Whereas in the on-condition restock, the parts are ordered when the condition occurs and thus arrive after a specified time.  For on-condition restocks, the condition is triggered if and only if the stock level drops to or below the specified stock level, regardless of how the spares arrived to the pool or were distributed by the pool.  In addition, the restock trigger value must be less than the initial stock.&lt;br /&gt;
&lt;br /&gt;
Lastly, a maximum capacity can be assigned to the pool.  If the maximum capacity is reached, no more restock actions are performed.  This maximum capacity must be equal to or greater than the initial stock.  When this limit is reached, no more items are added to the pool.  For example, if the pool has a maximum capacity of ten and a current stock level of eight and if a restock action is set to add five items to the pool, then only two will be accepted.&lt;br /&gt;
&lt;br /&gt;
====Obtaining Emergency Spares====&lt;br /&gt;
&lt;br /&gt;
Emergency restock actions can also be defined.  The figure below illustrates BlockSim&#039;s Emergency Spare Provisions options.  An emergency action is triggered only when a block requests a spare and the part is not currently in stock.  This is the only trigger condition.  It does not account for whether a part has been ordered or if one is scheduled to arrive.  Emergency spares are ordered when the condition is triggered and arrive after a time equal to the required time to obtain emergency spare(s).&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.25.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
===Summary of Rules for Spare Part Pools===&lt;br /&gt;
&lt;br /&gt;
The following rules summarize some of the logic when dealing with spare part pools.  &lt;br /&gt;
&lt;br /&gt;
====Basic Logic Rules====&lt;br /&gt;
&lt;br /&gt;
::1.  &#039;&#039;&#039;Queue Based&#039;&#039;&#039;: Requests for spare parts from blocks are queued and executed on a &amp;quot;first come, first served&amp;quot; basis.&lt;br /&gt;
::2.  &#039;&#039;&#039;Emergency&#039;&#039;&#039;: Emergency restock actions are performed only when a part is not available.&lt;br /&gt;
::3.  &#039;&#039;&#039;Scheduled Restocks&#039;&#039;&#039;: Scheduled restocks are added instantaneously to the pool at the scheduled time.&lt;br /&gt;
::4.  &#039;&#039;&#039;On-Condition Restock&#039;&#039;&#039;: On-condition restock happens when the specified condition is reached (e.g., when the stock drops to two or if a request is received for a part and the stock is below the restock level).&lt;br /&gt;
:::a)	For example, if a pool has three items in stock and it dispenses one, an on-condition restock is initiated the instant that the request is received (without regard to the logistic delay time).  The restocked items will be available after the required time for stock arrival has elapsed.&lt;br /&gt;
:::b)	The way that this is defined allows for the possibility of multiple restocks.  Specifically, every time a part needs to be dispensed and the stock is lower than the specified quantity, parts are ordered.  In the case of a long logistic delay time, it is possible to have multiple re-orders in the queue.&lt;br /&gt;
::5.  &#039;&#039;&#039;Parts Become Available after Spare Acquisition Logistic Delay&#039;&#039;&#039;:  If there is a spare acquisition logistic time delay,  the requesting block will get the part after that delay.  &lt;br /&gt;
:::a)	For example, if a block with a repair duration of 10 fails at 100 and requests a part from a pool with a logistic delay time of 10, that block will not be up until 120.&lt;br /&gt;
::6.  &#039;&#039;&#039;Compound Delays&#039;&#039;&#039;: If a part is not available and an emergency part (or another part) can be obtained, then the total wait time for the part is the sum of both the logistic time and the required time to obtain a spare.&lt;br /&gt;
::7.  &#039;&#039;&#039;First Available Part is Dispensed to the First Block in the Queue&#039;&#039;&#039;: The pool will dispense a requested part if it has one in stock or when it becomes available, regardless of what action (i.e., as needed restock or emergency restock) that request may have initiated.  &lt;br /&gt;
:::a)	For example, if Block A requests a part from a pool and that triggers an emergency restock action, but a part arrives before the emergency restock through another action (e.g., scheduled restock), then the pool will dispense the newly arrived part to Block A (if Block A is next in the queue to receive a part).&lt;br /&gt;
::8.  &#039;&#039;&#039;Blocks that Trigger an Action Get Charged with the Action&#039;&#039;&#039;: A block that triggers an emergency restock is charged for the additional cost to obtain the emergency part, even if it does not use an emergency part (i.e., even if another part becomes available first).&lt;br /&gt;
::9.	&#039;&#039;&#039;Triggered Action Cannot be Canceled.&#039;&#039;&#039;  If a block triggers a restock action but then receives a part from another source, the action that the block triggered is not canceled.&lt;br /&gt;
:::a)	For example, if Block A initiates an emergency restock action but was then able to use a part that became available through other actions, the emergency request is not canceled and an emergency spare part will be added to the pool&#039;s stock level.  &lt;br /&gt;
:::b)	Another way to explain this is by looking at the part acquisition logistic times as transit times.  Because an ordered part is en-route to you after you order it, you will receive it regardless of whether the conditions have changed and you no longer need it.&lt;br /&gt;
&lt;br /&gt;
===Simultaneous Dispatch of Crews and Parts Logic===&lt;br /&gt;
&lt;br /&gt;
Some special rules apply when a block has both logistic delays in acquiring parts from a pool and when waiting for crews.  BlockSim dispatches requests for crews and spare parts simultaneously.  The repair action does not start until both crew and part arrive, as shown next.&lt;br /&gt;
&lt;br /&gt;
[[Image:r18.png|center|400px|link=]]&lt;br /&gt;
 &lt;br /&gt;
If a crew arrives and it has to wait for a part, then this time (and cost) is added to the crew usage time.&lt;br /&gt;
&lt;br /&gt;
===Example Using Both Crews and Pools===&lt;br /&gt;
&lt;br /&gt;
Consider the following example, using both crews and pools.&lt;br /&gt;
&lt;br /&gt;
[[Image:r19.png|center|300px|link=]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
[[Image:r20.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
And the crews are:&lt;br /&gt;
&lt;br /&gt;
[[Image:r21.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
While the spare pool is: &lt;br /&gt;
&lt;br /&gt;
[[Image:r22.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
The behavior of this system from 0 to 300 is shown graphically in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.26.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
The discrete system events during that time are as follows:&lt;br /&gt;
&lt;br /&gt;
::1.	Component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;  fails at 100 and Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is engaged.  &lt;br /&gt;
&lt;br /&gt;
:::a)	At 110, Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives and completes the repair by 120.  &lt;br /&gt;
:::b)	This repair uses the only spare part in inventory and triggers an on-condition restock.  A part is ordered and is scheduled to arrive at 160.&lt;br /&gt;
:::c)	A scheduled restock part is also set to arrive at 150.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 150, 160].&lt;br /&gt;
::2.	Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails at 121.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is available and it is engaged.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives by 131 but no part is available.  &lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part was ordered and is scheduled to arrive at 181.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 150, 160, 181].&lt;br /&gt;
:::d)	At 150, the first part arrives and is used by Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::e)	Repair on Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is completed 20 time units later, at 170.&lt;br /&gt;
:::f)	Pool [on-hand=0, pending: 160, 181].&lt;br /&gt;
::3.	Component &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails at 122.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is already engaged by Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, thus Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is engaged.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; arrives at 137 but no part is available.&lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 182.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 160, 181,182].&lt;br /&gt;
:::d)	At 160, the part arrives and Component &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is repaired by 180.  &lt;br /&gt;
:::e)	Pool [on-hand = 0, pending: 181,182].&lt;br /&gt;
::4.	Component &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; fails at 123.  No crews are available until 170 when Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; becomes available.&lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives by 180 and has to wait for a part.&lt;br /&gt;
:::b)	The failure found the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 183.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181,182, 183].&lt;br /&gt;
:::d)	At 181, a part is obtained.&lt;br /&gt;
:::e)	By 201, the repair is completed.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 182, 183]&lt;br /&gt;
::5.	Component &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails at 171 with no crew available.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; becomes available at 180 and arrives by 195.  &lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 231.&lt;br /&gt;
:::c)	The next part becomes available at 182 and the repair is completed by 205.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 183, 231]&lt;br /&gt;
::6.	End time is at 300.  The last scheduled part arrives at the pool at 300.&lt;br /&gt;
&lt;br /&gt;
=Using Maintenance Tasks=&lt;br /&gt;
One of the most important benefits of simulation is the ability to define how and when actions are performed.  In our case, the actions of interest are part repairs/replacements.  This is accomplished in BlockSim through the use of maintenance tasks.  Specifically, four different types of tasks can be defined for maintenance actions: corrective maintenance, preventive maintenance, on condition maintenance and inspection.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Corrective Maintenance Tasks===&lt;br /&gt;
A corrective maintenance task defines when a corrective maintenance (CM) action is performed. The figure below shows a corrective maintenance task assigned to a block in BlockSim. Corrective actions will be performed either immediately upon failure of the item or upon finding that the item has failed (for hidden failures that are not detected until an inspection).  BlockSim allows the selection of either category.  &lt;br /&gt;
*&#039;&#039;&#039;Upon item failure&#039;&#039;&#039;: The CM action is initiated immediately upon failure.  If the user doesn&#039;t specify the choice for a CM, then this is the default option.  All prior examples were based on the instruction to perform a CM upon failure.  &lt;br /&gt;
*&#039;&#039;&#039;When found failed during an Inspection&#039;&#039;&#039;: The CM action will only be initiated after an inspection is done on the failed component. How and when the inspections are performed is defined by the block&#039;s inspection properties. This has the effect of defining a dependency between the corrective maintenance task and the inspection task.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:r23.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{{Examples Box|BlockSim Examples|&amp;lt;p&amp;gt;More application examples are available! See also:&amp;lt;/p&amp;gt; {{Examples Link|BlockSim_Example:_CM_Triggered_by_Subsystem_Down|CM Triggered by Subsystem Down}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Scheduled Tasks===&lt;br /&gt;
Scheduled tasks can be performed on a known schedule, which can be based on any of the following:&lt;br /&gt;
* A time interval, either fixed or dynamic, based on the item&#039;s age (item clock) or on calendar time (system clock). See [[#Item and System Ages|Item and System Ages]].&lt;br /&gt;
* The occurrence of certain events, including:&lt;br /&gt;
**The system goes down. &lt;br /&gt;
**Certain events happen in a maintenance group. The events and groups are user-specified, and the item that the task is assigned to does not need to be part of the selected maintenance group(s).&lt;br /&gt;
&lt;br /&gt;
The types of scheduled tasks include:&lt;br /&gt;
*Inspection tasks&lt;br /&gt;
*Preventive maintenance tasks&lt;br /&gt;
*On condition tasks&lt;br /&gt;
&lt;br /&gt;
====Item and System Ages====&lt;br /&gt;
It is important to keep in mind that the system and each component of the system maintain separate clocks within the simulation. When setting intervals to perform a scheduled task, the intervals can be based on either type of clock. Specifically:&lt;br /&gt;
*Item age refers to the accumulated age of the block, which gets adjusted each time the block is repaired (i.e., restored). If the block is repaired at least once during the simulation, this will be different from the elapsed simulation time. For example, if the restoration factor is 1 (i.e., “as good as new”) and the assigned interval is 100 days based on item age, then the task will be scheduled to be performed for the first time at 100 days of elapsed simulation time. However, if the block fails at 85 days and it takes 5 days to complete the repair, then the block will be fully restored at 90 days and its accumulated age will be reset to 0 at that point. Therefore, if another failure does not occur in the meantime, the task will be performed for the first time 100 days later at 190 days of elapsed simulation time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Updown_item_age.png|center|450px|link=]]&lt;br /&gt;
&lt;br /&gt;
*Calendar time refers to the elapsed simulation time. If the assigned interval is 100 days based on calendar time, then the task will be performed for the first time at 100 days of elapsed simulation time, for the second time at 200 days of elapsed simulation time and so on, regardless of whether the block fails and gets repaired correctively between those times.&lt;br /&gt;
&lt;br /&gt;
[[Image:Updown_system_age.png|center|450px|link=]]&lt;br /&gt;
&lt;br /&gt;
====Inspection Tasks====&lt;br /&gt;
Like all scheduled tasks, inspections can be performed based on a time interval or upon certain events.  Inspections can be specified to bring the item or system down or not.&lt;br /&gt;
&lt;br /&gt;
====Preventive Maintenance Tasks====&lt;br /&gt;
The figure below shows the options available in a preventive maintenance (PM) task within BlockSim.  PMs can be performed based on a time interval or upon certain events.  Because PM tasks always bring the item down, one can also specify whether preventive maintenance will be performed if the task brings the system down.&lt;br /&gt;
&lt;br /&gt;
[[Image:r25.png|center|556px|link=]]&lt;br /&gt;
&lt;br /&gt;
====On Condition Tasks====&lt;br /&gt;
On condition maintenance relies on the capability to detect failures before they happen so that preventive maintenance can be initiated. If, during an inspection, maintenance personnel can find evidence that the equipment is approaching the end of its life, then it may be possible to delay the failure, prevent it from happening or replace the equipment at the earliest convenience rather then allowing the failure to occur and possibly cause severe consequences. In BlockSim, on condition tasks consist of an inspection task that triggers a preventive task when an impending failure is detected during inspection. &lt;br /&gt;
=====Failure Detection=====&lt;br /&gt;
Inspection tasks can be used to check for indications of an approaching failure.  BlockSim models such indications of when an approaching failure will become detectable upon inspection using Failure Detection Threshold and P-F Interval.  Failure detection threshold allows the user to enter a number between 0 and 1 indicating the percentage of an item&#039;s life that must elapse before an approaching failure can be detected.  For instance, if the failure detection threshold value is set as 0.8 then this means that the failure of a component can be detected only during the last 20% of its life.  If an inspection occurs during this time, an approaching failure is detected and the inspection triggers a preventive maintenance task to take the necessary precautions to delay the failure by either repairing or replacing the component.&lt;br /&gt;
&lt;br /&gt;
The P-F interval allows the user to enter the amount of time before the failure of a component when the approaching failure can be detected by an inspection.  The P-F interval represents the warning period that spans from P(when a potential failure can be detected) to F(when the failure occurs).  If a P-F interval is set as 200 hours, then the approaching failure of the component can only be detected at 200 hours before the failure of the component.  Thus, if a component has a fixed life of 1,000 hours and the P-F interval is set to 200 hours, then if an inspection occurs at or beyond 800 hours, then the approaching failure of the component that is to occur at 1,000 hours is detected by this inspection and a preventive maintenance task is triggered to take action against this failure.&lt;br /&gt;
&lt;br /&gt;
=====Rules for On Condition Tasks=====&lt;br /&gt;
&lt;br /&gt;
*An inspection that finds a block at or beyond the failure detection threshold or within the range of the P-F interval will trigger the associated preventive task as long as preventive maintenance can be performed on that block.&lt;br /&gt;
&lt;br /&gt;
*If a non-downing inspection triggers a preventive maintenance action because the failure detection threshold or P-F interval range was reached, no other maintenance task will be performed between the inspection and the triggered preventive task; tasks that would otherwise have happened at that time due to system age, system down or group maintenance will be ignored.&lt;br /&gt;
&lt;br /&gt;
*A preventive task that would have been triggered by a non-downing inspection will not happen if the block fails during the inspection, as corrective maintenance will take place instead.&lt;br /&gt;
&lt;br /&gt;
*If a failure will occur within the failure detection threshold or P-F interval set for the inspection, but the preventive task is only supposed to be performed when the system is down, the simulation waits until the requirements of the preventive task are met to perform the preventive maintenance.&lt;br /&gt;
&lt;br /&gt;
*If the on condition inspection triggers the preventive maintenance part of the task, the simulation assumes that the maintenance crew will forego any routine servicing associated with the inspection part of the task. In other words, the restoration will come from the preventive maintenance, so any restoration factor defined for the inspection will be ignored in these circumstances.&lt;br /&gt;
&lt;br /&gt;
=====Example Using P-F Interval=====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the P-F interval in BlockSim, consider a component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; that fails every 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  The corrective maintenance on this equipment takes 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete, while the preventive maintenance takes 50 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete.  Both the corrective and preventive maintenance actions have a type II restoration factor of 1.  Inspection tasks of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration are performed on the component every 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  There is no restoration of the component during the inspections.  The P-F interval for this component is 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The component behavior from 0 to 2000 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; is shown in the figure below and described next.&lt;br /&gt;
&lt;br /&gt;
::#At 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the first scheduled inspection of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs.  At this time the age of the component is 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (which begins at the age of 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; and ends at the age of 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;).  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the second scheduled inspection of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs.  At this time the age of the component is 590 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (no age is accumulated during the first inspection from 300 tu to 310 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; as the component does not operate during this inspection).  Again this inspection does not lie in the P-F interval.  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 720 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the component fails after having accumulated an age of 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  A corrective maintenance task of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs to restore the component to as-good-as-new condition.&lt;br /&gt;
::#At 900 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the third scheduled inspection occurs.  At this time the age of the component is 80 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval (from age 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;).  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 1200 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the fourth scheduled inspection occurs.  At this time the age of the component is 370 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  Again, this inspection does not lie in the P-F interval and no approaching failure is detected.&lt;br /&gt;
::#At 1500 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the fifth scheduled inspection occurs.  At this time the age of the component is 660 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, which lies in the P-F interval.  As a result, an approaching failure is detected and the inspection triggers a preventive maintenance task.  A preventive maintenance task of 50 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs at 1510 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to restore the component to as-good-as-new condition.&lt;br /&gt;
::#At 1800 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the sixth scheduled inspection occurs.  At this time the age of the component is 240 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval (from age 600 tu to 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;) and no approaching failure is detected.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.32.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
====Rules for PMs and Inspections====&lt;br /&gt;
&lt;br /&gt;
All the options available in the Maintenance task window were designed to maximize the modeling flexibility within BlockSim.  However, maximizing the modeling flexibility introduces issues that you need to be aware of and requires you to carefully select options in order to assure that the selections do not contradict one another.  One obvious case would be to define a PM action on a component in series (which will always bring the system down) and then assign a PM policy to the block that has the Do not perform maintenance if the action brings the system down option set.  With these settings, no PMs will ever be performed on the component during the BlockSim simulation.  The following sections summarize some issues and special cases to consider when defining maintenance properties in BlockSim.&lt;br /&gt;
&lt;br /&gt;
::#Inspections do not consume spare parts.  However, an inspection can have a renewal effect on the component if the restoration factor is set to a number other than the default of 0.&lt;br /&gt;
::#On the inspection tab, if Inspection brings system down is selected, this also implies that the inspection brings the item down.&lt;br /&gt;
::#If a PM or an inspection are scheduled based on the item&#039;s age, then they will occur exactly when the item reaches that age.  However, it is important to note that failed items do not age.  Thus, if an item fails before it reaches that age, the action will not be performed.  This means that if the item fails before the scheduled inspection (based on item age) and the CM is set to be performed upon inspection, the CM will never take place.  The reason that this option is allowed in BlockSim is for the flexibility of specifying renewing inspections.&lt;br /&gt;
::#Downtime due to a failure discovered during a non-downing inspection is included when computing results &amp;quot;w/o PM, OC &amp;amp; Inspections.&amp;quot;&lt;br /&gt;
::#If a PM upon item age is scheduled and is not performed because it brings the system down (based on the option in the PM task) the PM will not happen unless the item reaches that age again (after restoration by CM, inspection or another type of PM).&lt;br /&gt;
::#If the CM task is upon inspection and a failed component is scheduled for PM prior to the inspection, the PM action will restore the component and the CM will not take place.&lt;br /&gt;
::#In the case of simultaneous events, only one event is executed (except the case in maintenance phase, in maintenance phase, all simultaneous events in maintenance phase are executed in a order). The following precedence order is used: 1). Tasks based on intervals or upon start of a maintenance phase; 2). Tasks based on events in a maintenance group, where the triggering event applies to a block; 3). Tasks based on system down; 4). Tasked on events in a maintenance group, where the triggering event applies to a subdiagram. Within these categories, order is determined according to the priorities specified in the URD (i.e., the higher the task in on the list, the higher the priority).&lt;br /&gt;
::#The PM option of Do not perform if it brings the system down is only considered at the time that the PM needs to be initiated.  If the system is down at that time, due to another item, then the PM will be performed regardless of any future consequences to the system up state.  In other words, when the other item is fixed, it is possible that the system will remain down due to this PM action.  In this case, the PM time difference is added to the system PM downtime.  &lt;br /&gt;
::#Downing events cannot overlap. If a component is down due to a PM and another PM is suggested based on another trigger, the second call is ignored.&lt;br /&gt;
::#A non-downing inspection with a restoration factor restores the block based on the age of the block at the beginning of the inspection (i.e., duration is not restored). &lt;br /&gt;
::#Non-downing events can overlap with downing events.  If in a non-downing inspection and a downing event happen concurrently, the non-downing event will be managed in parallel with the downing event.&lt;br /&gt;
::#If a failure or PM occurs during a non-downing inspection and the CM or PM has a restoration factor and the inspection action has a restoration factor, then both restoration factors are used (compounded).&lt;br /&gt;
::#A PM or inspection on system down is triggered only if the system was up at the time that the event brought the system down.&lt;br /&gt;
::#A non-downing inspection with restoration factor of 0 does not affect the block.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of maintenance policies in BlockSim we will use the same example from [[Repairable_Systems_Analysis_Through_Simulation#Example_Using_Both_Crews_and_Pools|Example Using Both Crews and Pools]] with the following modifications (The figures below also show these settings): &lt;br /&gt;
&lt;br /&gt;
Blocks A and D: &lt;br /&gt;
#Belong to the same group (Group 1).&lt;br /&gt;
#Corrective maintenance actions are upon inspection (not upon failure) and the inspections are performed every 30 hours, based on system time. Inspections have a duration of 1 hour. Furthermore, unlimited free crews are available to perform the inspections.&lt;br /&gt;
#Whenever either item get CM, the other one gets a PM.&lt;br /&gt;
#The PM has a fixed duration of 10 hours.&lt;br /&gt;
#The same crews are used for both corrective and preventive maintenance actions.&lt;br /&gt;
&lt;br /&gt;
[[Image:r29.png|center|650px| CM and Inspection settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:r29b.png|center|650px| CM and Inspection settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:r30.png|center|650px| PM settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
====System Overview====&lt;br /&gt;
&lt;br /&gt;
The item and system behavior from 0 to 300 hours is shown in the figure below and described next. &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.35.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
::1.  At 100, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; goes down and brings the system down.  &lt;br /&gt;
:::a)	No maintenance action is performed since an upon inspection policy was used.&lt;br /&gt;
:::b)	The next scheduled inspection is at 120, thus Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is called to perform the maintenance by 121 (end of the inspection).&lt;br /&gt;
::2.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives and initiates the repair on &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 131.&lt;br /&gt;
:::a)	The only part in the pool is used and an on-condition restock is triggered.&lt;br /&gt;
:::b)	Pool [on-hand = 0, pending: 150 &amp;lt;math&amp;gt;_{s}\,\!&amp;lt;/math&amp;gt;, 181].&lt;br /&gt;
:::c)	Block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is repaired by 141.&lt;br /&gt;
::3.	At the same time (121), a PM is initiated for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; because the PM task called for &amp;quot;PM upon the start of corrective maintenance on another group item.&amp;quot;&lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is called for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and arrives at 136.&lt;br /&gt;
:::b)	No part is available until 150.  An on-condition restock is triggered for 181.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 150 &amp;lt;math&amp;gt;_{s}\,\!&amp;lt;/math&amp;gt;, 181, 181].&lt;br /&gt;
:::d)	At 150, a part becomes available and the PM is completed by 160.&lt;br /&gt;
:::e)	Pool [on-hand = 0, pending: 181, 181].&lt;br /&gt;
::4.	At 161, block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails (corrective maintenance upon failure).&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; gets Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, which arrives at 171.&lt;br /&gt;
:::b)	No part is available until 181.  An on-condition restock is triggered for 221.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181, 181, 221].&lt;br /&gt;
:::d)	A part arrives at 181.&lt;br /&gt;
:::e)	The repair is completed by 201.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 181, 221].&lt;br /&gt;
::5.	At 162, block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;  fails.&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; gets Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which arrives at 177.&lt;br /&gt;
:::b)	No part is available until 181.  An on-condition restock is triggered for 222.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181, 221, 222].&lt;br /&gt;
:::d)	A part arrives at 181.&lt;br /&gt;
:::e)	The repair is completed by 201.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 221, 222].  &lt;br /&gt;
::6.	At 163, block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; fails and brings the system down.&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; calls Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  Both are busy.&lt;br /&gt;
:::b)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; will be the first available so  ..  calls &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; again and waits.&lt;br /&gt;
:::c)	No part is available until 221.  An on-condition restock is triggered for 223.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 221, 222, 223].&lt;br /&gt;
:::e)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives at 211.&lt;br /&gt;
:::f)	Repair begins at 221.&lt;br /&gt;
:::g)	Repair is completed by 241.&lt;br /&gt;
:::h)	Pool [on-hand = 0, pending: 222, 223].  &lt;br /&gt;
::7.	At 298, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; goes down and brings the system down.&lt;br /&gt;
&lt;br /&gt;
====System Uptimes/Downtimes====&lt;br /&gt;
::1.  Uptime: This is 200 hours.  &lt;br /&gt;
:::a)	This can be obtained by observing the following system up durations: 0 to 100, 160 to 163 and 201 to 298.&lt;br /&gt;
::2.	CM Downtime: This is 58 hours.&lt;br /&gt;
:::a)	Observe that even though the system failed at 100, the CM action (on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; ) was initiated at 121 and lasted until 141, thus only 20 hours of this downtime are attributed to the CM action.&lt;br /&gt;
:::b)	The next CM action started at 163 when block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; failed and lasted until 201 when blocks &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; were restored, thus adding another 38 hours of CM downtime.&lt;br /&gt;
::3.	Inspection Downtime: This is 1 hour. &lt;br /&gt;
:::a)	The only time the system was under inspection was from 120 to 121, during the inspection of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::4.	PM Downtime: This is 19 hours.  &lt;br /&gt;
:::a)	Note that the entire PM action duration on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was from 121 to 160.&lt;br /&gt;
:::b)	Until 141, and from the system perspective, the CM on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was the cause for the downing.  Once block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was restored (at 141), then the reason for the system being down became the PM on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::c)	Thus, the PM on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was only responsible for the downtime after block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was restored, or from 141 to 160.&lt;br /&gt;
::5.	OC Downtime: This is 0. There is not on condition task in this example. &lt;br /&gt;
::6.	Total Downtime:  This is 100 hours. &lt;br /&gt;
:::a)	This includes all of the above downtimes plus the 20 hours (100 to 120) and the 2 hours (298 to 300) that the system was down due the undiscovered failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:R32.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
====System Metrics====&lt;br /&gt;
::1.	Mean Availability (All Events): &lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{300-100}{300}=0.6667\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::2.	Mean Availability (w/o PM &amp;amp; Inspection):&lt;br /&gt;
:::a)	This is due to the CM downtime of 58, the undiscovered downtime of 22 and the inspection downtime of 1, or: &lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{300-(58+22+1)}{300}=0.7333\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:::b)	It should be noted that the inspection downtime was included even though the definition was &amp;quot;w/o PM &amp;amp; Inspection.&amp;quot;  The reason for this is that the inspection did not cause the downtime in this case.  Only downtimes caused by the PM or inspections are excluded.  &lt;br /&gt;
::3. Point Availability and Reliability at 300 is zero because the system was down at 300.&lt;br /&gt;
::4.	Expected Number of Failures is 3.  &lt;br /&gt;
:::a)	The system failed at 100, 163 and 298.&lt;br /&gt;
::5.	The standard deviation of the number of failures is 0.&lt;br /&gt;
::6.	The MTTFF is 100 because the example is deterministic.&lt;br /&gt;
&lt;br /&gt;
====The System Downing Events====&lt;br /&gt;
::1.	Number of Failures is 3.&lt;br /&gt;
:::a)	The first is the failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, the second is the failure of block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the third is the failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::2.	Number of CMs is 2.  &lt;br /&gt;
:::a)	The first is the CM on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the second is the CM on block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::3.	Number of Inspections is 1.&lt;br /&gt;
::4.	Number of PMs is 1.&lt;br /&gt;
::5.	Total Events are 6.  These are events that the downtime can be attributed to.  Specifically, the following events were observed:&lt;br /&gt;
:::a)	The failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 100.  &lt;br /&gt;
:::b)	Inspection on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 120.&lt;br /&gt;
:::c)	The CM action on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::d)	The PM action on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; (after &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was fixed).&lt;br /&gt;
:::e)	The failure of block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; at 163.&lt;br /&gt;
:::f)	The failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 298.&lt;br /&gt;
&lt;br /&gt;
====Block Details====&lt;br /&gt;
The details for blocks &amp;lt;math&amp;gt;A,B,C,D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; are shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r33.png|center|600px| Block details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
We will discuss some of these results.  First note that there are four downing events on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : initial failure, inspection and CM, plus the last failure at 298.  All others have just one.  Also, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; had a total downtime of &amp;lt;math&amp;gt;41+2\,\!&amp;lt;/math&amp;gt;, giving it a mean availability of 0.8567.  The first time-to-failure for block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; occurred at 100 while the second occurred after &amp;lt;math&amp;gt;298-141=157\,\!&amp;lt;/math&amp;gt; hours of operation, yielding an average time between failures (MTBF) of &amp;lt;math&amp;gt;257/2=128.5\,\!&amp;lt;/math&amp;gt;. (Note that this is the same as uptime/failures.)  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; never failed, so its MTBF cannot be determined.  Furthermore,  MTBDE for each item is determined by dividing the block&#039;s uptime by the number of events.  The RS FCI and RS DECI metrics are obtained by looking at the SD Failures and SD Events of the item and the number of system failures and events.  Specifically, the only items that caused system failure are blocks &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 100 and 298 and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; at 163.  It is important to note that even though one could argue that block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; alone did not cause the failure ( &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; were also failed), the downing was attributed to &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; because the system reached a failed state only when block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; failed.  &lt;br /&gt;
&lt;br /&gt;
On the number of inspections, which were scheduled every 30 hours, nine occurred for block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; [30, 60, 90, 120, 150, 180, 210, 240, 270] and eight for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; did not get inspected at 150 because block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was undergoing a PM action at that time.&lt;br /&gt;
&lt;br /&gt;
====Crew Details====&lt;br /&gt;
&lt;br /&gt;
The figure below shows the crew results.&lt;br /&gt;
&lt;br /&gt;
[[Image:r34.png|center|400px| Crew details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; received a total of six calls and accepted three.  Specifically,&lt;br /&gt;
&lt;br /&gt;
::#At 121, the crew was called by block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the call was accepted.&lt;br /&gt;
::#At 121, block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; also called for its PM action and was rejected.  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; then called crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which accepted the call.&lt;br /&gt;
::#At 161, block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; accepted.&lt;br /&gt;
::#At 162, block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; rejected and block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which accepted the call.&lt;br /&gt;
::#At 163, block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and then crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and both rejected.  Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; then waited until a crew became available at 201 and called that crew again.  This was crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, which accepted.&lt;br /&gt;
&lt;br /&gt;
The total wait time is the time that blocks had to wait for the maintenance crew.  Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is the only component that waited, waiting 38 hours for crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also, the costs for crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; were 1 per unit time and 10 per incident, thus the total costs were 100 + 30.  The costs for Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; were 2 per unit time and 20 per incident, thus the total costs were 156 + 40.&lt;br /&gt;
&lt;br /&gt;
====Pool Details====&lt;br /&gt;
The figure below shows the spare part pool results.&lt;br /&gt;
&lt;br /&gt;
[[Image:r35.png|center|300px| Pool details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
The pool started with a stock level of 1 and ended up with 2.  Specifically,&lt;br /&gt;
&lt;br /&gt;
::#At 121, the pool dispensed a part to block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 181.&lt;br /&gt;
::#At 121, it dispensed a part to block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 181.&lt;br /&gt;
::#At 150, a scheduled part arrived to restock the pool.&lt;br /&gt;
::#At 161 the pool dispensed a part to block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 221.&lt;br /&gt;
::#At 181, it dispensed a part to block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 222.&lt;br /&gt;
::#At 221, it dispensed a part to block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 223.&lt;br /&gt;
::#The 222 and 223 arrivals remained in stock until the end of the simulation.&lt;br /&gt;
&lt;br /&gt;
Overall, five parts were dispensed. Blocks had to wait a total of 126 hours to receive parts (B: 181-161=20, C: 181-162=19, D: 150-121=29  and  F: 221-163=58).&lt;br /&gt;
&lt;br /&gt;
=Subdiagrams and Multi Blocks in Simulation=&lt;br /&gt;
&lt;br /&gt;
Any subdiagrams and multi blocks that may be present in the BlockSim RBD are expanded and/or merged into a single diagram before the system is simulated.  As an example, consider the system shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r38.png|center|350px| A system made up of three subsystems, A, B, and C.|link=]]&lt;br /&gt;
&lt;br /&gt;
BlockSim will internally merge the system into a single diagram before the simulation, as shown in the figure below.  This means that all the failure and repair properties of the items in the subdiagrams are also considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:r39.png|center|350px| The simulation engine view of the system and subdiagrams|link=]]&lt;br /&gt;
 &lt;br /&gt;
In the case of multi blocks, the blocks are also fully expanded before simulation.  This means that unlike the analytical solution, the execution speed (and memory requirements) for a multi block representing ten blocks in series is identical to the representation of ten individual blocks in series.&lt;br /&gt;
&lt;br /&gt;
=Containers in Simulation=&lt;br /&gt;
===Standby Containers===&lt;br /&gt;
When you simulate a diagram that contains a standby container, the container acts as the switch mechanism (as shown below) in addition to defining the standby relationships and the number of active units that are required. The container&#039;s failure and repair properties are really that of the switch itself. The switch can fail with a distribution, while waiting to switch or during the switch action. Repair properties restore the switch regardless of how the switch failed. Failure of the switch itself does not bring the container down because the switch is not really needed unless called upon to switch. The container will go down if the units within the container fail or the switch is failed when a switch action is needed. The restoration time for this is based on the repair distributions of the contained units and the switch. Furthermore, the container is down during a switch process that has a delay.  &lt;br /&gt;
&lt;br /&gt;
[[Image:8.43.png|center|500px| The standby container acts as the switch, thus the failure distribution of the container is the failure distribution of the switch. The container can also fail when called upon to switch.|link=]]&lt;br /&gt;
&lt;br /&gt;
[[Image:8_43_1_new.png|center|150px|link=]]&lt;br /&gt;
&lt;br /&gt;
To better illustrate this, consider the following deterministic case.&lt;br /&gt;
&lt;br /&gt;
::#Units &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are contained in a standby container.&lt;br /&gt;
::#The standby container is the only item in the diagram, thus failure of the container is the same as failure of the system.  &lt;br /&gt;
::#&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is the active unit and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is the standby unit.  &lt;br /&gt;
::#Unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (active) and takes 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair.  &lt;br /&gt;
::#&amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 3 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (active) and also takes 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair.  &lt;br /&gt;
::#The units cannot fail while in quiescent (standby) mode.  &lt;br /&gt;
::#Furthermore, assume that the container (acting as the switch) fails every 30 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; while waiting to switch and takes 4 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair. If not failed, the container switches with 100% probability.  &lt;br /&gt;
::#The switch action takes 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete.&lt;br /&gt;
::#After repair, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is always reactivated.  &lt;br /&gt;
::#The container does not operate through system failure and thus the components do not either.  &lt;br /&gt;
&lt;br /&gt;
Keep in mind that we are looking at two events on the container.  The container down and container switch down.&lt;br /&gt;
&lt;br /&gt;
The system event log is shown in the figure below and is as follows:&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.44.png|center|600px| The system behavior using a standby container.|link=]]&lt;br /&gt;
&lt;br /&gt;
::#At 30, the switch fails and gets repaired by 34.  The container switch is failed and being repaired; however, the container is up during this time.&lt;br /&gt;
::#At 64, the switch fails and gets repaired by 68.  The container is up during this time.&lt;br /&gt;
::#At 98, the switch fails.  It will be repaired by 102.&lt;br /&gt;
::#At 100, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  Unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; attempts to activate the switch to go to &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ; however, the switch is failed.&lt;br /&gt;
::#At 102, the switch is operational.&lt;br /&gt;
::#From 102 to 109, the switch is in the process of switching from unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; to unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  The container and system are down from 100 to 109.&lt;br /&gt;
::#By 110, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is fixed and the system is switched back to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  The return switch action brings the container down for 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, from 110 to 117.  During this time, note that unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; has only functioned for 1 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, 109 to 110.&lt;br /&gt;
::#At 146, the switch fails and gets repaired by 150.  The container is up during this time.&lt;br /&gt;
::#At 180, the switch fails and gets repaired by 184.  The container is up during this time.&lt;br /&gt;
::#At 214, the switch fails and gets repaired by 218.  &lt;br /&gt;
::#At 217, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  The switch is failed at this time.&lt;br /&gt;
::#At 218, the switch is operational and the system is switched to unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; within 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  The container is down from 218 to 225.&lt;br /&gt;
::#At 225, unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; takes over.  After 2 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of operation at 227, unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.  It will be restored by 237.  &lt;br /&gt;
::#At 227, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is repaired and the switchback action to unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is initiated.  By 234, the system is up.&lt;br /&gt;
::#At 262, the switch fails and gets repaired by 266.  The container is up during this time.&lt;br /&gt;
::#At 296, the switch fails and gets repaired by 300.  The container is up during this time.&lt;br /&gt;
&lt;br /&gt;
The system results are shown in the figure below and discussed next.&lt;br /&gt;
[[Image:BS8.45.png|center|600px| System overview results.|link=]]&lt;br /&gt;
&lt;br /&gt;
::1.	System CM Downtime is 24.  &lt;br /&gt;
:::a)	CM downtime includes all downtime due to failures as well as the delay in switching from a failed active unit to a standby unit.  It does not include the switchback time from the standby to the restored active unit.  Thus, the times from 100 to 109, 217 to 225 and 227 to 234 are included.  The time to switchback, 110 to 117, is not included.&lt;br /&gt;
::2.	System Total Downtime is 31.  &lt;br /&gt;
:::a)	It includes the CM downtime and the switchback downtime.&lt;br /&gt;
::3.	Number of System Failures is 3.  &lt;br /&gt;
:::a)	It includes the failures at 100, 217 and 227.  &lt;br /&gt;
:::b)	This is the same as the number of CM downing events.  &lt;br /&gt;
::4.	The Total Downing Events are 4.  &lt;br /&gt;
:::a)	This includes the switchback downing event at 110.&lt;br /&gt;
::5.	The Mean Availability (w/o PM and Inspection) does not include the downtime due to the switchback event.&lt;br /&gt;
&lt;br /&gt;
====Additional Rules and Assumptions for Standby Containers====&lt;br /&gt;
&lt;br /&gt;
::1)	A container will only attempt to switch if there is an available non-failed item to switch to.  If there is no such item, it will then switch if and when an item becomes available. The switch will cancel the action if it gets restored before an item becomes available.  &lt;br /&gt;
:::a)	As an example, consider the case of unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; failing active while unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; failed in a quiescent mode.  If unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; gets restored before unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, then the switch will be initiated.  If unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored before unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the switch action will not occur.&lt;br /&gt;
::2)	In cases where not all active units are required, a switch will only occur if the failed combination causes the container to fail.  &lt;br /&gt;
:::a)	For example, if &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; are in a container for which one unit is required to be operating and &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are active with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; on standby, then the failure of either &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; will not cause a switching action. The container will switch to &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; only if both &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are failed.&lt;br /&gt;
::3)	If the container switch is failed and a switching action is required, the switching action will occur after the switch has been restored if it is still required (i.e., if the active unit is still failed).&lt;br /&gt;
::4)	If a switch fails during the delay time of the switching action based on the reliability distribution (quiescent failure mode), the action is still carried out unless a failure based on the switch probability/restarts occurs when attempting to switch.  &lt;br /&gt;
::5)	During switching events, the change from the operating to quiescent distribution (and vice versa) occurs at the end of the delay time.&lt;br /&gt;
::6)	The option of whether components operate while the system is down is defined at component level now (This is different from BlockSim 7, in which this option of the contained items inherit from container). Two rules here:&lt;br /&gt;
:::a)	If a path inside the container is down, blocks inside the container that are in that path do not continue to operate.&lt;br /&gt;
:::b)	Blocks that are up do not continue to operate while the container is down.&lt;br /&gt;
::7)	A switch can have a repair distribution and maintenance properties without having a reliability distribution.  &lt;br /&gt;
:::a)	This is because maintenance actions are performed regardless of whether the switch failed while waiting to switch (reliability distribution) or during the actual switching process (fixed probability).&lt;br /&gt;
::8)	A switch fails during switching when the restarts are exhausted.&lt;br /&gt;
::9)	A restart is executed every time the switch fails to switch (based on its fixed probability of switching).&lt;br /&gt;
::10)	If a delay is specified, restarts happen after the delay.&lt;br /&gt;
::11)	If a container brings the system down, the container is responsible for the system going down (not the blocks inside the container).&lt;br /&gt;
&lt;br /&gt;
===Load Sharing Containers===&lt;br /&gt;
&lt;br /&gt;
When you simulate a diagram that contains a load sharing container, the container defines the load that is shared. A load sharing container has no failure or repair distributions. The container itself is considered failed if all the blocks inside the container have failed (or &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; blocks in a &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; -out-of- &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; configuration).&lt;br /&gt;
&lt;br /&gt;
To illustrate this, consider the following container with items &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in a load sharing redundancy.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; every 120 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; if both items are operating and they fail in half that time if either is operating alone (i.e., the items age twice as fast when operating alone).  They both get repaired in 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.46.png|center|600px| Behavior of a simple load sharing system.|link=]]&lt;br /&gt;
&lt;br /&gt;
The system event log is shown in the figure above and is as follows:&lt;br /&gt;
&lt;br /&gt;
::1.	At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  It takes 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to restore &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  &lt;br /&gt;
::2.	From 100 to 105, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is operating alone and is experiencing a higher load.&lt;br /&gt;
::3.	At 115, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.    would normally be expected to fail at 120, however:  &lt;br /&gt;
:::a)	From 0 to 100, it accumulated the equivalent of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of damage.&lt;br /&gt;
:::b)	From 100 to 105, it accumulated 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of damage, which is twice the damage since it was operating alone.  Put another way, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; aged by 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; over a period of 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::c)	At 105, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored but &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; has only 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of life remaining at this point.&lt;br /&gt;
:::d)	 &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails at 115.&lt;br /&gt;
::4.	At 120, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is repaired.&lt;br /&gt;
::5.	At 200, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails again.  &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would normally be expected to fail at 205; however, the failure of &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; at 115 to 120 added additional damage to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  In other words, the age of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 115 was 10; by 120 it was 20.  Thus it reached an age of 100 95 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; later at 200.  &lt;br /&gt;
::6.	 &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored by 205.&lt;br /&gt;
::7.	At 235, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.  &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would normally be expected to fail at 240; however, the failure of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 200 caused the reduction.&lt;br /&gt;
:::a)	At 200, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; had an age of 80.&lt;br /&gt;
:::b)	By 205, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; had an age of 90.&lt;br /&gt;
:::c)	 &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails 30 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; later at 235.&lt;br /&gt;
::8.	The system itself never failed.&lt;br /&gt;
&lt;br /&gt;
====Additional Rules and Assumptions for Load Sharing Containers====&lt;br /&gt;
&lt;br /&gt;
::1.	The option of whether components operate while the system is down is defined at component level now (This is different from BlockSim 7, in which this option of the contained items inherit from container). Two rules here:&lt;br /&gt;
:::a)	If a path inside the container is down, blocks inside the container that are in that path do not continue to operate.&lt;br /&gt;
:::b)	Blocks that are up do not continue to operate while the container is down.&lt;br /&gt;
::2.	If a container brings the system down, the block that brought the container down is responsible for the system going down.  (This is the opposite of standby containers.)&lt;br /&gt;
&lt;br /&gt;
=State Change Triggers=&lt;br /&gt;
{{:State Change Triggers}}&lt;br /&gt;
&lt;br /&gt;
=Discussion=&lt;br /&gt;
&lt;br /&gt;
Even though the examples and explanations presented here are deterministic, the sequence of events and logic used to view the system is the same as the one that would be used during simulation.  The difference is that the process would be repeated multiple times during simulation and the results presented would be the average results over the multiple runs.&lt;br /&gt;
&lt;br /&gt;
Additionally, multiple metrics and results are presented and defined in this chapter.  Many of these results can also be used to obtain additional metrics not explicitly given in BlockSim&#039;s Simulation Results Explorer.  As an example, to compute mean availability with inspections but without PMs, the explicit downtimes given for each event could be used.  Furthermore, all of the results given are for operating times starting at zero to a specified end time (although the components themselves could have been defined with a non-zero starting age).  Results for a starting time other than zero could be obtained by running two simulations and looking at the difference in the detailed results where applicable.   As an example, the difference in uptimes and downtimes can be used to determine availabilities for a specific time window.&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repairable_Systems_Analysis_Through_Simulation&amp;diff=64812</id>
		<title>Repairable Systems Analysis Through Simulation</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repairable_Systems_Analysis_Through_Simulation&amp;diff=64812"/>
		<updated>2017-01-03T20:07:19Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* Additional Rules and Assumptions for Standby Containers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:bsbook|7}}&lt;br /&gt;
{{TU}}&lt;br /&gt;
&lt;br /&gt;
Having introduced some of the basic theory and terminology for repairable systems in [[Introduction to Repairable Systems]], we will now examine the steps involved in the analysis of such complex systems.  We will begin by examining system behavior through a sequence of discrete deterministic events and expand the analysis using discrete event simulation.&lt;br /&gt;
&lt;br /&gt;
=Simple Repairs=&lt;br /&gt;
==Deterministic View, Simple Series==&lt;br /&gt;
To first understand how component failures and simple repairs affect the system and to visualize the steps involved, let&#039;s begin with a very simple deterministic example with two components, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, in series.&lt;br /&gt;
&lt;br /&gt;
[[Image:i8.1.png|center|200px|link=]]&lt;br /&gt;
&lt;br /&gt;
Component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 hours and component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 120 hours.  Both require 10 hours to get repaired.  Furthermore, assume that the surviving component stops operating when the system fails (thus not aging).  &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: When a failure occurs in certain systems, some or all of the system&#039;s components&lt;br /&gt;
may or may not continue to accumulate operating time while the system is down. For example,&lt;br /&gt;
consider a transmitter-satellite-receiver system. This is a series system and the probability&lt;br /&gt;
of failure for this system is the probability that any of the subsystems fail. If the receiver&lt;br /&gt;
fails, the satellite continues to operate even though the receiver is down. In this case, the&lt;br /&gt;
continued aging of the components during the system inoperation &#039;&#039;&#039;must&#039;&#039;&#039; be taken into&lt;br /&gt;
consideration, since this will affect their failure characteristics and have an impact on the&lt;br /&gt;
overall system downtime and availability.&lt;br /&gt;
&lt;br /&gt;
The system behavior during an operation from 0 to 300 hours would be as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.1.png|center|500px|Overview of system and components for a simple series system with two components. Component A fails every 100 hours and component B fails every 120 hours. Both require 10 hours to get repaired and do not age(operate through failure) when the system is in a failed state.|link=]]&lt;br /&gt;
&lt;br /&gt;
Specifically, component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would fail at 100 hours, causing the system to fail.  After 10 hours, component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would be restored and so would the system.  The next event would be the failure of component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  We know that component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 120 hours (or after an age of 120 hours).  Since a component does not age while the system is down, component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would have reached an age of 120 when the clock reaches 130 hours.  Thus, component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would fail at 130 hours and be repaired by 140 and so forth.  Overall in this scenario, the system would be failed for a total of 40 hours due to four downing events (two due to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and two due to &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ).  The overall system availability (average or mean availability) would be &amp;lt;math&amp;gt;260/300=0.86667\,\!&amp;lt;/math&amp;gt;.  Point availability is the availability at a specific point time.  In this deterministic case, the point availability would always be equal to 1 if the system is up at that time and equal to zero if the system is down at that time.&lt;br /&gt;
&lt;br /&gt;
====Operating Through System Failure====&lt;br /&gt;
&lt;br /&gt;
In the prior section we made the assumption that components do not age when the system is down.  This assumption applies to most systems.  However, under special circumstances, a unit may age even while the system is down.  In such cases, the operating profile will be different from the one presented in the prior section.  The figure below illustrates the case where the components operate continuously, regardless of the system status.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.2.png|center|500px|Overview of up and down states for a simple series system with two components. Component &#039;&#039;A&#039;&#039; failes every 100 hours and component &#039;&#039;B&#039;&#039; fails every 120 hours. Both require 10 hours to get repaired and age when the system is in a failed state(operate through failure).|link=]]&lt;br /&gt;
&lt;br /&gt;
====Effects of Operating Through Failure====&lt;br /&gt;
&lt;br /&gt;
Consider a component with an increasing failure rate, as shown in the figure below.  In the case that the component continues to operate through system failure, then when the system fails at &amp;lt;math&amp;gt;{{t}_{1}}\,\!&amp;lt;/math&amp;gt; the surviving component&#039;s failure rate will be &amp;lt;math&amp;gt;{{\lambda }_{1}}\,\!&amp;lt;/math&amp;gt;, as illustrated in figure below.  When the system is restored at &amp;lt;math&amp;gt;{{t}_{2}}\,\!&amp;lt;/math&amp;gt;, the component would have aged by &amp;lt;math&amp;gt;{{t}_{2}}-{{t}_{1}}\,\!&amp;lt;/math&amp;gt; and its failure rate would now be &amp;lt;math&amp;gt;{{\lambda }_{2}}\,\!&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
In the case of a component that does not operate through failure, then the surviving component would be at the same failure rate, &amp;lt;math&amp;gt;{{\lambda }_{1}},\,\!&amp;lt;/math&amp;gt; when the system resumes operation.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.3.png|center|400px|Illustration of a component with a linearly increasing failure rate and the effect of operation through system failure.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Deterministic View, Simple Parallel==&lt;br /&gt;
Consider the following system where &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; every 120, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; every 140 and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; every 160 time units.  Each takes 10 time units to restore.  Furthermore, assume that components do not age when the system is down.&lt;br /&gt;
&lt;br /&gt;
[[Image:i8.2.png|center|300px|link=]]&lt;br /&gt;
&lt;br /&gt;
A deterministic system view is shown in the figure below.  The sequence of events is as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails and is repaired by 110.  The system is failed.  &lt;br /&gt;
#At 130, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails and is repaired by 140.  The system continues to operate.&lt;br /&gt;
#At 150, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails and is repaired by 160.  The system continues to operate.&lt;br /&gt;
#At 170, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails and is repaired by 180.  The system is failed.  &lt;br /&gt;
#At 220, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails and is repaired by 230.  The system is failed.  &lt;br /&gt;
#At 280, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails and is repaired by 290.  The system continues to operate.&lt;br /&gt;
#End at 300.&lt;br /&gt;
 &lt;br /&gt;
[[Image:BS8.4.png|center|500px|Overview of simple redundant system with four components.|link=]]&lt;br /&gt;
&lt;br /&gt;
====Additional Notes====&lt;br /&gt;
&lt;br /&gt;
It should be noted that we are dealing with these events deterministically in order to better illustrate the methodology.  When dealing with deterministic events, it is possible to create a sequence of events that one would not expect to encounter probabilistically.  One such example consists of two units in series that do not operate through failure but both fail at exactly 100, which is highly unlikely in a real-world scenario.  In this case, the assumption is that one of the events must occur at least an infinitesimal amount of time ( &amp;lt;math&amp;gt;dt)\,\!&amp;lt;/math&amp;gt; before the other.  Probabilistically, this event is extremely rare, since both randomly generated times would have to be exactly equal to each other, to 15 decimal points.  In the rare event that this happens, BlockSim would pick the unit with the lowest ID value as the first failure.  BlockSim assigns a unique numerical ID when each component is created.  These can be viewed by selecting the &#039;&#039;&#039;Show Block ID&#039;&#039;&#039; option in the Diagram Options window.&lt;br /&gt;
&lt;br /&gt;
==Deterministic Views of More Complex Systems==&lt;br /&gt;
&lt;br /&gt;
Even though the examples presented are fairly simplistic, the same approach can be repeated for larger and more complex systems.  The reader can easily observe/visualize the behavior of more complex systems in BlockSim using the Up/Down plots.  These are the same plots used in this chapter.  It should be noted that BlockSim makes these plots available only when a single simulation run has been performed for the analysis (i.e., Number of Simulations = 1).  These plots are meaningless when doing multiple simulations because each run will yield a different plot.&lt;br /&gt;
&lt;br /&gt;
==Probabilistic View, Simple Series==&lt;br /&gt;
&lt;br /&gt;
In a probabilistic case, the failures and repairs do not happen at a fixed time and for a fixed duration, but rather occur randomly and based on an underlying distribution, as shown in the following figures.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.5.png|center|600px| A single component with a probabilistic failure time and repair duration.|link=]]&lt;br /&gt;
[[Image:BS8.6.png|center|500px|A system up/down plot illustrating a probabilistic failure time and repair duration for component B.|link=]]&lt;br /&gt;
 &lt;br /&gt;
We use discrete event simulation in order to analyze (understand) the system behavior.  Discrete event simulation looks at each system/component event very similarly to the way we looked at these events in the deterministic example.  However, instead of using deterministic (fixed) times for each event occurrence or duration, random times are used.  These random times are obtained from the underlying distribution for each event.  As an example, consider an event following a 2-parameter Weibull distribution.  The &#039;&#039;cdf&#039;&#039; of the 2-parameter Weibull distribution is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;F(T)=1-{{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Weibull reliability function is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
R(T)= &amp;amp; 1-F(t) \\ &lt;br /&gt;
= &amp;amp; {{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to generate a random time from a Weibull distribution with a given &amp;lt;math&amp;gt;\eta \,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, a uniform random number from 0 to 1, &amp;lt;math&amp;gt;{{U}_{R}}[0,1]\,\!&amp;lt;/math&amp;gt;, is first obtained.   The random time from a Weibull distribution is then obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{T}_{R}}=\eta \cdot {{\left\{ -\ln \left[ {{U}_{R}}[0,1] \right] \right\}}^{\tfrac{1}{\beta }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To obtain a conditional time, the Weibull conditional reliability function is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,t)=\frac{R(T+t)}{R(T)}=\frac{{{e}^{-{{\left( \tfrac{T+t}{\eta } \right)}^{\beta }}}}}{{{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,t)={{e}^{-\left[ {{\left( \tfrac{T+t}{\eta } \right)}^{\beta }}-{{\left( \tfrac{T}{\eta } \right)}^{\beta }} \right]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The random time would be the solution for &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;R(T,t)={{U}_{R}}[0,1]\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the sequence of events, assume a single block with a failure and a repair distribution.  The first event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, would be the failure of the component.  Its first time-to-failure would be a random number drawn from its failure distribution, &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  Thus, the first failure event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, would be at &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  Once failed, the next event would be the repair of the component, &amp;lt;math&amp;gt;{{E}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The time to repair the component would now be drawn from its repair distribution, &amp;lt;math&amp;gt;{{T}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The component would be restored by time &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}+{{T}_{{{R}_{1}}}}\,\!&amp;lt;/math&amp;gt;.  The next event would now be the second failure of the component after the repair, &amp;lt;math&amp;gt;{{E}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt;.  This event would occur after a component operating time of &amp;lt;math&amp;gt;{{T}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt; after the item is restored (again drawn from the failure distribution), or at &amp;lt;math&amp;gt;{{T}_{{{F}_{1}}}}+{{T}_{{{R}_{1}}}}+{{T}_{{{F}_{2}}}}\,\!&amp;lt;/math&amp;gt;.  This process is repeated until the end time.  It is important to note that each run will yield a different sequence of events due to the probabilistic nature of the times.  To arrive at the desired result, this process is repeated many times and the results from each run (simulation) are recorded.  In other words, if we were to repeat this 1,000 times, we would obtain 1,000 different values for &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\left[ {{E}_{{{F}_{{{1}_{1}}}}}},{{E}_{{{F}_{{{1}_{2}}}}}},...,{{E}_{{{F}_{{{1}_{1,000}}}}}} \right]\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
The average of these values, &amp;lt;math&amp;gt;\left( \tfrac{1}{1000}\underset{i=1}{\overset{1,000}{\mathop{\sum }}}\,{{E}_{{{F}_{{{1}_{i}}}}}} \right)\,\!&amp;lt;/math&amp;gt;, would then be the average time to the first event, &amp;lt;math&amp;gt;{{E}_{{{F}_{1}}}}\,\!&amp;lt;/math&amp;gt;, or the mean time to first failure (MTTFF) for the component.  Obviously, if the component were to be 100% renewed after each repair, then this value would also be the same for the second failure, etc.&lt;br /&gt;
&lt;br /&gt;
=General Simulation Results=&lt;br /&gt;
To further illustrate this, assume that components A and B in the prior example had normal failure and repair distributions with their means equal to the deterministic values used in the prior example and standard deviations of 10 and 1 respectively.  That is, &amp;lt;math&amp;gt;{{F}_{A}}\tilde{\ }N(100,10),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;{{F}_{B}}\tilde{\ }N(120,10),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;{{R}_{A}}={{R}_{B}}\tilde{\ }N(10,1)\,\!&amp;lt;/math&amp;gt;.  The settings for components C and D are not changed. Obviously, given the probabilistic nature of the example, the times to each event will vary.  If one were to repeat this &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; number of times, one would arrive at the results of interest for the system and its components.  Some of the results for this system and this example, over 1,000 simulations, are provided in the figure below and explained in the next sections. &lt;br /&gt;
[[Image:r2.png|center|600px|Summary of system results for 1,000 simulations.|link=]]&lt;br /&gt;
&lt;br /&gt;
The simulation settings are shown in the figure below.&lt;br /&gt;
[[Image:8.7.gif|center|600px|BlockSim simulation window.|link=]]&lt;br /&gt;
&lt;br /&gt;
===General===&lt;br /&gt;
====Mean Availability (All Events), &amp;lt;math&amp;gt;{{\overline{A}}_{ALL}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the mean availability due to all downing events, which can be thought of as the operational availability.  It is the ratio of the system uptime divided by the total simulation time (total time).  For this example: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{\overline{A}}_{ALL}}= &amp;amp; \frac{Uptime}{TotalTime} \\ &lt;br /&gt;
= &amp;amp; \frac{269.137}{300} \\ &lt;br /&gt;
= &amp;amp; 0.8971  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Std Deviation (Mean Availability)====&lt;br /&gt;
This is the standard deviation of the mean availability of all downing events for the system during the simulation.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (w/o PM, OC &amp;amp; Inspection), &amp;lt;math&amp;gt;{{\overline{A}}_{CM}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the mean availability due to failure events only and it is 0.971 for this example.  Note that for this case, the mean availability without preventive maintenance, on condition maintenance and inspection is identical to the mean availability for all events.  This is because no preventive maintenance actions or inspections were defined for this system.  We will discuss the inclusion of these actions in later sections.&lt;br /&gt;
&lt;br /&gt;
Downtimes caused by PM and inspections are not included.  However, if the PM or inspection action results in the discovery of a failure, then these times are included.  As an example, consider a component that has failed but its failure is not discovered until the component is inspected.  Then the downtime from the time failed to the time restored after the inspection is counted as failure downtime, since the original event that caused this was the component&#039;s failure.  &lt;br /&gt;
====Point Availability (All Events), &amp;lt;math&amp;gt;A\left( t \right)\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the probability that the system is up at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;.  As an example, to obtain this value at &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; = 300, a special counter would need to be used during the simulation.  This counter is increased by one every time the system is up at 300 hours.  Thus, the point availability at 300 would be the times the system was up at 300 divided by the number of simulations.  For this example, this is 0.930, or 930 times out of the 1000 simulations the system was up at 300 hours.&lt;br /&gt;
&lt;br /&gt;
====Reliability (Fail Events), &amp;lt;math&amp;gt;R(t)\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the probability that the system has not failed by time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;.  This is similar to point availability with the major exception that it only looks at the probability that the system did not have a single failure.  Other (non-failure) downing events are ignored.  During the simulation, a special counter again must be used.  This counter is increased by one (once in each simulation) if the system has had at least one failure up to 300 hours.  Thus, the reliability at 300 would be the number of times the system did not fail up to 300 divided by the number of simulations.  For this example, this is 0 because the system failed prior to 300 hours 1000 times out of the 1000 simulations.&lt;br /&gt;
&lt;br /&gt;
It is very important to note that this value is not always the same as the reliability computed using the analytical methods, depending on the redundancy present.  The reason that it may differ is best explained by the following scenario:&lt;br /&gt;
&lt;br /&gt;
Assume two units in parallel.  The analytical system reliability, which does not account for repairs, is the probability that both units fail.  In this case, when one unit goes down, it does not get repaired and the system fails after the second unit fails.  In the case of repairs, however, it is possible for one of the two units to fail and get repaired before the second unit fails.  Thus, when the second unit fails, the system will still be up due to the fact that the first unit was repaired.&lt;br /&gt;
&lt;br /&gt;
====Expected Number of Failures, &amp;lt;math&amp;gt;{{N}_{F}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the average number of system failures.  The system failures (not downing events) for all simulations are counted and then averaged.  For this case, this is 3.188, which implies that a total of 3,188 system failure events occurred over 1000 simulations.  Thus, the expected number of system failures for one run is 3.188.  This number includes all failures, even those that may have a duration of zero.&lt;br /&gt;
&lt;br /&gt;
====Std Deviation (Number of Failures)====&lt;br /&gt;
This is the standard deviation of the number of failures for the system during the simulation.&lt;br /&gt;
&lt;br /&gt;
====MTTFF====&lt;br /&gt;
MTTFF is the mean time to first failure for the system.  This is computed by keeping track of the time at which the first system failure occurred for each simulation.  MTTFF is then the average of these times.  This may or may not be identical to the MTTF obtained in the analytical solution for the same reasons as those discussed in the Point Reliability section.  For this case, this is 100.2511.  This is fairly obvious for this case since the mean of one of the components in series was 100 hours.&lt;br /&gt;
&lt;br /&gt;
It is important to note that for each simulation run, if a first failure time is observed, then this is recorded as the system time to first failure.  If no failure is observed in the system, then the simulation end time is used as a right censored (suspended) data point.  MTTFF is then computed using the total operating time until the first failure divided by the number of observed failures (constant failure rate assumption).  Furthermore, and if the simulation end time is much less than the time to first failure for the system, it is also possible that all data points are right censored (i.e.,  no system failures were observed).  In this case, the MTTFF is again computed using a constant failure rate assumption, or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTTFF=\frac{2\cdot ({{T}_{S}})\cdot N}{\chi _{0.50;2}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{T}_{S}}\,\!&amp;lt;/math&amp;gt; is the simulation end time and &amp;lt;math&amp;gt;N\,\!&amp;lt;/math&amp;gt; is the number of simulations.  One should be aware that this formulation may yield unrealistic (or erroneous) results if the system does not have a constant failure rate.   If you are trying to obtain an accurate (realistic) estimate of this value, then your simulation end time should be set to a value that is well beyond the MTTF of the system (as computed analytically).  As a general rule, the simulation end time should be at least three times larger than the MTTF of the system.&lt;br /&gt;
&lt;br /&gt;
====MTBF (Total Time)====&lt;br /&gt;
This is the mean time between failures for the system based on the total simulation time and the expected number of system failures. For this example:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
MTBF (Total Time)= &amp;amp; \frac{TotalTime}{{N}_{F}} \\ &lt;br /&gt;
= &amp;amp; \frac{300}{3.188} \\ &lt;br /&gt;
= &amp;amp; 94.102886  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====MTBF (Uptime)====&lt;br /&gt;
This is the mean time between failures for the system, considering only the time that the system was up. This is calculated by dividing system uptime by the expected number of system failures. You can also think of this as the mean uptime. For this example:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
MTBF (Uptime)= &amp;amp; \frac{Uptime}{{N}_{F}} \\ &lt;br /&gt;
= &amp;amp; \frac{269.136952}{3.188} \\ &lt;br /&gt;
= &amp;amp; 84.42188  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====MTBE (Total Time)====&lt;br /&gt;
This is the mean time between all downing events for the system, based on the total simulation time and including all system downing events. This is calculated by dividing the simulation run time by the number of downing events (&amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
====MTBE (Uptime)====&lt;br /&gt;
his is the mean time between all downing events for the system, considering only the time that the system was up. This is calculated by dividing system uptime by the number of downing events (&amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
===System Uptime/Downtime===&lt;br /&gt;
&lt;br /&gt;
====Uptime, &amp;lt;math&amp;gt;{{T}_{UP}}\,\!&amp;lt;/math&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was up and operating.  This is obtained by taking the sum of the uptimes for each simulation and dividing it by the number of simulations.  For this example, the uptime is 269.137.  To compute the Operational Availability, &amp;lt;math&amp;gt;{{A}_{o}},\,\!&amp;lt;/math&amp;gt; for this system, then:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{o}}=\frac{{{T}_{UP}}}{{{T}_{S}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====CM Downtime, &amp;lt;math&amp;gt;{{T}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt; ====&lt;br /&gt;
This is the average time the system was down for corrective maintenance actions (CM) only.  This is obtained by taking the sum of the CM downtimes for each simulation and dividing it by the number of simulations.  For this example, this is 30.863.&lt;br /&gt;
To compute the Inherent Availability, &amp;lt;math&amp;gt;{{A}_{I}},\,\!&amp;lt;/math&amp;gt; for this system over the observed time (which may or may not be steady state, depending on the length of the simulation), then:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{I}}=\frac{{{T}_{S}}-{{T}_{C{{M}_{Down}}}}}{{{T}_{S}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Inspection Downtime ====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to inspections.  This is obtained by taking the sum of the inspection downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no inspections were defined.&lt;br /&gt;
&lt;br /&gt;
====PM Downtime, &amp;lt;math&amp;gt;{{T}_{P{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to preventive maintenance (PM) actions.  This is obtained by taking the sum of the PM downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no PM actions were defined.&lt;br /&gt;
&lt;br /&gt;
====OC Downtime, &amp;lt;math&amp;gt;{{T}_{O{{C}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the system was down due to on-condition maintenance (PM) actions.  This is obtained by taking the sum of the OC downtimes for each simulation and dividing it by the number of simulations.  For this example, this is zero because no OC actions were defined.&lt;br /&gt;
&lt;br /&gt;
====Waiting Downtime, &amp;lt;math&amp;gt;{{T}_{W{{ait}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the amount of time that the system was down due to crew and spare part wait times or crew conflict times. For this example, this is zero because no crews or spare part pools were defined.&lt;br /&gt;
&lt;br /&gt;
====Total Downtime, &amp;lt;math&amp;gt;{{T}_{Down}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the downtime due to all events. In general, one may look at this as the sum of the above downtimes. However, this is not always the case. It is possible to have actions that overlap each other, depending on the options and settings for the simulation. Furthermore, there are other events that can cause the system to go down that do not get counted in any of the above categories. As an example, in the case of standby redundancy with a switch delay, if the settings are to reactivate the failed component after repair, the system may be down during the switch-back action. This downtime does not fall into any of the above categories but it is counted in the total downtime.&lt;br /&gt;
&lt;br /&gt;
For this example, this is identical to &amp;lt;math&amp;gt;{{T}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===System Downing Events===&lt;br /&gt;
System downing events are events associated with downtime.  Note that events with zero duration will appear in this section only if the task properties specify that the task brings the system down or if the task properties specify that the task brings the item down and the item’s failure brings the system down.&lt;br /&gt;
&lt;br /&gt;
====Number of Failures, &amp;lt;math&amp;gt;{{N}_{{{F}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the average number of system downing failures.  Unlike the Expected Number of Failures, &amp;lt;math&amp;gt;{{N}_{F}},\,\!&amp;lt;/math&amp;gt; this number does not include failures with zero duration.  For this example, this is 3.188.  &lt;br /&gt;
&lt;br /&gt;
====Number of CMs, &amp;lt;math&amp;gt;{{N}_{C{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of corrective maintenance actions that caused the system to fail.  It is obtained by taking the sum of all CM actions that caused the system to fail divided by the number of simulations.  It does not include CM events of zero duration.  For this example, this is 3.188.  Note that this may differ from the Number of Failures, &amp;lt;math&amp;gt;{{N}_{{{F}_{Down}}}}\,\!&amp;lt;/math&amp;gt;.  An example would be a case where the system has failed, but due to other settings for the simulation, a CM is not initiated (e.g., an inspection is needed to initiate a CM).&lt;br /&gt;
&lt;br /&gt;
====Number of Inspections, &amp;lt;math&amp;gt;{{N}_{{{I}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of inspection actions that caused the system to fail.  It is obtained by taking the sum of all inspection actions that caused the system to fail divided by the number of simulations.  It does not include inspection events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of PMs, &amp;lt;math&amp;gt;{{N}_{P{{M}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of PM actions that caused the system to fail.  It is obtained by taking the sum of all PM actions that caused the system to fail divided by the number of simulations.  It does not include PM events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of OCs, &amp;lt;math&amp;gt;{{N}_{O{{C}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of OC actions that caused the system to fail.  It is obtained by taking the sum of all OC actions that caused the system to fail divided by the number of simulations.  It does not include OC events of zero duration.  For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Number of OFF Events by Trigger, &amp;lt;math&amp;gt;{{N}_{O{{FF}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the total number of events where the system is turned off by state change triggers. An OFF event is not a system failure but it may be included in system reliability calculations. For this example, this is zero.&lt;br /&gt;
&lt;br /&gt;
====Total Events, &amp;lt;math&amp;gt;{{N}_{AL{{L}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the total number of system downing events.  It also does not include events of zero duration.  It is possible that this number may differ from the sum of the other listed events.  As an example, consider the case where a failure does not get repaired until an inspection, but the inspection occurs after the simulation end time.  In this case, the number of inspections, CMs and PMs will be zero while the number of total events will be one.&lt;br /&gt;
&lt;br /&gt;
===Costs and Throughput===&lt;br /&gt;
Cost and throughput results are discussed in later sections.&lt;br /&gt;
&lt;br /&gt;
===Note About Overlapping Downing Events===&lt;br /&gt;
&lt;br /&gt;
It is important to note that two identical system downing events (that are continuous or overlapping) may be counted and viewed differently.  As shown in Case 1 of the following figure, two overlapping failure events are counted as only one event from the system perspective because the system was never restored and remained in the same down state, even though that state was caused by two different components.  Thus, the number of downing events in this case is one and the duration is as shown in CM system.  In the case that the events are different, as shown in Case 2 of the figure below, two events are counted, the CM and the PM.  However, the downtime attributed to each event is different from the actual time of each event.  In this case, the system was first down due to a CM and remained in a down state due to the CM until that action was over.  However, immediately upon completion of that action, the system remained down but now due to a PM action.  In this case, only the PM action portion that kept the system down is counted.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.9.png|center|350px|Duration and count of different overlapping events.|link=]]&lt;br /&gt;
&lt;br /&gt;
===System Point Results===&lt;br /&gt;
&lt;br /&gt;
The system point results, as shown in the figure below, shows the Point Availability (All Events), &amp;lt;math&amp;gt;A\left( t \right)\,\!&amp;lt;/math&amp;gt;, and Point Reliability, &amp;lt;math&amp;gt;R(t)\,\!&amp;lt;/math&amp;gt;, as defined in the previous section.  These are computed and returned at different points in time, based on the number of intervals selected by the user.  Additionally, this window shows &amp;lt;math&amp;gt;(1-A(t))\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;(1-R(t))\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{Labor Cost(t)}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\text{Part Cost(t)}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Cost(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Mean\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;A(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Mean\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;A({{t}_{i}}-{{t}_{i-1}})\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;System\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;Failures(t)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\text{System Off Events by Trigger(t)}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Throughput(t)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.10.png|center|750px|link=]]&lt;br /&gt;
The number of intervals shown is based on the increments set. In this figure, the number of increments set was 300, which implies that the results should be shown every hour. The results shown in this figure are for 10 increments, or shown every 30 hours.&lt;br /&gt;
&lt;br /&gt;
=Results by Component=&lt;br /&gt;
Simulation results for each component can also be viewed.  The figure below shows the results for component A.  These results are explained in the sections that follow.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.11.gif|center|600px|The Block Details results for component A.|link=]]&lt;br /&gt;
&lt;br /&gt;
===General Information===&lt;br /&gt;
====Number of Block Downing Events, &amp;lt;math&amp;gt;Componen{{t}_{NDE}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This the number of times the component went down (failed).  It includes all downing events.&lt;br /&gt;
&lt;br /&gt;
====Number of System Downing Events, &amp;lt;math&amp;gt;Componen{{t}_{NSDE}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the number of times that this component&#039;s downing caused the system to be down.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 2.038.  Note that this value is the same in this case as the number of component failures, since the component A is reliability-wise in series with components D and components B, C.  If this were not the case (e.g., if they were in a parallel configuration, like B and C), this value would be different.&lt;br /&gt;
&lt;br /&gt;
====Number of Failures, &amp;lt;math&amp;gt;Componen{{t}_{NF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the number of times the component failed and does not include other downing events.  Note that this could also be interpreted as the number of spare parts required for CM actions for this component.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 2.038.&lt;br /&gt;
&lt;br /&gt;
====Number of System Downing Failures, &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
This is the number of times that this component&#039;s failure caused the system to be down.  Note that this may be different from the Number of System Downing Events.  It only counts the failure events that downed the system and does not include zero duration system failures.&lt;br /&gt;
&lt;br /&gt;
====Number of OFF events by Trigger, &amp;lt;math&amp;gt;Componen{{t}_{OFF}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
The total number of events where the block is turned off by state change triggers. An OFF event is not a failure but it may be included in system reliability calculations.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (All Events), &amp;lt;math&amp;gt;{{\overline{A}}_{AL{{L}_{Component}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This has the same definition as for the system with the exception that this accounts only for the component.&lt;br /&gt;
&lt;br /&gt;
====Mean Availability (w/o PM, OC &amp;amp; Inspection), &amp;lt;math&amp;gt;{{\overline{A}}_{C{{M}_{Component}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
The mean availability of all downing events for the block, not including preventive, on condition or inspection tasks, during the simulation.&lt;br /&gt;
&lt;br /&gt;
====Block Uptime, &amp;lt;math&amp;gt;{{T}_{Componen{{t}_{UP}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is tThe total amount of time that the block was up (i.e., operational) during the simulation.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 279.8212.&lt;br /&gt;
&lt;br /&gt;
====Block Downtime, &amp;lt;math&amp;gt;{{T}_{Componen{{t}_{Down}}}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
This is the average time the component was down for any reason.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 20.1788.&lt;br /&gt;
&lt;br /&gt;
Block Downtime shows the total amount of time that the block was down (i.e., not operational) during the simulation.&lt;br /&gt;
&lt;br /&gt;
===Metrics===&lt;br /&gt;
====RS DECI====&lt;br /&gt;
&lt;br /&gt;
The ReliaSoft Downing Event Criticality Index for the block. This is a relative index showing the percentage of times that a downing event of the block caused the system to go down (i.e., the number of system downing events caused by the block divided by the total number of system downing events).  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 63.93%.  This implies that 63.93% of the times that the system went down, the system failure was due to the fact that component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; went down.  This is obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
RSDECI=\frac{Componen{{t}_{NSDE}}}{{{N}_{AL{{L}_{Down}}}}} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mean Time Between Downing Events====&lt;br /&gt;
This is the mean time between downing events of the component, which is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTBDE=\frac{{{T}_{Componen{{t}_{UP}}}}}{Componen{{t}_{NDE}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 137.3019.&lt;br /&gt;
&lt;br /&gt;
====RS FCI====&lt;br /&gt;
ReliaSoft&#039;s Failure Criticality Index (RS FCI) is a relative index showing the percentage of times that a failure of this component caused a system failure.  For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 63.93%.  This implies that 63.93% of the times that the system failed, it was due to the fact that component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; failed.  This is obtained from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
RSFCI=\frac{Componen{{t}_{NSDF}}+{{F}_{ZD}}}{{{N}_{F}}} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{F}_{ZD}}\,\!&amp;lt;/math&amp;gt; is a special counter of system failures not included in &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt;.  This counter is not explicitly shown in the results but is maintained by the software.  The reason for this counter is the fact that zero duration failures are not counted in &amp;lt;math&amp;gt;Componen{{t}_{NSDF}}\,\!&amp;lt;/math&amp;gt; since they really did not down the system.  However, these zero duration failures need to be included when computing RS FCI.&lt;br /&gt;
&lt;br /&gt;
It is important to note that for both RS DECI and RS FCI, and if overlapping events are present, the component that caused the system event gets credited with the system event.  Subsequent component events that do not bring the system down (since the system is already down) do not get counted in this metric.&lt;br /&gt;
&lt;br /&gt;
====MTBF, &amp;lt;math&amp;gt;MTB{{F}_{C}}\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Mean time between failures is the mean (average) time between failures of this component, in real clock time.  This is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MTB{{F}_{C}}=\frac{{{T}_{S}}-CFDowntime}{Componen{{t}_{NF}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;CFDowntime\,\!&amp;lt;/math&amp;gt; is the downtime of the component due to failures only (without PM, OC and inspection).  The discussion regarding what is a failure downtime that was presented in the section explaining Mean Availability (w/o PM &amp;amp; Inspection) also applies here.&lt;br /&gt;
For component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, this is 137.3019.  Note that this value could fluctuate for the same component depending on the simulation end time.  As an example, consider the deterministic scenario for this component.  It fails every 100 hours and takes 10 hours to repair.  Thus, it would be failed at 100, repaired by 110, failed at 210 and repaired by 220.  Therefore, its uptime is 280 with two failure events, MTBF = 280/2 = 140.  Repeating the same scenario with an end time of 330 would yield failures at 100, 210 and 320.  Thus, the uptime would be 300 with three failures, or MTBF = 300/3 = 100.  Note that this is not the same as the MTTF (mean time to failure), commonly referred to as MTBF by many practitioners.  &lt;br /&gt;
&lt;br /&gt;
====Mean Downtime per Event, &amp;lt;math&amp;gt;MDPE\,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
Mean downtime per event is the average downtime for a component event.  This is computed from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;MDPE=\frac{{{T}_{Componen{{t}_{Down}}}}}{Componen{{t}_{NDE}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====RS DTCI====&lt;br /&gt;
The ReliaSoft Downtime Criticality Index for the block. This is a relative index showing the contribution of the block to the system’s downtime (i.e., the system downtime caused by the block divided by the total system downtime).&lt;br /&gt;
&lt;br /&gt;
====RS BCCI====&lt;br /&gt;
The ReliaSoft Block Cost Criticality Index for the block. This is a relative index showing the contribution of the block to the total costs (i.e., the total block costs divided by the total costs).&lt;br /&gt;
&lt;br /&gt;
====Non-Waiting Time CI====&lt;br /&gt;
A relative index showing the contribution of repair times to the block’s total downtime. (The ratio of the time that the crew is actively working on the item to the total down time). &lt;br /&gt;
&lt;br /&gt;
====Total Waiting Time CI====&lt;br /&gt;
A relative index showing the contribution of wait factor times to the block’s total downtime. Wait factors include crew conflict times, crew wait times and spare part wait times. (The ratio of downtime not including active repair time). &lt;br /&gt;
&lt;br /&gt;
====Waiting for Opportunity/Maximum Wait Time Ratio====&lt;br /&gt;
A relative index showing the contribution of crew conflict times. This is the ratio of the time spent waiting for the crew to respond (not including crew logistic delays) to the total wait time (not including the active repair time). &lt;br /&gt;
&lt;br /&gt;
====Crew/Part Wait Ratio====&lt;br /&gt;
The ratio of the crew and part delays. A value of 100% means that both waits are equal. A value greater than 100% indicates that the crew delay was in excess of the part delay. For example, a value of 200% would indicate that the wait for the crew is two times greater than the wait for the part.&lt;br /&gt;
&lt;br /&gt;
====Part/Crew Wait Ratio====&lt;br /&gt;
The ratio of the part and crew delays. A value of 100% means that both waits are equal. A value greater than 100% indicates that the part delay was in excess of the crew delay. For example, a value of 200% would indicate that the wait for the part is two times greater than the wait for the crew.&lt;br /&gt;
&lt;br /&gt;
===Downtime Summary===&lt;br /&gt;
====Non-Waiting Time====&lt;br /&gt;
Time that the block was undergoing active maintenance/inspection by a crew. If no crew is defined, then this will return zero.&lt;br /&gt;
&lt;br /&gt;
====Waiting for Opportunity====&lt;br /&gt;
The total downtime for the block due to crew conflicts (i.e., time spent waiting for a crew while the crew is busy with another task). If no crew is defined, then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Waiting for Crew====&lt;br /&gt;
The total downtime for the block due to crew wait times (i.e., time spent waiting for a crew due to logistical delay). If no crew is defined, then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Waiting for Parts====&lt;br /&gt;
The total downtime for the block due to spare part wait times. If no spare part pool is defined then this will return zero. &lt;br /&gt;
&lt;br /&gt;
====Other Results of Interest====&lt;br /&gt;
The remaining component (block) results are similar to those defined for the system with the exception that now they apply only to the component.&lt;br /&gt;
&lt;br /&gt;
=Imperfect Repairs= &amp;lt;!-- THIS SECTION HEADER IS LINKED TO: http://help.synthesis8.com/rcm8/tasks.htm. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK. --&amp;gt;&lt;br /&gt;
{{:Imperfect Repairs}}&lt;br /&gt;
&lt;br /&gt;
=Using Resources: Pools and Crews=&lt;br /&gt;
In order to make the analysis more realistic, one may wish to consider additional sources of delay times in the analysis or study the effect of limited resources.  In the prior examples, we used a repair distribution to identify how long it takes to restore a component.  The factors that one chooses to consider in this time may include the time it takes to do the repair and/or the time it takes to get a crew, a spare part, etc.  While all of these factors may be included in the repair duration, optimized usage of these resources can only be achieved if the resources are studied individually and their dependencies are identified.&lt;br /&gt;
&lt;br /&gt;
As an example, consider the situation where two components in parallel fail at the same time and only a single repair person is available.  Because this person would not be able to execute the repair on both components simultaneously, an additional delay will be encountered that also needs to be included in the modeling.  One way to accomplish this is to assign a specific repair crew to each component.&lt;br /&gt;
&lt;br /&gt;
===Including Crews===&lt;br /&gt;
&lt;br /&gt;
BlockSim allows you to assign maintenance crews to each component and one or more crews may be assigned to each component from the Maintenance Task Properties window.  Note that there may be different crews for each action, (i.e., corrective, preventive, on condition and inspection).&lt;br /&gt;
&lt;br /&gt;
A crew record needs to be defined for each named crew, as shown in the picture below. The basic properties for each crew include factors such as:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Logistic delays.  How long does it take for the crew to arrive?&lt;br /&gt;
* Is there a limit to the number of tasks this crew can perform at the same time? If yes, how many simultaneous tasks can the crew perform?&lt;br /&gt;
* What is the cost per hour for the crew?&lt;br /&gt;
* What is the cost per incident for the crew?&lt;br /&gt;
&lt;br /&gt;
[[Image:8.16.png|center|518px|link=]]&lt;br /&gt;
&lt;br /&gt;
===Illustrating Crew Use===&lt;br /&gt;
To illustrate the use of crews in BlockSim, consider the deterministic scenario described by the following RBD and properties.&lt;br /&gt;
&lt;br /&gt;
[[Image:r12.png|center|350px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Unit&lt;br /&gt;
! Failure&lt;br /&gt;
! Repair&lt;br /&gt;
! Crew&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;100\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;120\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;140\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;160\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : Delay = 20, Single Task&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.17.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
As shown in the figure above, the System Up/Down plot illustrates the sequence of events, which are:&lt;br /&gt;
&lt;br /&gt;
::#At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  It takes 20 to get the crew and 10 to repair, thus the component is repaired by 130.  The system is failed/down during this time.  &lt;br /&gt;
::#At 150, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails since it would have accumulated an operating age of 120 by this time.  It again has to wait for the crew and is repaired by 190.  &lt;br /&gt;
::#At 170, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails.  Upon this failure, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; requests the only available crew.  However, this crew is currently engaged by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and, since the crew can only perform one task at a time, it cannot respond immediately to the request by &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;.  Thus, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; will remain failed until the crew becomes available.  The crew will finish with unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; at 190 and will then be dispatched to &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;.  Upon dispatch, the logistic delay will again be considered and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; will be repaired by 230.  The system continues to operate until the failures of &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; overlap (i.e., the system is down from 170 to 190)&lt;br /&gt;
::#At 210, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails.  It again has to wait for the crew and repair.&lt;br /&gt;
::#&amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; is up at 260.&lt;br /&gt;
The following figure shows an example of some of the possible crew results (details), which are presented next.  &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.18.png|thumb|center|500px|Crew results shown in the BlockSim&#039;s Simulation Results Explorer.|link=]]&lt;br /&gt;
&lt;br /&gt;
====Explanation of the Crew Details====&lt;br /&gt;
::#Each request made to a crew is logged.  &lt;br /&gt;
::#If a request is successful (i.e., the crew is available), the call is logged once in the Calls Received counter and once in the Accepted Calls counter.  &lt;br /&gt;
::#If a request is not accepted (i.e., the crew is busy), the call is logged once in the Calls Received counter and once in the Rejected Calls counter.  When the crew is free and can be called upon again, the call is logged once in the Calls Received counter and once in the Accepted Calls counter.&lt;br /&gt;
::#In this scenario, there were two instances when the crew was not available, Rejected Calls = 2, and there were four instances when the crew performed an action, Calls Accepted = 4, for a total of six calls, Calls Received = 6.&lt;br /&gt;
::#Percent Accepted and Percent Rejected are the ratios of calls accepted and calls rejected with respect to the total calls received.&lt;br /&gt;
::#Total Utilization is the total time that the crew was used.  It includes both the time required to complete the repair action and the logistic time.  In this case, this is 140, or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   {{T}_{{{R}_{A}}}}= &amp;amp; 10,{{T}_{{{L}_{A}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{B}}}}= &amp;amp; 20,{{T}_{{{L}_{B}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{C}}}}= &amp;amp; 20,{{T}_{{{L}_{C}}}}=20 \\ &lt;br /&gt;
	  {{T}_{{{R}_{D}}}}= &amp;amp; 10,{{T}_{{{L}_{D}}}}=20 \\ &lt;br /&gt;
	  {{T}_{U}}= &amp;amp; \left( {{T}_{{{R}_{A}}}}+{{T}_{{{L}_{A}}}} \right)+\left( {{T}_{{{R}_{B}}}}+{{T}_{{{L}_{B}}}} \right) \\ &lt;br /&gt;
	   &amp;amp; +\left( {{T}_{{{R}_{C}}}}+{{T}_{{{L}_{C}}}} \right)+\left( {{T}_{{{R}_{D}}}}+{{T}_{{{L}_{D}}}} \right) \\ &lt;br /&gt;
	  {{T}_{U}}= &amp;amp; 140  &lt;br /&gt;
	\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::6.  Average Call Duration is the average duration of each crew usage, and it also includes both logistic and repair time.  It is the total usage divided by the number of accepted calls.  In this case, this is 35.&lt;br /&gt;
:::7.  Total Wait Time is the time that blocks in need of a repair waited for this crew.  In this case, it is 40 ( &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; both waited 20 each).  &lt;br /&gt;
:::8.  Total Crew Costs are the total costs for this crew.  It includes the per incident charge as well as the per unit time costs.  In this case, this is 180.  There were four incidents at 10 each for a total of 40, as well as 140 time units of usage at 1 cost unit per time unit.&lt;br /&gt;
:::9.  Average Cost per Call is the total cost divided by the number of accepted calls.  In this case, this is 45.&lt;br /&gt;
&lt;br /&gt;
Note that crew costs that are attributed to individual blocks can be obtained from the Blocks reports, as shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.19.png|thumb|center|650px|Allocation of crew costs.|link=]]&lt;br /&gt;
&lt;br /&gt;
====How BlockSim Handles Crews====&lt;br /&gt;
::#Crew logistic time is added to each repair time.  &lt;br /&gt;
::#The logistic time is always present, and the same, regardless of where the crew was called from (i.e., whether the crew was at another job or idle at the time of the request).&lt;br /&gt;
::#For any given simulation, each crew&#039;s logistic time is constant (taken from the distribution) across that single simulation run regardless of the task  (CM, PM or inspection).&lt;br /&gt;
::#A crew can perform either a finite number of simultaneous tasks or an infinite number.  &lt;br /&gt;
::#If the finite limit of tasks is reached, the crew will not respond to any additional request until the number of tasks the crew is performing is less than its finite limit.&lt;br /&gt;
::#If a crew is not available to respond, the component will &amp;quot;wait&amp;quot; until a crew becomes available.&lt;br /&gt;
::#BlockSim maintains the queue of rejected calls and will dispatch the crew to the next repair on a &amp;quot;first come, first served&amp;quot; basis.&lt;br /&gt;
::#Multiple crews can be assigned to a single block (see overview in the next section).&lt;br /&gt;
::#If no crew has been assigned for a block, it is assumed that no crew restrictions exist and a default crew is used.  The default crew can perform an infinite number of simultaneous tasks and has no delays or costs.&lt;br /&gt;
&lt;br /&gt;
====Looking at Multiple Crews====&lt;br /&gt;
Multiple crews may be available to perform maintenance for a particular component.  When multiple crews have been assigned to a block in BlockSim, the crews are assigned to perform maintenance based on their order in the crew list, as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r23.png||thumb|center|500px|A single component with two corrective maintenance crews assigned to it.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the case where more than one crew is assigned to a block, and if the first crew is unavailable, then the next crew is called upon and so forth.  As an example, consider the prior case but with the following modifications (i.e.,  Crews &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are assigned to all blocks):&lt;br /&gt;
&lt;br /&gt;
[[Image:r8.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Unit&lt;br /&gt;
! Failure&lt;br /&gt;
! Repair&lt;br /&gt;
! Crew&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;100\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;120\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;140\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;20\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;160\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;10\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
| &amp;lt;math&amp;gt;A,B\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; ; Delay = 20, Single Task&lt;br /&gt;
|-&lt;br /&gt;
| Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ; Delay = 30, Single Task&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The system would behave as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r13.png|center|550px|link=]]&lt;br /&gt;
 &lt;br /&gt;
In this case, Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; was used for the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; repair since Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was busy.  On all others, Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was used.  It is very important to note that once a crew has been assigned to a task it will complete the task.  For example, if we were to change the delay time for Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; to 100, the system behavior would be as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r14.png|center|550px|System up/down plot with the delay time for Crew B changed to 100.|link=]]&lt;br /&gt;
&lt;br /&gt;
In other words, even though Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would have finished the repair on &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; more quickly if it had been available when originally called, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; was assigned the task because &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was not available at the instant that the crew was needed.&lt;br /&gt;
&lt;br /&gt;
===Additional Rules on Crews===&lt;br /&gt;
&lt;br /&gt;
::1.  If all assigned crews are engaged, the next crew that will be chosen is the crew that can get there first.  &lt;br /&gt;
:::a)	This accounts for the time it would take a particular crew to complete its current task (or all tasks in its queue) and its logistic time.&lt;br /&gt;
::2.  If a crew is available, it gets used regardless of what its logistic delay time is.  &lt;br /&gt;
:::a)	In other words, if a crew with a shorter logistic time is busy, but almost done, and another crew with a much higher logistic time is currently free, the free one will get assigned to the task.&lt;br /&gt;
::3.  For each simulation each crew&#039;s logistic time is computed (taken randomly from its distribution or its fixed time) at the beginning of the simulation and remains constant across that one simulation for all actions (CM, PM and inspection).&lt;br /&gt;
&lt;br /&gt;
===Using Spare Part Pools===&lt;br /&gt;
&lt;br /&gt;
BlockSim also allows you to specify spare part pools (or depots). Spare part pools allow you to model and manage spare part inventory and study the effects associated with limited inventories.  Each component can have a spare part pool associated with it. If a spare part pool has not been defined for a block, BlockSim&#039;s analysis assumes a default pool of infinite spare parts. To speed up the simulation, no details on pool actions are kept during the simulation if the default pool is used.&lt;br /&gt;
&lt;br /&gt;
Pools allow you to define multiple aspects of the spare part process, including stock levels, logistic delays and restock options. Every time a part is repaired under a CM or scheduled action (PM, OC and Inspection), a spare part is obtained from the pool. If a part is available in the pool, it is then used for the repair.  Spare part pools perform their actions based on the simulation clock time.  &lt;br /&gt;
  &lt;br /&gt;
====Spare Properties====&lt;br /&gt;
&lt;br /&gt;
A spare part pool is identified by a name.  The general properties of the pool are its stock level (must be greater than zero), cost properties and logistic delay time.  If a part is available (in stock), the pool will dispense that part to the requesting block after the specified logistic time has elapsed.  One needs to think of a pool as an independent entity.  It accepts requests for parts from blocks and dispenses them to the requesting blocks after a given logistic time.  Requests for spares are handled on a first come, first served basis.  In other words, if two blocks request a part and only one part is in stock, the first block that made the request will receive the part.  Blocks request parts from the pool immediately upon the initiation of a CM or scheduled event (PM, OC and Inspection).&lt;br /&gt;
&lt;br /&gt;
====Restocking the Pool====&lt;br /&gt;
&lt;br /&gt;
If the pool has a finite number of spares, restock actions may be incorporated. The figure below shows the restock properties. Specifically, a pool can restock itself either through a scheduled restock action or based on specified conditions.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.24.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
A scheduled restock action adds a set number of parts to the pool on a predefined scheduled part arrival time. For the settings in the figure above, one spare part would be added to the pool every 100 hours, based on the system (simulation) time. In other words, for a simulation of 1,000 hours, a spare part would arrive at 100 hours, 200 hours, etc.  The part is available to the pool immediately after the restock action and without any logistic delays.  &lt;br /&gt;
&lt;br /&gt;
In an on-condition restock, a restock action is initiated when the stock level reaches (or is below) a specified value.  In figure above, five parts are ordered when the stock level reaches 0.  Note that unlike the scheduled restock, parts added through on-condition restock become available after a specified logistic delay time.  In other words, when doing a scheduled restock, the parts are pre-ordered and arrive when needed.  Whereas in the on-condition restock, the parts are ordered when the condition occurs and thus arrive after a specified time.  For on-condition restocks, the condition is triggered if and only if the stock level drops to or below the specified stock level, regardless of how the spares arrived to the pool or were distributed by the pool.  In addition, the restock trigger value must be less than the initial stock.&lt;br /&gt;
&lt;br /&gt;
Lastly, a maximum capacity can be assigned to the pool.  If the maximum capacity is reached, no more restock actions are performed.  This maximum capacity must be equal to or greater than the initial stock.  When this limit is reached, no more items are added to the pool.  For example, if the pool has a maximum capacity of ten and a current stock level of eight and if a restock action is set to add five items to the pool, then only two will be accepted.&lt;br /&gt;
&lt;br /&gt;
====Obtaining Emergency Spares====&lt;br /&gt;
&lt;br /&gt;
Emergency restock actions can also be defined.  The figure below illustrates BlockSim&#039;s Emergency Spare Provisions options.  An emergency action is triggered only when a block requests a spare and the part is not currently in stock.  This is the only trigger condition.  It does not account for whether a part has been ordered or if one is scheduled to arrive.  Emergency spares are ordered when the condition is triggered and arrive after a time equal to the required time to obtain emergency spare(s).&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.25.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
===Summary of Rules for Spare Part Pools===&lt;br /&gt;
&lt;br /&gt;
The following rules summarize some of the logic when dealing with spare part pools.  &lt;br /&gt;
&lt;br /&gt;
====Basic Logic Rules====&lt;br /&gt;
&lt;br /&gt;
::1.  &#039;&#039;&#039;Queue Based&#039;&#039;&#039;: Requests for spare parts from blocks are queued and executed on a &amp;quot;first come, first served&amp;quot; basis.&lt;br /&gt;
::2.  &#039;&#039;&#039;Emergency&#039;&#039;&#039;: Emergency restock actions are performed only when a part is not available.&lt;br /&gt;
::3.  &#039;&#039;&#039;Scheduled Restocks&#039;&#039;&#039;: Scheduled restocks are added instantaneously to the pool at the scheduled time.&lt;br /&gt;
::4.  &#039;&#039;&#039;On-Condition Restock&#039;&#039;&#039;: On-condition restock happens when the specified condition is reached (e.g., when the stock drops to two or if a request is received for a part and the stock is below the restock level).&lt;br /&gt;
:::a)	For example, if a pool has three items in stock and it dispenses one, an on-condition restock is initiated the instant that the request is received (without regard to the logistic delay time).  The restocked items will be available after the required time for stock arrival has elapsed.&lt;br /&gt;
:::b)	The way that this is defined allows for the possibility of multiple restocks.  Specifically, every time a part needs to be dispensed and the stock is lower than the specified quantity, parts are ordered.  In the case of a long logistic delay time, it is possible to have multiple re-orders in the queue.&lt;br /&gt;
::5.  &#039;&#039;&#039;Parts Become Available after Spare Acquisition Logistic Delay&#039;&#039;&#039;:  If there is a spare acquisition logistic time delay,  the requesting block will get the part after that delay.  &lt;br /&gt;
:::a)	For example, if a block with a repair duration of 10 fails at 100 and requests a part from a pool with a logistic delay time of 10, that block will not be up until 120.&lt;br /&gt;
::6.  &#039;&#039;&#039;Compound Delays&#039;&#039;&#039;: If a part is not available and an emergency part (or another part) can be obtained, then the total wait time for the part is the sum of both the logistic time and the required time to obtain a spare.&lt;br /&gt;
::7.  &#039;&#039;&#039;First Available Part is Dispensed to the First Block in the Queue&#039;&#039;&#039;: The pool will dispense a requested part if it has one in stock or when it becomes available, regardless of what action (i.e., as needed restock or emergency restock) that request may have initiated.  &lt;br /&gt;
:::a)	For example, if Block A requests a part from a pool and that triggers an emergency restock action, but a part arrives before the emergency restock through another action (e.g., scheduled restock), then the pool will dispense the newly arrived part to Block A (if Block A is next in the queue to receive a part).&lt;br /&gt;
::8.  &#039;&#039;&#039;Blocks that Trigger an Action Get Charged with the Action&#039;&#039;&#039;: A block that triggers an emergency restock is charged for the additional cost to obtain the emergency part, even if it does not use an emergency part (i.e., even if another part becomes available first).&lt;br /&gt;
::9.	&#039;&#039;&#039;Triggered Action Cannot be Canceled.&#039;&#039;&#039;  If a block triggers a restock action but then receives a part from another source, the action that the block triggered is not canceled.&lt;br /&gt;
:::a)	For example, if Block A initiates an emergency restock action but was then able to use a part that became available through other actions, the emergency request is not canceled and an emergency spare part will be added to the pool&#039;s stock level.  &lt;br /&gt;
:::b)	Another way to explain this is by looking at the part acquisition logistic times as transit times.  Because an ordered part is en-route to you after you order it, you will receive it regardless of whether the conditions have changed and you no longer need it.&lt;br /&gt;
&lt;br /&gt;
===Simultaneous Dispatch of Crews and Parts Logic===&lt;br /&gt;
&lt;br /&gt;
Some special rules apply when a block has both logistic delays in acquiring parts from a pool and when waiting for crews.  BlockSim dispatches requests for crews and spare parts simultaneously.  The repair action does not start until both crew and part arrive, as shown next.&lt;br /&gt;
&lt;br /&gt;
[[Image:r18.png|center|400px|link=]]&lt;br /&gt;
 &lt;br /&gt;
If a crew arrives and it has to wait for a part, then this time (and cost) is added to the crew usage time.&lt;br /&gt;
&lt;br /&gt;
===Example Using Both Crews and Pools===&lt;br /&gt;
&lt;br /&gt;
Consider the following example, using both crews and pools.&lt;br /&gt;
&lt;br /&gt;
[[Image:r19.png|center|300px|link=]]&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
[[Image:r20.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
And the crews are:&lt;br /&gt;
&lt;br /&gt;
[[Image:r21.png|center|400px|link=]]&lt;br /&gt;
&lt;br /&gt;
While the spare pool is: &lt;br /&gt;
&lt;br /&gt;
[[Image:r22.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
The behavior of this system from 0 to 300 is shown graphically in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.26.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
The discrete system events during that time are as follows:&lt;br /&gt;
&lt;br /&gt;
::1.	Component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;  fails at 100 and Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is engaged.  &lt;br /&gt;
&lt;br /&gt;
:::a)	At 110, Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives and completes the repair by 120.  &lt;br /&gt;
:::b)	This repair uses the only spare part in inventory and triggers an on-condition restock.  A part is ordered and is scheduled to arrive at 160.&lt;br /&gt;
:::c)	A scheduled restock part is also set to arrive at 150.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 150, 160].&lt;br /&gt;
::2.	Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails at 121.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is available and it is engaged.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives by 131 but no part is available.  &lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part was ordered and is scheduled to arrive at 181.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 150, 160, 181].&lt;br /&gt;
:::d)	At 150, the first part arrives and is used by Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::e)	Repair on Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is completed 20 time units later, at 170.&lt;br /&gt;
:::f)	Pool [on-hand=0, pending: 160, 181].&lt;br /&gt;
::3.	Component &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; fails at 122.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is already engaged by Component &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, thus Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is engaged.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; arrives at 137 but no part is available.&lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 182.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 160, 181,182].&lt;br /&gt;
:::d)	At 160, the part arrives and Component &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is repaired by 180.  &lt;br /&gt;
:::e)	Pool [on-hand = 0, pending: 181,182].&lt;br /&gt;
::4.	Component &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; fails at 123.  No crews are available until 170 when Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; becomes available.&lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives by 180 and has to wait for a part.&lt;br /&gt;
:::b)	The failure found the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 183.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181,182, 183].&lt;br /&gt;
:::d)	At 181, a part is obtained.&lt;br /&gt;
:::e)	By 201, the repair is completed.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 182, 183]&lt;br /&gt;
::5.	Component &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; fails at 171 with no crew available.  &lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; becomes available at 180 and arrives by 195.  &lt;br /&gt;
:::b)	The failure finds the pool with no parts, triggering the on-condition restock.  A part is ordered and is scheduled to arrive at 231.&lt;br /&gt;
:::c)	The next part becomes available at 182 and the repair is completed by 205.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 183, 231]&lt;br /&gt;
::6.	End time is at 300.  The last scheduled part arrives at the pool at 300.&lt;br /&gt;
&lt;br /&gt;
=Using Maintenance Tasks=&lt;br /&gt;
One of the most important benefits of simulation is the ability to define how and when actions are performed.  In our case, the actions of interest are part repairs/replacements.  This is accomplished in BlockSim through the use of maintenance tasks.  Specifically, four different types of tasks can be defined for maintenance actions: corrective maintenance, preventive maintenance, on condition maintenance and inspection.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Corrective Maintenance Tasks===&lt;br /&gt;
A corrective maintenance task defines when a corrective maintenance (CM) action is performed. The figure below shows a corrective maintenance task assigned to a block in BlockSim. Corrective actions will be performed either immediately upon failure of the item or upon finding that the item has failed (for hidden failures that are not detected until an inspection).  BlockSim allows the selection of either category.  &lt;br /&gt;
*&#039;&#039;&#039;Upon item failure&#039;&#039;&#039;: The CM action is initiated immediately upon failure.  If the user doesn&#039;t specify the choice for a CM, then this is the default option.  All prior examples were based on the instruction to perform a CM upon failure.  &lt;br /&gt;
*&#039;&#039;&#039;When found failed during an Inspection&#039;&#039;&#039;: The CM action will only be initiated after an inspection is done on the failed component. How and when the inspections are performed is defined by the block&#039;s inspection properties. This has the effect of defining a dependency between the corrective maintenance task and the inspection task.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:r23.png|center|500px|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{{Examples Box|BlockSim Examples|&amp;lt;p&amp;gt;More application examples are available! See also:&amp;lt;/p&amp;gt; {{Examples Link|BlockSim_Example:_CM_Triggered_by_Subsystem_Down|CM Triggered by Subsystem Down}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Scheduled Tasks===&lt;br /&gt;
Scheduled tasks can be performed on a known schedule, which can be based on any of the following:&lt;br /&gt;
* A time interval, either fixed or dynamic, based on the item&#039;s age (item clock) or on calendar time (system clock). See [[#Item and System Ages|Item and System Ages]].&lt;br /&gt;
* The occurrence of certain events, including:&lt;br /&gt;
**The system goes down. &lt;br /&gt;
**Certain events happen in a maintenance group. The events and groups are user-specified, and the item that the task is assigned to does not need to be part of the selected maintenance group(s).&lt;br /&gt;
&lt;br /&gt;
The types of scheduled tasks include:&lt;br /&gt;
*Inspection tasks&lt;br /&gt;
*Preventive maintenance tasks&lt;br /&gt;
*On condition tasks&lt;br /&gt;
&lt;br /&gt;
====Item and System Ages====&lt;br /&gt;
It is important to keep in mind that the system and each component of the system maintain separate clocks within the simulation. When setting intervals to perform a scheduled task, the intervals can be based on either type of clock. Specifically:&lt;br /&gt;
*Item age refers to the accumulated age of the block, which gets adjusted each time the block is repaired (i.e., restored). If the block is repaired at least once during the simulation, this will be different from the elapsed simulation time. For example, if the restoration factor is 1 (i.e., “as good as new”) and the assigned interval is 100 days based on item age, then the task will be scheduled to be performed for the first time at 100 days of elapsed simulation time. However, if the block fails at 85 days and it takes 5 days to complete the repair, then the block will be fully restored at 90 days and its accumulated age will be reset to 0 at that point. Therefore, if another failure does not occur in the meantime, the task will be performed for the first time 100 days later at 190 days of elapsed simulation time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Updown_item_age.png|center|450px|link=]]&lt;br /&gt;
&lt;br /&gt;
*Calendar time refers to the elapsed simulation time. If the assigned interval is 100 days based on calendar time, then the task will be performed for the first time at 100 days of elapsed simulation time, for the second time at 200 days of elapsed simulation time and so on, regardless of whether the block fails and gets repaired correctively between those times.&lt;br /&gt;
&lt;br /&gt;
[[Image:Updown_system_age.png|center|450px|link=]]&lt;br /&gt;
&lt;br /&gt;
====Inspection Tasks====&lt;br /&gt;
Like all scheduled tasks, inspections can be performed based on a time interval or upon certain events.  Inspections can be specified to bring the item or system down or not.&lt;br /&gt;
&lt;br /&gt;
====Preventive Maintenance Tasks====&lt;br /&gt;
The figure below shows the options available in a preventive maintenance (PM) task within BlockSim.  PMs can be performed based on a time interval or upon certain events.  Because PM tasks always bring the item down, one can also specify whether preventive maintenance will be performed if the task brings the system down.&lt;br /&gt;
&lt;br /&gt;
[[Image:r25.png|center|556px|link=]]&lt;br /&gt;
&lt;br /&gt;
====On Condition Tasks====&lt;br /&gt;
On condition maintenance relies on the capability to detect failures before they happen so that preventive maintenance can be initiated. If, during an inspection, maintenance personnel can find evidence that the equipment is approaching the end of its life, then it may be possible to delay the failure, prevent it from happening or replace the equipment at the earliest convenience rather then allowing the failure to occur and possibly cause severe consequences. In BlockSim, on condition tasks consist of an inspection task that triggers a preventive task when an impending failure is detected during inspection. &lt;br /&gt;
=====Failure Detection=====&lt;br /&gt;
Inspection tasks can be used to check for indications of an approaching failure.  BlockSim models such indications of when an approaching failure will become detectable upon inspection using Failure Detection Threshold and P-F Interval.  Failure detection threshold allows the user to enter a number between 0 and 1 indicating the percentage of an item&#039;s life that must elapse before an approaching failure can be detected.  For instance, if the failure detection threshold value is set as 0.8 then this means that the failure of a component can be detected only during the last 20% of its life.  If an inspection occurs during this time, an approaching failure is detected and the inspection triggers a preventive maintenance task to take the necessary precautions to delay the failure by either repairing or replacing the component.&lt;br /&gt;
&lt;br /&gt;
The P-F interval allows the user to enter the amount of time before the failure of a component when the approaching failure can be detected by an inspection.  The P-F interval represents the warning period that spans from P(when a potential failure can be detected) to F(when the failure occurs).  If a P-F interval is set as 200 hours, then the approaching failure of the component can only be detected at 200 hours before the failure of the component.  Thus, if a component has a fixed life of 1,000 hours and the P-F interval is set to 200 hours, then if an inspection occurs at or beyond 800 hours, then the approaching failure of the component that is to occur at 1,000 hours is detected by this inspection and a preventive maintenance task is triggered to take action against this failure.&lt;br /&gt;
&lt;br /&gt;
=====Rules for On Condition Tasks=====&lt;br /&gt;
&lt;br /&gt;
*An inspection that finds a block at or beyond the failure detection threshold or within the range of the P-F interval will trigger the associated preventive task as long as preventive maintenance can be performed on that block.&lt;br /&gt;
&lt;br /&gt;
*If a non-downing inspection triggers a preventive maintenance action because the failure detection threshold or P-F interval range was reached, no other maintenance task will be performed between the inspection and the triggered preventive task; tasks that would otherwise have happened at that time due to system age, system down or group maintenance will be ignored.&lt;br /&gt;
&lt;br /&gt;
*A preventive task that would have been triggered by a non-downing inspection will not happen if the block fails during the inspection, as corrective maintenance will take place instead.&lt;br /&gt;
&lt;br /&gt;
*If a failure will occur within the failure detection threshold or P-F interval set for the inspection, but the preventive task is only supposed to be performed when the system is down, the simulation waits until the requirements of the preventive task are met to perform the preventive maintenance.&lt;br /&gt;
&lt;br /&gt;
*If the on condition inspection triggers the preventive maintenance part of the task, the simulation assumes that the maintenance crew will forego any routine servicing associated with the inspection part of the task. In other words, the restoration will come from the preventive maintenance, so any restoration factor defined for the inspection will be ignored in these circumstances.&lt;br /&gt;
&lt;br /&gt;
=====Example Using P-F Interval=====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the P-F interval in BlockSim, consider a component &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; that fails every 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  The corrective maintenance on this equipment takes 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete, while the preventive maintenance takes 50 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete.  Both the corrective and preventive maintenance actions have a type II restoration factor of 1.  Inspection tasks of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration are performed on the component every 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  There is no restoration of the component during the inspections.  The P-F interval for this component is 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The component behavior from 0 to 2000 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; is shown in the figure below and described next.&lt;br /&gt;
&lt;br /&gt;
::#At 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the first scheduled inspection of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs.  At this time the age of the component is 300 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (which begins at the age of 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; and ends at the age of 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;).  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the second scheduled inspection of 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs.  At this time the age of the component is 590 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (no age is accumulated during the first inspection from 300 tu to 310 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; as the component does not operate during this inspection).  Again this inspection does not lie in the P-F interval.  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 720 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the component fails after having accumulated an age of 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  A corrective maintenance task of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs to restore the component to as-good-as-new condition.&lt;br /&gt;
::#At 900 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the third scheduled inspection occurs.  At this time the age of the component is 80 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval (from age 600 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;).  Thus, no approaching failure is detected during this inspection.&lt;br /&gt;
::#At 1200 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the fourth scheduled inspection occurs.  At this time the age of the component is 370 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  Again, this inspection does not lie in the P-F interval and no approaching failure is detected.&lt;br /&gt;
::#At 1500 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the fifth scheduled inspection occurs.  At this time the age of the component is 660 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, which lies in the P-F interval.  As a result, an approaching failure is detected and the inspection triggers a preventive maintenance task.  A preventive maintenance task of 50 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; duration occurs at 1510 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to restore the component to as-good-as-new condition.&lt;br /&gt;
::#At 1800 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; the sixth scheduled inspection occurs.  At this time the age of the component is 240 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  This inspection does not lie in the P-F interval (from age 600 tu to 700 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;) and no approaching failure is detected.&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.32.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
====Rules for PMs and Inspections====&lt;br /&gt;
&lt;br /&gt;
All the options available in the Maintenance task window were designed to maximize the modeling flexibility within BlockSim.  However, maximizing the modeling flexibility introduces issues that you need to be aware of and requires you to carefully select options in order to assure that the selections do not contradict one another.  One obvious case would be to define a PM action on a component in series (which will always bring the system down) and then assign a PM policy to the block that has the Do not perform maintenance if the action brings the system down option set.  With these settings, no PMs will ever be performed on the component during the BlockSim simulation.  The following sections summarize some issues and special cases to consider when defining maintenance properties in BlockSim.&lt;br /&gt;
&lt;br /&gt;
::#Inspections do not consume spare parts.  However, an inspection can have a renewal effect on the component if the restoration factor is set to a number other than the default of 0.&lt;br /&gt;
::#On the inspection tab, if Inspection brings system down is selected, this also implies that the inspection brings the item down.&lt;br /&gt;
::#If a PM or an inspection are scheduled based on the item&#039;s age, then they will occur exactly when the item reaches that age.  However, it is important to note that failed items do not age.  Thus, if an item fails before it reaches that age, the action will not be performed.  This means that if the item fails before the scheduled inspection (based on item age) and the CM is set to be performed upon inspection, the CM will never take place.  The reason that this option is allowed in BlockSim is for the flexibility of specifying renewing inspections.&lt;br /&gt;
::#Downtime due to a failure discovered during a non-downing inspection is included when computing results &amp;quot;w/o PM, OC &amp;amp; Inspections.&amp;quot;&lt;br /&gt;
::#If a PM upon item age is scheduled and is not performed because it brings the system down (based on the option in the PM task) the PM will not happen unless the item reaches that age again (after restoration by CM, inspection or another type of PM).&lt;br /&gt;
::#If the CM task is upon inspection and a failed component is scheduled for PM prior to the inspection, the PM action will restore the component and the CM will not take place.&lt;br /&gt;
::#In the case of simultaneous events, only one event is executed (except the case in maintenance phase, in maintenance phase, all simultaneous events in maintenance phase are executed in a order). The following precedence order is used: 1). Tasks based on intervals or upon start of a maintenance phase; 2). Tasks based on events in a maintenance group, where the triggering event applies to a block; 3). Tasks based on system down; 4). Tasked on events in a maintenance group, where the triggering event applies to a subdiagram. Within these categories, order is determined according to the priorities specified in the URD (i.e., the higher the task in on the list, the higher the priority).&lt;br /&gt;
::#The PM option of Do not perform if it brings the system down is only considered at the time that the PM needs to be initiated.  If the system is down at that time, due to another item, then the PM will be performed regardless of any future consequences to the system up state.  In other words, when the other item is fixed, it is possible that the system will remain down due to this PM action.  In this case, the PM time difference is added to the system PM downtime.  &lt;br /&gt;
::#Downing events cannot overlap. If a component is down due to a PM and another PM is suggested based on another trigger, the second call is ignored.&lt;br /&gt;
::#A non-downing inspection with a restoration factor restores the block based on the age of the block at the beginning of the inspection (i.e., duration is not restored). &lt;br /&gt;
::#Non-downing events can overlap with downing events.  If in a non-downing inspection and a downing event happen concurrently, the non-downing event will be managed in parallel with the downing event.&lt;br /&gt;
::#If a failure or PM occurs during a non-downing inspection and the CM or PM has a restoration factor and the inspection action has a restoration factor, then both restoration factors are used (compounded).&lt;br /&gt;
::#A PM or inspection on system down is triggered only if the system was up at the time that the event brought the system down.&lt;br /&gt;
::#A non-downing inspection with restoration factor of 0 does not affect the block.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of maintenance policies in BlockSim we will use the same example from [[Repairable_Systems_Analysis_Through_Simulation#Example_Using_Both_Crews_and_Pools|Example Using Both Crews and Pools]] with the following modifications (The figures below also show these settings): &lt;br /&gt;
&lt;br /&gt;
Blocks A and D: &lt;br /&gt;
#Belong to the same group (Group 1).&lt;br /&gt;
#Corrective maintenance actions are upon inspection (not upon failure) and the inspections are performed every 30 hours, based on system time. Inspections have a duration of 1 hour. Furthermore, unlimited free crews are available to perform the inspections.&lt;br /&gt;
#Whenever either item get CM, the other one gets a PM.&lt;br /&gt;
#The PM has a fixed duration of 10 hours.&lt;br /&gt;
#The same crews are used for both corrective and preventive maintenance actions.&lt;br /&gt;
&lt;br /&gt;
[[Image:r29.png|center|650px| CM and Inspection settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:r29b.png|center|650px| CM and Inspection settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:r30.png|center|650px| PM settings for blocks A and D | link= ]]&lt;br /&gt;
&lt;br /&gt;
====System Overview====&lt;br /&gt;
&lt;br /&gt;
The item and system behavior from 0 to 300 hours is shown in the figure below and described next. &lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.35.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
::1.  At 100, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; goes down and brings the system down.  &lt;br /&gt;
:::a)	No maintenance action is performed since an upon inspection policy was used.&lt;br /&gt;
:::b)	The next scheduled inspection is at 120, thus Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is called to perform the maintenance by 121 (end of the inspection).&lt;br /&gt;
::2.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives and initiates the repair on &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 131.&lt;br /&gt;
:::a)	The only part in the pool is used and an on-condition restock is triggered.&lt;br /&gt;
:::b)	Pool [on-hand = 0, pending: 150 &amp;lt;math&amp;gt;_{s}\,\!&amp;lt;/math&amp;gt;, 181].&lt;br /&gt;
:::c)	Block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is repaired by 141.&lt;br /&gt;
::3.	At the same time (121), a PM is initiated for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; because the PM task called for &amp;quot;PM upon the start of corrective maintenance on another group item.&amp;quot;&lt;br /&gt;
:::a)	Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is called for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and arrives at 136.&lt;br /&gt;
:::b)	No part is available until 150.  An on-condition restock is triggered for 181.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 150 &amp;lt;math&amp;gt;_{s}\,\!&amp;lt;/math&amp;gt;, 181, 181].&lt;br /&gt;
:::d)	At 150, a part becomes available and the PM is completed by 160.&lt;br /&gt;
:::e)	Pool [on-hand = 0, pending: 181, 181].&lt;br /&gt;
::4.	At 161, block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails (corrective maintenance upon failure).&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; gets Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, which arrives at 171.&lt;br /&gt;
:::b)	No part is available until 181.  An on-condition restock is triggered for 221.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181, 181, 221].&lt;br /&gt;
:::d)	A part arrives at 181.&lt;br /&gt;
:::e)	The repair is completed by 201.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 181, 221].&lt;br /&gt;
::5.	At 162, block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;  fails.&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; gets Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which arrives at 177.&lt;br /&gt;
:::b)	No part is available until 181.  An on-condition restock is triggered for 222.&lt;br /&gt;
:::c)	Pool [on-hand = 0, pending: 181, 221, 222].&lt;br /&gt;
:::d)	A part arrives at 181.&lt;br /&gt;
:::e)	The repair is completed by 201.&lt;br /&gt;
:::f)	Pool [on-hand = 0, pending: 221, 222].  &lt;br /&gt;
::6.	At 163, block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; fails and brings the system down.&lt;br /&gt;
:::a)	Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; calls Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  Both are busy.&lt;br /&gt;
:::b)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; will be the first available so  ..  calls &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; again and waits.&lt;br /&gt;
:::c)	No part is available until 221.  An on-condition restock is triggered for 223.&lt;br /&gt;
:::d)	Pool [on-hand = 0, pending: 221, 222, 223].&lt;br /&gt;
:::e)	Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; arrives at 211.&lt;br /&gt;
:::f)	Repair begins at 221.&lt;br /&gt;
:::g)	Repair is completed by 241.&lt;br /&gt;
:::h)	Pool [on-hand = 0, pending: 222, 223].  &lt;br /&gt;
::7.	At 298, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; goes down and brings the system down.&lt;br /&gt;
&lt;br /&gt;
====System Uptimes/Downtimes====&lt;br /&gt;
::1.  Uptime: This is 200 hours.  &lt;br /&gt;
:::a)	This can be obtained by observing the following system up durations: 0 to 100, 160 to 163 and 201 to 298.&lt;br /&gt;
::2.	CM Downtime: This is 58 hours.&lt;br /&gt;
:::a)	Observe that even though the system failed at 100, the CM action (on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; ) was initiated at 121 and lasted until 141, thus only 20 hours of this downtime are attributed to the CM action.&lt;br /&gt;
:::b)	The next CM action started at 163 when block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; failed and lasted until 201 when blocks &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; were restored, thus adding another 38 hours of CM downtime.&lt;br /&gt;
::3.	Inspection Downtime: This is 1 hour. &lt;br /&gt;
:::a)	The only time the system was under inspection was from 120 to 121, during the inspection of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::4.	PM Downtime: This is 19 hours.  &lt;br /&gt;
:::a)	Note that the entire PM action duration on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was from 121 to 160.&lt;br /&gt;
:::b)	Until 141, and from the system perspective, the CM on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was the cause for the downing.  Once block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was restored (at 141), then the reason for the system being down became the PM on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::c)	Thus, the PM on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was only responsible for the downtime after block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was restored, or from 141 to 160.&lt;br /&gt;
::5.	OC Downtime: This is 0. There is not on condition task in this example. &lt;br /&gt;
::6.	Total Downtime:  This is 100 hours. &lt;br /&gt;
:::a)	This includes all of the above downtimes plus the 20 hours (100 to 120) and the 2 hours (298 to 300) that the system was down due the undiscovered failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:R32.png|center|600px|link=]]&lt;br /&gt;
&lt;br /&gt;
====System Metrics====&lt;br /&gt;
::1.	Mean Availability (All Events): &lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{300-100}{300}=0.6667\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::2.	Mean Availability (w/o PM &amp;amp; Inspection):&lt;br /&gt;
:::a)	This is due to the CM downtime of 58, the undiscovered downtime of 22 and the inspection downtime of 1, or: &lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{300-(58+22+1)}{300}=0.7333\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:::b)	It should be noted that the inspection downtime was included even though the definition was &amp;quot;w/o PM &amp;amp; Inspection.&amp;quot;  The reason for this is that the inspection did not cause the downtime in this case.  Only downtimes caused by the PM or inspections are excluded.  &lt;br /&gt;
::3. Point Availability and Reliability at 300 is zero because the system was down at 300.&lt;br /&gt;
::4.	Expected Number of Failures is 3.  &lt;br /&gt;
:::a)	The system failed at 100, 163 and 298.&lt;br /&gt;
::5.	The standard deviation of the number of failures is 0.&lt;br /&gt;
::6.	The MTTFF is 100 because the example is deterministic.&lt;br /&gt;
&lt;br /&gt;
====The System Downing Events====&lt;br /&gt;
::1.	Number of Failures is 3.&lt;br /&gt;
:::a)	The first is the failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, the second is the failure of block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the third is the failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::2.	Number of CMs is 2.  &lt;br /&gt;
:::a)	The first is the CM on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the second is the CM on block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
::3.	Number of Inspections is 1.&lt;br /&gt;
::4.	Number of PMs is 1.&lt;br /&gt;
::5.	Total Events are 6.  These are events that the downtime can be attributed to.  Specifically, the following events were observed:&lt;br /&gt;
:::a)	The failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 100.  &lt;br /&gt;
:::b)	Inspection on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 120.&lt;br /&gt;
:::c)	The CM action on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::d)	The PM action on block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; (after &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; was fixed).&lt;br /&gt;
:::e)	The failure of block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; at 163.&lt;br /&gt;
:::f)	The failure of block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 298.&lt;br /&gt;
&lt;br /&gt;
====Block Details====&lt;br /&gt;
The details for blocks &amp;lt;math&amp;gt;A,B,C,D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; are shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r33.png|center|600px| Block details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
We will discuss some of these results.  First note that there are four downing events on block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; : initial failure, inspection and CM, plus the last failure at 298.  All others have just one.  Also, block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; had a total downtime of &amp;lt;math&amp;gt;41+2\,\!&amp;lt;/math&amp;gt;, giving it a mean availability of 0.8567.  The first time-to-failure for block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; occurred at 100 while the second occurred after &amp;lt;math&amp;gt;298-141=157\,\!&amp;lt;/math&amp;gt; hours of operation, yielding an average time between failures (MTBF) of &amp;lt;math&amp;gt;257/2=128.5\,\!&amp;lt;/math&amp;gt;. (Note that this is the same as uptime/failures.)  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; never failed, so its MTBF cannot be determined.  Furthermore,  MTBDE for each item is determined by dividing the block&#039;s uptime by the number of events.  The RS FCI and RS DECI metrics are obtained by looking at the SD Failures and SD Events of the item and the number of system failures and events.  Specifically, the only items that caused system failure are blocks &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 100 and 298 and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; at 163.  It is important to note that even though one could argue that block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; alone did not cause the failure ( &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; were also failed), the downing was attributed to &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; because the system reached a failed state only when block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; failed.  &lt;br /&gt;
&lt;br /&gt;
On the number of inspections, which were scheduled every 30 hours, nine occurred for block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; [30, 60, 90, 120, 150, 180, 210, 240, 270] and eight for block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; did not get inspected at 150 because block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; was undergoing a PM action at that time.&lt;br /&gt;
&lt;br /&gt;
====Crew Details====&lt;br /&gt;
&lt;br /&gt;
The figure below shows the crew results.&lt;br /&gt;
&lt;br /&gt;
[[Image:r34.png|center|400px| Crew details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; received a total of six calls and accepted three.  Specifically,&lt;br /&gt;
&lt;br /&gt;
::#At 121, the crew was called by block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the call was accepted.&lt;br /&gt;
::#At 121, block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; also called for its PM action and was rejected.  Block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; then called crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which accepted the call.&lt;br /&gt;
::#At 161, block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; accepted.&lt;br /&gt;
::#At 162, block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  Crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; rejected and block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which accepted the call.&lt;br /&gt;
::#At 163, block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; called crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and then crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and both rejected.  Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; then waited until a crew became available at 201 and called that crew again.  This was crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, which accepted.&lt;br /&gt;
&lt;br /&gt;
The total wait time is the time that blocks had to wait for the maintenance crew.  Block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is the only component that waited, waiting 38 hours for crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also, the costs for crew &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; were 1 per unit time and 10 per incident, thus the total costs were 100 + 30.  The costs for Crew &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; were 2 per unit time and 20 per incident, thus the total costs were 156 + 40.&lt;br /&gt;
&lt;br /&gt;
====Pool Details====&lt;br /&gt;
The figure below shows the spare part pool results.&lt;br /&gt;
&lt;br /&gt;
[[Image:r35.png|center|300px| Pool details for this example.|link=]]&lt;br /&gt;
&lt;br /&gt;
The pool started with a stock level of 1 and ended up with 2.  Specifically,&lt;br /&gt;
&lt;br /&gt;
::#At 121, the pool dispensed a part to block &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 181.&lt;br /&gt;
::#At 121, it dispensed a part to block &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 181.&lt;br /&gt;
::#At 150, a scheduled part arrived to restock the pool.&lt;br /&gt;
::#At 161 the pool dispensed a part to block &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 221.&lt;br /&gt;
::#At 181, it dispensed a part to block &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 222.&lt;br /&gt;
::#At 221, it dispensed a part to block &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and ordered another to arrive at 223.&lt;br /&gt;
::#The 222 and 223 arrivals remained in stock until the end of the simulation.&lt;br /&gt;
&lt;br /&gt;
Overall, five parts were dispensed. Blocks had to wait a total of 126 hours to receive parts (B: 181-161=20, C: 181-162=19, D: 150-121=29  and  F: 221-163=58).&lt;br /&gt;
&lt;br /&gt;
=Subdiagrams and Multi Blocks in Simulation=&lt;br /&gt;
&lt;br /&gt;
Any subdiagrams and multi blocks that may be present in the BlockSim RBD are expanded and/or merged into a single diagram before the system is simulated.  As an example, consider the system shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:r38.png|center|350px| A system made up of three subsystems, A, B, and C.|link=]]&lt;br /&gt;
&lt;br /&gt;
BlockSim will internally merge the system into a single diagram before the simulation, as shown in the figure below.  This means that all the failure and repair properties of the items in the subdiagrams are also considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:r39.png|center|350px| The simulation engine view of the system and subdiagrams|link=]]&lt;br /&gt;
 &lt;br /&gt;
In the case of multi blocks, the blocks are also fully expanded before simulation.  This means that unlike the analytical solution, the execution speed (and memory requirements) for a multi block representing ten blocks in series is identical to the representation of ten individual blocks in series.&lt;br /&gt;
&lt;br /&gt;
=Containers in Simulation=&lt;br /&gt;
===Standby Containers===&lt;br /&gt;
When you simulate a diagram that contains a standby container, the container acts as the switch mechanism (as shown below) in addition to defining the standby relationships and the number of active units that are required. The container&#039;s failure and repair properties are really that of the switch itself. The switch can fail with a distribution, while waiting to switch or during the switch action. Repair properties restore the switch regardless of how the switch failed. Failure of the switch itself does not bring the container down because the switch is not really needed unless called upon to switch. The container will go down if the units within the container fail or the switch is failed when a switch action is needed. The restoration time for this is based on the repair distributions of the contained units and the switch. Furthermore, the container is down during a switch process that has a delay.  &lt;br /&gt;
&lt;br /&gt;
[[Image:8.43.png|center|500px| The standby container acts as the switch, thus the failure distribution of the container is the failure distribution of the switch. The container can also fail when called upon to switch.|link=]]&lt;br /&gt;
&lt;br /&gt;
[[Image:8_43_1_new.png|center|150px|link=]]&lt;br /&gt;
&lt;br /&gt;
To better illustrate this, consider the following deterministic case.&lt;br /&gt;
&lt;br /&gt;
::#Units &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are contained in a standby container.&lt;br /&gt;
::#The standby container is the only item in the diagram, thus failure of the container is the same as failure of the system.  &lt;br /&gt;
::#&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is the active unit and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is the standby unit.  &lt;br /&gt;
::#Unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (active) and takes 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair.  &lt;br /&gt;
::#&amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails every 3 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; (active) and also takes 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair.  &lt;br /&gt;
::#The units cannot fail while in quiescent (standby) mode.  &lt;br /&gt;
::#Furthermore, assume that the container (acting as the switch) fails every 30 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; while waiting to switch and takes 4 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to repair. If not failed, the container switches with 100% probability.  &lt;br /&gt;
::#The switch action takes 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to complete.&lt;br /&gt;
::#After repair, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is always reactivated.  &lt;br /&gt;
::#The container does not operate through system failure and thus the components do not either.  &lt;br /&gt;
&lt;br /&gt;
Keep in mind that we are looking at two events on the container.  The container down and container switch down.&lt;br /&gt;
&lt;br /&gt;
The system event log is shown in the figure below and is as follows:&lt;br /&gt;
&lt;br /&gt;
[[Image:BS8.44.png|center|600px| The system behavior using a standby container.|link=]]&lt;br /&gt;
&lt;br /&gt;
::#At 30, the switch fails and gets repaired by 34.  The container switch is failed and being repaired; however, the container is up during this time.&lt;br /&gt;
::#At 64, the switch fails and gets repaired by 68.  The container is up during this time.&lt;br /&gt;
::#At 98, the switch fails.  It will be repaired by 102.&lt;br /&gt;
::#At 100, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  Unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; attempts to activate the switch to go to &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; ; however, the switch is failed.&lt;br /&gt;
::#At 102, the switch is operational.&lt;br /&gt;
::#From 102 to 109, the switch is in the process of switching from unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; to unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  The container and system are down from 100 to 109.&lt;br /&gt;
::#By 110, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is fixed and the system is switched back to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;.  The return switch action brings the container down for 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, from 110 to 117.  During this time, note that unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; has only functioned for 1 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;, 109 to 110.&lt;br /&gt;
::#At 146, the switch fails and gets repaired by 150.  The container is up during this time.&lt;br /&gt;
::#At 180, the switch fails and gets repaired by 184.  The container is up during this time.&lt;br /&gt;
::#At 214, the switch fails and gets repaired by 218.  &lt;br /&gt;
::#At 217, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  The switch is failed at this time.&lt;br /&gt;
::#At 218, the switch is operational and the system is switched to unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; within 7 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.  The container is down from 218 to 225.&lt;br /&gt;
::#At 225, unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; takes over.  After 2 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of operation at 227, unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.  It will be restored by 237.  &lt;br /&gt;
::#At 227, unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is repaired and the switchback action to unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is initiated.  By 234, the system is up.&lt;br /&gt;
::#At 262, the switch fails and gets repaired by 266.  The container is up during this time.&lt;br /&gt;
::#At 296, the switch fails and gets repaired by 300.  The container is up during this time.&lt;br /&gt;
&lt;br /&gt;
The system results are shown in the figure below and discussed next.&lt;br /&gt;
[[Image:BS8.45.png|center|600px| System overview results.|link=]]&lt;br /&gt;
&lt;br /&gt;
::1.	System CM Downtime is 24.  &lt;br /&gt;
:::a)	CM downtime includes all downtime due to failures as well as the delay in switching from a failed active unit to a standby unit.  It does not include the switchback time from the standby to the restored active unit.  Thus, the times from 100 to 109, 217 to 225 and 227 to 234 are included.  The time to switchback, 110 to 117, is not included.&lt;br /&gt;
::2.	System Total Downtime is 31.  &lt;br /&gt;
:::a)	It includes the CM downtime and the switchback downtime.&lt;br /&gt;
::3.	Number of System Failures is 3.  &lt;br /&gt;
:::a)	It includes the failures at 100, 217 and 227.  &lt;br /&gt;
:::b)	This is the same as the number of CM downing events.  &lt;br /&gt;
::4.	The Total Downing Events are 4.  &lt;br /&gt;
:::a)	This includes the switchback downing event at 110.&lt;br /&gt;
::5.	The Mean Availability (w/o PM and Inspection) does not include the downtime due to the switchback event.&lt;br /&gt;
&lt;br /&gt;
====Additional Rules and Assumptions for Standby Containers====&lt;br /&gt;
&lt;br /&gt;
::1)	A container will only attempt to switch if there is an available non-failed item to switch to.  If there is no such item, it will then switch if and when an item becomes available. The switch will cancel the action if it gets restored before an item becomes available.  &lt;br /&gt;
:::a)	As an example, consider the case of unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; failing active while unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; failed in a quiescent mode.  If unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; gets restored before unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, then the switch will be initiated.  If unit &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored before unit &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the switch action will not occur.&lt;br /&gt;
::2)	If the container switch is failed and a switching action is required, the switching action will occur after the switch has been restored if it is still required (i.e., if the active unit is still failed).&lt;br /&gt;
::3)	If a switch fails during the delay time of the switching action based on the reliability distribution (quiescent failure mode), the action is still carried out unless a failure based on the switch probability/restarts occurs when attempting to switch.  &lt;br /&gt;
::4)	During switching events, the change from the operating to quiescent distribution (and vice versa) occurs at the end of the delay time.&lt;br /&gt;
::5)	The option of whether components operate while the system is down is defined at component level now (This is different from BlockSim 7, in which this option of the contained items inherit from container). Two rules here:&lt;br /&gt;
:::a)	If a path inside the container is down, blocks inside the container that are in that path do not continue to operate.&lt;br /&gt;
:::b)	Blocks that are up do not continue to operate while the container is down.&lt;br /&gt;
::6)	A switch can have a repair distribution and maintenance properties without having a reliability distribution.  &lt;br /&gt;
:::a)	This is because maintenance actions are performed regardless of whether the switch failed while waiting to switch (reliability distribution) or during the actual switching process (fixed probability).&lt;br /&gt;
::7)	A switch fails during switching when the restarts are exhausted.&lt;br /&gt;
::8)	A restart is executed every time the switch fails to switch (based on its fixed probability of switching).&lt;br /&gt;
::9)	If a delay is specified, restarts happen after the delay.&lt;br /&gt;
::10)	If a container brings the system down, the container is responsible for the system going down (not the blocks inside the container).&lt;br /&gt;
&lt;br /&gt;
===Load Sharing Containers===&lt;br /&gt;
&lt;br /&gt;
When you simulate a diagram that contains a load sharing container, the container defines the load that is shared. A load sharing container has no failure or repair distributions. The container itself is considered failed if all the blocks inside the container have failed (or &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; blocks in a &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; -out-of- &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; configuration).&lt;br /&gt;
&lt;br /&gt;
To illustrate this, consider the following container with items &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in a load sharing redundancy.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails every 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; every 120 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; if both items are operating and they fail in half that time if either is operating alone (i.e., the items age twice as fast when operating alone).  They both get repaired in 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:8.46.png|center|600px| Behavior of a simple load sharing system.|link=]]&lt;br /&gt;
&lt;br /&gt;
The system event log is shown in the figure above and is as follows:&lt;br /&gt;
&lt;br /&gt;
::1.	At 100, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails.  It takes 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; to restore &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  &lt;br /&gt;
::2.	From 100 to 105, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is operating alone and is experiencing a higher load.&lt;br /&gt;
::3.	At 115, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.    would normally be expected to fail at 120, however:  &lt;br /&gt;
:::a)	From 0 to 100, it accumulated the equivalent of 100 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of damage.&lt;br /&gt;
:::b)	From 100 to 105, it accumulated 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of damage, which is twice the damage since it was operating alone.  Put another way, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; aged by 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; over a period of 5 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
:::c)	At 105, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored but &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; has only 10 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; of life remaining at this point.&lt;br /&gt;
:::d)	 &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails at 115.&lt;br /&gt;
::4.	At 120, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is repaired.&lt;br /&gt;
::5.	At 200, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; fails again.  &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; would normally be expected to fail at 205; however, the failure of &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; at 115 to 120 added additional damage to &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.  In other words, the age of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 115 was 10; by 120 it was 20.  Thus it reached an age of 100 95 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; later at 200.  &lt;br /&gt;
::6.	 &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is restored by 205.&lt;br /&gt;
::7.	At 235, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails.  &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; would normally be expected to fail at 240; however, the failure of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; at 200 caused the reduction.&lt;br /&gt;
:::a)	At 200, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; had an age of 80.&lt;br /&gt;
:::b)	By 205, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; had an age of 90.&lt;br /&gt;
:::c)	 &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; fails 30 &amp;lt;math&amp;gt;tu\,\!&amp;lt;/math&amp;gt; later at 235.&lt;br /&gt;
::8.	The system itself never failed.&lt;br /&gt;
&lt;br /&gt;
====Additional Rules and Assumptions for Load Sharing Containers====&lt;br /&gt;
&lt;br /&gt;
::1.	The option of whether components operate while the system is down is defined at component level now (This is different from BlockSim 7, in which this option of the contained items inherit from container). Two rules here:&lt;br /&gt;
:::a)	If a path inside the container is down, blocks inside the container that are in that path do not continue to operate.&lt;br /&gt;
:::b)	Blocks that are up do not continue to operate while the container is down.&lt;br /&gt;
::2.	If a container brings the system down, the block that brought the container down is responsible for the system going down.  (This is the opposite of standby containers.)&lt;br /&gt;
&lt;br /&gt;
=State Change Triggers=&lt;br /&gt;
{{:State Change Triggers}}&lt;br /&gt;
&lt;br /&gt;
=Discussion=&lt;br /&gt;
&lt;br /&gt;
Even though the examples and explanations presented here are deterministic, the sequence of events and logic used to view the system is the same as the one that would be used during simulation.  The difference is that the process would be repeated multiple times during simulation and the results presented would be the average results over the multiple runs.&lt;br /&gt;
&lt;br /&gt;
Additionally, multiple metrics and results are presented and defined in this chapter.  Many of these results can also be used to obtain additional metrics not explicitly given in BlockSim&#039;s Simulation Results Explorer.  As an example, to compute mean availability with inspections but without PMs, the explicit downtimes given for each event could be used.  Furthermore, all of the results given are for operating times starting at zero to a specified end time (although the components themselves could have been defined with a non-zero starting age).  Results for a starting time other than zero could be obtained by running two simulations and looking at the difference in the detailed results where applicable.   As an example, the difference in uptimes and downtimes can be used to determine availabilities for a specific time window.&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=62849</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=62849"/>
		<updated>2016-01-21T16:20:04Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* Mixture Design Types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in DOE++ only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in DOE++ to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in DOE++ are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In DOE++ all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, DOE++ will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in DOE++ is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in DOE++ can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In DOE++, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Parametric_Recurrent_Event_Data_Analysis&amp;diff=57372</id>
		<title>Parametric Recurrent Event Data Analysis</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Parametric_Recurrent_Event_Data_Analysis&amp;diff=57372"/>
		<updated>2015-04-02T17:19:59Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* The GRP Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Banner Weibull Articles}}&lt;br /&gt;
&#039;&#039;This article appears in the [[Recurrent_Event_Data_Analysis#Parametric_Recurrent_Event_Data_Analysis|Life Data Analysis Reference book]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Navigation box}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;Weibull++&#039;s parametric RDA&amp;amp;nbsp;folio is a tool for modeling recurrent event data. It can capture the trend, estimate the rate and predict the total number of recurrences. The failure and repair data of a repairable system can be treated as one type of recurrence data. Past and current repairs may affect the future failure process. For most recurrent events, time (distance, cycles, etc.) is a key factor. With time, the recurrence rate may remain constant, increase or decrease. For other recurrent events, not only the time, but also the number of events can affect the recurrence process (e.g., the debugging process in software development). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parametric analysis approach utilizes the General Renewal Process (GRP) model, as discussed in Mettas and Zhao [[Appendix:_Life_Data_Analysis_References|[28]]]. In this model, the repair time is assumed to be negligible so that the processes can be viewed as point processes. This model provides a way to describe the rate of occurrence of events over time, such as in the case of data obtained from a repairable system. This model is particularly useful in modeling the failure behavior of a specific system and understanding the effects of the repairs on the age of that system. For example, consider a system that is repaired after a failure, where the repair does not bring the system to an &#039;&#039;as-good-as-new&#039;&#039; or an &#039;&#039;as-bad-as-old&#039;&#039; condition. In other words, the system is partially rejuvenated after the repair. Traditionally, in as-bad-as-old repairs, also known as &#039;&#039;minimal repairs&#039;&#039;, the failure data from such a system would have been modeled using a homogeneous or non-homogeneous Poisson process (NHPP). On rare occasions, a Weibull distribution has been used as well in cases where the system is almost as-good-as-new after the repair, also known as a &#039;&#039;perfect renewal process&#039;&#039; (PRP). However, for the intermediate states after the repair, there has not been a commercially available model, even though many models have been proposed in literature. In Weibull++, the GRP model provides the capability to model systems with partial renewal (&#039;&#039;general repair&#039;&#039; or &#039;&#039;imperfect repair/maintenance&#039;&#039;) and allows for a variety of predictions such as reliability, expected failures, etc. &lt;br /&gt;
&lt;br /&gt;
== The GRP Model  ==&lt;br /&gt;
In this model, the concept of virtual age is introduced. Let&amp;amp;nbsp;&amp;lt;math&amp;gt;{{t}_{1}},{{t}_{2}},\cdots ,{{t}_{n}}\,\!&amp;lt;/math&amp;gt; represent the&amp;amp;nbsp;successive failure times and let &amp;lt;math&amp;gt;{{x}_{1}},{{x}_{2}},\cdots ,{{x}_{n}}\,\!&amp;lt;/math&amp;gt; represent the time between failures ( &amp;lt;math&amp;gt;{{t}_{i}}=\sum_{j=1}^{i}{{x}_{j}})\,\!&amp;lt;/math&amp;gt;. Assume that after each event, actions are taken to improve the system performance. Let &amp;lt;math&amp;gt;q\,\!&amp;lt;/math&amp;gt; be the action effectiveness factor. There are two GRP models: &lt;br /&gt;
&lt;br /&gt;
Type I: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
v_{i}=v_{i-1}+qx_{i}=qt_{i}&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type II: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{v}_{i}}=q({{v}_{i-1}}+{{x}_{i}})={{q}^{i}}{{x}_{1}}+{{q}^{i-1}}{{x}_{2}}+\cdots +{{q}{x}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{v}_{i}}\,\!&amp;lt;/math&amp;gt; is the virtual age of the system right after &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair. The Type I model assumes that the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair cannot remove the damage incurred before the &amp;lt;math&amp;gt;(i-1)\,\!&amp;lt;/math&amp;gt; th repair. It can only reduce the additional age &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{{qx}_{i}}\,\!&amp;lt;/math&amp;gt;. The Type II model assumes that at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair, the virtual age has been accumulated to &amp;lt;math&amp;gt;v_{i-1} + {{x}_{i}}\,\!&amp;lt;/math&amp;gt;. The &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair will remove the cumulative damage from both current and previous failures by reducing the virtual age to &amp;lt;math&amp;gt;q(v_{i-1} + x_{i})\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The power law function is used to model the rate of recurrence, which is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\lambda(t)=\lambda \beta t^{\beta -1} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The conditional &#039;&#039;pdf&#039;&#039; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f({{t}_{i}}|{{t}_{i-1}})=\lambda \beta {{({{x}_{i}}+{{v}_{i-1}})}^{\beta -1}}{{e}^{-\lambda \left[ {{\left( {{x}_{i}}+{{v}_{i-1}} \right)}^{\beta }}-v_{i-1}^{\beta } \right]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MLE method is used to estimate the model parameters. The log likelihood function is discussed in Mettas and Zhao [[Appendix:_Life_Data_Analysis_References|[28]]]: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \ln (L)= n(\ln \lambda +\ln \beta )-\lambda \left[ {{\left( T-{{t}_{n}}+{{v}_{n}} \right)}^{\beta }}-v_{n}^{\beta } \right] \\ &lt;br /&gt;
  &amp;amp; -\lambda \underset{i=1}{\overset{n}{\mathop \sum }}\,\left[ {{\left( {{x}_{i}}+{{v}_{i-1}} \right)}^{\beta }}-v_{i}^{\beta } \right]+(\beta -1)\underset{i=1}{\overset{n}{\mathop \sum }}\,\ln ({{x}_{i}}+{{v}_{i-1}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of events during the entire observation period. &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; is the stop time of the observation. &amp;lt;math&amp;gt;T = t_{n}\,\!&amp;lt;/math&amp;gt; if the observation stops right after the last event.&lt;br /&gt;
&lt;br /&gt;
== Confidence Bounds  ==&lt;br /&gt;
In general, in order to obtain the virtual age, the exact occurrence time of each event (failure) should be available (see equations for Type I and Type II models). However, the times are unknown until the corresponding events occur. For this reason, there are no closed-form expressions for total failure number and failure intensity, which are functions of failure times and virtual age. Therefore, in Weibull++, a Monte Carlo simulation is used to predict values of virtual time, failure number, MTBF and failure rate. The approximate confidence bounds obtained from simulation are provided. The uncertainty of model parameters is also considered in the bounds. &lt;br /&gt;
&lt;br /&gt;
=== Bounds on Cumulative Failure (Event) Numbers  ===&lt;br /&gt;
The variance of the cumulative failure number &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var[N(t)]=Var\left[ E(N(t)|\lambda ,\beta ,q) \right]+E\left[ Var(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first term accounts for the uncertainty of the parameter estimation. The second term considers the uncertainty caused by the renewal process even when model parameters are fixed. However, unless &amp;lt;math&amp;gt;q = 1\,\!&amp;lt;/math&amp;gt; , &amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt; cannot be calculated because &amp;lt;math&amp;gt;E(N(t))\,\!&amp;lt;/math&amp;gt; cannot be expressed as a closed-form function of &amp;lt;math&amp;gt;\lambda,\beta\,\,&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;q\,\!&amp;lt;/math&amp;gt;. In order to consider the uncertainty of the parameter estimation, &amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt; is approximated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]=Var[E(N({{v}_{t}})|\lambda ,\beta )]=Var[\lambda v_{t}^{\beta }]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; is the expected virtual age at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Var[\lambda v_{t}^{\beta }]\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var[\lambda v_{t}^{\beta }]= &amp;amp; {{\left( \frac{\partial (\lambda v_{t}^{\beta })}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial (\lambda v_{t}^{\beta })}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial (\lambda v_{t}^{\beta })}{\partial \beta }\frac{\partial (\lambda v_{t}^{\beta })}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By conducting this approximation, the uncertainty of &amp;lt;math&amp;gt;\lambda\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta\,\!&amp;lt;/math&amp;gt; are considered. The value of &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; and the value of the second term in the equation for the variance of number of failures are obtained through the Monte Carlo simulation using parameters &amp;lt;math&amp;gt;\hat{\lambda },\hat{\beta },\hat{q},\,\!&amp;lt;/math&amp;gt; which are the ML estimators. The same simulation is used to estimate the cumulative number of failures &amp;lt;math&amp;gt;\hat{N}(t)=E(N(t)|\hat{\lambda },\hat{\beta },\hat{q})\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Once the variance and the expected value of &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; have been obtained, the bounds can be calculated by assuming that&amp;amp;nbsp;&amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is lognormally distributed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\ln N(t)-\ln \hat{N}(t)}{\sqrt{Var(\ln N(t))}}\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds for a given confidence level &amp;lt;math&amp;gt;\alpha\,\!&amp;lt;/math&amp;gt; can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{U,L}}=\hat{N}(t){{e}^{\pm {{z}_{a}}\sqrt{Var(N(t))}/\hat{N}(t)}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;z_{a}\,\!&amp;lt;/math&amp;gt; is the standard normal distribution. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is assumed to be normally distributed, the bounds can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{U}}=\hat{N}(t)+{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{L}}=\hat{N}(t)-{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Weibull++, the &amp;lt;math&amp;gt;N(t)_{U}\,\!&amp;lt;/math&amp;gt; is the smaller of the upper bounds obtained from lognormal and normal distribution appoximation. The &amp;lt;math&amp;gt;N(t)_{L}\,\!&amp;lt;/math&amp;gt; is set to the largest of the lower bounds obtained from lognormal and normal distribution appoximation. This combined method can prevent the out-of-range values of bounds for some small &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; values.&lt;br /&gt;
&lt;br /&gt;
=== Bounds of Cumulative Failure Intensity and MTBF  ===&lt;br /&gt;
For a given time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; , the expected value of cumulative MTBF &amp;lt;math&amp;gt;m_{c}(t)\,\!&amp;lt;/math&amp;gt; and cumulative failure intensity &amp;lt;math&amp;gt;\lambda_{c}(t)\,\!&amp;lt;/math&amp;gt; can be calculated using the following equations: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{\lambda }}_{c}}(t)=\frac{\hat{N}(t)}{t};{{\hat{m}}_{c}}(t)=\frac{t}{\hat{N}(t)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The bounds can be easily obtained from the corresponding bounds of &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{{\hat{\lambda }}}_{c}}{{(t)}_{L}}= &amp;amp; \frac{\hat{N}{{(t)}_{L}}}{t};\text{  }{{{\hat{\lambda }}}_{c}}{{(t)}_{L}}=\frac{\hat{N}{{(t)}_{L}}}{t};\text{  } \\ &lt;br /&gt;
 &amp;amp; {{{\hat{m}}}_{c}}{{(t)}_{L}}= &amp;amp; \frac{t}{\hat{N}{{(t)}_{U}}};\text{  }{{{\hat{m}}}_{c}}{{(t)}_{U}}=\frac{t}{\hat{N}{{(t)}_{L}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bounds on Instantaneous Failure Intensity and MTBF  ===&lt;br /&gt;
The instantaneous failure intensity is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}(t)=\lambda \beta v_{t}^{\beta -1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; is the virtual age at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;q\ne 1,\,\!&amp;lt;/math&amp;gt; it is obtained from simulation. When &amp;lt;math&amp;gt;q = 1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;v_{t} = t\,\!&amp;lt;/math&amp;gt; from model Type I and Type II. &lt;br /&gt;
&lt;br /&gt;
The variance of instantaneous failure intensity can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var({{\lambda }_{i}}(t))= {{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial {{\lambda }_{i}}(t)}{\partial \beta }\frac{\partial {{\lambda }_{i}}(t)}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })+{{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial v(t)} \right)}^{2}}Var({{{\hat{v}}}_{t}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The expected value and variance of &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; are obtained from the Monte Carlo simulation with parameters &amp;lt;math&amp;gt;\hat{\lambda },\hat{\beta },\hat{q}.\,\!&amp;lt;/math&amp;gt; Because of the simulation accuracy and the convergence problem in calculation of &amp;lt;math&amp;gt;Var(\hat{\beta }),Var(\hat{\lambda })\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Cov(\hat{\beta },\hat{\lambda }),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Var(\lambda_{i}(t))\,\!&amp;lt;/math&amp;gt; can be a negative value at some time points. When this case happens, the bounds of instantaneous failure intensity are not provided. &lt;br /&gt;
&lt;br /&gt;
Once the variance and the expected value of &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; are obtained, the bounds can be calculated by assuming that &amp;amp;nbsp;&amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; is lognormally distributed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\ln {{\lambda }_{i}}(t)-\ln {{{\hat{\lambda }}}_{i}}(t)}{\sqrt{Var(\ln {{\lambda }_{i}}(t))}}\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds for a given confidence level &amp;lt;math&amp;gt;\alpha\,\!&amp;lt;/math&amp;gt; can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}(t)={{\hat{\lambda }}_{i}}(t){{e}^{\pm {{z}_{a}}\sqrt{Var({{\lambda }_{i}}(t))}/{{{\hat{\lambda }}}_{i}}(t)}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;z_{a}\,\!&amp;lt;/math&amp;gt; is the standard normal distribution. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; is assumed to be normally distributed, the bounds can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}{{(t)}_{U}}={{\hat{\lambda }}_{i}}(t)+{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}{{(t)}_{L}}={{\hat{\lambda }}_{i}}(t)-{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Weibull++, &amp;lt;math&amp;gt;\lambda_{i}(t)_{U}\,\!&amp;lt;/math&amp;gt; is set to the smaller of the two upper bounds obtained from the above lognormal and normal distribution appoximation. &amp;lt;math&amp;gt;\lambda_{i}(t)_{L}\,\!&amp;lt;/math&amp;gt; is set to the largest of the two lower bounds obtained from the above lognormal and normal distribution appoximation. This combination method can prevent the out of range values of bounds when &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; values are small. &lt;br /&gt;
&lt;br /&gt;
For a given time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;, the expected value of cumulative MTBF &amp;lt;math&amp;gt;m_{i}(t)\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}(t)=\frac{1}{{{{\hat{\lambda }}}_{i}}(t)}\text{  }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds can be easily obtained from the corresponding bounds of &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}{{(t)}_{U}}=\frac{1}{{{{\hat{\lambda }}}_{i}}{{(t)}_{L}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}{{(t)}_{L}}=\frac{1}{{{{\hat{\lambda }}}_{i}}{{(t)}_{U}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bounds on Conditional Reliability  ===&lt;br /&gt;
Given mission start time &amp;lt;math&amp;gt;t_{0}\,\!&amp;lt;/math&amp;gt; and mission time &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt;, the conditional reliability can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T|{{t}_{0}})=\frac{R(T+{{v}_{0}})}{R({{v}_{0}})}={{e}^{-\lambda [{{({{v}_{0}}+T)}^{\beta }}-{{v}_{0}}]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_{0}\,\!&amp;lt;/math&amp;gt; is the virtual age corresponding to time &amp;lt;math&amp;gt;t_{0}\,\!&amp;lt;/math&amp;gt;. The expected value and the variance of &amp;lt;math&amp;gt;v_{0}\,\!&amp;lt;/math&amp;gt; are obtained from Monte Carlo simulation. The variance of the conditional reliability &amp;lt;math&amp;gt;R(T|t_{0})\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(R)=  {{\left( \frac{\partial R}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial R}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial R}{\partial \beta }\frac{\partial R}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })+{{\left( \frac{\partial R}{\partial {{v}_{0}}} \right)}^{2}}Var({{{\hat{v}}}_{0}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the simulation accuracy and the convergence problem in calculation of &amp;lt;math&amp;gt;Var(\hat{\beta }),Var(\hat{\lambda })\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Cov(\hat{\beta },\hat{\lambda }),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Var(R)\,\!&amp;lt;/math&amp;gt; can be a negative value at some time points. When this case happens, the bounds are not provided. &lt;br /&gt;
&lt;br /&gt;
The bounds are based on: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\log \text{it}(\hat{R}(T))\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\log \text{it}(\hat{R}(T))=\ln \left\{ \frac{\hat{R}(T)}{1-\hat{R}(T)} \right\}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The confidence bounds on reliability are given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R=\frac{{\hat{R}}}{\hat{R}+(1-\hat{R}){{e}^{\pm \sqrt{Var(R)}/[\hat{R}(1-\hat{R})]}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will be compared with the bounds obtained from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R=\hat{R}{{e}^{\pm {{z}_{a}}\sqrt{Var(R)}/\hat{R}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The smaller of the two upper bounds will be the final upper bound and the larger of the two lower bounds will be the final lower bound.&lt;br /&gt;
&lt;br /&gt;
==Example: Air Condition Unit== &lt;br /&gt;
&lt;br /&gt;
{{:Example:_Parametric_RDA_-_Air_Condition_Unit}}&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Parametric_Recurrent_Event_Data_Analysis&amp;diff=57371</id>
		<title>Parametric Recurrent Event Data Analysis</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Parametric_Recurrent_Event_Data_Analysis&amp;diff=57371"/>
		<updated>2015-04-02T17:05:14Z</updated>

		<summary type="html">&lt;p&gt;Miklos Szidarovszky: /* The GRP Model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Banner Weibull Articles}}&lt;br /&gt;
&#039;&#039;This article appears in the [[Recurrent_Event_Data_Analysis#Parametric_Recurrent_Event_Data_Analysis|Life Data Analysis Reference book]].&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Navigation box}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;Weibull++&#039;s parametric RDA&amp;amp;nbsp;folio is a tool for modeling recurrent event data. It can capture the trend, estimate the rate and predict the total number of recurrences. The failure and repair data of a repairable system can be treated as one type of recurrence data. Past and current repairs may affect the future failure process. For most recurrent events, time (distance, cycles, etc.) is a key factor. With time, the recurrence rate may remain constant, increase or decrease. For other recurrent events, not only the time, but also the number of events can affect the recurrence process (e.g., the debugging process in software development). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parametric analysis approach utilizes the General Renewal Process (GRP) model, as discussed in Mettas and Zhao [[Appendix:_Life_Data_Analysis_References|[28]]]. In this model, the repair time is assumed to be negligible so that the processes can be viewed as point processes. This model provides a way to describe the rate of occurrence of events over time, such as in the case of data obtained from a repairable system. This model is particularly useful in modeling the failure behavior of a specific system and understanding the effects of the repairs on the age of that system. For example, consider a system that is repaired after a failure, where the repair does not bring the system to an &#039;&#039;as-good-as-new&#039;&#039; or an &#039;&#039;as-bad-as-old&#039;&#039; condition. In other words, the system is partially rejuvenated after the repair. Traditionally, in as-bad-as-old repairs, also known as &#039;&#039;minimal repairs&#039;&#039;, the failure data from such a system would have been modeled using a homogeneous or non-homogeneous Poisson process (NHPP). On rare occasions, a Weibull distribution has been used as well in cases where the system is almost as-good-as-new after the repair, also known as a &#039;&#039;perfect renewal process&#039;&#039; (PRP). However, for the intermediate states after the repair, there has not been a commercially available model, even though many models have been proposed in literature. In Weibull++, the GRP model provides the capability to model systems with partial renewal (&#039;&#039;general repair&#039;&#039; or &#039;&#039;imperfect repair/maintenance&#039;&#039;) and allows for a variety of predictions such as reliability, expected failures, etc. &lt;br /&gt;
&lt;br /&gt;
== The GRP Model  ==&lt;br /&gt;
In this model, the concept of virtual age is introduced. Let&amp;amp;nbsp;&amp;lt;math&amp;gt;{{t}_{1}},{{t}_{2}},\cdots ,{{t}_{n}}\,\!&amp;lt;/math&amp;gt; represent the&amp;amp;nbsp;successive failure times and let &amp;lt;math&amp;gt;{{x}_{1}},{{x}_{2}},\cdots ,{{x}_{n}}\,\!&amp;lt;/math&amp;gt; represent the time between failures ( &amp;lt;math&amp;gt;{{t}_{i}}=\sum_{j=1}^{i}{{x}_{j}})\,\!&amp;lt;/math&amp;gt;. Assume that after each event, actions are taken to improve the system performance. Let &amp;lt;math&amp;gt;q\,\!&amp;lt;/math&amp;gt; be the action effectiveness factor. There are two GRP models: &lt;br /&gt;
&lt;br /&gt;
Type I: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
v_{i}=v_{i-1}+qx_{i}=qt_{i}&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type II: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{v}_{i}}=q({{v}_{i-1}}+{{x}_{i}})={{q}^{i}}{{x}_{1}}+{{q}^{i-1}}{{x}_{2}}+\cdots +{{q}{x}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{v}_{i}}\,\!&amp;lt;/math&amp;gt; is the virtual age of the system right after &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair. The Type I model assumes that the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair cannot remove the damage incurred before the &amp;lt;math&amp;gt;{(}{i}-{1}{)}\,\!&amp;lt;/math&amp;gt;th repair. It can only reduce the additional age &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;q{{x}_{i}}\,\!&amp;lt;/math&amp;gt;. The Type II model assumes that at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair, the virtual age has been accumulated to &amp;lt;math&amp;gt;v_{i-1} + {{x}_{i}}\,\!&amp;lt;/math&amp;gt;. The &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th repair will remove the cumulative damage from both current and previous failures by reducing the virtual age to &amp;lt;math&amp;gt;q(v_{i-1} + x_{i})\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The power law function is used to model the rate of recurrence, which is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\lambda(t)=\lambda \beta t^{\beta -1} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The conditional &#039;&#039;pdf&#039;&#039; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f({{t}_{i}}|{{t}_{i-1}})=\lambda \beta {{({{x}_{i}}+{{v}_{i-1}})}^{\beta -1}}{{e}^{-\lambda \left[ {{\left( {{x}_{i}}+{{v}_{i-1}} \right)}^{\beta }}-v_{i-1}^{\beta } \right]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MLE method is used to estimate the model parameters. The log likelihood function is discussed in Mettas and Zhao [[Appendix:_Life_Data_Analysis_References|[28]]]: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \ln (L)= n(\ln \lambda +\ln \beta )-\lambda \left[ {{\left( T-{{t}_{n}}+{{v}_{n}} \right)}^{\beta }}-v_{n}^{\beta } \right] \\ &lt;br /&gt;
  &amp;amp; -\lambda \underset{i=1}{\overset{n}{\mathop \sum }}\,\left[ {{\left( {{x}_{i}}+{{v}_{i-1}} \right)}^{\beta }}-v_{i}^{\beta } \right]+(\beta -1)\underset{i=1}{\overset{n}{\mathop \sum }}\,\ln ({{x}_{i}}+{{v}_{i-1}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of events during the entire observation period. &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; is the stop time of the observation. &amp;lt;math&amp;gt;T = t_{n}\,\!&amp;lt;/math&amp;gt; if the observation stops right after the last event.&lt;br /&gt;
&lt;br /&gt;
== Confidence Bounds  ==&lt;br /&gt;
In general, in order to obtain the virtual age, the exact occurrence time of each event (failure) should be available (see equations for Type I and Type II models). However, the times are unknown until the corresponding events occur. For this reason, there are no closed-form expressions for total failure number and failure intensity, which are functions of failure times and virtual age. Therefore, in Weibull++, a Monte Carlo simulation is used to predict values of virtual time, failure number, MTBF and failure rate. The approximate confidence bounds obtained from simulation are provided. The uncertainty of model parameters is also considered in the bounds. &lt;br /&gt;
&lt;br /&gt;
=== Bounds on Cumulative Failure (Event) Numbers  ===&lt;br /&gt;
The variance of the cumulative failure number &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var[N(t)]=Var\left[ E(N(t)|\lambda ,\beta ,q) \right]+E\left[ Var(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first term accounts for the uncertainty of the parameter estimation. The second term considers the uncertainty caused by the renewal process even when model parameters are fixed. However, unless &amp;lt;math&amp;gt;q = 1\,\!&amp;lt;/math&amp;gt; , &amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt; cannot be calculated because &amp;lt;math&amp;gt;E(N(t))\,\!&amp;lt;/math&amp;gt; cannot be expressed as a closed-form function of &amp;lt;math&amp;gt;\lambda,\beta\,\,&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;q\,\!&amp;lt;/math&amp;gt;. In order to consider the uncertainty of the parameter estimation, &amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]\,\!&amp;lt;/math&amp;gt; is approximated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var\left[ E(N(t)|\lambda ,\beta ,q) \right]=Var[E(N({{v}_{t}})|\lambda ,\beta )]=Var[\lambda v_{t}^{\beta }]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; is the expected virtual age at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Var[\lambda v_{t}^{\beta }]\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var[\lambda v_{t}^{\beta }]= &amp;amp; {{\left( \frac{\partial (\lambda v_{t}^{\beta })}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial (\lambda v_{t}^{\beta })}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial (\lambda v_{t}^{\beta })}{\partial \beta }\frac{\partial (\lambda v_{t}^{\beta })}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By conducting this approximation, the uncertainty of &amp;lt;math&amp;gt;\lambda\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta\,\!&amp;lt;/math&amp;gt; are considered. The value of &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; and the value of the second term in the equation for the variance of number of failures are obtained through the Monte Carlo simulation using parameters &amp;lt;math&amp;gt;\hat{\lambda },\hat{\beta },\hat{q},\,\!&amp;lt;/math&amp;gt; which are the ML estimators. The same simulation is used to estimate the cumulative number of failures &amp;lt;math&amp;gt;\hat{N}(t)=E(N(t)|\hat{\lambda },\hat{\beta },\hat{q})\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Once the variance and the expected value of &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; have been obtained, the bounds can be calculated by assuming that&amp;amp;nbsp;&amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is lognormally distributed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\ln N(t)-\ln \hat{N}(t)}{\sqrt{Var(\ln N(t))}}\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds for a given confidence level &amp;lt;math&amp;gt;\alpha\,\!&amp;lt;/math&amp;gt; can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{U,L}}=\hat{N}(t){{e}^{\pm {{z}_{a}}\sqrt{Var(N(t))}/\hat{N}(t)}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;z_{a}\,\!&amp;lt;/math&amp;gt; is the standard normal distribution. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt; is assumed to be normally distributed, the bounds can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{U}}=\hat{N}(t)+{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;N{{(t)}_{L}}=\hat{N}(t)-{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Weibull++, the &amp;lt;math&amp;gt;N(t)_{U}\,\!&amp;lt;/math&amp;gt; is the smaller of the upper bounds obtained from lognormal and normal distribution appoximation. The &amp;lt;math&amp;gt;N(t)_{L}\,\!&amp;lt;/math&amp;gt; is set to the largest of the lower bounds obtained from lognormal and normal distribution appoximation. This combined method can prevent the out-of-range values of bounds for some small &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; values.&lt;br /&gt;
&lt;br /&gt;
=== Bounds of Cumulative Failure Intensity and MTBF  ===&lt;br /&gt;
For a given time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; , the expected value of cumulative MTBF &amp;lt;math&amp;gt;m_{c}(t)\,\!&amp;lt;/math&amp;gt; and cumulative failure intensity &amp;lt;math&amp;gt;\lambda_{c}(t)\,\!&amp;lt;/math&amp;gt; can be calculated using the following equations: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{\lambda }}_{c}}(t)=\frac{\hat{N}(t)}{t};{{\hat{m}}_{c}}(t)=\frac{t}{\hat{N}(t)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The bounds can be easily obtained from the corresponding bounds of &amp;lt;math&amp;gt;N(t)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{{\hat{\lambda }}}_{c}}{{(t)}_{L}}= &amp;amp; \frac{\hat{N}{{(t)}_{L}}}{t};\text{  }{{{\hat{\lambda }}}_{c}}{{(t)}_{L}}=\frac{\hat{N}{{(t)}_{L}}}{t};\text{  } \\ &lt;br /&gt;
 &amp;amp; {{{\hat{m}}}_{c}}{{(t)}_{L}}= &amp;amp; \frac{t}{\hat{N}{{(t)}_{U}}};\text{  }{{{\hat{m}}}_{c}}{{(t)}_{U}}=\frac{t}{\hat{N}{{(t)}_{L}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bounds on Instantaneous Failure Intensity and MTBF  ===&lt;br /&gt;
The instantaneous failure intensity is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}(t)=\lambda \beta v_{t}^{\beta -1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; is the virtual age at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;q\ne 1,\,\!&amp;lt;/math&amp;gt; it is obtained from simulation. When &amp;lt;math&amp;gt;q = 1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;v_{t} = t\,\!&amp;lt;/math&amp;gt; from model Type I and Type II. &lt;br /&gt;
&lt;br /&gt;
The variance of instantaneous failure intensity can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var({{\lambda }_{i}}(t))= {{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial {{\lambda }_{i}}(t)}{\partial \beta }\frac{\partial {{\lambda }_{i}}(t)}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })+{{\left( \frac{\partial {{\lambda }_{i}}(t)}{\partial v(t)} \right)}^{2}}Var({{{\hat{v}}}_{t}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The expected value and variance of &amp;lt;math&amp;gt;v_{t}\,\!&amp;lt;/math&amp;gt; are obtained from the Monte Carlo simulation with parameters &amp;lt;math&amp;gt;\hat{\lambda },\hat{\beta },\hat{q}.\,\!&amp;lt;/math&amp;gt; Because of the simulation accuracy and the convergence problem in calculation of &amp;lt;math&amp;gt;Var(\hat{\beta }),Var(\hat{\lambda })\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Cov(\hat{\beta },\hat{\lambda }),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Var(\lambda_{i}(t))\,\!&amp;lt;/math&amp;gt; can be a negative value at some time points. When this case happens, the bounds of instantaneous failure intensity are not provided. &lt;br /&gt;
&lt;br /&gt;
Once the variance and the expected value of &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; are obtained, the bounds can be calculated by assuming that &amp;amp;nbsp;&amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; is lognormally distributed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\ln {{\lambda }_{i}}(t)-\ln {{{\hat{\lambda }}}_{i}}(t)}{\sqrt{Var(\ln {{\lambda }_{i}}(t))}}\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds for a given confidence level &amp;lt;math&amp;gt;\alpha\,\!&amp;lt;/math&amp;gt; can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}(t)={{\hat{\lambda }}_{i}}(t){{e}^{\pm {{z}_{a}}\sqrt{Var({{\lambda }_{i}}(t))}/{{{\hat{\lambda }}}_{i}}(t)}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;z_{a}\,\!&amp;lt;/math&amp;gt; is the standard normal distribution. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt; is assumed to be normally distributed, the bounds can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}{{(t)}_{U}}={{\hat{\lambda }}_{i}}(t)+{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }_{i}}{{(t)}_{L}}={{\hat{\lambda }}_{i}}(t)-{{z}_{a}}\sqrt{Var(N(t))}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Weibull++, &amp;lt;math&amp;gt;\lambda_{i}(t)_{U}\,\!&amp;lt;/math&amp;gt; is set to the smaller of the two upper bounds obtained from the above lognormal and normal distribution appoximation. &amp;lt;math&amp;gt;\lambda_{i}(t)_{L}\,\!&amp;lt;/math&amp;gt; is set to the largest of the two lower bounds obtained from the above lognormal and normal distribution appoximation. This combination method can prevent the out of range values of bounds when &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; values are small. &lt;br /&gt;
&lt;br /&gt;
For a given time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt;, the expected value of cumulative MTBF &amp;lt;math&amp;gt;m_{i}(t)\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}(t)=\frac{1}{{{{\hat{\lambda }}}_{i}}(t)}\text{  }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds can be easily obtained from the corresponding bounds of &amp;lt;math&amp;gt;\lambda_{i}(t)\,\!&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}{{(t)}_{U}}=\frac{1}{{{{\hat{\lambda }}}_{i}}{{(t)}_{L}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{m}}_{i}}{{(t)}_{L}}=\frac{1}{{{{\hat{\lambda }}}_{i}}{{(t)}_{U}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bounds on Conditional Reliability  ===&lt;br /&gt;
Given mission start time &amp;lt;math&amp;gt;t_{0}\,\!&amp;lt;/math&amp;gt; and mission time &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt;, the conditional reliability can be calculated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T|{{t}_{0}})=\frac{R(T+{{v}_{0}})}{R({{v}_{0}})}={{e}^{-\lambda [{{({{v}_{0}}+T)}^{\beta }}-{{v}_{0}}]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_{0}\,\!&amp;lt;/math&amp;gt; is the virtual age corresponding to time &amp;lt;math&amp;gt;t_{0}\,\!&amp;lt;/math&amp;gt;. The expected value and the variance of &amp;lt;math&amp;gt;v_{0}\,\!&amp;lt;/math&amp;gt; are obtained from Monte Carlo simulation. The variance of the conditional reliability &amp;lt;math&amp;gt;R(T|t_{0})\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(R)=  {{\left( \frac{\partial R}{\partial \beta } \right)}^{2}}Var(\hat{\beta })+{{\left( \frac{\partial R}{\partial \lambda } \right)}^{2}}Var(\hat{\lambda }) \\ &lt;br /&gt;
 &amp;amp;  +2\frac{\partial R}{\partial \beta }\frac{\partial R}{\partial \lambda }Cov(\hat{\beta },\hat{\lambda })+{{\left( \frac{\partial R}{\partial {{v}_{0}}} \right)}^{2}}Var({{{\hat{v}}}_{0}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because of the simulation accuracy and the convergence problem in calculation of &amp;lt;math&amp;gt;Var(\hat{\beta }),Var(\hat{\lambda })\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Cov(\hat{\beta },\hat{\lambda }),\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Var(R)\,\!&amp;lt;/math&amp;gt; can be a negative value at some time points. When this case happens, the bounds are not provided. &lt;br /&gt;
&lt;br /&gt;
The bounds are based on: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\log \text{it}(\hat{R}(T))\tilde{\ }N(0,1)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\log \text{it}(\hat{R}(T))=\ln \left\{ \frac{\hat{R}(T)}{1-\hat{R}(T)} \right\}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The confidence bounds on reliability are given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R=\frac{{\hat{R}}}{\hat{R}+(1-\hat{R}){{e}^{\pm \sqrt{Var(R)}/[\hat{R}(1-\hat{R})]}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will be compared with the bounds obtained from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R=\hat{R}{{e}^{\pm {{z}_{a}}\sqrt{Var(R)}/\hat{R}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The smaller of the two upper bounds will be the final upper bound and the larger of the two lower bounds will be the final lower bound.&lt;br /&gt;
&lt;br /&gt;
==Example: Air Condition Unit== &lt;br /&gt;
&lt;br /&gt;
{{:Example:_Parametric_RDA_-_Air_Condition_Unit}}&lt;/div&gt;</summary>
		<author><name>Miklos Szidarovszky</name></author>
	</entry>
</feed>