Next Article in Journal
Synthesis and Functional Optimization of a Vibratory Machine with a Parallel Mechanism Structure
Previous Article in Journal
Image-Based Nutritional Advisory System: Employing Multimodal Deep Learning for Food Classification and Nutritional Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Modeling of a Compressed Natural Gas Refueling Station and Multi-Objective Optimization via Gray Relational Analysis Method

1
Department of Machinery and Metal Technologies, Orhangazi Yeniköy Asil Çelik Vocational School, Bursa Uludağ University, Bursa 16800, Türkiye
2
Department of Mechanical Engineering, Bursa Uludağ University, Bursa 16059, Türkiye
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(9), 4908; https://doi.org/10.3390/app15094908
Submission received: 3 April 2025 / Revised: 25 April 2025 / Accepted: 26 April 2025 / Published: 28 April 2025

Abstract

:
Compressed natural gas (CNG) refueling stations operate under highly dynamic thermodynamic conditions, requiring accurate modeling and optimization to ensure efficient performance. In this study, a dynamic simulation model of a CNG station was developed using MATLAB-SIMULINK, including detailed subsystems for multi-stage compression, cascade storage, and vehicle tank filling. Real gas effects were incorporated to improve prediction accuracy of the pressure, temperature, and mass flow rate variations during fast filling. The model was validated against experimental data, showing good agreement in both pressure rise and flow rate evolution. A two-stage multi-objective optimization approach was applied using Taguchi experimental design and gray relational analysis (GRA). In the first stage, storage pressures were optimized to maximize the number of vehicles filled and gas mass delivered, while minimizing compressor-specific work. The second stage focused on optimizing the volume distribution among the low, medium, and high-pressure tanks. The combined optimization led to a 12.33% reduction in compressor-specific energy consumption with minimal change in refueling throughput. These results highlight the critical influence of pressure levels and volume ratios in cascade storage systems on station performance. The presented methodology provides a systematic framework for the analysis and optimization of transient operating conditions in CNG infrastructure.

1. Introduction

In the global transition toward cleaner energy systems, compressed natural gas (CNG) continues to serve as a viable alternative fuel for the transportation sector due to its relatively low emissions, mature infrastructure, and economic feasibility [1]. Compared to conventional fuels, CNG exhibits superior combustion characteristics and environmental benefits, particularly in urban mobility applications [2,3,4]. Its usage not only reduces greenhouse gas emissions but also provides a reliable transitional pathway within existing engine technologies [5].
Recent comparative studies have evaluated CNG, battery electric vehicle (BEV), and fuel cell electric vehicle (FCEV) technologies in public transport, emphasizing that CNG remains a competitive and transitional option in terms of both environmental and economic performance [6]. While CNG remains a viable low-emission alternative in many urban freight applications, recent cost–benefit analyses suggest that electric light commercial vehicles (LCVs) may offer lower total cost of ownership under certain conditions. For example, Bhutani et al. [7] found that EVs had a cost advantage of 2% over CNG vehicles in urban distribution scenarios, although infrastructure and policy support remain critical factors in the adoption process.
In addition to performance considerations, recent research has also explored the safety and risk aspects of CNG infrastructure by applying integrated decision-making methods. For example, Ali et al. [8] analyzed the CNG sector in Pakistan using fuzzy AHP and TOPSIS, identifying system design limitations, human error, and economic instability as key issues, especially in developing countries.
Meanwhile, dynamic modeling has become a useful tool for capturing how gas storage and distribution systems respond under variable conditions. Di Nardo et al. [9,10] demonstrated that incorporating time-varying parameters into simulations improves the accuracy of system behavior predictions. In a similar context, Xu et al. [11] used scenario-driven risk assessments to show how dynamic models can support better safety planning in integrated energy systems.
Hybrid systems that combine CNG and electricity are drawing increasing interest, especially in the broader area of multi-energy systems. Seyfi et al. [12] proposed an energy management method that uses deep learning to control a virtual energy hub, which connects vehicles that run on both CNG and electricity with a gas compression station. Their results showed that CNG can help improve system flexibility when used together with electric and thermal energy sources.
At the same time, comparisons between different refueling technologies show a growing focus on hydrogen systems. For example, Chu et al. [13] described a hydrogen station powered by solar energy, which includes an electrolyzer, a compressor, and a storage setup. They also used life cycle and full-chain efficiency analyses to study its environmental and economic impact. These modeling efforts reflect the growing demand for cleaner and more efficient fuel systems.
Simulation tools such as MATLAB and Simulink are widely used in engine and control system development. For instance, Munahar et al. [14] used this platform to evaluate passenger comfort by measuring vibration levels in vehicles that use CNG.
Despite these advantages, the operation of CNG refueling stations introduces several engineering challenges. These include high-pressure storage requirements, energy-intensive compression cycles, transient thermal effects during fast filling, and the need for efficient system control [15,16,17,18]. One of the primary difficulties lies in managing the dynamic behavior of thermodynamic parameters, such as pressure, temperature, and gas density, which vary significantly during the refueling process [19,20,21,22]. Rapid temperature rise due to gas compression can lead to lower fill efficiency, reduced safety margins, and increased energy consumption [23,24,25,26]. Experimental and numerical studies have shown that initial gas conditions, pressure staging, and heat transfer mechanisms play critical roles in determining system performance during fast filling operations [27,28,29,30,31].
In CNG infrastructure, the proper design and control of compressor systems are also crucial. Compressor cycling, control algorithms, and reservoir pressure staging significantly affect station efficiency and operational cost [32,33,34]. Additionally, component-level reliability issues, such as valve material degradation or improper mounting structures, can impact safety and maintenance performance [35,36,37].
Although several studies have addressed individual aspects of CNG station operation, such as fuel transmission [38], energy cost [39,40], and thermodynamic losses [41,42], a comprehensive approach that simultaneously considers multiple engineering objectives, such as pressure level, storage volume allocation, and thermal behavior, remains underexplored [43,44,45].
Another important factor influencing the performance of CNG refueling systems is the optimization of pressure levels and volume distributions within cascade storage configurations. Farzaneh-Gord and Deymi-Dashtebayaz [46] investigated the effects of different pressure stages on station efficiency using an ideal gas model and demonstrated that determining optimal pressure levels can enhance compressor energy usage and refueling time. Similarly, Farzaneh-Gord et al. [47] presented a comprehensive analysis on optimizing the volume ratios of storage tanks in multi-line systems to improve overall station performance. However, most of these studies were conducted under steady-state or quasi-steady assumptions, with limited attention to the dynamic behavior of the system.
In recent years, multi-objective optimization techniques have gained attention as a means to holistically improve energy systems. In particular, the combination of Taguchi experimental design with gray relational analysis (GRA) has proven effective in a wide range of thermal and mechanical applications, such as refrigeration systems [48], battery thermal management [49], absorption cooling [50] and organic Rankine cycles [51]. This approach allows for simultaneous consideration of several conflicting performance metrics, making it highly suitable for systems like CNG refueling stations, where trade-offs between pressure utilization, energy efficiency, and temperature control must be carefully balanced.
In this study, the well-established Taguchi–GRA framework was adapted to optimize a dynamically modeled CNG refueling station. The model evaluates system behavior over a 24 h operating cycle and targets simultaneous optimization of reservoir pressure levels and volume distribution to minimize compressor cycling and ensure sufficient fill pressure for vehicle tanks. All thermodynamic properties of natural gas, including pressure-dependent density and enthalpy, were calculated based on real gas properties to ensure accurate simulation of compression and filling dynamics. This ensures that the simulation reflects the actual behavior of natural gas during compression and filling.
By combining dynamic simulation with multi-objective optimization, this work contributes a novel framework for improving the technical performance, energy efficiency, and operational stability of CNG refueling systems. In doing so, it addresses critical gaps in the current literature and offers insights for future infrastructure development.

2. Materials and Methods

