A semi-empirical model for the charging and discharging of electric-paint displays