Modeling nitrogen plasmas produced by intense electron beams