Title: Computer control scheme for the switching and data logging of a heat regenerator system