energy flow in homes