Numerical simulation of charging up, accumulation of space charge and formation of discharges | Synapse