How to calculate the net profit of photovoltaic cells