RainFlow 0.9.0
dotnet add package RainFlow --version 0.9.0
NuGet\Install-Package RainFlow -Version 0.9.0
<PackageReference Include="RainFlow" Version="0.9.0" />
paket add RainFlow --version 0.9.0
#r "nuget: RainFlow, 0.9.0"
// Install RainFlow as a Cake Addin #addin nuget:?package=RainFlow&version=0.9.0 // Install RainFlow as a Cake Tool #tool nuget:?package=RainFlow&version=0.9.0
Performs fatigue load cycle analysis using Rainflow method according to ASTM E1049 standard.
Currently three variants of cycle counting algorithms are implemented: "RainFlow", "Rainflow simplified" and "Range pair" counting.
Usage:
---------------------------------
using static Fatigue.RainFlow;
double[] data = { -2, 1, -3, 5, -1, 3, -4, 4, -2 };
CycleCount[] res = RainFlow_Counting(data);
Console.WriteLine("RainFlow counting method");
Console.WriteLine(" Mean: Amplitude: Count:");
for (int i = res.GetLowerBound(0); i <= res.GetUpperBound(0); i++)
{
Console.WriteLine(" {0,10:g5} {1,10:g5} {2,6}", res[i].Mean, res[i].Amplitude, res[i].Count);
}
res = RainFlow_Simplified(data);
Console.WriteLine("RainFlow simplified counting method");
Console.WriteLine(PrintCycleCounts(res));
res = RangePair_Counting(data);
Console.WriteLine("Range pair counting method");
Console.WriteLine(PrintCycleCounts(res));
---------------------------------
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.9.0 | 1,577 | 5/11/2017 |
Initial release.