Abstract:A new approach to the numerical simulation of compound Poisson process was proposed. The stochastic harmonic function method was adopted to generate the compound Poisson process. Based on the engineering example, the validity of the stochastic harmonic function method to simulate the compound Poisson process was verified.