You need to create a titled surface in "shading: building" and link this surface in " generator:photovoltaic "