The RSVPWM (Random SVPWM) is one key type of technology in the motor control and other electronic power transformation applications because of many advantages. The detailed procedure to build the simulation model of RSVPWM is presented and discussed. The ports and parameters, the program flowchart and the method to realize the randomization are given and illustrated. The built model can simulate random frequency SVPWM, random zero-vector distribution SVPWM and random pulse position SVPWM. The simulation results verify the model.