In this paper there are presented the key components for energy cost minimization: monitoring, load shedding and load forecasting. These are energy management system components, too. It then demonstrates applications of them in the context of energy supply contract in a company.