Capacitor models and automated tracking of fluid leading edge