Improved lumped-capacitance model for heat and mass transfer in adsorbed gas discharge operations