Energy Management in Households and Built Environments