The course aims to provide the knowledge and skills necessary for the implementation of integrated energy systems and their "smart" management and control algorithms. After an introduction to Energy Systems and solutions for their integration into complex energy networks, we will review the conversion technologies currently used with particular regard to the most advanced ones (heat pumps, Power-to-X systems, etc.) . The role of energy storage technologies will also be analyzed in order to increase the flexibility and resilience of Energy Systems and advanced management techniques (including Model Predictive Control) that enable them will be reviewed. Finally, the procedures for the development and application of the mathematical models used for the simulation of Energy Systems (and the networks in which they are integrated) and the development of their management and control algorithms will be presented.