Based on the first asteroid exploration plan announced by China Space Administration on April 19, 2019, we develop an optical orbit determination software for the main belt comet 133P/Elst-Pizarro (7968), which is one of the mission targets. The 133P/Elst-Pizarro's ground-based optical observation data from July 24, 1979 to October 28, 2019 are analyzed. Compared with the well-known OrbFit software system, it is found that the residual distribution is consistent, the measurement statistical residual RMS is less than 0.01″, and the internal coincidence accuracy of orbit determination is also consistent with each other. The results suggests the reliability of our software. Furthermore, we carry out a simulation orbit determination analysis aimed at 133P/Elst-Pizarro to discuss the orbit determination accuracy from ground-based optical data. When we use 20-year optical observation data measured once a mouth from Yunnan and Chile station and adding Gaussian white noise which is close to the current actual observation level, the results reflect that the optical orbit determination accuracy of the asteroid is at 50 km level. At the same time, it also shows that the optical orbit determination accuracy of the asteroid can be effectively improved by increasing the observation data or reducing the observation noise.