Pipeline commissioning is a gas‐liquid two phase flow process. In the hilly area, the complex flow status in pipeline may threaten the safety of the commissioning process. This paper developes a novel numerical technology to simulate the hydraulic process of pipeline commissioning. Several alternative modules are established, focused on which physical and mathematical models are established respectively to describe its flow status and corresponding pressure drop. With the aid of recognition technology and regulation and control technology, connection of these pipe sections can be performed to represent the actual pipeline and thus realizing the simulation of pipeline commissioning process.