Experiences in analysis and optimisation of energy systems in the DENER-TO