District heating (DH) has big potential for implementing energy efficiency measures and renewable energy sources (RES) and reducing CO2 emissions, as the range of RES technologies used is wide: biomass, solar panels, heat pumps and other technologies and their combinations. Because there is such a wide variety of heating options available, systemic thinking and continuous heating operators need to keep up with the latest developments. Therefore, the implementation of an energy management system (EnMS) is one way to effectively control and ensure the primary energy efficiency of an organization. The dissertation is designed as a set of publications, which consists of 6 thematically unified publications, which have been published in various scientific journals and available in international databases. The aim of this paper is to assess the potential for extending the energy management system to integrate renewable energy technologies, with a particular focus on the solar system. This work consists of an introduction and three chapters. The introductory part of the work includes: hypothesis, aims and objectives, describes the structure of the work and the methods used. The first chapter analyzes the literature on energy management for total district heating: demand side, transmission and production. As well as literature sources on possible renewable energy resources in district heating. Part of the methodology of the work includes information on the developed methodology and applied methods. The third chapter describes the obtained results - which reflect the energy management system at the national level, the municipality and the district heating company. At the end of the work, conclusions are made about the developed work and the obtained results.