Increasing Performances of a Thermal Energy Plant