Abstract
In this article, modeling and optimization of power consumption of two-stage compressed air system have been investigated. To do so, the two-stage compressed air cycle with intercooler of Fajr Petrochemical Company was considered. This cycle includes two centrifugal compressors, a shell, and a tube intercooler. For modeling of power consumption, isentropic efficiencies of actual compressors and thermal effectiveness of intercooler are calculated from experimental data. In these equations, isentropic efficiency of compressors is a function of the inlet temperature, and thermal effectiveness of the intercooler is a function of the inlet air temperature, inlet water temperature of the intercooler, and inlet volumetric flow rate of the cycle. For optimization of power consumption, the Lagrangian method is used. Power consumption and isentropic efficiency of the first- and second-stage compressors, thermal effectiveness of the intercooler, and entropy generation of compressors are considered as the objective function and optimization conditions, respectively. In comparison with the experimental data, the modeling provided suitable accuracy. The optimization effectively reduced the power consumption of the cycle, especially in summer, in a way that the minimum and maximum reductions were 2.9% and 9.6%, respectively.
Keywords
Introduction
Air compressors are used in variety of industries to supply process requirements, operate pneumatic tools and equipments, and meet instrumentation needs. Compressed air systems use about 10% of the total industrial energy use in the world. Also, these systems are typically one of the most expensive utilities in an industrial facility.1,2 Some large compressors require several kilowatt powers to run. Even for a small air compressor with a displacement of 10 m3/min, an electrical motor of power 50–100 kW is required.3–5
The work input to a compressor is minimized when the compression process is executed in an internally reversible manner. When the changes in kinetic and potential energies are negligible, the compressor work is given by
There are some regions in the world with specific climatic conditions such as large differences in minimum and maximum temperatures during a year. These temperature variations can cause considerable difference in power consumption and performance of air compressors. These conditions lead to power consumption fluctuations of up to about 15%.11–14
For large or middle power compressors, one of the most important ways to save energy is using multistage compression and intercooling.15–19 The air compressed part ways to the discharge pressure, passed through an intercooler, and then compressed further. To minimize specific work input or power consumption, in two-stage air compression with 100% isentropic efficiency and 100% intercooler effectiveness, is readily seen to require that the stage pressure ratio rise should be the square root of overall pressure ratio in the more restrictive perfect gas model.
Lewins 20 modeled and optimized a multistage compressor with an intercooler for an ideal gas model. He used Lagrange method of optimization to find optimum condition. He showed that working in the perfect gas model, in which leads to some basic results in an optimization of a gas turbine that gives maximum work per unit mass circulated. These are useful for giving a feel to more realistic results in gas turbine and Joule cycle theory. It has been recently shown that the essence of these results remains true, albeit with a different emphasis, when the model is relaxed to the ideal gas only. Those results have been given for a Joule cycle optimized for maximum specific work. Also, he showed that if the stage duties vary, optimal condition can be calculated as a function of isentropic efficiencies of compressors and effectiveness of intercoolers.
Consequently, due to the supercritical heat rejection of the trans-critical cycle and the slopes of the isotherms in the supercritical region, the highest efficiency may be achieved at pressure ratios of the first- and second-stage compressors significantly different from each other, depending on the operating conditions. 21 In actual condition, the isentropic efficiencies of compressors are not constant and have significant variations with operational condition. 22 Compressor efficiency, pressure ratio, and inlet air temperature are three important parameters in optimization of power consumption in multistage compressors. 23
Wu et al. 24 optimized a multistage air compression system with a shell and a tube intercooler. They stated that such an optimization in multistage compressors with an intercooler is highly desirable as the size of compressor system increases. Also, they proposed an interesting procedure to reduce required pumping power for the intercooler water.
Ghorbanian and Gholamrezaei 25 used an artificial neural network (ANN) for compressor performance prediction. Their results show that if one considers a tool for interpolation and extrapolation applications, multilayer perception network technique is the most powerful candidate. Furthermore, for the prediction of the compressor efficiency, ANN is a powerful technique.
Al-Doori 26 investigated the effect of important parameters on the performance of gas turbine power plant. He focused on different parameters including different compressor pressure ratios, different ambient temperatures, air–fuel ratio, turbine inlet temperature, and the cycle peak temperature ratio. He showed that an increase in pressure ratio in each compressor would enhance the cycle’s produced work. Also, any increase in ambient temperature increases power consumptions and reduces the cycle work. Therefore, increasing ambient temperature can deteriorate thermal efficiency.
Unfortunately, there is a serious shortage in the literature about air compressed system in hot region and effect of the inlet temperature on isentropic efficiencies of compressor and intercooler effectiveness. Therefore, in this article, power consumptions of two-stage air compressed cycle in hot regions have been modeled and optimized by considering variation in ambient temperature, variation in isentropic efficiencies, and intercooler effectiveness.
Material and methods
Compressed air system specifications
The compressed air cycle that has been investigated in this article is placed in Fajr Petrochemical Company (Mahshahr, Iran) and includes two centrifugal compressors, a shell, and a tube heat exchanger as intercooler. Table 1 shows operating parameters of both compressors in summer condition. The investigated intercooler is a water-cooled shell and tube heat exchanger from Siemens. The outlet air from intercooler would be dried with an industrial dryer to fix air moisture content. Thus, it is assumed that air moisture content would be constant in compression process. Table 2 demonstrates the operating parameters of intercooler.
Operating parameters of compressors (summer condition).
Operating parameters of intercooler heat exchanger (design condition).
To measure thermodynamic parameters such as pressure, moisture content, and flow rate, a Testo 400 device with three probes for each parameter was used. Measurement accuracy of the device is 0.1°C, 0.001 bar, and 0.1 m3/h for temperature, pressure, and flow rate, respectively. Also, a Fluke 1735 power analyzer device with data logger for compression power measuring in each compressor was implemented. Pressure ratios in compressors are variable with temperature, as overall pressure of the cycle sometimes is 3.8 bar (in winter) and 3.49 bar (in summer).
Thermodynamic modeling
Figure 1 shows the components of a two-stage compressor with a single intercooler. For the thermodynamics modeling of power consumption of compressors, we assumed that the air is ideal gas and includes moisture. Also, compression processes in the first- and second-stage compressors are adiabatic.

