Energy Evolution of Rock under Different Stress Paths and Establishment of A Statistical Damage Model