Study of the spontaneous combustion mechanism in coalfield