skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: UQpy: A general purpose Python package and development environment for uncertainty quantification

Journal Article · · Journal of Computational Science

In this paper, we present the UQpy software toolbox, an open-source Python package for general uncertainty quantification (UQ) in mathematical and physical systems. The software serves as both a user-ready toolbox that includes many of the latest methods for UQ in computational modeling and a convenient development environment for Python programmers advancing the field of UQ. The paper presents an introduction to the software's architecture and existing capabilities, divided in the code in a set of modules centered around different UQ tasks such as sampling methods, generation of random processes and random fields, probabilistic inverse modeling, reliability analysis, surrogate modeling, and active learning. The paper also highlights the importance of the RunModel module, which is used to drive simulations in the uncertainty analyses performed in UQpy. This module conveniently allows the user to define computational models directly in Python, or to run simulations from a third-party software in serial or in parallel. To illustrate the various capabilities, two examples are tracked throughout the paper and analyzed repeatedly for various UQ tasks. The first is a Python model solving a nonlinear structural dynamics problem, used to illustrate UQpy's capabilities in sampling and forward propagation of high dimensional random vectors (stochastic processes), and probabilistic inference. The second model is a third-party Abaqus finite element model solving the thermomechanical response of a beam structure. This example is used to illustrate UQpy's capabilities in variance reduction sampling techniques, reliability analysis, surrogate modeling and active learning techniques.

Research Organization:
Johns Hopkins Univ., Baltimore, MD (United States)
Sponsoring Organization:
USDOE Office of Science (SC); US Department of the Navy, Office of Naval Research (ONR); National Science Foundation (NSF); US Army Research Office (ARO)
Grant/Contract Number:
SC0020428; N00014-15-1-2754; N00014-16-1-2582; N00014-18-1-2644; 1652044; W911NF-12-2- 0022
OSTI ID:
1853642
Alternate ID(s):
OSTI ID: 1661709
Journal Information:
Journal of Computational Science, Vol. 47, Issue C; ISSN 1877-7503
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English

References (48)

Ensemble samplers with affine invariance journal January 2010
Efficient Global Reliability Analysis for Nonlinear Implicit Performance Functions journal October 2008
Semi-intrusive uncertainty propagation for multiscale models journal July 2019
Uncertainty quantification of computational coronary stenosis assessment and model based mitigation of image resolution limitations journal February 2019
Bayesian Model Selection in Social Research journal January 1995
Adaptive Monte Carlo analysis for strongly nonlinear stochastic systems journal July 2018
Simulation of second-order processes using Karhunen–Loeve expansion journal May 2002
Asymptotic approximations for probability integrals journal December 1989
Structural reliability under combined random load sequences journal November 1978
A simple and efficient methodology to approximate a general non-Gaussian stationary stochastic process by a translation process journal October 2011
AK-MCS: An active learning reliability method combining Kriging and Monte Carlo Simulation journal March 2011
DiceKriging , DiceOptim : Two R Packages for the Analysis of Computer Experiments by Kriging-Based Metamodeling and Optimization journal January 2012
Accelerating Markov Chain Monte Carlo Simulation by Differential Evolution with Self-Adaptive Randomized Subspace Sampling journal January 2009
Reliability Analysis Using Adaptive Kriging Surrogates with Multimodel Inference journal June 2019
Analysis of heated structures: Nature and modelling benchmarks journal July 2009
Simulation of wind velocities on long span structures: A novel stochastic wave based model journal December 2015
Assessment and management of risk in subsurface hydrology: A review and perspective journal January 2013
Reduced order models for random functions. Application to stochastic problems journal January 2009
Uncertainpy: A Python Toolbox for Uncertainty Quantification and Sensitivity Analysis in Computational Neuroscience journal August 2018
Digital simulation of random processes and its applications journal November 1972
emcee : The MCMC Hammer
  • Foreman-Mackey, Daniel; Hogg, David W.; Lang, Dustin
  • Publications of the Astronomical Society of the Pacific, Vol. 125, Issue 925 https://doi.org/10.1086/670067
journal March 2013
Global sensitivity analysis using polynomial chaos expansions journal July 2008
The Hysteresis Bouc-Wen Model, a Survey journal February 2009
Efficient Global Optimization of Expensive Black-Box Functions journal January 1998
Numerical methods for the discretization of random fields by means of the Karhunen–Loève expansion journal April 2014
On uncertainty quantification in hydrogeology and hydrogeophysics journal December 2017
Multiscale finite element calculations in Python using SfePy journal May 2019
DiceDesign and DiceEval : Two R Packages for Design and Analysis of Computer Experiments journal January 2015
Estimation of small failure probabilities in high dimensions by subset simulation journal October 2001
DRAM: Efficient adaptive MCMC journal December 2006
Uncertainty analysis of hydrological modeling in a tropical area using different algorithms journal January 2018
Probabilistic engineering analysis using the NESSUS software journal January 2006
Characterizing the elements of Earth's radiative budget: Applying uncertainty quantification to the CESM journal March 2014
Model Selection Using Response Measurements: Bayesian Probabilistic Approach journal February 2004
The generalization of Latin hypercube sampling journal April 2016
An innovating analysis of the Nataf transformation from the copula viewpoint journal July 2009
A GUI platform for uncertainty quantification of complex dynamical models journal February 2016
Refined Stratified Sampling for efficient Monte Carlo based uncertainty quantification journal October 2015
Model Selection for Extended Quasi-Likelihood Models in Small Samples journal September 1995
MCMC algorithms for Subset Simulation journal July 2015
Chaospy: An open source tool for designing methods of uncertainty quantification journal November 2015
Model uncertainty in structural reliability journal January 1982
Simulation of Stochastic Processes by Spectral Representation journal April 1991
Markov chain Monte Carlo simulation using the DREAM software package: Theory, concepts, and MATLAB implementation journal January 2016
pyROM: A computational framework for reduced order modeling journal January 2019
Computational stochastic structural analysis (COSSAN) – a software tool journal January 2006
Simulation of higher-order stochastic processes by spectral representation journal January 2017
Regression and time series model selection in small samples journal January 1989