A simulation study of the digital ion trap mass spectrometer