Calculation of household solar power generation