The CNG refueling station model used in this study is shown in Figure 1. It was developed using MATLAB ® (R2024a)-SIMULINK software. The model simulates the entire refueling process, including gas intake from the natural gas pipeline, compression in the compressor, storage in tanks, and dispensing to vehicles. Additionally, it incorporates a logical control system that manages these operations efficiently.
The pipeline subsystem includes the solver configuration, where essential solver parameters are defined before starting the simulation. It also incorporates a gas properties block, which defines the characteristics of the natural gas, and a reservoir block that sets the initial conditions for gas entering the system. These components are sourced from the gas library and modeled within this subsystem.
In this study, the gas is modeled as a real gas, specifically pure methane. However, perfect gas properties are also used for validation against experimental data, with the ideal gas law applying to perfect gases. Table 1 presents the gas properties of the connected gas network under the assumption of ideal gas behavior. These values correspond to methane at a temperature of 293.15 K and a pressure of 1.01325 bar [52].
For real gas modeling, all properties vary as functions of temperature and pressure, represented as two-dimensional arrays. The selected temperature range for thermodynamic properties extends from 153.15 K to 543.15 K, while the pressure range covers 0.1 to 300 bars. These property arrays are sourced from the open-source CoolProp database [52].
In order to implement real-gas behavior dynamically, a MATLAB Function block was developed to call the PropsSI function from the CoolProp library at each simulation step. This function enables the retrieval of real-time thermophysical properties such as density, specific heat, and enthalpy based on instantaneous temperature and pressure conditions, ensuring consistency with Helmholtz-based equations of state. Compared to fixed tabular data or simplified ideal gas assumptions, this method allows for more accurate and continuous representation of gas behavior during transient processes such as fast-filling. CoolProp’s interpolation algorithms have been validated against NIST reference data and are widely adopted in thermodynamic modeling.
A multi-stage compressor subsystem is shown in Figure 2. This subsystem shows the operating principle of a compressor system. The signal from the control unit passes through a transfer function and is subjected to a process that determines the dynamic response of the system. The gas then flows through an orifice, where the flow is regulated and directed to a three-stage compression system. The orifices used here and throughout the system are modeled with a gas library.
At each stage, the gas is pressurized and passed to the next stage. This process ensures an efficient compression process by gradually increasing the pressure. The cooling system is also in operation and contributes to the healthy operation of the system by dissipating the heat generated during compression.
The mechanical operation is initiated by a start signal, which activates the compression process. The system incorporates mechanical rotational reference, ideal angular velocity source, and ideal torque sensor from the mechanical library, ensuring accurate modeling of mechanical dynamics. As a result, the compressor generates mechanical work, ultimately delivering pressurized gas as the final output.
The design parameters used in the development of the compressor system are detailed in Table 2, providing insight into the system’s performance characteristics and operational capabilities. These design parameters were selected based on typical specifications of industrial reciprocating compressors commonly used in CNG refueling stations. Although exact values may vary across manufacturers, the chosen values fall within the range observed in publicly available technical documents and are representative of commercial systems operating under similar pressure ratios and flow conditions [53,54].
In particular, the polytropic exponent was set to n = 1.3, which characterizes a partially cooled gas compression process with intercooling between stages. This value is thermodynamically realistic, lying between isothermal (n = 1) and adiabatic (n ≈ 1.4) conditions. It has also been validated in experimental studies involving real-gas compression under non-ideal conditions [53].
The Stage 1 subsystem, as illustrated in Figure 3, represents the first phase of a multi-stage compression system, with subsequent stages modeled in a similar manner. To regulate the temperature of the compressed gas, an intercooler has been implemented, modeled using the heat exchanger library.
The process begins when the inlet gas enters the first stage of compression. At this stage, the gas is compressed, leading to an increase in both pressure and temperature. Before progressing to the next stage, the compressed gas is directed to the intercooler, where its temperature is reduced to improve efficiency.
The intercooler operates using inlet water, which absorbs heat from the compressed gas, ensuring an effective cooling process. As a result, outlet water carries the heat away from the system, while the cooled gas is delivered as outlet gas, ready for the next stage of compression. Additionally, a temperature difference measurement unit is included in the model to monitor and evaluate the effectiveness of the cooling process by comparing the inlet and outlet temperatures.
This stage plays a critical role in improving the overall efficiency of the system. By reducing the gas temperature between compression phases, the energy required for subsequent compression stages is minimized, while thermal stress on system components is significantly reduced. As a result, the performance and operational lifespan of the compressor system are optimized.
The coolant subsystem is modeled to demonstrate a heat exchange mechanism that includes a cooling system. Heat transfer is achieved using water and air flow, ensuring the regulation of the coolant temperature.
The cascade storage system is divided into three reservoirs, classified as low-pressure, medium-pressure, and high-pressure reservoirs. Each of these reservoirs consists of several large tanks. Figure 4 presents a schematic diagram of the cascade storage system.
On the left side, the “Priority Valves In” subsystem is where the inlet gas enters the system. As the gas passes through this section, it is directed into three different storage levels based on pressure: high-pressure, medium-pressure, and low-pressure. These sections store gas at different levels and regulate the supply according to demand. When the pressure in the high-pressure reservoir reaches the pre-set minimum level, the orifices in the “Priority Valves In” subsystem sequentially fill the low-pressure, medium-pressure, and high-pressure reservoirs. During the filling of the storage tanks, vehicle refueling through dispensers does not occur.
The heat transfer mechanism between the storage tanks and the environment is modeled in the subsystems, and temperature and pressure monitoring is conducted. Thermal mass, conductive heat transfer, and convective heat transfer are modeled using the thermal elements library. Temperature control is modeled using a temperature sensor block, which allows for the analysis of the temperature difference between two desired points without removing heat from the system. The values used in heat transfer and material properties are provided in Table 3.
On the right side, the “Priority Valves Out” subsystem manages the release of gas from the system. During fast refueling, the vehicle tank is initially connected to the low-pressure reservoir. As the pressure in the reservoir drops and the pressure in the vehicle’s cylinder increases, the gas flow rate decreases. When the flow rate reaches a predefined threshold, the system switches to the medium-pressure reservoir and finally to the high-pressure reservoir to complete the refueling process.
Compared to storing all gas in a single-pressure buffer tank, the cascade system is expected to provide more complete refueling while optimizing the efficiency of both the compressor and the storage tanks. To ensure that vehicle tanks are adequately filled, the high-pressure reservoir must always be maintained at a slightly higher pressure than the target pressure of the vehicle tank.
Proper determination of compressor capacity and cascade storage volume is essential to allow the CNG station to manage vehicle frequency efficiently. Additionally, setting the correct maximum and minimum pressure values for the low, medium, and high-pressure tanks and allocating volumes appropriately ensures the effective operation of the station.
In the dispenser subsystem, the inlet gas serves as the starting point of the system and is directed through a control mechanism. The control unit regulates the inlet valve using a transfer function, which determines the dynamic response of the gas flow, smoothing sudden changes and ensuring a steady flow. The valve is a fundamental component that regulates both the direction and quantity of flow. When opened, gas moves toward the hose, which provides a flexible conduit for directing the flow. The check valve ensures that the gas moves only in the designated direction, preventing backflow and enhancing system safety. Finally, the outlet gas point is where the gas is delivered to vehicles under appropriate pressure and flow conditions. This system is designed to facilitate the controlled and safe distribution of gas. The check valve, hose connection, and control valve are modeled using elements from the gas library.
The three-vehicle subsystem models the vehicle tank filling process and its thermodynamic interactions. During gas transfer, parameters such as mass flow, pressure, and temperature are monitored by sensors to ensure efficient and controlled filling. The inlet point, labeled as dispensed gas, represents the gas line responsible for filling the vehicle tank, where a mass flow rate sensor measures the transfer speed. The pressure sensor monitors the tank’s current pressure, providing real-time data to the control unit, while the temperature sensor detects the gas temperature inside the tank. The vehicle tank is modeled using internal convection and heat conduction mechanisms, where internal convection accounts for heat transfer within the tank, and heat exchange with the surroundings is represented through internal conduction and external convection. The thermal properties of the tank wall are incorporated via the wall mass component, considering conductivity and heat capacity in the heat transfer process. Heat dissipation to the environment is modeled using the conduction tank and external convection components, while the environment temperature component simulates the ambient temperature effects on overall heat transfer. The values and material properties used in the heat transfer calculations are provided in Table 3.
The experimental dataset used for validation in this study was originally presented by George [56], based on a fast-fill CNG operation with cascade storage. This dataset has also been widely used in previous research for benchmarking and validation purposes, notably by Saadat-Targhi et al. [27] and Farzaneh-Gord et al. [47]. In these studies, the model predictions showed high consistency with the experimental results, reinforcing the reliability of the dataset.
Figure 5 illustrates the variation of mass flow rate over time, comparing the simulation results with the experimental data. The experimental conditions are consistent with those reported in [27,47], where the initial pressure of the NGV cylinder is 72 bar and the volume is 52 L. The mass flow rate varies between 0.29 kg/s and 0.04 kg/s, managed through a cascade storage system. The fast-filling process starts at 24 s and ends at 60 s. The experimental data are shown as a blue dashed line, while the perfect gas and real gas simulation results are represented by black and red lines, respectively.
These results indicate that the real gas model provides a closer alignment with the experimental measurements, especially at the peak flow rate and during the decline phase. The perfect gas model underestimates the maximum flow rate and shows noticeable discrepancies in the decreasing region. These findings confirm that considering real gas behavior improves the accuracy of mass flow predictions during high-pressure filling.
Figure 6 shows the pressure variation in the NGV cylinder over time. Initially, the pressure remains low and then increases rapidly after approximately 24 s. Both gas models (perfect and real) showed a high degree of agreement with the experimental results, particularly during the pressure rise phase. However, the final pressure predicted by both simulations was slightly higher than the experimental values. This is due to the target pressure being set at 250 bar in the simulation, compared to 240 bar in the experimental setup. The real gas model again yielded results closer to the experimental curve, confirming its higher accuracy under dynamic filling conditions. This target pressure difference also accounted for the small deviation observed during the flow decline stage, as the simulation continued for a longer duration to reach 250 bar, leading to slightly higher mass flow values near the end of the process.
The experimental flow rate deviation was approximately ±0.015 kg/s, as also reported by Farzaneh-Gord et al. [47] and Saadat-Targhi et al. [27]. Similarly, the pressure deviation between the simulation and experiment was approximately 10 bar (4.2%), consistent with the target pressure difference observed in George [54]. The total filling time deviation between the simulation and experiment was around 2 s, corresponding to about 5.5% of the total duration.
The Taguchi method, a statistical approach, is a systematic and efficient technique for optimizing design variables. It utilizes fractional designs derived from orthogonal arrays to explore the entire experimental domain with a minimal number of experiments, ensuring efficiency while maintaining accuracy. This method facilitates the identification of optimal conditions, and the conclusions drawn from the Taguchi method are applicable across the entire experimental region.
In this study, the Taguchi method was employed to analyze the pressure and volume arrangements of low-, medium-, and high-pressure storage tanks for the efficient operation of the station. Within the Taguchi design, three control factors were selected to determine the storage tank pressures: high storage tank pressure (Phigh), medium storage tank pressure (Pmedium), and low storage tank pressure (Plow). Each factor was analyzed at four distinct levels, as detailed in Table 4. These pressure values were evaluated using a four-level design to independently observe their impact at different cascade stages, thereby justifying the selection of an L16 orthogonal array. In the subsequent volume optimization stage, the control factors Vlow/Vtotal and Vmedium/Vhigh were limited to three levels due to the fixed total tank count (48 cylinders) and the physical feasibility of the storage configuration, which led to the use of an L9 orthogonal array. Although no separate sensitivity analysis was performed, the level ranges were carefully selected based on thermodynamic principles, engineering judgment, and previous simulation experience.
The ratio of the pressure storage tank volume (Vlow, Vmedium, Vhigh) to the total volume Vtotal was established for optimal volume distribution in Equations (1)–(3). The remaining volume, after selecting Vlow, is expressed as the ratio of the medium-pressure storage tank volume Vmedium to the high-pressure storage tank volume Vhigh in Equation (4) [47]. The volume optimization can be further refined by introducing four dimensionless parameters, defined as follows:
v ¯ low = V low V low + V medium + V high = V low V total
v ¯ medium = V medium V low + V medium + V high = V medium V total
v ¯ high = V high V low + V medium + V high = V high V total
v ¯ m / h = v ¯ medium v ¯ high = V medium V high
These two dimensionless numbers ( v ¯ low , v ¯ m / h )   were selected as factors in the second Taguchi design. Each factor has three levels, as presented in Table 5.
In the Taguchi method, the columns of an orthogonal array represent the experimental variables used to achieve the optimal design, while the rows represent the optimal combinations of different variable levels. Additionally, in determining the optimal level of each variable within the orthogonal array, the mean and variance of the experimental results are combined into a single performance measure known as the signal-to-noise (S/N) ratio.
Three different performance categories are defined in the analysis of the S/N ratio: smaller is better, larger is better, and nominal is better. Based on the required output performance parameter, the appropriate S/N ratio condition is selected. The S/N ratios for the “smaller is better” and “larger is better” conditions are calculated using Equations (5) and (6), respectively.
S / N = 10 log 1 n i = 1 n y i 2
S / N = 10 log 1 n i = 1 n 1 y i 2
In these equations, n represents the number of experiments and yi defines the output value for the ith performance parameter. For the analysis of pressure values, the L16 orthogonal array was chosen in the Taguchi method since all three factors have four levels. For the analysis of volume values, the L9 orthogonal array was selected, as both factors have three levels. Three output parameters are considered in this study: the number of vehicle tanks that can be filled within 24 h (nVehicle), the average gas mass accumulated in the vehicle tank mAverage, and the work performed by the compressor per unit mass charged (WComp).
To maximize the CNG refueling station output parameters nVehicle and mAverage, the “larger is better” condition was applied for the S/N ratio calculations. Conversely, to minimize WComp, the “smaller is better” condition was selected. Minitab 18 and Microsoft Excel 365 software were used to perform these analyses. The Taguchi design method provides the optimal values for each output parameter separately. However, for multi-objective optimization, a hybrid approach known as the Taguchi–gray relational analysis (GRA) technique was applied.
In this method, the experimental data are first normalized between 0 and 1, forming the gray relational production matrix. the gray relational coefficient (GRC) is then calculated from the normalized matrix to quantify the correlation between the desired and simulated data. Finally, the overall gray relational grade (GRG) is determined, incorporating the weighting factors for each output parameter in the objective function. This approach transforms the multi-response problem into a single-response optimization problem. Lastly, Taguchi analysis is conducted to determine the optimal values.
In this study, since the objective function aims to maximize the system’s performance, two different normalization criteria are applied in the GRA method. For nVehicle and mAverage, normalization follows the “larger is better” criterion using Equation (7), while for WComp, normalization follows the “smaller is better” criterion using Equation (8).
y i k = x i 0 k min x i 0 k   max x i 0 k min x i 0 k
y i k = max x i 0 k   x i 0 k max x i 0 k min x i 0 k
In these equations, yi(k) represents the normalization value of the gray relational generation. The terms max xi0 (k) and min xi0 (k) denote the maximum and minimum values of xi(k) for the kth response, respectively. The symbols i and k indicate the number of simulations and the number of responses, respectively [48,49,50,51]. After the data are normalized, the gray correlation coefficient (ξi), which quantifies the relationship between the ideal and actual normalized results, is computed using Equation (9) [48,49,50,51]. In this equation, the resolution coefficient ∅ was set to 0.5, following the standard practice in GRA applications. This value, originally proposed by Deng [57], ensures a balanced level of sensitivity and has been widely adopted in similar engineering optimization studies [48,49,50].
ξ i k = Δ min + ϕ   Δ max Δ 0 i ( k ) + ϕ   Δ max
Δ 0 i k = y 0 k   y i k
Δ max = max j ε i   max k   y 0 k   y i k
Δ min =   min j ε i     min k   y 0 k   y i k
In Equation (10), Δ0i(k) represents the deviation between y0(k) and yi(k). The values Δmax and Δmin are determined using Equations (11) and (12), respectively. The gray relational degree (γi) is calculated using Equation (13) with the normalized weighting factor.
γ i = 1 n   k = 1 n w k ξ i k
In this equation, a high γi indicates a strong correlation between y0(k) and yi(k). If the two compared series have identical values, then γi = 1. This implies that γi is used to measure the similarity between the compared series and the reference series. Additionally, in Equation (13), the total weighting factor satisfies the condition wk = 1, where wk represents the normalized weighting factor for each response. The weighting factor defines the influence of each output parameter on the objective function, allowing the transformation of the multi-objective optimization problem into a single equation. It is calculated using Equation (14) [48,49,50,51], where t represents the number of responses, p is the number of parameters, and Delta denotes the S/N range. This weighting strategy was chosen to reflect the relative sensitivity of each output to the control factors based on empirical data, thus ensuring objectivity. While physical importance–based weights are also valid, the Delta-based approach avoids subjective bias and maintains consistency between the Taguchi and GRA stages.
w i = j = 1 p Delta i , j i = 1 t j = 1 p Delta i , j
The Taguchi method is an efficient statistical tool that reduces the number of simulations by employing orthogonal arrays, enabling systematic evaluation of factor effects across multiple levels. However, it does not inherently support multi-objective optimization. To address this, GRA was employed as a decision-making method to consolidate multiple performance indicators into a single response metric. This combined Taguchi–GRA framework is known for its simplicity, low computational cost, and applicability in engineering systems involving multi-response problems. Nevertheless, GRA has certain limitations, such as sensitivity to weighting factors and normalization schemes, which are acknowledged in the literature.
This integrated Taguchi–GRA optimization framework provides a novel and practical approach for enhancing the performance of CNG refueling stations. It enables a systematic evaluation of multi-parameter and multi-objective trade-offs, such as maximizing vehicle fuel delivery while minimizing compressor energy consumption. By transforming multiple performance outputs into a single comparable metric, this approach simplifies complex decision-making processes and allows for effective optimization under constrained conditions. The combined methodology is computationally efficient and highly interpretable, making it well suited for engineering systems like CNG refueling stations, where both operational efficiency and system level design considerations must be balanced. Similar applications in thermal and energy systems, such as absorption refrigeration systems [48], battery thermal management [49], electric motor cooling [50], and ORC based power generation [51], demonstrate the method’s versatility and reliability.

