A model for evaluating both shading and power generation effects of PV roof was proposed. • The comprehensive energy saving effects of shading and power generation was investigated. • The application of PV roofs in 13 respective cities of China was studied and