Simulation of beam extraction and space charge effect in an electromagnetic isotope separator. (November 2022)