Use Cases Guide for the Textual User Interface
OpenTURNS 1.7
Documentation built from package openturns-doc-16.03
2016/03/17 15:59:43

Contents

Introduction

Loading the openturns python library

Verbosity level of the OpenTURNS platform

Some useful general commands

Link with other python standards

1 Probabilistic input vector modelisation

1.0.1 UC : Creation of the random input vector from a distribution

1.1 Without samples of data

1.1.1 UC : List of usual distributions

1.1.2 UC : Creation of a truncated distribution

1.1.3 UC : List of Copula

1.1.4 UC : Creation of nD distribution from (marginals, copula)

1.1.5 UC : Creation of a nD distribution from a Mixture

1.1.6 UC : Creation of 1D distribution from a 1D distribution

1.1.7 UC : Manipulation of a distribution

1.1.8 UC : Creation of a custom distribution or copula from the python script

1.1.9 UC : Creation of a custom random vector from the python script

1.2 With samples of data : manipulation of data

1.2.1 UC : Import / Export data from a file at format CSV (Comma Separated Value)

1.2.2 UC : Drawing Empirical CDF, Histogram, Clouds / PDF or superposition of two clouds from data

1.2.3 UC : Do two samples have the same distribution : QQ-plot visual test, Smirnov numerical test

1.2.4 UC : Are two scalar samples independent : ChiSquared test, Pearson test, Spearman test

1.2.5 UC : Particular manipulations of the Pearson and Spearman tests, when the first sample is of dimension superior to 1.

1.2.6 UC : Regression test between two scalar numerical samples

1.2.7 UC : Distribution fitting tests, numerical and visual validation tests : Chi-squared test, Kolmogorov test, QQ-plot graph

1.2.8 UC : Normal distribution fitting test, visual validation tests (Henry line) and numerical validation tests in extreme zones (Anderson Darling test and Cramer Von Mises test)

1.2.9 UC : Making a choice between multiple fitted distributions : Kolmogorov ranking, ChiSquared ranking and BIC ranking

1.2.10 UC : PDF fitting by kernel smoothing and graphical validation : superposition of the empirical and kernel smoothing CDF

1.2.11 UC : Estimation of a Copula from a sample

1.2.12 UC : Copula validation through the Kendall Plot Test

1.2.13 UC : Estimation and validation of a linear model from two samples

1.2.14 UC : Statistical manipulations on data : min, max, covariance, skewness, kurtosis, quantile, empirical CDF, Pearson, Kendall and Spearman correlation matrixes and rank/sort functionnalities

1.2.15 UC : Draw of clouds

1.2.16 UC : Maximum likelihood of a given probability density function

1.3 Bayesian modeling

1.3.1 UC : Creation of a distribution with uncertain parameters

1.3.2 UC : Creation of a multivariate distribution through conditioning

1.3.3 UC : Bayesian Calibration of a Computer Code

2 Creation of the limit state function and the output variable of interest

2.1 Creation of the limit state function

2.1.1 UC : From an analytical formula declared inline

2.1.2 UC : From a fonction defined in the script python

2.1.3 UC : Some particular functions : linear combination, agregation, composition

2.1.4 UC : Introducing some deterministic variables, optimizing memory and CPU time

2.1.5 UC : Defining a piece wise function according to a classifier

2.1.6 UC : Manipulation of a NumericalMathFunction

2.2 Creation of the output variable of interest from the limit state function and the input random vector

2.2.1 UC : Creation of the ouput random vector

2.2.2 UC : Extraction of a random subvector from a random vector

2.3 Creation of the output variable of interest defined as an affine combination of input random variables

2.3.1 UC : Creation of a Random Mixture

2.4 Creation of the output variable of interest from the result of a polynomial chaos expansion

2.4.1 UC : Creation of the output variable of interest from the result of a polynomial chaos expansion

2.4.2 UC : Creation of a specialized random vector for the global sensitivity analysis using a polynomial chaos expansion

3 Uncertainty propagation and Uncertainty sources ranking

3.1 UC : Parametrisation of the Random Generator

3.2 UC : Generation of low discrepancy sequences

3.3 Min/Max approach

3.3.1 UC : Creation of a deterministic design of experiments : Axial, Box, Composite, Factorial patterns

3.3.2 UC: Creation of a combinatorial generator: subsets, injections, Cartesian products

3.3.3 UC: Creation of a random design of experiments : Monte Carlo, LHS patterns

3.3.4 UC : Re-use of a specified numerical sample as design of experiments

3.3.5 UC : Creation of a mixed deterministic / random design of experiments

3.3.6 UC : Drawing an design of experiments in dimension 2

