Design uses swim pool to save energy