Solar energy technology in green buildings