Energy calculated for windows