Text this: Analysis of the behavior of a gas-generating system under runaway conditions in a closed vessel