- Posts: 2
Rainflow-counting algorithm question
- LUIS FERNANDO ENRIQUEZ-CONTRERAS
- Topic Author
Less
More
29 Apr 2025 11:46 #14014
by LUIS FERNANDO ENRIQUEZ-CONTRERAS
Rainflow-counting algorithm question was created by LUIS FERNANDO ENRIQUEZ-CONTRERAS
Hello,I am currently seeking clarification on the computation of cycling for the System Advisor Model (SAM) and the BatteryStateful module within the PySAM framework. Although this topic has been previously addressed, I remain uncertain about the specific methodology SAM employs to calculate cycles.My understanding is that the rainflow counting algorithm is utilized; however, I am aware that various versions of this algorithm exist, such as the three-point and four-point techniques. Could you please provide a detailed explanation or mathematical equation that elucidates the specific implementation of the cycling calculation within the SAM code (link provided:
github.com/NREL/ssc/blob/892b81b46a66a81ed6d357bc802dd82318372c4b/shared/lib_battery_lifetime_calendar_cycle.cpp#L119
)?I appreciate your assistance in advance.
Please Log in or Create an account to join the conversation.
- Paul Gilman
Less
More
- Posts: 5543
30 Apr 2025 10:29 #14017
by Paul Gilman
Replied by Paul Gilman on topic Rainflow-counting algorithm question
Hi Luis,
Please see the following posts for discussion on this topic and links to references:
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=1761&Itemid=487#5472
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=3829&Itemid=487#10798
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=2902&Itemid=487#7928
Best regards,
Paul.
Please see the following posts for discussion on this topic and links to references:
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=1761&Itemid=487#5472
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=3829&Itemid=487#10798
sam.nrel.gov/index.php?option=com_kunena&view=topic&catid=5&id=2902&Itemid=487#7928
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
Moderators: Paul Gilman