Theoretical analysis of coal stockpile self-heating