We consider a nonlinear Dirac equation in order to describe collective electronic phenomena. In comparison to the other papers on the given topic the interaction term includes the sum of the spinor components' squares instead of their difference. The numerical simulation was done for simple boundary and initial conditions.