The analysis of the wind flow around buildings is of great interest in the field of renewable energies. This work presents an investigation of the effects of roof-mounted solar panels on the wind flow on building roof. The study of the wind in urban environments is of great interest in several different engineering. We solve the steady-state Reynolds Averaged Navier–Stokes (RANS) equations in the simulations performed in this study, which for an incompressible fluid without body forces are (. 3.1. Main flow validationWe validate the main flow by studying the benchmark case A of the Architectural Institute of Japan. The influence of roof-mounted solar panels on the wind energy potential is analysed by comparing both velocity and turbulent kinetic energy in a flat roof (without solar panels) with thos. In what follows, the simulation results for the 4 cases (10°, 30° close and raised and empty roof) are presented, and the influence of the presence of the roof-mounted solar pa.