A thermodynamic proposal for the exposition of criticality and other subtle features in self-deflagrating ammonium perchlorate systems