Solar energy application in buildings