The project was a class project in Politecnico di Milano in Natural Resources Management, batch 2018-2019 Part1Modelling.m is comparing Autoregresive simulation models using linear AR models and ANN based models. Part_2_planning&management is making a public policy for the management of the dam for three objectives(flood, irrigation deficit and hydropower) using Direct policy search method The case study of tagus river basin, Portugal