This research examines the impacts of climate change and socio-economic variables on the hydrological cycle, reservoir water management, and hydropower capacity at the Gezhouba Dam. The Gezhouba Dam serves as a crucial hydroelectric power station and dam, playing a vital role in regulating river flow and generating electricity. In this study, an innovative method is employed, combining the Soil and Water Assessment Tool (SWAT), Support Vector Regression (SVR), and Long Short-Term Memory (LSTM) models. This model is optimized using the Developed Thermal Exchange Optimizer. This optimized combined model significantly enhances the reliability and precision of the forecasting inflow and reservoir levels. By utilizing the Canadian Earth System Model version 5 (CanESM5), we examine climate variables across various scenarios of Representative Concentration Pathway (RCP) and Shared Socioeconomic Pathway (SSP). Under the SSP5-RCP8.5 scenario, the most aggressive in terms of emissions, we project a temperature rise of 2.6 % and a precipitation decrease of 2.7 %. This scenario leads to the most substantial changes in the hydrological cycle and altered river flow patterns. The results show a direct correlation between precipitation and inflow (0.952) and a strong inverse correlation between temperature and inflow (0.893). The study predicts significant decreases in all flow metrics, with mean high flow (Q5) periods affecting hydropower generation, especially under the SSP5-RCP8.5 scenario. Additionally, the filling frequency rate (FFR) and mean filling level (MFL) are projected to decrease, with a more pronounced decline in the far future, indicating a potential compromise of the reservoir's water storage and power generation capabilities, especially under the SSP5-RCP8.5 scenario.