Text this: Research on failure criteria and collapse height of roadway roof strata based on energy accumulation and dissipation characteristics