Mastering the Design Issues of Installing Solar Photovoltaics on Existing Roofs