Operation periods are planned to ensure hot water/heating needs are met before the user-defined usage period. Combined with energy prices, battery status, PV, and grid conditions, operations are shifted to the most economical periods without affecting comfort.