Control of thermally-activated building systems (TABS)