3. Results

In the context of the designed simulation for natural gas compression, the process begins with natural gas entering the compressor from the pipeline at a pressure of 15 bar. The simulation details the compression stages: in the first stage, the gas is compressed to an average of 30 bar, followed by a second stage where it is further compressed to 75 bar. The third stage’s final pressure is variable, depending on the set pressure and volume of the storage tanks being filled.
Before any optimization is applied, the storage tanks are pressurized as follows: low-pressure (LP) tanks are set to 130 bar, medium-pressure (MP) tanks to 205 bar, and high-pressure (HP) tanks to 250 bar. Notably, all three types of storage tanks have an equal volume of 2400 L and initially contain gas at a pressure of 15 bar. The pressure variations during the compressor’s initial operation are illustrated in Figure 7.
After each compression stage, the natural gas is cooled with water using an intercooler. The temperature difference before and after intercooling is shown in Figure 8. The intercooler reduces the gas temperature by an average of 35 °C at the exit during the first and second stages and by approximately 22 °C at the end of the third stage.
The equal-volume storage tanks take approximately 54 min (3211 s) to reach the set pressure. The filling times for each tank are as follows: LP takes 13 min, MP 19 min, and HP 22 min. The pressure and temperature variations during the filling process are illustrated in Figure 9a,b.
During the filling process, the storage tank temperatures rise, with the LP tank reaching 55 °C, the MP tank 73 °C, and the HP tank 82 °C. Once filling is complete, heat dissipates into the surrounding ambient air, which is at 20 °C, gradually lowering these temperatures.
The 24 h monitoring period begins with the compressor filling the empty storage tanks. Once the tanks reach full capacity, the compressor shuts down and the vehicle tanks are refueled using a dispenser. Three vehicle tanks are selected for this process. While one vehicle tank is being filled, the other two are discharged and reset to an initial pressure of 5 bar at ambient temperature. The total number of vehicle tanks filled within the 24 h period is recorded.
The vehicle tank filling process follows a staged approach. It begins with LP, which initiates the transfer. As soon as the pressure difference between LP and the vehicle tank reaches 10 bar, MP is activated to continue the process. Once MP reaches the same 10 bar pressure difference with the vehicle tank, HP takes over and completes the filling process, bringing the vehicle tank pressure up to 200 bar. After each vehicle tank is filled, the system waits approximately 60 s before initiating the next filling cycle.
The 10 bar pressure difference between the storage tanks was chosen as a design parameter to ensure a sufficient mass flow rate is maintained throughout each phase of the filling sequence. This value is not a fixed standard and may vary depending on station layout, storage tank configuration, and operating objectives. In this study, it was selected to guarantee continuous flow without stagnation, particularly during the high-demand fast-fill process. The model allows this threshold to be easily modified, enabling its application to various design or operational scenarios.
During refueling, LP is excluded from the process if its pressure drops to 55 bar, and MP is excluded when it falls to 130 bar. At this point, the next stage begins. If HP drops to 205 bar, the compressor is activated to refill all storage tanks in sequence, starting with LP, followed by MP, and finally HP.
The pressure variations within the system follow a specific range. LP and MP operate with a pressure range of 75 bar, while HP operates within a 45 bar range. On average, the compressor is activated every 60 min to refill HP, while MP and LP require activation every 130 min and 375 min, respectively. The refill times for each storage tank differ, with HP taking 3 min, MP taking 6 min, and LP requiring 9 min to reach full capacity.
Figure 10 illustrates the pressure fluctuations of HP, MP, LP, and the vehicle tanks over a seven-hour period.
The temperature and mass flow rate variations for the first three vehicle tanks filled are shown in Figure 11. Each vehicle tank is filled in approximately 270 s. Since the storage tanks are newly filled, they are at their maximum pressure and temperature, leading to a higher initial temperature during the first vehicle tank’s filling process.
During filling, the temperature increase in the first three vehicle tanks is 68 °C, 65 °C, and 62 °C, respectively. In subsequent fillings, this temperature rise stabilizes at around 50 °C. The filling times for LP, MP, and HP are 140, 90, and 40 s on average. As the pressures in LP and MP decrease over time, the filling duration of HP increases to compensate.
Flow rate fluctuations occur in the vehicle tanks during the transition between storage tanks. These fluctuations are most noticeable when the mass flow rate drops below 0.02 kg/s. During these transitions, a temperature drop is observed due to the cooling effect.