Two-stage intercooled compressing system.
First compressor
We know from experimental results that the isentropic efficiency of compressor is the ratio of enthalpy differences in isentropic condition to enthalpy differences in actual conditions
In thermodynamic modeling of power consumption, the hypothesis of ideal gas model by considering the humidity of air is used. The effects of air humidity have to be considered as well. Humid air can be considered as a mixture of dry air and water vapor. The water vapor is assumed to be near liquefying, and humid air is treated as an ideal gas. Using equations (2) and (4), the enthalpy of humid air based on hypothesis of ideal gas model should be calculated 21
With the evaluation of the mole fraction of water vapor in humid air, the specific heat capacity and consequently isentropic power consumption can be calculated
Using the method of least square error, the isentropic efficiency of the compressor as a function of the inlet temperature can be calculated from the experimental data with a two-degree polynomial fit
Intercooler
The aim of modeling of intercooler in a compressed air system is calculating its thermal effectiveness (equation 11) and outlet air temperature
To calculate the effectiveness of intercooler, the outlet air temperature should be determined. Unlike some studies26,27 that assumed the effectiveness equal to quantity and constant, using equation (11), thermal effectiveness could not be constant.
According to recorded empirical data for this cycle, the best method for calculating the outlet air temperature and computation of thermal effectiveness is ANN method. To use ANN, 256 different recorded data for intercooler were implemented.
Regarding the different networks and using trial-and-error method, the best network for intercooler is a feed-forward network by two hidden layers. Transfer function of the first layer is tangent sigmoid with 20 hidden neurons, and the second layer is log sigmoid with the same number of hidden neurons.
To update weight factor and bios in the first hidden layer, trainlm function in Levenberg–Marquardt optimization method was used, and Leamgdm training function has been implemented for the second layer that is a suitable method to reduce inclined plane to train and update weight and bios. To train the network, we used train function in which the number of trained data is 70% of the total number of data. A total of 15% of data to test and 15% of them for network validation were chosen randomly.
Second compressor
Power consumption of the second compressor depends on the thermal effectiveness of intercooler. Power consumption calculation procedure of this compressor is same as that of the first compressor. Also, since we have a dryer next to intercooler, the inlet air moisture for the second compressor is equal to that of the first compressor. The governing equation of the second compressor is similar to that of the first compressor.
Here, we can use a polynomial as a function of the inlet air temperature to determine the isentropic efficiency of the second compressor, as same as the first compressor. Therefore, using experimental data, isentropic efficiency can be calculated
Optimization of power consumption
For optimization of the cycle, Lagrange multipliers were used. So, we introduce further Lagrange multipliers and distinguish between the efficiency of the first- and second-stage compression. Writing the objective function as
Together with constraints and their Lagrange multipliers
Then, define the Lagrangian, a function of five now-independent variables, as
And make the five-dimensional gradient
There is no analytical solution to find the optimum conditions; however, because it involves the temperature
To calculate the optimum condition of consumption power in an actual cycle using equation (19), one should follow the following scheme:
Assume pressure ratio
Calculate parameters below:
Solve equation (19) as a necessary condition for optimization of cycle’s consumption power. If there would be a problem in equation satisfaction, reduce pressure ratio and outlet air temperature in the first compressor. Repeat these steps until convergence of equation (19).
Results and discussion
To achieve the results of modeling and optimization, coding writing system in MATLAB R2010 software is used. The numerical solution for nonlinear equation (19) based on the above-mentioned steps in this article is performed by this software, and the outlet resulted from the ANN in every iterate is used as the inlet of the second compressor.
Experimental results and modeling validation
It can be observed from Figure 2 that isentropic efficiency of the first compressor is a descending function of ambient temperature. From 280 K to 325 K ambient temperature variation, the decrease in the isentropic efficiency of the first compressor was around 5%.

