How to calculate the cost of solar energy business