In recent years, energy predicament and environmental problems in the world caused by fossil fuels combustion make us to pay serious attention to optimizing energy consumption and using renewable energies. One of the potential renewable energies which can be helpful in electricity generation is harness wind and water energy or using these two kinds of energy simultaneously. In this study, to provide a part of electricity in Azadi complex, 2 wind turbines with 12 different scenarios are used. In addition to provide some parts of the consumed electricity, they provide consumed electricity for water pumps which pump the sport complex lake water to a reservoir with 30000 cubic meters capacity and 20 meters height which provides remainder the consumed electricity. In this model, with regard to the uncertain amount of electricity consumption, 3consumption scenarios with three probabilities are pumped every day into a pool and a few of it is used for electricity consumption and the surplus is sold to the agricultural sector and irrigation of green spaces. The GAMS software and two stage optimization methods in two states, with and without considering the risk for optimization are used and in both states, profit and net profit in each scenario are computed.