3.3.7 UC : Min/Max research from an design of experiments and sensitivity analysis

3.3.8 UC : Min/Max research with an optimization algorithm

3.4 Random approach : central uncertainty

3.4.1 UC : Sensitivity analysis : Sobol indices

3.4.2 UC : Sensitivity analysis : ANCOVA indices

3.4.3 UC : Sensitivity analysis : FAST indices

3.4.4 UC : Sensitivity analysis : Cobweb graph

3.4.5 UC : Moments evaluation from the Taylor variance decomposition method and evaluation of the importance factors associated

3.4.6 UC : Moments evaluation of a random sample of the output variable of interest

3.4.7 UC : Correlation analysis on samples : Pearson and Spearman coefficients, PCC, PRCC, SRC, SRRC coefficients

3.4.8 UC : Quantile estimations : Wilks and empirical estimators

3.5 Random approach : threshold exceedance

3.5.1 UC : Creation of an event in the physical and the standard spaces

3.5.2 UC : Manipulation of a StandardEvent

3.5.3 UC : Creation of an analytical algorithm : FORM/SORM

3.5.4 UC : Run and results exploitation of a FORM/SORM algorithm : probability estimation, importance factors, reliability indexes, sensitivity factors

3.5.5 UC : Validate the design point with the Strong Maximum Test

3.5.6 UC : Creation of a Monte Carlo / LHS / Quasi Monte Carlo / Importance Sampling simulation algorithm

3.5.7 UC : Creation of a Directional Sampling simulation algorithm

3.5.8 UC : Parametrization of a simulation algorithm

3.5.9 UC : Run and results exploitation of a simulation algorithm : probability estimation, estimator variance, confidence interval, convergence graph, stored samples

3.5.10 UC : Probability evaluation from an analytical method (FORM/SORM) followed by a simulation method centered on the design point

4 Construction of a response surface

4.1 Taylor approximations

4.1.1 UC : Linear and Quadratic Taylor approximations

4.2 Least Squares approximation

4.2.1 UC : Linear Least Squares approximation from a sample of the input vector and the real function

4.2.2 UC : Linear Least Squares approximation from a sample of the input vector and a sample of the output vector

4.3 Polynomial chaos expansion

4.3.1 UC : Creation of a polynomial chaos algorithm

4.3.2 UC : Run and results exploitation of a polynomial chaos algorithm : coefficients, polynomial model, multivariate basis, truncated multivariate basis, ...

4.3.3 UC : Draw some usefull graphs associated to a polynomial chaos algorithm : polynomial graphs, comparison graph between numerical samples from the model and the meta-model, ...

4.3.4 UC : Polynomial chaos approximation from a design experiment

4.4 Kriging

4.4.1 UC : Kriging metamodelling approximation from a design experiment

5 Stochastic process

5.1 UC : Creation of a mesh

5.2 UC : Creation of a time grid

5.3 UC : Manipulation of a process

5.4 UC : Manipulation of a field

5.5 UC : Manipulation of a time series

5.6 UC : Manipulation of a process sample

5.7 Transformation of fields

5.7.1 UC : Trend computation

5.7.2 UC : Box Cox transformation

5.8 ARMA stochastic process

5.8.1 UC : Creation of an ARMA process

5.8.2 UC : Manipulation of an ARMA process

5.8.3 UC : Estimation of a scalar ARMA process

5.8.4 UC : Estimation of a multivariate ARMA process

5.9 Normal processes

5.9.1 UC : Creation of a parametric stationary covariance function

5.9.2 UC : Creation of a User defined stationary covariance function

5.9.3 UC : Creation of a User defined covariance function

5.9.4 UC : Estimation of a stationary covariance function

5.9.5 UC : Estimation of a non stationary covariance function

5.9.6 UC : Creation of a parametric spectral density function

5.9.7 UC : Creation of a User defined spectral density function

5.9.8 UC : Estimation of a spectral density function

5.9.9 UC : Creation of stationary parametric second order model

5.9.10 UC : Creation of a normal process

5.10 Other processes

5.10.1 UC : Creation of a White Noise

5.10.2 UC : Creation of a Random Walk

5.10.3 UC : Creation of a Functional Basis Process

5.11 Process transformation

5.11.1 UC : Creation of a Dynamical Function

5.11.2 UC : Trend addition, Box Cox transformation, Composite process

5.12 Stationarity test

5.12.1 UC : Dickey Fuller stationarity tests

5.13 Event based on process

5.13.1 UC : Creation of an event based on a process

5.13.2 UC : Monte Carlo Probability of an event based on a process

6 How to save and load a study ?

6.1 UC : How to save a study ?

6.2 UC : How to load a study ?

Index