This is a simulation for producing a mass spectrum. Ion production is a probability event. Nobody can predict on a head which ion will be created. As the number of ions increase, the spectrum approaches the library spectrum. The truly measured spectrum is obtained by accumulating ions for a given length of time. The longer the time, the better the spectrum.

Producing EI Mass Spectrum