Green’s function based simulation of trap-induced device variability