The role of a dam in a water management system in Italy: physical and economic implications