Skip to main content

Library to facilitate simple Verification, Validation and Uncertainty Quantification of simulation codes

Project description

EasyVVUQ icon

EasyVVUQ

Language grade: Python Documentation Status Coverage Status CII Best Practices Binder

The aim of EasyVVUQ is to facilitate verification, validation and uncertainty quantification (VVUQ) for a wide variety of simulations. While very convenient for simple cases, EasyVVUQ is particularly well suited in situations where the simulations are computationally expensive, heterogeneous computing resources are necessary, the sampling space is very large or book-keeping is prohibitively complex. It coordinates execution using an efficient database, it is fault tolerant and all progress can be saved.

Here are some examples of questions EasyVVUQ can answer about your code:

  • Given the uncertainties in input parameters, what is the distribution of the output?
  • What percentage of the output variance each input parameter contributes?

It also lets you construct surrogate models that are cheaper to evaluate than the complete simulation.

Basic concepts are introduced here and here. For an introduction for interfacing your simulation to EasyVVUQ see this notebook.

Available analysis and sampling methods:

  • Polynomial Chaos Expansion
  • Stochastic Collocation
  • Monte Carlo Sensitivity Analysis
  • Markov-Chain Monte Carlo

EasyVVUQ also supports building surrogate models using:

  • Polynomial Chaos Expansion
  • Stochastic Collocation
  • Gaussian Processes

Supported computing resources:

The easiest way to get started is to follow the tutorials in our Binder.

Development was funded by the EU Horizon 2020 project VECMA.

Requirements

To use the library you will need Python 3.6+.

Installation using pip

If you are unsure of the version of python your default pip works for type:

pip --version

If the output ends with (python 2.7) you should replace pip with pip3 in the following commands.

The following should fully install the library:

pip install easyvvuq

To upgrade the library use:

pip install easyvvuq --upgrade

Manual installation from repository

Alternatively, you can manually install EasyVVUQ. First clone the repository to your computer:

git clone https://github.com/UCL-CCS/EasyVVUQ.git

Note: As above, you need to be sure you are installing for Python 3 - if necessary replace pip with pip3 and python with python3 in the commands below.

We are trying to keep dependencies at a minimum but a few are inevitable, to install them use:

cd EasyVVUQ/

pip install --use-feature=2020-resolver -r requirements.txt

Then the library can be installed using:

python setup.py install

Getting Started

Documentation, including a basic tutorial, is avalable here.

Citing EasyVVUQ

Richardson, R A, Wright, D W, Edeling, W, Jancauskas, V, Lakhlili, J and Coveney, P V. 2020 EasyVVUQ: A Library for Verification, Validation and Uncertainty Quantification in High Performance Computing. Journal of Open Research Software, 8: 11. DOI: 10.5334/jors.303.

Wright, D.W., Richardson, R.A., Edeling, W., Lakhlili, J., Sinclair, R.C., Jancauskas, V., Suleimenova, D., Bosak, B., Kulczewski, M., Piontek, T., Kopta, P., Chirca, I., Arabnejad, H., Luk, O.O., Hoenen, O., Weglarz, J., Crommelin, D., Groen, D. and Coveney, P.V. (2020), Building Confidence in Simulation: Applications of EasyVVUQ. Adv. Theory Simul., 3: 1900246. DOI: 10.1002/adts.201900246.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyvvuq-0.9.3.tar.gz (125.6 kB view details)

Uploaded Source

Built Distribution

easyvvuq-0.9.3-py3-none-any.whl (192.9 kB view details)

Uploaded Python 3

File details

Details for the file easyvvuq-0.9.3.tar.gz.

File metadata

  • Download URL: easyvvuq-0.9.3.tar.gz
  • Upload date:
  • Size: 125.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for easyvvuq-0.9.3.tar.gz
Algorithm Hash digest
SHA256 8bf97bbea499656459260263030371f1094c5e67a3ab5c5b8d816caa90f9fcf6
MD5 d6bc7648f5c3e6174bce9da16f24afb4
BLAKE2b-256 ba00e16d1daf4904b1a1873d9b7e838370633194c890e7c9f3364aad5781f1e3

See more details on using hashes here.

File details

Details for the file easyvvuq-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: easyvvuq-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 192.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for easyvvuq-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e27b51c5d8898cd167e899dd786aab9e32adca865c3cc2ecb59b0dac2f6957f5
MD5 6a9690fb8e833851c742781e2f5a3fd8
BLAKE2b-256 9e69e5a26f14daa09669bb09ab2a31eb579513d101aa40bdd7265e61a6c423cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page