Photovoltaics calculation scripts