Stochastic optimization and modelling of large hydrothermal systems for long-term regulation