How to calculate the profit of photovoltaic cells