# Benchmark case - Damped Oscillator

**URL:** <https://uqworld.org/t/benchmark-case-damped-oscillator/3730>\
**Category:** Benchmarks\
**Created:** [July 4, 2024, 7:33am UTC](https://uqworld.org/t/benchmark-case-damped-oscillator/3730 "2024-07-04T07:33:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adela](https://uqworld.org/user_avatar/uqworld.org/adela/32/2301_2.png) [@Adela](https://uqworld.org/u/Adela)\
**Post date:** [July 4, 2024, 7:33am UTC](https://uqworld.org/t/benchmark-case-damped-oscillator/3730/1 "2024-07-04T07:33:59Z")

</div>

# Damped Oscillator

The Damped Oscillator is an example that is commonly used in structural reliability to demonstrate the robustness of the proposed approach for estimating low failure probabilities and their gradients.

## Description

Figure 1 shows the considered two-degree-of-freedom primary-secondary system which is characterized by the masses m\_p and m\_s, spring stiffnesses k\_p and k\_s and damping ratios \zeta\_p and \zeta\_s. The subscripts p and s refer to the primary and secondary oscillators. Finally, the excitation, given by a white noise base acceleration, is represented through S(t).

 ![DampedOscillator](https://uqworld.org/uploads/default/original/2X/6/6e0ed7fc9369eb75468847473014eeaf86cab4b6.jpeg)  
**Figure 1** : A two-d.o.f. damped oscillator under a white-noise base acceleration, adapted from Dubourg (2011).

Assuming that the reliability of the entire system can be reduced to the capacity of the secondary spring, one finds a performance function which is defined as follows:

g(x) = F\_s - k\_s \max\_{t \in [0, \tau]} |x\_s(t)|

where

- F\_s: Force capacity of the secondary spring
- \tau: Duration of the excitation
- x\_s: Relative displacement

In the sequel, the maximum is substituted by its mean amplitude since the uncertainty in the peak response is usually small. Hence, the performance function can be rewritten:

g(x) = F\_s - p \cdot k\_s \sqrt{E\_S [x\_s^2]}

where

- p: So-called peak factor, set equal to 3

The mean-square relative displacement of the secondary spring under a white noise base acceleration S can be calculated using the analytic expression shown below:

E\_S [x\_s^2] = \frac{\pi S\_0}{4\zeta\_s \omega\_s^3} \cdot \frac{\zeta\_a \zeta\_s}{\zeta\_p \zeta\_s (4\zeta\_a^2 + \theta^2) + \gamma \zeta\_a^2} \cdot \frac{(\zeta\_p \omega\_p^3 + \zeta\_s \omega\_s^3) \omega\_p}{4\zeta\_a \omega\_a^4}

where

- \omega\_p, \omega\_s: Natural frequencies, given as
  - \omega\_p = \sqrt{\frac{k\_p}{m\_p}}, \omega\_s = \sqrt{\frac{k\_s}{m\_s}}

- S\_0: Intensity of the white noise
- \gamma, \omega\_a, \zeta\_a, \theta: Further abbreviations and ratios, determined through
  - \gamma = \frac{m\_s}{m\_p}
  - \omega\_a = \frac{\omega\_p + \omega\_s}{2}
  - \zeta\_a = \frac{\zeta\_p + \zeta\_s}{2}
  - \theta = \frac{\omega\_p - \omega\_s}{\omega\_a}

## Inputs

The Damped Oscillator problem contains eight independent, lognormal distributed random variables X = \{m\_p, m\_s, k\_p, k\_s, \zeta\_p, \zeta\_s, S\_0, F\_s\}:

| No | Variable | Description | Distribution | Statistics |
| --- | --- | --- | --- | --- |
| 1 | m\_p | Primary mass | Lognormal | \mu\_{m\_p} = 1.5,  
\text{CV}\_{m\_p} = 10\% |
| 2 | m\_s | Secondary mass | Lognormal | \mu\_{m\_s} = 0.01,  
\text{CV}\_{m\_s} = 10\% |
| 3 | k\_p | Primary spring stiffness | Lognormal | \mu\_{k\_p} = 1,  
\text{CV}\_{k\_p} = 20\% |
| 4 | k\_s | Secondary spring stiffness | Lognormal | \mu\_{k\_s} = 0.01,  
\text{CV}\_{k\_s} = 20\% |
| 5 | \zeta\_p | Primary damping ratio | Lognormal | \mu\_{\zeta\_p} = 0.05,  
\text{CV}\_{\zeta\_p} = 40\% |
| 6 | \zeta\_s | Secondary damping ratio | Lognormal | \mu\_{\zeta\_s} = 0.02,  
\text{CV}\_{\zeta\_s} = 50\% |
| 7 | S\_0 | Intensity of the white noise | Lognormal | \mu\_{S\_0} = 100,  
\text{CV}\_{S\_0} = 10\% |
| 8 | F\_s | Force capacity of the secondary spring | Lognormal | \mu\_{F\_s} = \{15, 21.5, 27.5\},  
\text{CV}\_{F\_s} = 10\% |

### Constants

The default value of the only constant, the peak factor, is determined as follows:

| Constant | Value |
| --- | --- |
| p | 3 |

## Reference results

The following table lists reference results of the probability of failure P\_f for different values of the force capacity of the secondary spring F\_s using subset simulation (Dubourg, 2011).

| \mu\_{F\_s} | 15 | 21.5 | 27.5 |
| --- | --- | --- | --- |
| Number of samples N | 300{,}000 | 500{,}000 | 700{,}000 |
| Probability of failure P\_f | 4.63 \times 10^{-3} | 4.75 \times 10^{-5} | 3.47 \times 10^{-7} |
| Coefficient of variation CV | \<3\% | \<4\% | \<5\% |

## Resources

The vectorized implementation of the damped oscillator in MATLAB, as well as the script file with the model and probabilistic inputs definitions for the function in UQLab, can be downloaded below:

[uq\_dampedOscillator.zip](https://uqworld.org/uploads/short-url/veVgMvVclyf3NNEZ0Qu9pUdGzOW.zip) (2.9 KB)

The contents of the file are:

| Filename | Description |
| --- | --- |
| `uq_DampedOscillator.m` | vectorized implementation of the damped oscillator performance function in MATLAB |
| `uq_Example_dampedOscillator.m` | definitions for the model and probabilistic inputs in UQLab |
| `LICENSE` | license for the function (BSD 3-Clause) |

## Open-access repository

The dataset used in this benchmark study is titled “Benchmark case datasets - Damped oscillator” and is authored by Adéla Hlobilová, Stefano Marelli, and Bruno Sudret. It was published in 2024 and is available on Zenodo. The dataset can be accessed directly via the following DOI link: [10.5281/zenodo.12700167](https://doi.org/10.5281/zenodo.12700167).

The experimental designs include datasets with 400, 800, 1200, 1600, and 2000 samples, each generated using optimized Latin Hypercube Sampling (LHS) with 1,000 iterations to improve the maximin criterion. Each dataset is replicated 20 times. The validation set contains 100,000 samples generated by Monte Carlo simulation. Each dataset contains samples and responses of the computational model.

For citation purposes, please use the following format:  
Hlobilová, A., Marelli, S., and Sudret, B. (2024). Benchmark case datasets - Damped oscillator. Zenodo. [https://doi.org/10.5281/zenodo.12700167](https://doi.org/10.5281/zenodo.12700167).

This project was supported by the Open Research Data Program of the ETH Board under Grant number EPFL SCR0902285.

## References

- Igusa, T., A. Der Kiureghian “Dynamic characterization of two degree-of-freedom equipment-structure systems,” _Journal of Engineering Mechanics_, vol. 111, issue 1, pp. 1–19, 1985. [DOI:10.1061/(ASCE)0733-9399(1985)111:1(1)](https://doi.org/10.1061/(ASCE)0733-9399(1985)111:1(1))
- Der Kiureghian, A., De Stefano, M. “An efficient algorithm for second-order reliability analysis,” Technical Report UCB/SEMM-90/20, Department of Civil and Environmental Engineering, University of California, Berkeley, 1990.
- Dubourg, V. Adaptive surrogate models for reliability analysis and reliability-based design optimization. Doctoral thesis, Blaise Pascal University – Clermont II, 2011. [PDF file](https://ethz.ch/content/dam/ethz/special-interest/baug/ibk/risk-safety-and-uncertainty-dam/publications/doctoral-theses/ThesisDubourg.pdf)
- Lüthen, N., Marelli, S., Sudret, B. “Sparse Polynomial Chaos Expansions: Literature Survey and Benchmark,” _SIAM/ASA Journal on Uncertainty Quantification_, vol. 9, issue 2, pp. 593–649, 2021. [DOI:10.1137/20M1315774](https://doi.org/10.1137/20M1315774)
