A diagnostic model for equatorial spread F, 1, Model description and application to electric field and neutral wind effects