Skip to content

Example Problems

Reliafy CLI includes packaged example problems to help you get started with reliability analysis, design optimization, and Monte Carlo simulation.

Listing Available Examples

View all packaged example problems:

python -m reliafy examples list
python -m reliafy examples ls  # alias

This displays a table showing all available example problems included with the CLI.

Copying Examples to Working Directory

Copy example problems to your current working directory:

python -m reliafy examples copy
python -m reliafy examples cp  # alias

The examples will be copied to ./problems/ in your current directory.

Using Example Problems

After copying, you can reference example problems in your analysis:

# Run analysis on an example problem
python -m reliafy analyze default --include-sorm --plot-rfad

# Run design optimization
python -m reliafy design default --use-sorm

# Run Monte Carlo simulation
python -m reliafy simulate default --plot-pdfs

Make sure to configure your profile to point to the problem file you want to analyze.