As important equipment of nuclear power plants, diesel engines perform the function of emergency power supply in case of power loss in the nuclear power plant. Taking the vibration problem of the fuel supply circuit of the diesel engine system of a nuclear power plant as an example, the cause of pipeline vibration is found by means of dynamic time-history analysis using PEPS 6.0, and the specific solution is given. At the same time, the stress of the pipeline under load conditions such as dead weight, pressure, thermal expansion, and earthquake is calculated. Finally, a general solution method is summarized to solve the problem of diesel pipeline vibration.