Skip to main content

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

Documentation Status

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:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature-name)
  5. Create a new Pull Request

Authors

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

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

rational_rc-0.2.3.tar.gz (14.2 MB view hashes)

Uploaded Source

Built Distribution

rational_rc-0.2.3-py3-none-any.whl (50.1 kB view hashes)

Uploaded Python 3

Supported by

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