In this study, an analysis is carried out to determine the optimal application of multiple renewable energy resources, namely wind and solar, to provide electricity requirements for green smart cities and environments. This was done to determine the potential of renewable energy to provide clean, economically viable energy for the case study of Zagazig, located at 30°34′ N 31°30′ E in the North East of Egypt. The relevant data surrounding the production of energy were collected, including the meteorological data from NASA, and specifications regarding renewable resources including solar panels, wind turbines, and storage batteries. Then a hybrid model was constructed consisting of Photovoltaics (PV) panels, wind turbines, a converter, and storage batteries. Once the model was constructed, meteorological data were added alongside average daily demand and cost of electricity per kWh. The optimal solution for Zagazig consisted of 181,000 kW of solar panels feeding directly into the grid. This system had the lowest Net Present Cost (NPC) of the simulations run of US$1,361,029,000 and a net reduction of 156,355 tonnes of CO2 per year.