using regenerators, cold accumulators or reversible heat exchangers