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.4.tar.gz (20.0 MB view details)

Uploaded Source

Built Distribution

rational_rc-0.2.4-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file rational_rc-0.2.4.tar.gz.

File metadata

  • Download URL: rational_rc-0.2.4.tar.gz
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rational_rc-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cb0740fec6459a9864ec51e0ef6bc36a8fe4206b10b1d06c257cf3a2f5e2c3fa
MD5 8d980450b4c672530c2fecb397125d7a
BLAKE2b-256 cb82a3d020b5da2675db047311ee4e02523c563d942c6ccab53d8a9833f9f954

See more details on using hashes here.

File details

Details for the file rational_rc-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: rational_rc-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 50.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rational_rc-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b721dd7c2de8cc4b9add2a14f68ab0894b8889ce21fdea9bf75e6088c5e6ba6
MD5 59de258c6c49f8b7bd1e5492bccaf133
BLAKE2b-256 8fabb9175207b92efcc6e1ea53be4fd0c855b8a69c34524332fb9d849b69ec20

See more details on using hashes here.

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