Numerical investigation of the formation of Trichel pulses in a needle-plane geometry