Rigorous numerical analysis of a planar thyristor