The distribution and deposition of hydrates in deep-water gas transportation pipelines are crucial for safety. Current simulations of hydrate flow based on the population balance model have predominantly focused on water-dominant systems and neglect the nucleation and deposition of hydrates. By establishing a model for a hydrate flow in a gas-dominant system that considers the uneven distribution of the liquid film on the wall, hydrate nucleation, gas–liquid mass transfer, particle adhesion and aggregation, and dynamic deposition, we achieved simulation of the entire process of hydrate formation, aggregation, breakage, and deposition. Simulations in undulating pipelines were carried out to investigate the effects of gas velocity, liquid injection, pressure, and pipeline structure on distribution patterns. The results showed increasing the gas velocity enhanced the dispersion of particles and increasing the pressure increased the rate of aggregation. The formation of blocky aggregates posed significant risk in the rear section of the lower-bend pipe.