Rule-based System Reliability (RSR) for system risk assessment
Project description
RSR: Reference-state System Reliability Method
Overview
This repository provides a Python implementation of RSR (Reference-state System Reliability Method) for efficient reliability and resilience analysis of networks. It includes:
- Core package
rsr/with tensor-based algorithms - Demonstration notebooks under
demos/ - Unit tests under
tests/
The code is designed for research and education on large-scale system uncertainty quantification.
Publication / Citation
In preparation. Most relevant publication is: Byun, J. E., Ryu, H. & Straub, D. (2024). Branch-and-bound algorithm for efficient reliability analysis of general coherent systems. arXiv preprint arXiv:2410.22363.
Features
- Reference-state system reliability and rule extraction algorithms
- Example benchmark datasets on various systems (e.g., distribution substation, EMA shortest path, toy k-connectivity)
- The network data in the demos are from GitHub repo network-datasets
- PyTorch-friendly implementations for scalable computation
Installation
You can install rsr in one of two ways.
Option 1: Install from PyPI
The package is published on PyPI under the distribution name rsr-duco (the name rsr was already taken). The Python import name is still rsr:
pip install rsr-duco
Option 2: Install from source (developer version)
Clone the repo and install in editable mode (useful for development or when you want to modify the code):
git clone https://github.com/jieunbyun/rsr.git
cd <path/to/rsr>
pip install -e .
Using the package
Either option gives you the same import name:
import rsr
from rsr import rsr, utils
Dependencies are listed in pyproject.toml.
Usage
Refer to the demonstration notebooks in demos/ for example workflows:
License
This project is licensed under the terms of the LICENSE file included in this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rsr_duco-0.1.5.tar.gz.
File metadata
- Download URL: rsr_duco-0.1.5.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96049fa37cce86d3665defb18e21945a6eea0dbfd9faef46bdbc78c47a820235
|
|
| MD5 |
4800f0334d3b4f620a5de36066edd9bc
|
|
| BLAKE2b-256 |
2a6540d673bd211654ec4c05fff07d03b1a62e43ff718c3b80b9ed5bbac9d858
|
File details
Details for the file rsr_duco-0.1.5-py3-none-any.whl.
File metadata
- Download URL: rsr_duco-0.1.5-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5eacd4260137292d7944dae3f864ce90fda4201cf6c26109ecb484ac56fd800
|
|
| MD5 |
2263ce121593c91eb9106fbae0fdd4de
|
|
| BLAKE2b-256 |
d73058f17b5268b6c0ae23f6170b68ebb3bca37ae22f73cf6ffa549631db1956
|