3.1. Storage Tank Pressure Optimization

After 24 h of monitoring, the compressor was activated four times to refill LP, twelve times for MP, and twenty-four times for HP. A total of 218 vehicle tanks were filled, with an average mass of 9.46 kg per tank. The work performed by the compressor for compression was calculated as 0.1938 kWh per unit mass.
These results indicate that optimizing the selected pressures and volumes of the storage tanks can enhance refueling efficiency. To achieve this, the Taguchi design method was used to analyze the pressure and volume ratios that maximize the number of vehicle tanks filled and the total mass delivered while minimizing compressor operation.
The control factors and levels used in the analysis are presented in Table 4. In the Taguchi design, three control factors were selected to determine storage tank pressures: high storage tank pressure (Phigh), medium storage tank pressure (Pmedium), and low storage tank pressure (Plow). Each factor had four levels (43 combinations). The control factor levels were assigned according to the L16 orthogonal array.
For these 16 test cases, the number of vehicle tanks filled in 24 h (nVehicle), the average mass of gas accumulated in each vehicle tank (maverage), and the work performed by the compressor per unit mass (Wcomp) were calculated. The results are summarized under the “Results” column in Table 6.
Using Minitab software, signal-to-noise (S/N) ratios were computed. The “larger is better” approach was applied to nVehicle and maverage, while the “smaller is better” approach was used for Wcomp. The calculated S/N ratio values for each output parameter are also provided in Table 6.
Figure 12a illustrates the calculated S/N ratios for nVehicle at specified control factor levels. Optimal performance is achieved by selecting the level that maximizes the S/N value for each factor. The highest nVehicle value of 229 occurs when the HP pressure (Phigh) is set to 250 bar, the MP pressure (Pmedium) to 145 bar, and the LP pressure (Plow) to 70 bar.
Figure 12b presents the S/N ratios of control factors for the average gas mass (mAverage) accumulated in the vehicle tank. The highest m_average value of 9.43 kg is obtained when Phigh is 250 bar, Pmedium is 205 bar, and Plow is 90 bar. At 130 bar (Plow), which is the second-best option, mAverage is calculated as 9.46 kg.
Figure 13 displays the graphical S/N ratios of control factors for the work performed by the compressor per unit mass filled (WComp). The lowest WComp value of 0.1898 kWh/kg is achieved when Phigh is set to 220 bar, Pmedium to 145 bar, and Plow to 90 bar, which correspond to the levels yielding the maximum S/N ratio.
Table 7 presents the calculated S/N ratios of control factors at the levels determined through the Taguchi analysis. The difference between the highest and lowest S/N values for each factor, known as the Delta value, indicates the factor’s influence on the output parameter—a higher Delta signifies a greater impact.
As shown in the table, the Delta values for nVehicle are very close. The Plow factor has the highest influence (Delta = 0.1984), followed by Pmedium (Delta = 0.1982) and Phigh (Delta = 0.1871). Over a 24 h period, Plow and Pmedium pressures have a greater effect on the number of vehicles filled than Phigh pressure. The ranking in the table reflects the relative importance of each control factor in determining the number of vehicles filled within this period. The weighting coefficient for nVehicle is w = 48.82%.
The impact of control factors on the average filled gas mass (mAverage) was also analyzed using the Taguchi method, with results shown under the mAverage row in Table 7. Here, the Delta values are even smaller, indicating a lower influence. As a result, the weighting factor for maverage in the multi-objective optimization process is only 6.85%.
Another design objective is minimizing the work performed by the compressor per unit mass filled (WComp). The Taguchi analysis confirmed that Phigh pressure is the most significant factor in reducing WComp, as expected. The influence of WComp on the objective function (weighting factor w) is 44.33%.
Since the output parameters examined separately indicated different influential factors, they were integrated based on their respective weights and combined into a single objective function. The Taguchi–gray relational analysis method was employed to generate and analyze this function. The weighting coefficients used in the multi-objective optimization process were derived from the normalized Delta values presented in Table 7. These values represent the sensitivity of each output parameter to the control factors and were used to objectively assign relative importance. Although the entropy weight method was not explicitly applied, this approach serves a similar function by quantifying the information contribution of each response variable in a consistent, data driven manner.
In this approach, the three output parameters listed under the “Results” column, calculated according to the orthogonal array in Table 6, are first normalized using Equations (7) and (8). The normalized results are then presented in Table 8. Next, these values are applied to Equations (9)–(12) to compute the gray relational coefficient (GRC) for each output parameter. Finally, the gray relational grade (GRG) is determined using Equation (13).
The weighting factors calculated for each output parameter, as shown in Table 7, are taken into account, leading to the formulation of the objective function given in Equation (15).
GRG = 0 . 4882   GRC n Vehicle + 0 . 0685   GRC m Average + 0 . 4433   GRC W Comp
The last column of Table 8 ranks the calculated GRG values. Based on these rankings, the optimal result, which represents the simulation design that maximizes the objective function, is achieved with 250 bar (Phigh), 145 bar (Pmedium), and 70 bar (Plow), corresponding to simulation 4. As a result, the number of vehicle tanks that can be filled in 24 h is nVehicle = 229, with an average gas mass of mAverage = 9.43 kg, and the compressor’s work per mass filled is WComp = 0.1898 kWh/kg.
Taguchi analysis was conducted to assess the influence of control factors on the obtained GRG, with the results presented in Table 9. Analyzing the Delta and Rank values in the table reveals that the parameters influencing the objective function the most are Pmedium, followed by Phigh and Plow.

3.2. Storage Tank Volume Optimization

