How AI is helping power performance in the pool