Abstract
In city gas pressure reducing stations, in order not to hydrate natural gas after a sudden drop in pressure, the gas temperature is raised by a heater. The increase in temperature is such that after the pressure drop, the gas inside the pipes does not freeze. These heaters are gas burning and very high consumption, and because they use fossil fuels, produce environmental pollution. Accordingly, in this research, solar energy will be used to preheat the gas, which will be used for the most accurate analysis of TRNSYS software. In this regard, the amount of utilization of the sun and the amount of energy required for preheating will be obtained. After the implementation of the TRNSYS program, the highest amount of energy supply by the sun is related to spring, which on this day provides 55% of the thermal energy required by the load by solar energy.