Up to this point in the study, the volumes of the three storage tanks have been assumed to be equal. The Taguchi design was applied once again to evaluate how different volume ratios affect the performance of the fuel station and to determine the optimal ratio. The control factors and their levels used in the analysis are listed in Table 5.
In the Taguchi design, two control factors were selected to define the tank volumes. The first is the ratio of LB volume to total volume ( v ¯ low ), given in Equation (1). The second is the ratio of MP volume to HP volume ( v ¯ m / h ), given in Equation (4), for the remaining volume. Each factor has three levels, resulting in nine cases (32 = 9). These levels are based on a total storage volume of 48 tanks, each with a 150 L capacity, leading to a total of 7200 L. The control factor values are designed to align with the L9 orthogonal array.
For each of the nine cases, the number of vehicle tanks that can be filled in 24 h (nVehicle), the average mass of gas accumulated in a vehicle tank (mAverage), and the work performed by the compressor per mass charged (WComp), are calculated. In these calculations, the pressure values that yielded the best results in previous analyses are used. The results are summarized in Table 10 under the column heading “Results.”
Following this, S/N (signal-to-noise) ratios were calculated using the larger-is-better approach for nVehicle and mAverage, while the smaller-is-better approach was applied for WComp. The S/N ratio values for each output parameter are also presented in Table 10.
Figure 14a illustrates the behavior of the S/N ratios calculated for nVehicle at the specified levels of the control factors. According to this figure, the maximum nVehicle of 231 is achieved when the ratio of LB volume to total volume ( v ¯ low ) is set to 0.25 and the ratio of MP volume to HP volume ( v ¯ m / h ) is set to 0.5.
Figure 14b presents the calculated S/N ratios of the control factors for the average gas mass (mAverage) accumulated in the vehicle tank. According to this figure, mAverage is approximately 9.511 kg when v ¯ low is set to 0.25 and v ¯ m / h is set to 0.5.
Figure 15 illustrates the graphical representation of the S/N ratios for the control factors calculated for the work performed by the compressor per mass filled (WComp). According to this figure, the minimum WComp is found to be 0.17 kWh/kg when v ¯ low is set to 0.75 and v ¯ m / h is set to 2.
Table 11 presents the calculated S/N ratios of the control factors at the levels determined through the Taguchi analysis. For the number of vehicle tanks that can be filled in 24 h, the calculated weighting factor for nVehicle is 10.31%. The effects of the control parameters on the average mass of gas filled are shown in the mAverage row, with a weighting factor of 24.22% in the multi-objective optimization process. The work performed by the compressor per filled mass (WComp) has the highest impact on the objective function, with a weighting factor of 65.47%.
In the Taguchi–gray relational analysis method, the results are first normalized, and the gray relational coefficients are calculated, as shown in Table 12. The gray relational grade (GRG) is then computed using Equation (16), which is derived based on the weighting factors in Table 11. The GRG results obtained from Equation (16) are presented in Table 12, with the final column displaying the ranking of the calculated GRG values.
As a result, the optimal simulation design is achieved with parameters of 0.75 for v ¯ low and 2 for v ¯ m / h , corresponding to simulation 9. The selected simulation 9 results are: nVehicle = 229, mAverage = 8.941 kg, and WComp = 0.17 kWh/kg. With this configuration, nVehicle increases while WComp and mAverage decrease.
GRG = 0.1031   GRC n Vehicle + 0.2422   GRC m Average + 0.6547   GRC W Comp
Following the pressure and volume optimizations, the pressure and temperature variations of the storage tanks during a 24 h operation are presented in Figure 16 and Figure 17. The pressure of the high-pressure storage tanks, indicated by the black line, reaches up to 250 bar as a result of the optimization. Since the vehicle tanks are intended to be filled up to 200 bar, the minimum pressure level of the high-pressure storage tanks is set to 205 bar. According to the volume optimization, only 4 out of the total 48 storage tanks are designated as high-pressure tanks. This results in a rapid pressure drop to the minimum level in these tanks, causing the compressor to frequently engage and restore the pressure to its maximum level. In this context, it requires compressor activation roughly every 12.5 min. Due to the frequent and short-term refilling by the compressor, the temperature in the high-pressure storage tanks remains consistently high. During the first filling process, the low-, medium-, and finally high-pressure storage tanks are filled in sequence, leading to the highest temperature being observed during this initial filling phase.
The medium-pressure storage tanks, represented by the green line, reach a maximum pressure of 145 bar as a result of the optimization. To participate in the filling process, their minimum pressure is set to 130 bar. In line with the volume optimization, 8 out of the 48 tanks are assigned as medium-pressure storage tanks. Due to the narrow pressure range and their share of only one-sixth of the total storage volume, these tanks are also refilled by the compressor within short time intervals.
The low-pressure storage tanks, shown by the blue line, have a maximum pressure of 70 bar and a minimum pressure of 55 bar. Similar to the medium-pressure group, the pressure range is relatively narrow. However, based on the volume optimization, three-quarters of the total storage capacity is allocated to the low-pressure tanks. As a result, it takes significantly longer for the pressure in these tanks to drop to the minimum level. Therefore, they need to be refilled only five times during the 24 h period. Due to the lower refilling frequency, their temperature gradually decreases to ambient levels.
Table 13 provides a stage-wise summary of CNG station performance before optimization, after pressure optimization, and after volume ratio optimization. It reflects the incremental improvements achieved through each stage of the Taguchi–GRA optimization process.

4. Discussion

This study presents a dynamic modeling and multi-objective optimization of a compressed natural gas (CNG) refueling station. The system model includes the full refueling cycle: multi-stage compression, cascade storage, vehicle tank filling, and thermodynamic interactions. The model was constructed with a modular structure by using a dynamic simulation environment and was validated against experimental data for pressure and mass flow rate profiles.
The effects of varying storage pressures and volume allocations were investigated through a two-stage Taguchi-based optimization framework combined with gray relational analysis (GRA). In the first stage, the optimal storage pressures were determined as 250 bar (Phigh), 145 bar (Pmedium), and 70 bar (Plow). Compared to the initial configuration, these settings increased the number of vehicles refueled in a 24 h cycle by 5.05%, improved the average charged gas mass by 0.34%, and reduced the compressor specific work by 2.07%.
In the second optimization stage, optimal volume ratios were identified as Vlow/Vtotal = 0.75 and Vmedium/Vhigh = 2. This configuration led to an additional 5.18% reduction in compressor-specific work compared to equal volume tanks, with no significant change in the number of vehicles filled. However, this stage resulted in a 5.5% reduction in the average mass delivered per vehicle, indicating a trade-off between energy efficiency and refueling completeness.
The combined pressure and volume optimization resulted in a total decrease of 12.33% in compressor-specific energy consumption. These findings demonstrate that both pressure levels and volume distributions in cascade storage systems are critical parameters that strongly affect the thermodynamic performance and energy requirements of CNG stations. The applied optimization methodology provides a systematic approach for evaluating such multi-parameter systems under transient operation.
In the Taguchi analysis stage, the main effects of each input factor on system response variables were independently examined. For example, increasing the initial pressure in the high pressure section of the cascade storage system resulted in a higher average refueling mass due to the greater pressure differential, but it also increased energy consumption due to the additional compressor workload. In the subsequent GRA stage, where multi-objective optimization was performed, the trade-off between energy savings and filling performance became more apparent. In particular, activating the priority valve earlier in the filling cycle improved energy efficiency while causing a slight decrease in the amount of gas transferred to vehicle tanks. These results can be physically explained by the pressure driven gas flow and the thermodynamic behavior of real gas during rapid compression and expansion. Therefore, the optimization process revealed the engineering balance required between performance objectives and system level physical behavior. These findings are supported by the performance comparison presented in Table 13, and they are consistent with the physical mechanisms described in the literature [24,27].
In terms of practical applications, the optimized pressure levels and volume ratios obtained in this study can serve as a guideline for designing more efficient cascade storage configurations in real world CNG refueling stations. These configurations may reduce the workload on compressors, enhance the consistency of fuel delivery, and improve operational energy efficiency. For future work, it is recommended to implement adaptive control strategies that can respond to varying demand profiles and to compare the current Taguchi–GRA optimization framework with other multi-objective approaches, such as NSGA-II or Particle Swarm Optimization (PSO), to evaluate performance under more complex operational conditions.

Author Contributions

Conceptualization, M.K. and F.Ö.; methodology, M.K. and F.Ö.; software, M.K. and F.Ö.; validation, M.K. and F.Ö.; formal analysis, M.K. and F.Ö.; investigation, M.K. and F.Ö.; resources, M.K. and F.Ö.; data curation, M.K. and F.Ö.; writing—original draft preparation, M.K. and F.Ö.; writing—review and editing, M.K. and F.Ö.; visualization, M.K. and F.Ö.; supervision, M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BEVBattery Electric Vehicle
CNGCompressed Natural Gas
FCEVFuel Cell Electric Vehicle
F-AHPFuzzy Analytic Hierarchy Process
F-TOPSISFuzzy Technique for Order Preference by Similarity to Ideal Solution
NGVNatural Gas Vehicle
LPLow Pressure
MPMedium Pressure
HPHigh Pressure
S/NSignal-to-Noise
GRGGray Relational Grade
GRCGray Relational Coefficient
GRAGray Relational Analysis
LCVsLight Commercial Vehicles
MATLABMatrix Laboratory (MATLAB software)
NISTNational Institute of Standards and Technology
TCOTotal Cost of Ownership

