Development of SW services to optimise energy management strategies in buildings and electricity grids. Demand management and integration of the wholesale electricity market.