Use of adsorbent beds for energy storage in drying of heating systems