Solar energy analysis and calculation