This paper presents a natural gas supply system of a locality. Since power consumption is nonstationary, for supplying the consumption peaks it is used a gas deposit kept in a pipeline built near the locality. The viability of this solution was demonstrated by simulation with the numerical simulator SIMONE.