%0 Generic %A Pedrero, J %A Hermoso, N %A Hernández, P %A Muñoz, I %A Arrizabalaga, E %A Mabe, L %A Prieto, I %A Izkara, J L %T Assessment of urban-scale potential for solar PV generation and consumption %D 2019 %@ 1755-1307 %X The rise of grid electricity price and a growing awareness of climate change is resulting in an increasing number of photovoltaic facilities installed in buildings. Electricity market regulation and climatic conditions, in particular solar radiation, are the main factors that determine the economic viability of a photovoltaic facility. This paper describes a method for evaluating the potential for photovoltaic (PV) production and self-consumption for the building stock of a particular city. A GIS 3D city map is used to calculate solar irradiation. Building-level electricity use is calculated based on building type, geometry and other characteristic inferred from building age, taking the cadastre GIS as main input. The methodology identifies the realistic potential for rooftop photovoltaic installations, as well as the optimum size to be installed from an economic perspective. To represent different regulations that can affect economic viability of PV installations, calculations should adapt for the specific installation conditions and regulatory situation, as for example self-consumption and net metering. The proposed methodology is applied to a case study in Irun (Spain), where results for potential of PV generation and self-consumption for the building stock are presented. The results offer public administration a realistic view of economically viable PV potential for the city and allow to analyse different mechanisms to promote their installations. It also serves for individual electricity consumers to evaluate and optimize new photovoltaic energy facilities. Finally, it serves policy makers to estimate the repercussion of electricity market regulations on the economic viability of PV systems. %~