Nonlinear problem of an electrical discharge in a flow