n=DDGelectron_driftdiffusion(psi,x,ng,p) Solves the continuity equation for electrons input: psi electric potential x integration domain ng initial guess and BCs for electron density p hole density (for SRH recombination) output: n updated electron density