Abstract
This work presents a numerical algorithm that permits the production optimization of gas wells using the concept of dynamic nodal analysis. By combining the desirable features of nodal analysis, material balance technique and decline curve analysis, the method is able to match the historical performance of the well data. It is also able to predict the future performance of the gas well under the existing condition as well as altered conditions. The proposed technique, which has several advantages over the classical nodal analysis, can be used for the selection of the timing and capacity of surface compressor, the evaluation of the economic viability of a well stimulation, and the understanding of the effect of individual production component on the productivity of a gas well over the life of that well.