Analysis of relaxation processes by mathematical modeling