Rational RC is a practical life cycle deterioration modeling framework. It utilizes field survey data and provides probabilistic predictions of RC structure deterioration through different stages of the service life cycle. It covers various deterioration mechanisms such as membrane deterioration, concrete carbonation and chloride penetration, corrosion, and cracking.
Project description
Rational RC
Overview
Rational RC is a practical life cycle deterioration modeling framework. It utilizes field survey data and provides probabilistic predictions of RC structure deterioration through different stages of the service life cycle. It covers various deterioration mechanisms such as membrane deterioration, concrete carbonation and chloride penetration, corrosion, and cracking.
Features
- Comprehensive life cycle modeling for RC structure deterioration using field survey data.
- Probabilistic predictions for confident assessment of structural failure risks.
- Modularized design for sequential analysis of different deterioration stages.
- Integrated workflow for evaluating and selecting cost-effective rehabilitation strategies.
Installation
Dependencies
Ensure you have the following dependencies installed:
- python (>= 3.9)
- numpy (>= 1.25.1)
- scipy (>= 1.11.1)
- pandas (>= 2.0.3)
- matplotlib (>= 3.7.2)
pip installation
The easiest way to install Rational RC is using pip:
pip install -U rational-rc
It's a good practice to use a virtual environment for your project.
From source
If you would like to install the most recent version of Rational RC under development, you may install it from the source.
For user mode:
git clone https://github.com/ganglix/rational-rc.git
cd rational-rc
pip install .
For development mode:
git clone https://github.com/ganglix/rational-rc.git
cd rational-rc
# create a virtual environment (you may also use conda to create)
python -m venv .venv
# Activate your environment with:
# `source .venv/bin/activate` on Unix/macOS
# or `.venv\Scripts\activate` on Windows
# On macOS, use quotes for optional dependencies:
pip install --editable ".[doc]"
# On other systems, you may omit the quotes:
# pip install --editable .[doc]
# Now you have access to your package
# as if it was installed in .venv
python -c "import rational_rc"
Testing
After the editable installation from the source, configure testing in your IDE or run all tests from the terminal:
python -m unittest discover tests
Documentation
Comprehensive documentation for Rational RC is available here.
API Reference
Here are the classes or methods:
membrane
carbonation
chloride
corrosion
cracking
math_helper
Tutorials
- membrane module example
- carbonation module example
- chloride module example
- corrosion module example
- cracking model example
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature-name
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature-name
) - Create a new Pull Request
Authors
- Gang Li - ganglix@gmail.com
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
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
File details
Details for the file rational_rc-0.2.3.tar.gz
.
File metadata
- Download URL: rational_rc-0.2.3.tar.gz
- Upload date:
- Size: 14.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15691fb24c6ef77d2227856538928ecaaab0f5b5e321c561d2b40c8fe796256c |
|
MD5 | c0af7b663c1162e379613889914101fe |
|
BLAKE2b-256 | f1d7e9bde7b09118390fc617c025682b49240dceb8b0ddeb3642313fb6a7b385 |
File details
Details for the file rational_rc-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: rational_rc-0.2.3-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01202c7a5269c8e30dc16627bf985694afadb067b8a8af870fe5d7b41cc39d67 |
|
MD5 | e643cf83df1442df0d4b89aa953a4174 |
|
BLAKE2b-256 | a00811001e2bbbd1ce3aa798e47194a381d6c66f19e8f12d1926e9bb58751d37 |