Power-generation system vulnerability and adaptation to changes in climate and water resources