Rainflow-counting algorithm question

  • LUIS FERNANDO ENRIQUEZ-CONTRERAS
  • Topic Author
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
More
30 Apr 2025 10:29 #14017 by Paul Gilman

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum