Abstract
The current algorithm for calculating mass flow rate in gas production and transportation systems via outlet pressure measurements is generalized to the case when the inner cross section of pipe changes with time and is also to be determined while solving the general problem. The algorithm is recommended for identification of gas hydrate formation in the above-mentioned systems.