References

  1. Khan, M.I.; Yasmin, T.; Shakoor, A. Technical overview of compressed natural gas (CNG) as a transportation fuel. Renew. Sustain. Energy Rev. 2015, 51, 785–797. [Google Scholar] [CrossRef]
  2. Lather, R.S.; Das, L.M. Performance and emission assessment of a multicylinder S.I. engine using CNG and HCNG as fuels. Int. J. Hydrogen Energy 2019, 44, 17254–17262. [Google Scholar] [CrossRef]
  3. Lv, Z.; Wu, L.; Yang, Z.; Yang, L.; Fang, T.; Mao, H. Comparison on real-world driving emission characteristics of CNG, LNG and hybrid-CNG buses. Energy 2023, 263, 125571. [Google Scholar] [CrossRef]
  4. Fan, Z.; Ma, T.; Li, W.; Wang, S.; Mao, Z.; Xie, X. A comparison of hydrogen-enriched natural gas (HCNG) and compressed natural gas (CNG): Based on ANOVA models. Int. J. Hydrogen Energy 2017, 42, 28169–28177. [Google Scholar] [CrossRef]
  5. Liang, F.-Y.; Ryvak, M.; Sayeed, S.; Zhao, N. The role of natural gas as a primary fuel in the near future, including comparisons of acquisition, transmission and waste handling costs of NG with competitive alternatives. Chem. Cent. J. 2012, 6, S4. [Google Scholar] [CrossRef]
  6. Carbone, C.; Micari, S.; Lanzafame, R. An economic and environmental assessment of different bus powertrain technologies in public transportation. Clean. Environ. Syst. 2025, 16, 100250. [Google Scholar] [CrossRef]
  7. Bhutani, S.; Prabakaran, D.; Gupta, N. Electrification of light commercial vehicles in urban areas. Transp. Res. Procedia 2025, 82, 2425–2443. [Google Scholar] [CrossRef]
  8. Ali, Y.; Younus, A.; Khan, A.U.; Alrefai, A.H. Compressed natural gas (CNG) as a fuel and the associated risks: A quantitative analysis in the scenario of a developing country. J. Saf. Sci. Resil. 2024, 5, 306–316. [Google Scholar] [CrossRef]
  9. Di Nardo, M.; Madonna, M.; Santillo, L.C. Safety management system: A system dynamics approach to manage risks in a process plant. Int. Rev. Model. Simul. 2016, 9, 256–264. [Google Scholar] [CrossRef]
  10. Di Nardo, M.; Gallo, M.; Murino, T.; Santillo, L.C. System dynamics simulation for fire and explosion risk analysis in home environment. Int. Rev. Model. Simul. 2017, 10, 43–54. [Google Scholar] [CrossRef]
  11. Xu, Y.; Wang, M.; Chen, L.; Zhang, Y. Accident scenarios screening for integrated energy supply stations. Int. J. Hydrogen Energy 2024, 51, 1038–1054. [Google Scholar] [CrossRef]
  12. Seyfi, M.; Mehdinejad, M.; Mohammadi-Ivatloo, B.; Shayanfar, H.A. Deep learning-based scheduling of virtual energy hubs with plug-in hybrid compressed natural gas-electric vehicles. Appl. Energy 2022, 321, 119318. [Google Scholar] [CrossRef]
  13. Chu, Y.; Wu, Z.; Yin, Y. Development of a solar-assisted hydrogen-from-power refueling station: A financial incentive model under the well-to-wheel and life cycle cost analyses. Int. J. Hydrogen Energy 2025, 103, 288–299. [Google Scholar] [CrossRef]
  14. Munahar, S.; Zamzami, E.M.; Putra, R.A. Assessment of comfort index (CI) based on vibration characteristics in CNG control system development. Results Eng. 2024, 21, 101840. [Google Scholar] [CrossRef]
  15. Saferna, A.; Saferna, P.; Kuczyński, S.; Łaciak, M.; Szurlej, A.; Włodek, T. Thermodynamic analysis of CNG fast filling process of composite cylinder type IV. Energies 2021, 14, 5568. [Google Scholar] [CrossRef]
  16. Farzaneh-Gord, M.; Rahbari, H.R.; Deymi-Dashtebayaz, M. Effects of natural gas compositions on CNG fast filling process for buffer storage system. Oil Gas Sci. Technol. 2014, 69, 319–330. [Google Scholar] [CrossRef]
  17. Khamforoush, M.; Moosavi, R.; Hatami, T. Compressed natural gas behavior in a natural gas vehicle fuel tank during fast filling process: Mathematical modeling, thermodynamic analysis, and optimization. J. Nat. Gas Sci. Eng. 2014, 20, 491–500. [Google Scholar] [CrossRef]
  18. Zhang, G.; Brinkerhoff, J.R.; Li, R.; Forsberg, C.; Sloan, T. Analytical and numerical study on the fast refill of compressed natural gas with active heat removal. J. Nat. Gas Sci. Eng. 2017, 45, 552–564. [Google Scholar] [CrossRef]
  19. Farzaneh-Gord, M.; Rahbari, H.R. Numerical procedures for natural gas accurate thermodynamic properties calculation. J. Eng. Thermophys. 2012, 21, 213–234. [Google Scholar] [CrossRef]
  20. Sgaramella, A.; Lo Basso, G.; de Santoli, L. How the cylinder initial conditions affect the HCNG refuelling process: A thermodynamic analysis to determine the most effective filling parameters. Int. J. Hydrogen Energy 2024, 49, 14776–14787. [Google Scholar] [CrossRef]
  21. Shipley, E.P. Study of Natural Gas Vehicles (NGV) During the Fast Fill Process. Master’s Thesis, West Virginia University, Morgantown, WV, USA, 2002. [Google Scholar] [CrossRef]
  22. Khab, H.; Chaker, A.; Ziani, L. Effects of pressure and hydrogen addition to methane on the temperatures during vehicle refueling of HCNG. Int. J. Hydrogen Energy 2019, 44, 20020–20030. [Google Scholar] [CrossRef]
  23. Farzaneh-Gord, M.; Deymi-Dashtebayaz, M.; Rahbari, H.R. Studying effects of storage types on performance of CNG filling stations. J. Nat. Gas Sci. Eng. 2011, 3, 334–340. [Google Scholar] [CrossRef]
  24. Liu, Z.; Jia, W.; Liang, L.; Duan, Z. Analysis of pressure pulsation influence on compressed natural gas (CNG) compressor performance for ideal and real gas models. Appl. Sci. 2019, 9, 946. [Google Scholar] [CrossRef]
  25. Farzaneh-Gord, M.; Niazmand, A.; Deymi-Dashtebayaz, M.; Rahbari, H.R. Effects of natural gas compositions on CNG (compressed natural gas) reciprocating compressors performance. Energy 2015, 90, 1152–1162. [Google Scholar] [CrossRef]
  26. Farzaneh-Gord, M.; Niazmand, A.; Deymi-Dashtebayaz, M.; Rahbari, H.R. Thermodynamic analysis of natural gas reciprocating compressors based on real and ideal gas models. Int. J. Refrig. 2015, 56, 186–197. [Google Scholar] [CrossRef]
  27. Saadat-Targhi, M.; Khadem, J.; Farzaneh-Gord, M. Thermodynamic analysis of a CNG refueling station considering the reciprocating compressor. J. Nat. Gas Sci. Eng. 2016, 28, 594–602. [Google Scholar] [CrossRef]
  28. Liang, Y.; Guo, C.; Li, K.; Li, M. Economic scheduling of CNG main station considering critical peak pricing. Appl. Energy 2021, 292, 116937. [Google Scholar] [CrossRef]
  29. Striednig, M.; Brandstätter, S.; Sartory, M.; Klell, M. Thermodynamic real gas analysis of a tank filling process. Int. J. Hydrogen Energy 2014, 39, 10939–10947. [Google Scholar] [CrossRef]
  30. Kagiri, C.; Zhang, L.; Xia, X. Optimization of a compressed natural gas station operation to minimize energy cost. Energy Procedia 2017, 105, 2003–2008. [Google Scholar] [CrossRef]
  31. Kagiri, C.; Wanjiru, E.M.; Zhang, L.; Xia, X. Optimized response to electricity time-of-use tariff of a compressed natural gas fuelling station. Appl. Energy 2018, 222, 244–256. [Google Scholar] [CrossRef]
  32. Kagiri, C.; Zhang, L.; Xia, X. A hierarchical optimisation of a compressed natural gas station for energy and fuelling efficiency under a demand response program. Energies 2019, 12, 2165. [Google Scholar] [CrossRef]
  33. Wang, X.; Liu, N. Research on the construction plan layout of the combined hydrogen and CNG refueling station. E3S Web Conf. 2021, 245, 01006. [Google Scholar] [CrossRef]
  34. Sharma, P.; Chugh, P.; Neogi, S. Design of a safe type-4 CNG storage vessel using FEA. Int. J. Press. Vessel. Pip. 2021, 193, 104425. [Google Scholar] [CrossRef]
  35. Prussi, M.; Julea, A.; Lonza, L.; Thiel, C. Biomethane as alternative fuel for the EU road sector: Analysis of existing and planned infrastructure. Energy Strategy Rev. 2021, 33, 100612. [Google Scholar] [CrossRef]
  36. Berghmans, J.; Vanierschot, M. Safety aspects of CNG cars. Procedia Eng. 2014, 87, 520–527. [Google Scholar] [CrossRef]
  37. Han, Y.; You, X.D.; Zhang, X.; Wang, H.Y.; Deng, C. A novel design of the CNG dispenser electronic control system. Appl. Mech. Mater. 2014, 448–453, 3119–3124. [Google Scholar] [CrossRef]
  38. Ramoutar, S.; Riverol, C. A thermodynamic analysis of refueling a NGV from a cascade reservoir using chilled natural gas. J. Nat. Gas Sci. Eng. 2017, 39, 97–104. [Google Scholar] [CrossRef]
  39. Evstifeev, A.A.; Zaeva, M.A. Analysis of compressor control structures and algorithms for compressor drives for automobile gas filling compressor stations. Procedia Comput. Sci. 2018, 136, 372–378. [Google Scholar] [CrossRef]
  40. Bhavsar, V.; Bali, S.C. Effect of CNG on corrosion behaviour of brass valve. Eng. Fail. Anal. 2023, 147, 107268. [Google Scholar] [CrossRef]
  41. Kumar, S.; Petale, M.; Singh, G.K. Flexible type end restraint to CNG cylinders for NGV. Mater. Today Proc. 2023, 80, 2241–2245. [Google Scholar] [CrossRef]
  42. Biswas, S.; Banerjee, R. In-cylinder pressure profiling for CNG/ethanol enriched biodiesel combustion. Fuel 2023, 349, 127970. [Google Scholar] [CrossRef]
  43. Lozano-Castelló, D.; Alcañiz-Monge, J.; de la Casa-Lillo, M.A.; Cazorla-Amorós, D.; Linares-Solano, A. Advances in the study of methane storage in porous carbonaceous materials. Fuel 2002, 81, 1777–1803. [Google Scholar] [CrossRef]
  44. Martins, A.A.; Silva, R.A.; de Souza, A.F.; de Andrade, J.C. Cold start and full cycle emissions from a flexible fuel vehicle operating with natural gas, ethanol and gasoline. J. Nat. Gas Sci. Eng. 2014, 17, 94–98. [Google Scholar] [CrossRef]
  45. Khan, M.I.; Yasmin, T. Development of natural gas as a vehicular fuel in Pakistan: Issues and prospects. J. Nat. Gas Sci. Eng. 2014, 17, 99–109. [Google Scholar] [CrossRef]
  46. Farzaneh-Gord, M.; Deymi-Dashtebayaz, M. Optimizing natural gas fueling station reservoirs pressure based on ideal gas model. Pol. J. Chem. Technol. 2013, 15, 88–96. [Google Scholar] [CrossRef]
  47. Farzaneh-Gord, M.; Saadat-Targhi, M.; Khadem, J. Selecting optimal volume ratio of reservoir tanks in CNG refueling station with multi-line storage system. Int. J. Hydrogen Energy 2016, 41, 22438–22447. [Google Scholar] [CrossRef]
  48. Canbolat, A.S.; Bademlioglu, A.H.; Arslanoglu, N.; Kaynakli, O. Performance optimization of absorption refrigeration systems using Taguchi, ANOVA and grey relational analysis methods. J. Clean. Prod. 2019, 229, 874–885. [Google Scholar] [CrossRef]
  49. Kılıç, M.; Gamsız, S.; Alınca, Z.N. Comparative evaluation and multi-objective optimization of cold plate designed for the lithium-ion battery pack of an electrical pickup by using Taguchi–grey relational analysis. Sustainability 2023, 15, 12391. [Google Scholar] [CrossRef]
  50. Garud, K.S.; Lee, M. Grey relational based Taguchi analysis on heat transfer performances of direct oil spray cooling system for electric vehicle driving motor. Int. J. Heat Mass Transf. 2023, 201, 123596. [Google Scholar] [CrossRef]
  51. Küçük, E.Ö.; Kılıç, M. Exergoeconomic analysis and multi-objective optimization of ORC via Taguchi-grey relational methods. Heliyon 2023, 9, e15007. [Google Scholar] [CrossRef]
  52. CoolProp: Open-Source Thermophysical Property Database. Available online: http://www.coolprop.org (accessed on 2 April 2025).
  53. Choi, N.-J.; Kim, J.-J.; Park, J.-H. The characteristic of polytropic coefficient of compression stroke in hydrogen internal combustion engine. Int. J. Hydrogen Energy 2014, 39, 20391–20397. [Google Scholar] [CrossRef]
  54. GOA Natural Gas Pvt. Ltd. Technical Volume II: 450 SCMH Booster CNG Compressor Specification. Available online: https://www.goanaturalgas.com (accessed on 5 April 2023).
  55. Kılıç, M.; Yiğit, A. Isı Transferi [Heat Transfer], 6th ed.; Dora Yayıncılık: Bursa, Türkiye, 2018. (In Turkish) [Google Scholar]
  56. George, D. CNG sampling. In Proceedings of the Natural Gas Sampling Technology Conference, New Orleans, LA, USA, 22–23 January 2014; pp. 72–80. [Google Scholar]
  57. Deng, J. Introduction to grey system theory. J. Grey Syst. 1989, 1, 1–24. [Google Scholar]
