Skip to main content

RAVEN (Risk Analysis Virtual Environment) is designed to perform parametric and probabilistic analysis based on the response of complex system codes. RAVEN C++ dependenciences including a library for computing the Approximate Morse-Smale Complex (AMSC) and Crow probability tools

Project description

# Risk Analysis Virtual Environment ([RAVEN](https://inl.gov/raven/))

<img src=”./doc/misc/RD100_2023_Winner_Logo.png” align=”right” style=”margin-left: 20px; margin-bottom: 10px; width: 118px; height: 150px;”/>

<img src=”./doc/misc/RAVEN_Logo.png” alt=”RAVEN Logo” align=”right” style=”margin-left: 20px; margin-bottom: 10px; width: 203px; height: 150px;” width=”203” height=”150”>

[RAVEN](https://inl.gov/raven/) is designed to perform parametric and probabilistic analysis based on the response of complex system codes. RAVEN is capable of investigating the system response as well as the input space using Monte Carlo, Grid, or Latin Hyper Cube sampling schemes, but its strength is focused toward system feature discovery, such as limit surfaces, separating regions of the input space leading to system failure, using dynamic supervised learning techniques. RAVEN includes the following major capabilities:

  • Sampling of codes for uncertainty quantification and reliability analyses

  • Generation and use of reduced-order models (also known as surrogate)

  • Data post-processing (time dependent and steady state)

  • Time dependent and steady state, statistical estimation and sensitivity analysis (mean, variance, sensitivity coefficients, etc.).

The RAVEN statistical analysis framework can be employed for several types of applications:

  • Uncertainty Quantification

  • Sensitivity Analysis / Regression Analysis

  • Probabilistic Risk and Reliability Analysis (PRA)

  • Data Mining Analysis

  • Model Optimization

RAVEN provides a set of basic and advanced capabilities that ranges from data generation, data processing and data visualization. More information can be found at [RAVEN Wiki](https://github.com/idaholab/raven/wiki).

## Computing environment

  • Parallel computation capabilities (multi-thread and multi-core)

  • Supported operating systems: MAC, Linux and Windows

  • Workstation and high performance computing (HPC) systems

## Forward propagation of uncertainties

  • MonteCarlo sampling

  • Grid sampling

  • Stratified Sampling

  • Factorial design

  • Response surface design

  • Generalized Polynomial Chaos (gPC) with sparse grid collocation (SGC)

  • Generalized Polynomial Chaos (gPC) with sparse grid collocation (SGC) using the High Dimensional Model Representation expansion (HDMR)

  • General combination of the above sampling strategies

## Advance sampling methods

  • Moment driven adaptive gPC using SGC

  • Sobol index driven HDMR integrated using SGC over gPC basis

  • Adaptive sampling for limit surface finding (surrogate and multi grid based accelerations)

  • Dynamic event tree-based sampling (Dynamic Event Trees, Hybrid Dynamic Event Trees, Adaptive Dynamic Event Trees, Adaptive Hybrid Dynamic Event Trees)

## Creation and use of reduced order models

  • Support Vector Machine-based surrogates

  • Gaussian process models

  • Linear models

  • Multi-class classifiers

  • Decision trees

  • Naive Bayes

  • Neighbors classifiers and regressors

  • Multi-dimensional interpolators

  • High dimension model reduction (HDMR)

  • Morse-Smale complex

## Model capabilities

## Data Post-Processing capabilities

  • Data clustering

  • Data regression

  • Data dimensionality Reduction

  • Custom generic post-processors

  • Time-dependent data analysis - Statistics, sensitivity and uncertainty analysis - Clustering/classification - Time series analysis, such as ARMA, AutoARMA, MarkovAR, RWD, STL, Wavelet, VARMA, and Fourier.

  • Data plotting

## Model parameter optimization

  • Gradient-based approach

  • Simultaneous perturbation stochastic approximation method

  • Bayesian optimization

  • Genetic algorithms including single and multi-objective optimization

## Data management

  • Data importing and exporting

  • Databases creation

More information on this project is available at the [RAVEN website](https://raven.inl.gov/SitePages/Overview.aspx).

This project is supported by [Idaho National Laboratory](https://www.inl.gov/).

## Official Plugins The following plugin repositories are officially supported by RAVEN. ### Openly Available These plugin repositories are available without restriction to RAVEN users: - [TEAL](https://github.com/idaholab/TEAL) module: provides economic analysis. - [HERON](https://www.github.com/idaholab/HERON) module: provides workflow generation and dispatching models for performing stochastic technoeconomic analysis of systems of components interconnected by the resources they produce and consume. - [SR2ML](https://github.com/idaholab/SR2ML) module: provides safety, risk and reliability analysis tools. - [LOGOS](https://github.com/idaholab/LOGOS) module: provides computational capabilities to optimize plant resources such as maintenance optimization and optimal component replacement schedule by using state-of-the-art discrete optimization methods. - [FARM](https://github.com/Argonne-National-Laboratory/FARM) module: is designed to solve the supervisory control problem in Integrated Energy System (IES) project. FARM utilizes the linear state-space representation (A,B,C matrices) of a model to predict the system state and output in the future time steps, and adjust the actuation variable to avoid the violation of implicit thermal mechanical constraints. - [BayCal](https://github.com/idaholab/BayCal) module: is aiming at inversely quantifying the uncertainties associated with simulation model parameters based on available experiment data. BayCal tries to resolve two critical issues existing in the Bayesian inference: 1) high-dimensional experimental data (such as time series observations at multiple locations), 2) expensive computational simulations. These issues have been studied and resolved in literature, but there is not yet a complete toolkit to resolve these issues in an efficient and automatic way. BayCal automatizes the process by coupling with RAVEN, utilizes artificial intelligence algorithms to automatically construct surrogate models for the expensive computational simulations and dimensionality reduction techniques to significantly reduce the number of simulations for convergence. - [POEM](https://idaholab.github.io/POEM/) module: is a platform for optimal experiment management, powered with automated machine learning to accelerate the discovery of optimal solutions, and automatically guide the design of experiments to be evaluated. POEM currently supports 1) random model explorations for experiment design, 2) sparse grid model explorations with Gaussian Polynomial Chaos surrogate model to accelerate experiment design ,3) time-dependent model sensitivity and uncertainty analysis to identify the importance features for experiment design, 4) model calibrations via Bayesian inference to integrate experiments to improve model performance, and 5) Bayesian optimization for optimal experimental design. In addition, POEM aims to simplify the process of experimental design for users, enabling them to analyze the data with minimal human intervention, and improving the technological output from research activities. POEM leverages RAVEN (a robust platform to support model explorations and decision making) to allow for large scalability and reduction of the computational costs and provides access to complex physical models while performing optimal experimental design. - [DOVE](https://github.com/idaholab/DOVE) module: The Dispatch Optimization Variable Engine (DOVE) is software tool written in python, developed at Idaho National Laboratory that provides an easily accessible API to performing dispatch analysis for integrated energy system configurations.

### Other Software [Idaho National Laboratory](https://www.inl.gov/) is a cutting edge research facility which is a constantly producing high quality research and software. Feel free to take a look at our other software and scientific offerings at:

[Primary Technology Offerings Page](https://www.inl.gov/inl-initiatives/technology-deployment)

[Supported Open Source Software](https://github.com/idaholab)

[Raw Experiment Open Source Software](https://github.com/IdahoLabResearch)

[Unsupported Open Source Software](https://github.com/IdahoLabCuttingBoard)

### License

Files in crow/contrib, src/contrib and framework/contrib are third party libraries that are not part of Raven and are provided here for covenience. These are under their own, seperate licensing which is described in those directories.

Raven itself is licensed as follows:

Copyright 2016 Battelle Energy Alliance, LLC

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

raven_framework-3.2.tar.gz (3.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

raven_framework-3.2-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11Windows x86-64

raven_framework-3.2-cp311-cp311-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

raven_framework-3.2-cp310-cp310-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.10Windows x86-64

raven_framework-3.2-cp310-cp310-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file raven_framework-3.2.tar.gz.

File metadata

  • Download URL: raven_framework-3.2.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for raven_framework-3.2.tar.gz
Algorithm Hash digest
SHA256 bc7cdda02ab2921697c0f1608696ecbc4236f402dc92cd2a644f255419001a16
MD5 859f8658db704b19db8da281fd06505e
BLAKE2b-256 1b651e14fdde2969d2c59ff28a460c62dd4f5c11563679d86cf9ab0ba9c3c5f8

See more details on using hashes here.

File details

Details for the file raven_framework-3.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for raven_framework-3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f45680d2e640aa3aec8a82e4f1209f93912ce67e8cfc75f574f54fa630de8fa1
MD5 0dab76122981c534334a9dd2c463664e
BLAKE2b-256 5a23be12771048e69d1f9ea5ffbba1f2bfa48fedfc83b6ffb8ec0286ebc342f5

See more details on using hashes here.

File details

Details for the file raven_framework-3.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for raven_framework-3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e9b2e8925e619c538dee5ccdc71c434b28b4bee9a1560c38a2d6a3188eedc49
MD5 cdf94b9bff74d27bad8ad52c722a9a4f
BLAKE2b-256 c12e231c8003d68d0661c079b23d97236b8b9a6419781d6c35b7a1b7545febb0

See more details on using hashes here.

File details

Details for the file raven_framework-3.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for raven_framework-3.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 81c1fa9a41453182b2d7a41d6f92b6d4c6ec790252c7202afe69a42f041cc410
MD5 1cf7d6c84f3afe4d55647f6ac4d72001
BLAKE2b-256 1db63701e1d352b78527b4232e945f2e00dcde065a9620046fd01c011aef4686

See more details on using hashes here.

File details

Details for the file raven_framework-3.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for raven_framework-3.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b61a77eb3a5585cc61d109d664fe4eeb2cd626741dc1e7611e5c61bae5ac38e
MD5 9a364fdaf42dffcbe58bad656e12c48e
BLAKE2b-256 3e12f78797263864aa7523a87c43493f7650835b854d996429249577168f1fe2

See more details on using hashes here.

Supported by

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