Design of Water-Resource Systems