The Four Branch function¶
Four Branch function: contours, limit state (red), input PDF (transparent)¶
The Four Branch function is a 2D limit state function introduced by Schueremans and van Gemert (2005) [Schueremans2005] as a benchmark for structural reliability analysis. It represents a series system with four distinct failure modes (branches). The function has been widely used in reliability literature, particularly for testing active learning methods such as AK-MCS [echard2011].
Definition¶
Let the function
defined by:
The function consists of four branches: - Two quadratic branches (g1, g2) forming a parabolic shape opening upward - Two linear branches (g3, g4) forming a diamond shape
The parameter controls the position of the linear branches.
The standard benchmark value is
.
Probabilistic Inputs (Standard Benchmark)¶
The two input variables are modeled as independent standard normal random variables:
Input variable |
Distribution |
|---|---|
Normal( |
|
Normal( |
The failure event is defined as:
Reference Failure Probability¶
The failure probability has been
estimated by several methods in the literature:
Method |
N |
COV |
Source |
|
|---|---|---|---|---|
MCS |
0.15% |
Echard et al. (2011) |
||
IS |
1469 |
Echard et al. (2011) |
Analysis¶
The Four Branch function creates a non-convex failure domain with four distinct branches meeting at the origin. The failure domain is the union of four regions:
Region 1 (quadratic):
Region 2 (quadratic):
Region 3 (linear):
Region 4 (linear):
This function is particularly challenging for reliability methods because: 1. The failure domain is non-convex with four distinct components 2. The limit state function is non-smooth (minimum of four functions) 3. The probability of failure is small (rare event, ~0.45%)
It serves as a benchmark for: - Active learning reliability algorithms (AK-MCS, PC-Kriging, etc.) - Subset Sampling and NAIS algorithms - Gaussian Process / Polynomial Chaos metamodeling
References¶
[Schueremans2005] L. Schueremans and D. van Gemert, “Benefit of splines and neural networks in simulation based structural reliability analysis,” Structural Safety, vol. 27, no. 3, pp. 241-258, 2005. DOI: 10.1016/j.strusafe.2004.11.001
[echard2011] Echard B., Gayton N., Lemaire M., AK-MCS: an active learning reliability method combining Kriging and Monte Carlo simulation, Structural Safety, 33(2), 145-154, 2011. https://doi.org/10.1016/j.strusafe.2011.01.002
Load the use case¶
Standard benchmark version (independent standard normals, p=6):
>>> from openturns.usecases import four_branch_function
>>> fb = four_branch_function.FourBranchModel()
>>> print(fb.p)
6.0
>>> print(fb.distribution)
Independent copula
X1 ~ Normal(mu=0, sigma=1)
X2 ~ Normal(mu=0, sigma=1)
Custom parameter p:
>>> fb = four_branch_function.FourBranchModel(p=7.0)
>>> print(fb.p)
7.0
API documentation¶
- class FourBranchModel(p=6.0)
Data class for the Four Branch test function.
The Four Branch function is a 2D limit state function defined by:
The standard benchmark uses independent standard normal inputs:
with parameter
(default).
The failure event is
.
The reference failure probability is approximately
(MCS with 10^6 samples, Echard et al. 2011).
This function is commonly used as a benchmark in reliability analysis, active learning (AK-MCS), and surrogate modeling.
- Attributes:
- dimint
The dimension of the problem: dim=2.
- pfloat
The constant parameter p (default: 6.0).
- X1
Normal First marginal: standard Normal(0, 1).
- X2
Normal Second marginal: standard Normal(0, 1).
- distribution
JointDistribution The joint distribution of the input parameters (independent standard normals).
- model
PythonFunction The Four Branch function with parameter p.
References
Examples
>>> from openturns.usecases import four_branch_function >>> # Load the standard Four Branch model (p=6, standard normal inputs) >>> fb = four_branch_function.FourBranchModel() >>> print("Inputs:", fb.model.getInputDescription()) Inputs: [X1, X2] >>> print("Output:", fb.model.getOutputDescription()) Output: [y] >>> print("p =", fb.p) p = 6.0 >>> print("Distribution:", fb.distribution) Distribution: Independent copula X1 ~ Normal(mu=0, sigma=1) X2 ~ Normal(mu=0, sigma=1)
Create a model with custom parameter p:
>>> fb = four_branch_function.FourBranchModel(p=7.0)
Examples based on this use case¶
Four Branch function visualization and reliability analysis
Non parametric Adaptive Importance Sampling (NAIS)
OpenTURNS