Investigation of the defects effect on energy absorption by the system under cyclic loadings