The Algorithm for Graphic Method of Rain-Flow Counting in Programming
In this article, a new algorithm for rain-flow counting method in computer program is introduced. In the whole counting process, this algorithm entirely follows the principle of graphic method of rain-flow counting method, and so it can embodies the mechanical basis of extracting load cycle in rain-flow counting method; during the processing of counting, the information of every load cycle can be accurately recorded, such as starting and ending time, the time of peak or valley, the value of starting point and peak (or valley), mean value and amplitude. Besides, the counting result is in full accordance with the result from graphic method. Compared to four peak-valley method, this algorithm has shorter execution time and higher efficiency.
Helen Zhang, Gang Shen and David Jin
Q. Deng and H. J. Yuan, "The Algorithm for Graphic Method of Rain-Flow Counting in Programming", Advanced Materials Research, Vols. 225-226, pp. 1157-1161, 2011