Title: Solar energy monitoring, control and analysis in buildings