Machine Learning methods to assist multi-energy systems optimization in a Smart Grid