Figure 1. CNG refueling station model.
Figure 1. CNG refueling station model.
Applsci 15 04908 g001
Figure 2. Multi-stage compressor subsystem.
Figure 2. Multi-stage compressor subsystem.
Applsci 15 04908 g002
Figure 3. Multi-stage compressor stage 1 subsystem.
Figure 3. Multi-stage compressor stage 1 subsystem.
Applsci 15 04908 g003
Figure 4. A schematic diagram of CNG cascade storage.
Figure 4. A schematic diagram of CNG cascade storage.
Applsci 15 04908 g004
Figure 5. Comparison between the simulations and experimental results for the mass flow rate.
Figure 5. Comparison between the simulations and experimental results for the mass flow rate.
Applsci 15 04908 g005
Figure 6. Comparison between the simulations and experimental values for pressure variations of the NGV cylinder.
Figure 6. Comparison between the simulations and experimental values for pressure variations of the NGV cylinder.
Applsci 15 04908 g006
Figure 7. Pressure measurement at the stages in the compressor.
Figure 7. Pressure measurement at the stages in the compressor.
Applsci 15 04908 g007
Figure 8. Temperature differences before and after intercoolers of the stages in the compressor.
Figure 8. Temperature differences before and after intercoolers of the stages in the compressor.
Applsci 15 04908 g008
Figure 9. (a) Pressure changes during filling cascade storage tanks by a compressor; (b) Temperature changes during filling of cascade storage tanks.
Figure 9. (a) Pressure changes during filling cascade storage tanks by a compressor; (b) Temperature changes during filling of cascade storage tanks.
Applsci 15 04908 g009
Figure 10. Pressure changes during cascade storage and in vehicle tanks.
Figure 10. Pressure changes during cascade storage and in vehicle tanks.
Applsci 15 04908 g010
Figure 11. Temperature and mass flow rate changes during filling of the first three vehicle tanks.
Figure 11. Temperature and mass flow rate changes during filling of the first three vehicle tanks.
Applsci 15 04908 g011
Figure 12. (a) S/N ratios for nVehicle at the specified control factor levels during storage pressure optimization; (b) S/N ratios of control factors for the average gas mass (mAverage) during storage pressure optimization.
Figure 12. (a) S/N ratios for nVehicle at the specified control factor levels during storage pressure optimization; (b) S/N ratios of control factors for the average gas mass (mAverage) during storage pressure optimization.
Applsci 15 04908 g012
Figure 13. S/N ratios of control factors for the work performed by the compressor per unit mass filled (WComp) at specified control factor levels during storage pressure optimization.
Figure 13. S/N ratios of control factors for the work performed by the compressor per unit mass filled (WComp) at specified control factor levels during storage pressure optimization.
Applsci 15 04908 g013
Figure 14. (a) S/N ratios for nVehicle at specified control factor levels during storage volume optimization; (b) S/N ratios of control factors for the average gas mass (mAverage) at specified control factor levels during storage volume optimization.
Figure 14. (a) S/N ratios for nVehicle at specified control factor levels during storage volume optimization; (b) S/N ratios of control factors for the average gas mass (mAverage) at specified control factor levels during storage volume optimization.
Applsci 15 04908 g014
Figure 15. S/N ratios of control factors for the work performed by the compressor per unit mass filled (WComp).
Figure 15. S/N ratios of control factors for the work performed by the compressor per unit mass filled (WComp).
Applsci 15 04908 g015
Figure 16. Pressure evolution in multi-stage storage tanks after optimization of reservoir volumes and operating pressures.
Figure 16. Pressure evolution in multi-stage storage tanks after optimization of reservoir volumes and operating pressures.
Applsci 15 04908 g016
Figure 17. Temperature evolution in multi-stage storage tanks after optimization of reservoir volumes and operating pressures.
Figure 17. Temperature evolution in multi-stage storage tanks after optimization of reservoir volumes and operating pressures.
Applsci 15 04908 g017
Table 1. Physical properties for methane as an ideal gas.
Table 1. Physical properties for methane as an ideal gas.
Physical Properties for Methane as an Ideal Gas
Specific gas constant0.51827 kJ/(K kg)
Compressibility factor0.99814
Reference temperature for gas properties293.15 K
Specific enthalpy at reference temperature898.82 kJ/kg
Specific heat at constant pressure2.2206 kJ/(K kg)
Dynamic viscosity11.037 μPa·s
Thermal conductivity33.448 mW/(K m)
Table 2. CNG compressor parameters.
Table 2. CNG compressor parameters.
Positive-Displacement Compressor
Stage 1 Displacement volume1856 cm3/rev
Stage 2 Displacement volume862 cm3/rev
Stage 3 Displacement volume400 cm3/rev
Polytropic exponent1.3
Nominal volumetric efficiency0.9
Nominal pressure ratio10
Mechanical efficiency0.95
Maximum shaft speed1000 rpm
Table 3. Parameters for heat transfer at storage and vehicle tanks [55].
Table 3. Parameters for heat transfer at storage and vehicle tanks [55].
Storage and Environment Properties
Tank construction material (Type I)34CrMo4
Single storage tank capacity150 L
Vehicle tank capacity70 L
Empty storage tank weight125 kg
Empty vehicle tank weight75 kg
Storage tank outer diameter370 mm
Storage tank inner diameter350 mm
Storage tank height1.8 m
Vehicle tank height0.9 m
Tank specific heat capacity561 J/kgK
Tank thermal conductivity50 W/mK
Internal heat transfer coefficient300 W/m2K
External heat transfer coefficient10 W/m2K
Total number of storage tanks48
Ambient temperature20 °C
Table 4. Control factors and levels used in the pressure analysis.
Table 4. Control factors and levels used in the pressure analysis.
ParametersPhigh [Bar]Pmedium [Bar]Plow [Bar]
Level 1250205130
Level 2240185110
Level 323016590
Level 422014570
Table 5. Control factors and levels used in the volume analysis.
Table 5. Control factors and levels used in the volume analysis.
Parameters v ¯ low v ¯ m / h
Level 10.250.5
Level 20.51
Level 30.752
Table 6. Results and S/N ratios according to the L16 orthogonal array.
Table 6. Results and S/N ratios according to the L16 orthogonal array.
Control Factors and LevelsResultsS/N Ratio
Sim. NoPhigh [Bar]Pmedium [Bar]Plow [Bar]nVehiclemAverage
[kg]
WComp
[kWh/kg]
nVehiclemAverage
[kg]
WComp
[kWh/kg]
12502051302189.460.193846.7719.5214.25
22501851102149.430.194646.6119.4914.22
3250165902219.410.188746.8919.4714.49
4250145702299.430.189847.2019.4914.43
52402051102179.430.191046.7319.4914.38
62401851302199.410.187946.8119.4814.52
7240165702179.360.193046.7319.4314.29
8240145902179.430.188146.7319.4914.51
9230205902149.420.187546.6119.4814.54
10230185702209.390.189846.8519.4614.43
112301651302139.410.192346.5719.4714.32
122301451102169.400.185946.6919.4614.61
13220205702169.410.190446.6919.4714.41
14220185902109.420.186246.4419.4814.60
152201651102189.390.183546.7719.4514.73
162201451302219.390.185646.8919.4514.63
Table 7. The S/N ratios and the weight factors calculated for the nVehicle, mAverage, and WComp. during storage pressure optimization.
Table 7. The S/N ratios and the weight factors calculated for the nVehicle, mAverage, and WComp. during storage pressure optimization.
LevelPhigh [Bar]Pmedium [Bar]Plow [Bar]
nVehicle
146.746.8846.87
246.6846.7446.67
346.7546.6846.7
446.8746.746.76
Delta0.18710.19820.1984
Rank321
∑ Delta0.5837
w (%)48.82
mAverage [kg]
119.4619.4819.46
219.4719.4619.48
319.4719.4819.47
419.4919.4919.48
Delta0.02740.03530.0192
Rank213
∑ Delta0.0819
w (%)6.85
WComp [kWh/kg]
114.5914.5514.39
214.4814.4514.53
314.4214.4414.49
414.3514.414.43
Delta0.240.150.14
Rank123
∑ Delta0.53
w (%)44.33
Table 8. Normalization, gray relational coefficient, gray relational grade, and order of output parameters during storage pressure optimization.
Table 8. Normalization, gray relational coefficient, gray relational grade, and order of output parameters during storage pressure optimization.
NormalizationGray Relational CoefficientGRGOrder
Sim. NonVehiclemAverageWCompnVehiclemAverageWComp
10.421.000.070.461.000.350.4511
20.210.6800.390.610.330.3816
30.580.450.530.540.480.520.535
4 1.000.740.431.000.650.470.741
50.370.700.330.440.620.430.4512
60.470.530.600.490.510.560.526
70.3700.140.440.330.370.4014
80.370.720.580.440.640.540.507
90.210.630.640.390.580.580.4910
100.530.320.430.510.420.470.499
110.160.480.200.370.490.390.3915
120.320.390.780.420.450.700.554
130.320.480.380.420.490.450.4413
1400.590.760.330.550.670.508
150.420.301.000.460.421.000.702
160.580.260.810.540.400.730.623
Table 9. S/N ratios of the gray relational grade.
Table 9. S/N ratios of the gray relational grade.
LevelPhighPmediumPlow
1−5.137−4.521−5.996
2−6.512−6.218−5.966
3−6.65−6.598−5.951
4−5.886−6.847−6.273
Delta1.5132.3260.322
Rank213
Table 10. Results and S/N ratios according to L9 orthogonal array.
Table 10. Results and S/N ratios according to L9 orthogonal array.
Control Factors and LevelsResultsS/N Ratio
Sim. No v ¯ low v ¯ m / h nVehiclemAverage
[kg]
WComp
[kWh/kg]
nVehiclemAverage
[kg]
WComp
[kWh/kg]
10.250.52319.5110.20047.27219.56413.989
20.2512279.4560.19447.12119.51414.263
30.2522299.3580.18547.19719.42414.638
40.50.52269.3350.18847.08219.40214.502
50.512249.2900.18447.00519.36014.708
60.522299.2090.17747.19719.28415.024
70.750.52319.0210.17547.27219.10515.127
80.7512298.9790.17347.19719.06515.262
90.7522298.9410.17047.19719.02715.413
Table 11. The S/N ratios and the weight factors calculated for the nvehicle, mAverage, and WComp.
Table 11. The S/N ratios and the weight factors calculated for the nvehicle, mAverage, and WComp.
Level v ¯ low v ¯ m / h
nVehicle
147.247.21
247.0947.11
347.2247.2
Delta0.130.1
Rank12
∑ Delta0.23
w (%)10.31%
mAverage [kg]
119.519.36
219.3519.31
319.0719.25
Delta0.430.11
Rank12
∑ Delta0.54
w (%)24.22%
WComp [kWh/kg]
114.314.54
214.7414.74
315.2715.02
Delta0.970.49
Rank12
∑ Delta1.46
w (%)65.47%
Table 12. Normalization, gray relational coefficient, gray relational grade, and order of output parameters.
Table 12. Normalization, gray relational coefficient, gray relational grade, and order of output parameters.
NormalizationGray Relational CoefficientGRGOrder
Sim. No nVehiclemAverageWCompnVehiclemAverageWComp
11.001.0001.001.000.330.565
20.430.900.210.470.840.390.508
30.710.730.480.640.650.490.546
40.290.690.380.410.620.450.489
500.610.530.330.560.510.517
60.710.470.740.640.490.660.624
71.000.140.811.000.370.730.673
80.710.070.900.640.350.840.702
90.7101.000.640.331.000.801
Table 13. CNG station performance before optimization, after pressure optimization, and after volume ratio optimization.
Table 13. CNG station performance before optimization, after pressure optimization, and after volume ratio optimization.
Performance IndicatorInitial ConfigurationAfter Pressure OptimizationAfter Volume Optimization
Number of vehicles refueled (nVehicle)218229229
Average mass per vehicle (mAverage, kg)9.469.438.94
Compressor specific work(WComp, kWh/kg)0.19380.18980.17
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Özcan, F.; Kılıç, M. Dynamic Modeling of a Compressed Natural Gas Refueling Station and Multi-Objective Optimization via Gray Relational Analysis Method. Appl. Sci. 2025, 15, 4908. https://doi.org/10.3390/app15094908

AMA Style

Özcan F, Kılıç M. Dynamic Modeling of a Compressed Natural Gas Refueling Station and Multi-Objective Optimization via Gray Relational Analysis Method. Applied Sciences. 2025; 15(9):4908. https://doi.org/10.3390/app15094908

Chicago/Turabian Style

Özcan, Fatih, and Muhsin Kılıç. 2025. "Dynamic Modeling of a Compressed Natural Gas Refueling Station and Multi-Objective Optimization via Gray Relational Analysis Method" Applied Sciences 15, no. 9: 4908. https://doi.org/10.3390/app15094908

APA Style

Özcan, F., & Kılıç, M. (2025). Dynamic Modeling of a Compressed Natural Gas Refueling Station and Multi-Objective Optimization via Gray Relational Analysis Method. Applied Sciences, 15(9), 4908. https://doi.org/10.3390/app15094908

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop