Net-zero-energy buildings