The objective of this monograph is to create a program which will be able to calculate the decrease in temperature and pressure of natural gas during transport in the transit gas pipeline, heat loss across the wall of the pipeline, determine the surface temperature of the pipe, temperature field in the backfill and massif and carrying of compressor station. The practical part is given by the construction of the universal characteristics of turbo compressors, program flowchart and simulation of mathematical model for calculating the input parameters of the program. The entire program consists of several modules, which are described verbally and by algorithms. Module 1 counts temperature in soil at the time τ = 0 (in the gas pipeline does not flow gas) Module 2 presents drop in temperature and pressure during the transport of natural gas, Module 3 illustrates the temperature distribution on the surface of the gas pipeline, Module 4 stipulates the boundary conditions of the system and the final part counts the temperature field for the backfill and massif. All the modules indicated together with the last part of the program form a FENIX.