In the process of designing steam piping in thermal power plants,for the sake of safety,pipeline stress engineers will design the flexibility of the entire pipeline system to be appropriately large to ensure that the pipeline can fully absorb thermal expansion deformation and protect the safety of equipment and pipelines.This method is more reliable under the condition that the pipeline transports single-phase fluid and the pressure in the pipe is stable,but if there is a two-phase flow of steam and water in the pipe or frequent fluctuations in the internal pressure,it will cause the violent shaking of the entire pipeline,which is not conducive to its long-term operation.Aiming at the problem of severe shaking of the hydrophobic pipeline of the heat network heater of a power plant in Shanxi Province,ASME B31.1-2012 is used as the design basis,uses CAESARⅡ to analyze the stress of the pipeline,and appropriately strengthens the rigidity of the pipeline system by increasing the pipeline constraint under the premise of ensuring the safety of the equipment,and achieves good results.