Based on the analysis of the gas flow in the pipe network of L town,the actual operation of the mixed-air light hydrocarbon gas pipeline network was studied,and the optimization of the existing problems in the pipe segment was of great significance to ensure the normal transmission of mixed-air light hydrocarbon gas.By using TGNET software,a skeleton model of mixed-air light hydrocarbon gas pipe network was established.Two methods,equivalent length method and roughness method,were proposed to add local resistance loss to TGNET software for steady-state simulation.Considering the calculation accuracy and operation cost,the equivalent length method was used to convert the local resistance into the pipe network parameters,analyze the pressure of the whole pipe network,and optimize the 37 and 39 pipe sections with large pressure loss by increasing the pipe diameter and changing the pipe network layout mode.The results showed that when the pipe diameter increased from DN63 to DN75,the pressure losses of pipe network section 37 and 39 both were decreased by 55%;when increasing to DN90,the pressure losses were decreased by 80% and 81%,respectively.After changing the pipe network layout mode,the pressure loss reduction of pipe network section 37 and 39 was 40% and 65% respectively,and the optimized pipe network pressure loss was significantly reduced.According to the actual situation of L town,it was suggested to adopt the optimization method of changing the layout mode of pipe network.