EnergyVille has a lot of experience when it comes to the control and optimisation of thermal and electrical energy installations in residential and commercial buildings. From state-of-the-art model predictive control techniques to advanced data-driven machine learning, there is always an optimal controller to combine the user comfort requirements with low costs, ensure minimal emissions or establish maximal integration of renewables. Here, algorithms and their implementation in real systems are key.