mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
massive transfer of risk-reliability book
This commit is contained in:
parent
6697c0f5f8
commit
3d24a01439
152 changed files with 57886 additions and 0 deletions
136
book/reliability-system/exercise-simple-city.md
Normal file
136
book/reliability-system/exercise-simple-city.md
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
# Example System
|
||||
|
||||
A pre-fabricated bridge design is being considered for river crossings in a remote region of the world, as shown in Figure 1. Cities 1, 2 and 3 are labelled C1, C2 and C3, with bridges labelled B1-B4.
|
||||
|
||||
```{figure} ../figures/simple-city.png
|
||||
---
|
||||
width: 600px
|
||||
name: exercise-simple-city
|
||||
---
|
||||
```
|
||||
|
||||
**Question 1:** If the probability of failure for an individual bridge is 0.1 per year, compute the probability that you cannot drive from City 1 to City 2
|
||||
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_{f_{C1-C2}} = P_{f_{B1}} * P_{f_{B4-B3-B2}} = P_{f_{B1}} * (1 - (1 - P_{f_{B4}})(1 - P_{f_{B3}}*P_{f_{B2}}))
|
||||
$$
|
||||
$$
|
||||
P_{f_{C1 - C2}} = 0.1 * (1 - (1 - 0.1)(1 - 0.1 * 0.1)) = 0.0109
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 2:** If the probability of failure for an individual bridge is 0.1 per year, compute the probability that you cannot drive from City 2 to City 3.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_{f_{C2 - C3}} = P_{f_{B3}} * P_{f_{B2}} * P_{f_{B1 - B4}} = P_{f_{B3}} * P_{f_{B2}} * (1 - (1 - P_{f_{B1}})(1 - P_{f_{B4}}))
|
||||
$$
|
||||
$$
|
||||
P_{f_{C2 - C3}} = 0.1 * 0.1 * (1 - (1 - 0.1)(1 - 0.1)) = 0.0019 $$
|
||||
```
|
||||
|
||||
**Question 3:** If the probability of failure for an individual bridge is 0.1 per year, compute the probability that you cannot drive from City 1 to City 3
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_{f_{C1 - C3}} = P_{f_{B4}} * P_{f_{B1-B3-B2}} = P_{f_{B4}} * (1 - (1 - P_{f_{B1}})(1 - P_{f_{B3}}*P_{f_{B2}}))
|
||||
$$
|
||||
$$
|
||||
P_{f_{C1 - C3}} = 0.1 * (1 - (1 - 0.1)(1 - 0.1 * 0*1)) = 0.0109
|
||||
$$
|
||||
```
|
||||
|
||||
**Question 4:** Suppose there is a critical facility (e.g., a hospital) in City 3. How many bridges would you need to install between City 2 and 3 to ensure that the probability of someone not reaching City 3 from City 2 is less than $10^{-4}$?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_{f_{C2 - C3}} = P_{f_B}^n * (1 - (1 - P_{f_{B1}})(1 - P4))
|
||||
$$
|
||||
$$
|
||||
0.0001 = 0.1^n * (1 - (1 - 0.1)(1 - 0.1))
|
||||
$$
|
||||
$$
|
||||
n = 3.3
|
||||
$$
|
||||
|
||||
It is necessary to install 2 more bridges between City 2 and 3.
|
||||
```
|
||||
|
||||
**Question 5:** If you had 1 extra bridge to place, which bridge (i.e., B1, 2, 3 or 4) would you place it next to in order to have the biggest decrease of the probability of not reaching City 3 from City 1?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
I would locate the extra bridge next to Bridge 4. In this case, adding an extra element in the parallel system, making it more redundant.
|
||||
|
||||
- $P_f$ next to B1 = 0.00199
|
||||
- $P_f$ next to B2 or B3 = 0.0101
|
||||
- $P_f$ next to B4 = 0.00109
|
||||
```
|
||||
|
||||
**Question 6:** If you only had 3 available bridges, which of the 4 bridges in the figure would you remove first, to cause the smallest reduction in failure probability?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
I would remove Bridge 2 or 3. If bridge 1 or 4 is removed, a whole path is removed from the system, while by removing only Bridge 2 or 3, there is still an available bridge to cross that river.
|
||||
```
|
||||
|
||||
**Question 7:** What should the probability of each bridge be in order to make the probability of not crossing from C1 to C3 less than 0.01?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_{f_{C1-C3}} = P_{f_{B4}} * P_{f_{B1-B3-B2}} = P_{f_{B4}} * (1 - (1 - P_{f_{B1}})(1 - P_{f_{B3}} * P_{f_B2}))
|
||||
$$
|
||||
$$
|
||||
0.01 = X * (1 - (1 - X)(1 - X * X))
|
||||
$$
|
||||
$$
|
||||
X = 0.0960
|
||||
$$
|
||||
|
||||
Since the bridges have identical designs and have all been manufactured by the same contractor, positive dependence is expected between performance of bridges B1-B4.
|
||||
```
|
||||
|
||||
**Question 8:** State whether or not dependence would increase or decrease the probability calculated in question 3, and explain why with 1 or 2 sentences.
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
Increase.
|
||||
|
||||
The probability of failure would increase because the system mainly works like a parallel system. In this case, when there is full dependence between the elements, the probability of failure equals the probability of failure of the strongest element. For instance, $P_{f_{\text{bridges 2, 3}}}=0.01$ for independent case and 0.1 for full dependence case.
|
||||
```
|
||||
|
||||
Assume each prefabricated bridge is made up of a single road deck and 5 separate frames that are joined together. Each bridge will fail if either the road deck fails, or 1 of the frames fails.
|
||||
|
||||
**Question 9:** If the probability of a frame failure is 0.01, what is the required failure probability of the road deck to make sure the bridge failure probability is no more than 0.1?
|
||||
|
||||
```{admonition} Answer
|
||||
:class: tip, dropdown
|
||||
|
||||
$$
|
||||
P_f = 1 - (1 - P_{f_{text{deck}}})(1 - P_{f_{\text{one of the frames}}})
|
||||
$$
|
||||
$$
|
||||
P_f = 1 - (1 - P_{f_{text{deck}}})(1 - (1 - (1 - P_{f_{\text{frame}}})^5))
|
||||
$$
|
||||
$$
|
||||
0.1 = 1 - (1 - P_{f_{text{deck}}})(1 - (1 - (1 - 0.01)^5))
|
||||
$$
|
||||
$$
|
||||
P_{f_{\text{deck}}} = 0.0536
|
||||
$$
|
||||
```
|
||||
137
book/reliability-system/overview.md
Normal file
137
book/reliability-system/overview.md
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
(rel_sys)=
|
||||
# System Reliability
|
||||
|
||||
|
||||
|
||||
A structure or system in civil engineering generally consists of a set of *components* (also called *elements*). Whereas the previous chapter focused on the reliability of a single component, this chapter addresses reliability analysis for systems that consist of multiple components. The consequences of the failure of a component will depend on the type of system that is considered. In some cases, the failure of a component leads to failure of the whole system (progressive collapse). In other cases (and system configurations) there could be no failure if a single component fails and other components take over the function of the failed one.
|
||||
|
||||
The techniques introduced in this chapter essential for carrying out step 3 in a risk analysis: quantitative analysis.
|
||||
|
||||
## Series and Parallel Systems
|
||||
|
||||
In reliability analysis two types of basic systems can be distinguished: series and parallel (see {numref}`sys-series-parallel`).
|
||||
|
||||
```{figure} ../figures/system_series_parallel.png
|
||||
---
|
||||
height: 400px
|
||||
name: sys-series-parallel
|
||||
---
|
||||
Series (top row) and parallel (bottom row) systems: the building blocks of system reliability analysis.
|
||||
```
|
||||
Within a series system, failure of a single component will always lead to the failure of the entire system. An example is a chain, which breaks if any individual link fails. In our flood management example, a dike ring protecting a single area that is made up of multiple segments is also a series system. Within a parallel system, failure of one component can be compensated by the performance of another component; it represents the concept of redundancy. Drawing on the chain example, it would imply using more than one chain capable of holding the maximum load. An example from flood management would be to build a second dike ring inside the first dike ring. In practice, a complex system can generally be represented by means of a combination of parallel and series subsystems, just as the parallel system of multiple chains (or dikes) is a parallel system of series systems of links (or dike segments).
|
||||
|
||||
```{figure} ../figures/system_series_parallel_ex.png
|
||||
---
|
||||
height: 400px
|
||||
name: sys-series-parallel-ex
|
||||
---
|
||||
Example of series (top row) and parallel (bottom row) systems, illustrated with a chain and dike ring. Each component in the parallel case is itself a series system: links in the chain and dike segments in the dike ring.
|
||||
```
|
||||
|
||||
Systems are often schematized using a system diagram, as in {numref}`sys-series-parallel`. This also illustrates the function of a system as an input-output diagram, where one can considers the ability to travel from left to right on the figure. It is analagous to many scenarios involving flow: electricity ({numref}`sys-lightbulbs`), water in pipes or transportation routes.
|
||||
|
||||
```{figure} ../figures/system_lightbulbs.png
|
||||
---
|
||||
width: 400px
|
||||
name: sys-lightbulbs
|
||||
---
|
||||
Series (left) and parallel (right) systems illustrated as a string of lightbulbs.
|
||||
```
|
||||
|
||||
### Definition of Failure
|
||||
|
||||
Whereas in component reliability problems we defined failure using a function of random variables, in system reliability problems, we define failure based on the continuity of the system diagram. Failure occurs when we are not able to travel from left to right on the diagram due to one or more broken links.
|
||||
|
||||
## Reliability Calculations
|
||||
|
||||
Equations for computing parallel and series system reliability are described here with the notation $F_i$ and $\bar{F_i}$ to denote failure and non-failure of component $i$, respectively. A system is made up of $i=1,...,n$ components where the probability of failure of component $i$ is $P(F_i)$. Note that as a concept, "system reliability" is almost always going to be quantified using the failure probability of the system, $p_{f,sys}$. This is sometimes misleading or confusing because the mathematical definition of reliability is the complement of reliability, $1-p_{f,sys}$.
|
||||
### Parallel System
|
||||
|
||||
A parallel system is often described as redundant since *all* components must fail to cause system failure. This is also simple to calculate as it can be described mathematically as the joint failure probability, or intersection, of all components:
|
||||
|
||||
$$
|
||||
p_{f,sys} = P(F_1 \cap F_2 \cap ... \cap F_n)
|
||||
$$
|
||||
|
||||
If the components are independent, this becomes
|
||||
|
||||
$$
|
||||
p_{f,sys} = \prod_i^n P(F_i)
|
||||
$$
|
||||
|
||||
Although we will not quantify the effect of dependence in depth here, it is easy to see semi-quantitatively that positive dependence increases the intersection probability, and therefore also increases $p_{f,sys}$. Negative dependence has the opposite effect. In fact, if parallel components are mutually exclusive the system is guaranteed to survive. The case of negative dependence is trivial in engineering reliability computation, but something that is used to motivate the incorporation of resilience or robustness in our risk reduction decisions.
|
||||
|
||||
### Series System
|
||||
|
||||
A series system fails if *any* component fails, which is
|
||||
|
||||
$$
|
||||
p_{f,sys} = P(F_1 \cup F_2 \cup ... \cup F_n)
|
||||
$$
|
||||
|
||||
For two components this can easily be re-written as
|
||||
|
||||
$$
|
||||
p_{f,sys} = P(F_1) + P(F_2) - P(F_1 \cap F_2)
|
||||
$$ (sys_p_series)
|
||||
|
||||
Although it is straightforward to write out terms for 3 or more components, it is easier to re-write the union formulation as the complement of joint *survival* of the system:
|
||||
|
||||
$$
|
||||
p_{f,sys} = 1 - P(\bar{F}_1 \cap \bar{F}_2 \cap ... \cap \bar{F}_n)
|
||||
$$
|
||||
|
||||
As $\bar{F}_i=1-F_i$, we arrive at the following simple relationship:
|
||||
|
||||
$$
|
||||
p_{f,sys} = 1 - \prod_i^n \left(1-P(F_i)\right)
|
||||
$$
|
||||
|
||||
The influence of dependence on a series system is most easily understood through consideration of {eq}`sys_p_series`, which allows a direct analogy to the parallel case through the intersection term. With positive dependence, the system failure probability decreases
|
||||
|
||||
% add exercise to show equivalence for 3 or more components.
|
||||
|
||||
### Quantification of Dependence
|
||||
|
||||
{numref}`sys_dependence` quantifies the effect of dependence on the join probability of failure of two components. The joint failure probability is calculated using the multivariate normal distribution which has a linear dependence measure, the correlation coefficient, $\rho$. The blue line shows the series system failure probability, equivalent to {eq}`sys_p_series`. The figure allows one to evaluate the quantitative effect of dependence on series and parallel systems, and even illustrates the bound of $p_{f,sys}=P(F_1)$ for the case of $\rho=+1$.
|
||||
|
||||
|
||||
```{figure} ../figures/system-corr-coeff.PNG
|
||||
---
|
||||
width: 400px
|
||||
name: sys_dependence
|
||||
---
|
||||
Effect of correlation coefficient on failure probability for a series system via joint failure, $P(F1 \cap F2)$ (computed with a Gaussian copula). The arrow is located at $\rho=+0.9$, where $P(F1 \cap F2)=0.003$.
|
||||
```
|
||||
|
||||
````{admonition} Tips for Interpreting the Figure
|
||||
:class: tip, dropdown
|
||||
|
||||
{numref}`sys_dependence` is interesting because it shows the effect of dependence on *both* series and parallel systems, since they are related with {eq}`sys_p_series`, the value that is shown in the blue line. Note that the distance between the blue line and the top reference line is the value of the intersection, $P(F1\cap F2)$ (also called the "joint" or "and" probability). Note that without a joint probability distribution (in this case a bivariate Gaussian), you can't compute the joint probability of two events, except for three special cases, the vertical black lines in the figure---do you know what those values are? This is related to the concepts of dependent, mutually exclusive and statistically independent events, which are easy to confuse with each other.
|
||||
|
||||
It is also common to think about dependence in the sense of how "one event happens given that the other event has happened," but this is not quite right. Dependence is describged simply by the definition of conditional probability
|
||||
|
||||
$$
|
||||
P(F1 \cap F2) = P(F1|F2)\cdot P(F2)
|
||||
$$
|
||||
|
||||
which means the correct statement is that dependence quantifies how the "*probability* of one event *changes* (or not) given that the other event has happened."
|
||||
````
|
||||
|
||||
## Chapter Overview
|
||||
|
||||
This page contains a brief introduction to the computation of failure probability for series and parallel systems, and describes the role of dependence. The following section illustrates these concepts with a simple exercise.
|
||||
|
||||
### Additional Information
|
||||
|
||||
The word 'system' in the title of this chapter refers to a reliability analyses made up of more than one distinct components. It may or may not be the same as the system for which the risk analysis is being done. For example, in the flood risk case we look at a dike ring, which is a series system of dike segments. Each dike segment can fail in a variety of ways (e.g., sliding or eroding), where if *any* of these types of failure occurs, the dike fails; a series system. Thus, the dike ring is a series system, where each component also a series system.
|
||||
|
||||
% add a note about systems of systems, and being able to simplify problems. add figure too (there was one in Chapter 3, originally)
|
||||
|
||||
%Sometimes the distinction between system and component reliability is made because components are very different. Sometimes it is a matter of convenience, as two components may share a number of random variables through their respective limit-state functions that influence failure.
|
||||
|
||||
System reliability analysis can look very similar to component reliability problems, especially when various combinations of discrete and continuous random variables are incorporated. In reality, all of these problems are generalized by the concept of a multivariate probability distribution. The concepts are separated following conventions in engineering practice, as well as for the convenience of illustrating analytic and numerical solutions.
|
||||
|
||||
---
|
||||
|
||||
_The primary author for this chapter is Robert Lanzafame._
|
||||
Loading…
Add table
Add a link
Reference in a new issue