A cooperative framework for optimizing transboundary hydropower development