Rolling horizon control architecture for distributed agents of thermostatically controlled loads enabling long-term grid-level ancillary services. (May 2021)