Photovoltaic calculator