Variation in isentropic efficiency with the inlet air temperature of the first-stage compressor.
We can see some results of modeling of power consumption of the first compressor with recorded data in Table 3. The results showed a good agreement with the experimental data. In Mahshahr, the maximum and minimum ambient temperatures are so far from each other (1°C–48°C). The ambient temperature variations of this region are shown in Figure 3. These conditions lead to power consumption fluctuations of up to 14%.
Modeling results of power consumption in the first compressor versus recorded data.

Variations in the maximum and average temperatures of Mahshahr during a year. 28
Figure 4 shows that ANN has an appropriate response to the variations of the selected parameters. There is an interesting reaction from ANN against a sudden change in the outlet air temperature from intercooler (according to Figure 4, we have a sudden change in the outlet air temperature after no. 100). This sudden change is caused by a change in operational parameters because of the change from winter season to summer season.

Outlet air temperature from intercooler, comparison of ANN results with recorded data.
Table 4 shows some operational conditions of the intercooler. One can see from Table 4 that in different conditions, the decrease in air pressure is constant. Point that mass flow rate of inlet water is constant. Also, it is obvious from Table 5 that ANN has a good ability to predict the outlet air temperature from intercooler. According to Figure 5, the effectiveness of intercooler variation was from 0.7 to 1.1. It means that the inlet air temperature of the second compressor can be lower than that of the first compressor in a very hot condition. Therefore, the effectiveness can be >1 in some cases. This fact is not presented in the literature.
Operating conditions of the intercooler.
ANN performance in outlet air temperature prediction of the intercooler.

Intercooler effectiveness variations against ambient temperature.
Also, a small variation in the inlet air temperature of the second compressor is an important point, and it means that the inlet air temperature range of this compressor is smaller than that of the first compressor because of the existence of intercooler.
Table 6 shows the comparison between modeling results and actual data of power consumption in the second compressor and the modeling error. The modeling error was in the range of the first compressor. Figure 6 shows the isentropic efficiency variation for the second compressor against the inlet air temperature. Isentropic efficiency variation for the second compressor was more limited because of narrow range of the inlet air temperature variation of the second compressor. In other words, the main reason for small variation in the inlet air temperature for the second compressor is small variation in cooling water temperature in summer and winter conditions. The maximum variation in power consumption of the second compressor was around 3% in summer condition when compared with winter condition.
Results of the second compressor power consumption modeling versus recorded data.

