Feasibility assessment of energy-neutral microalgae-based wastewater treatment plants under Spanish climatic conditions Rubén Díez-Montero a* , Alessandro Solimeno b , Enrica Uggetti a , María Jesús García-Galán a , Joan García a a GEMMA – Group of Environmental Engineering and Microbiology, Department of Civil and Environmental Engineering, Universitat Politècnica de Catalunya - BarcelonaTech, c/ Jordi Girona 1-3, Building D1, E-08034, Barcelona, Spain b Department of Chemical Engineering, University of Almeria, Ctra. Sacramento s/n, 04120 La Cañada de San Urbano, Almería, Spain * Corresponding author. Email address: ruben.diez.montero@upc.edu (R. Díez-Montero) Abstract The energy balance of a hypothetical microalgae-based wastewater treatment plant (WWTP) has been performed for thirteen geographic locations covering the whole range of latitudes, longitudes and climate conditions of the different Spanish regions. The proposed WWTP includes high rate algae ponds (HRAPs) for secondary treatment and nitrogen removal, anaerobic codigestion of primary sludge and the biomass grown in the HRAPs, and a combined heat and power unit for electricity and heat production. The operation of the HRAPs was optimized using the BIO_ALGAE model, which also predicted the biomass production of the HRAPs under the different climate conditions. Under the assumptions of this study, the electrical energy balance resulted neutral or even positive in all the locations during the whole year, in spite of the climatic conditions variations. However, the heat balance resulted closer to the neutral footprint. The most favorable locations (Almeria and Seville, south of Spain) were analyzed in detail, confirming the feasibility of a positive electrical energy balance, while the heat balance resulted slightly negative in the cold season. Along with the solar radiation, the air temperature and its variation during the year are determinant to predict the feasibility of the heat balance in the proposed WWTP scheme. Keywords (maximum 6 keywords) Numerical simulations; Energy balance; Nature-based process; Low-cost wastewater treatment; Energy footprint; Anaerobic digestion