Calculation methods to assess the value of upstream water flows and storage as a function of downstream benefits