Producing energy close to home