Isentropic efficiency variation for the second compressor versus inlet air temperature.
Optimization
Operational conditions of the second compressor strongly depend on the operational condition of the first compressor and the intercooler. We presented optimized parameters for both compressors including pressure ratios and optimized power consumptions in Tables 7 and 8. The maximum optimization for power consumption of the first and second compressors was 20% and 6%, respectively. Also, minimum and maximum optimization for power consumption of the cycle was 2.9% and 9.6%, respectively.
Normal and optimized conditions for the first compressor.
Normal and optimized conditions for the second compressor.
Figure 7 shows a comparison between outlet air temperature variations for the first compressor at normal and optimized conditions with regard to different inlet temperatures. It can be understood from Figure 7 that the outlet air temperature increases linearly with the increase in the inlet air temperature of the first compressor. At optimized condition, the outlet air temperature of the first compressor was around 10 K lower than the normal condition.

Variations in the outlet air temperature from the first compressor at normal and optimized conditions.
Figure 8 shows specific work consumption of the first compressor versus inlet air temperature for both modeling and optimization conditions. In summer, the difference between normal and optimized conditions was increased in comparison with winter.

Variations in specific work consumption of the first compressor as a function of the ambient temperature at normal and optimized conditions.
Using multistage compression system with an intercooler can tighten the range of temperature difference for all the compressors except the first one. Therefore, only the first compressor is affected with ambient temperature fluctuations because of the existence of intercooler. Figures 9 and 10 demonstrate the variations in the inlet and outlet air temperatures of the second compressor versus ambient temperature for modeling and optimization results.

Variations in the inlet air temperature of the second compressor at normal and optimized conditions.

Variations in the outlet air temperature from the second compressor at normal and optimized conditions.
As can be seen in Figure 9, despite ambient temperature increasing (and the increase in the inlet air temperature to intercooler), the inlet air temperature to the second compressor has same value in some points. The main reason for this phenomenon is intercooler effectiveness. Thermal performance of intercooler is a function of ambient temperature, cooling water temperature, and inlet air flow rate. According to Figures 9 and 10, one can observe that optimized results about outlet air temperature from the second compressor reduce sometimes with an increase in the ambient temperature. This is because of the difference in produced pressure ratios in the second compressor. In other words, the inlet air temperature to this compressor is equal in some points; however, the outlet air temperature varies because of the difference in optimized pressure ratios. Figures 11 and 12 demonstrate the variations in specific work consumption of the second compressor and total specific work of the cycle versus ambient air temperature, respectively.

Variations in specific work consumption of the second compressor as a function of ambient temperature at normal and optimized conditions.

Variations in total specific work versus ambient temperature at normal and optimized conditions.
It should be noted from Figure 12 that operating conditions and the cycle’s specific work consumption amounts are close to proportional modeling values at lower ambient temperature (in winter), although with a considerable increase in ambient temperature (in summer), the cycle keeps out from optimized conditions. Total specific work of the cycle reduces in the range of 2.8%–8.72% by compressor optimization in winter and summer conditions, respectively. This occurs due to small variations in optimized isentropic efficiency compared with actual operating efficiency.
Conclusion
According to the modeling and optimization methods, we can conclude that
Our modeling method has a satisfactory level of accuracy for both compressors’ power consumptions.
We used ANN to predict outlet air temperature from intercooler. It seems that this approach is preferred to the assumption of constant thermal effectiveness for intercooler.
The cycle’s performance is too close to its optimum point in winter season. With a large increase in the ambient temperature (in summer), the cycle keeps away from optimum point. Total power of the cycle reduces in the range of 2.9%–9.6% by this optimization method in winter and summer conditions, respectively.
To optimize total work of the cycle and to supply the required pressure ratio in the hot region, speed of compressors should be independent from each other. Consequently, compressor designing for a hot climate should be in the form of split shaft (especially the first-stage compressor) for operating compressors in different speeds and thus different pressure ratios to save more energy.
To determine pressure ratios, one should consider intercooler performance. In winter season, pressure ratio of the first compressor should be larger than the other compressor (and vice versa in summer season), because in this condition, the inlet air temperature to the first compressor is smaller than that of the second compressor.
Footnotes
Appendix 1
Acknowledgements
The authors would like to thank the personnel and the managers of Fajr Petrochemical Company (Mahshahr, Iran) for their great help to perform this research.
Academic Editor: Mohammad Reza Salimpour
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
