Roof insulation and power generation in a photovoltaic roof