Innovative Modelling Approaches for the Design, Operation and Control of Complex Energy Systems with Application to Underground Infrastructures