Two-dimensional resistive MHD simulation of the optimized plasma formation in the spherical tokamaks. (21st April 2021)