Python interface for rainflow counting
Project description
rfcnt a rainflow counting algorithm Python package
"Rainflow Counting" consists of four main steps:
-
Hysteresis Filtering
-
Peak-Valley Filtering
-
Discretization
-
Four Point Counting Method:
* D / \ Closed, if min(B,C) >= min(A,D) && max(B,C) <= max(A,D) B *<--/ Slope B-C is counted and removed from residue / \ / / * C \ / * A
These steps are fully documented in standards such as
ASTM E1049 "Standard Practices for Cycle Counting in Fatigue Analysis" [1]
This implementation uses the 4-point algorithm mentioned in [3,4] and the 3-point HCM method proposed in [2] as well as the ASTM E 1049 (2011) standard in [1].
To take the residue into account, you may implement a custom method or use some
predefined functions.
Install
pip install {packagename}.tar.gz --no-build-isolation --no-deps
where {packagename} is the current package release, for example:
pip install rfcnt-0.4.6.tar.gz --no-build-isolation --no-deps
Test
rfcnt packages include some unit tests, which can be run:
python -m rfcnt.run_tests
Examples
For a quick introduction you can run and inspect a small example:
python -m rfcnt.run_examples
References:
[1] "Standard Practices for Cycle Counting in Fatigue Analysis."
ASTM Standard E 1049, 1985 (2011).
West Conshohocken, PA: ASTM International, 2011.
[2] "Rainflow - HCM / Ein Hysteresisschleifen-Zaehlalgorithmus auf werkstoffmechanischer Grundlage"
U.H. Clormann, T. Seeger
1985 TU Darmstadt, Fachgebiet Werkstoffmechanik
[3] "Zaehlverfahren zur Bildung von Kollektiven und Matrizen aus Zeitfunktionen"
FVA-Richtlinie, 2010.
[https://fva-net.de/fileadmin/content/Richtlinien/FVA-Richtlinie_Zaehlverfahren_2010.pdf]
[4] Siemens Product Lifecycle Management Software Inc., 2018.
[https://community.plm.automation.siemens.com/t5/Testing-Knowledge-Base/Rainflow-Counting/ta-p/383093]
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
Hashes for rfcnt-0.4.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ab3fda6f9f53a3219bfb9592dbf3a4abcb863d706deb6ac5fa8993af2fe3dd |
|
MD5 | 3fcfbec5612cecb19452955d2b4b580c |
|
BLAKE2b-256 | f090293ad95a54a0e3f34ab776f72df1696ca77caca9fe8e77b060a8e7b02c31 |