# Mlife

**URL:** <https://forums.nlr.gov/t/mlife/662>\
**Category:** Computer-Aided Engineering Software Tools\
**Created:** [April 4, 2013, 7:34am UTC](https://forums.nlr.gov/t/mlife/662 "2013-04-04T07:34:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florian.Stache](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Florian.Stache](https://forums.nlr.gov/u/Florian.Stache)\
**Post date:** [April 4, 2013, 7:34am UTC](https://forums.nlr.gov/t/mlife/662/1 "2013-04-04T07:34:43Z")

</div>

Hi,  
I m a little bit confused whether the rainflow counting algorithm provided with MLife outputs ranges or amplitudes (range=2\*Amplitude). The rfhist Routine asks for Amplitude in the flag  
% rfflag - string, data type flag,  
% ‘ampl’ for amplitude,  
% ‘mean’ for mean value,  
% ‘freq’ for frequency and ‘period’ for time period of  
% extracted cycles.  
and the rainflow Routine documentation writes about amplitudes.

In the MLife Manual Greg Hayman writes about ranges. My results seem to be ranges as well at a first glance.

Thank you!

Best Regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Greg.Hayman](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Greg.Hayman](https://forums.nlr.gov/u/Greg.Hayman)\
**Post date:** [April 8, 2013, 4:07pm UTC](https://forums.nlr.gov/t/mlife/662/2 "2013-04-08T16:07:53Z")

</div>

Florian, as stated in the MLife User’s Guide on page on page 6, “If you wish, DELs can be outputted as peak-to-peak ranges (DEL\_AsRange = true) or as one-sided amplitudes (DEL\_AsRange = false).” The rainflow counts themselves are tracked based on the number of full cycles (valley-to-peak-to-valley), but the DELs can be reported as ranges or one-sided amplitudes.

Best Regards,

Greg Hayman
