From nearly-zero energy buildings to net-zero energy districts