Impact Avalanche Generation in Diode Example

Hi @Tao

This post from @akirt seems to be related, and would be a good basis to start a discussion: