Simulation of Purging and Injection in Long-Distance Liquid Ammonia Pipeline Commissioning Process
Pengbo Yin, Bo Wang, Peiyan Zeng, Wen Yang, Junwen Chen, Zhenchao Li, Weidong Li, Jiaqing Li, Lin Teng, Lilong JiangWith the expansion of ammonia energy applications, long-distance liquid ammonia pipelines are expected to support large-scale cross-regional ammonia transport. In the liquid ammonia pipeline commissioning process, gaseous ammonia purging involves ammonia–nitrogen mixing and possible liquefaction, while liquid ammonia injection may induce flashing and severe local cooling, all of which can affect commissioning safety. To characterize these thermodynamic phenomena, a transient gas–liquid two-phase flow model was established and validated using OLGA 2022.1.0 software for simulating the long-distance liquid ammonia pipeline commissioning. The model adopts the cross-sectionally averaged one-dimensional approach. A volume-corrected Soave–Redlich–Kwong (SRK) equation of state for ammonia was adapted, validated, and used to generate OLGA-compatible thermodynamic property tables. The results show that, during gaseous ammonia purging, a higher flowrate shortens the displacement time by accelerating nitrogen removal, and this effect is more pronounced at higher ambient temperatures due to enhanced molecular diffusion. Along the pipeline, pressure gradually decreases from frictional resistance, with a steeper drop near the outlet caused by gas acceleration, and temperature gradually approaches ambient through heat exchange with the pipe wall and surrounding soil. A high gaseous ammonia flowrate can cause partial liquefaction, regasification, and temperature fluctuations. During liquid ammonia injection, local condensation and slight liquid accumulation occur before the liquid front arrives, and the low-temperature region moves with the liquid front. The liquid ammonia mass flowrate has the strongest influence on the injection process, as it reduces the completion time but increases the outlet temperature, outlet pressure, and the low-temperature risk downstream of the valve. Therefore, it should be controlled within an appropriate range to balance efficiency and low-temperature safety risks. This work provides a rapid and efficient prediction model for key thermo-hydraulic parameters during liquid ammonia pipeline commissioning, and the overall analyses offer insights for on-site process design and safety control.