Skip to main content

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.

Metadata

Release files for rsr-duco 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsr-duco 0.1.6
File Size Uploaded Provenance Actions
rsr_duco-0.1.6.tar.gz 42.7 kB Without provenance Details for rsr_duco-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rsr-duco 0.1.6
File Interpreter ABI Platform Actions
rsr_duco-0.1.6-py3-none-any.whl Python 3 none any Details for rsr_duco-0.1.6-py3-none-any.whl

Total release size: 73.2 kB

Release files / rsr_duco-0.1.6.tar.gz

Download URL rsr_duco-0.1.6.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
93d3798d3ddeabc89e056b4c20ce0d9313506d211bc0a0df16a0dbe5c893397a
BLAKE2b-256 checksum
How to use checksums
877cf4e0f4c4d30dba32d2f220bf221936ad49e2d188fce6a18f66c3583627b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / rsr_duco-0.1.6-py3-none-any.whl

Download URL rsr_duco-0.1.6-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2a58dd6a06a85f72c86420351d7337940a9d6428ce74688fb086f020ef1fb6b
BLAKE2b-256 checksum
How to use checksums
1835c33320e92573935a1f5386ecb30b817df38d2e5b58f706c84b018caf1cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for rsr-duco 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page