3.1. Optimization of Comonotonic Interval Grouping Scheme Using Clustering Algorithm
The establishment process of spectral sub-intervals in
Section 2 is as follows: The coordinate positions of all spectral points in the orthogonal space of the comonotonic vector are calculated, and the spectral points are partitioned according to specific spatial ranges. Those spectral points within the same spatial range compose a candidate spectral sub-interval. However, as the number of thermodynamic states involved in the gas radiation model increases, the
g-value space expands accordingly and the distribution of spectral points becomes more dispersed. Consequently, to ensure the strict comonotonicity, a larger number of sub-intervals must be established, leading to reduced computational efficiency of the gas radiation model. To improve the computational efficiency, it is essential to group the spectral points without increasing the number of sub-intervals. The most straightforward approach to achieve this is to uniformly partition the orthogonal space into subspaces based on a fixed number. However, without considering the actual distribution of spectral points, the comonotonicity within each sub-interval cannot be guaranteed. In the ideal scenario, comonotonicity across all states within a sub-interval is strictly maintained only when all spectral points lie exactly on the comonotonic vector. In other words, the closer the spectral points are to the comonotonic vector, the stronger the spectral comonotonicity within the established sub-interval. Moreover, when spectral points are closer to each other in the orthogonal space (i.e., the smaller the within-interval variance), the closer they are to the same comonotonic vector in the
g-value space.
Based on the above analysis, this study proposes to group the spectrally proximate points in the orthogonal space to enhance the comonotonicity within the resulting sub-intervals. The k-means clustering algorithm is employed to iteratively optimize the grouping scheme of spectral points in the orthogonal space, aiming to achieve the minimal variance within the group. The variance is calculated as follows:
where
umn denotes the coordinate vector of the
n-th spectral point within the
m-th spectral sub-interval in the orthogonal space,
represents the centroid coordinates of the
m-th sub-interval, and
M indicates the number of spectral points within the sub-interval. The specific workflow of the k-means clustering algorithm is illustrated in
Figure 5. The grouping procedure consists of the following steps: (1) Randomly partition the spectral intervals of the radiation model into multiple non-overlapping sub-intervals and preliminarily calculate the variance of each sub-interval. (2) For each wavenumber, computing the variance of every sub-interval if this wavenumber was assigned to it, then reassign the wavenumber interval to the sub-interval corresponding to the minimum variance (the wavenumber interval may remain in its original sub-interval). (3) Repeat Step (2) until the wavenumber intervals reassigned to other sub-intervals during the current iteration falls below 0.1% of the total intervals.
Since the initial spectral sub-intervals are randomly generated, the centroid positions of spectral points within each sub-interval vary considerably, leading to the significant influence on the iterative grouping results of spectral points. In this study, multiple initial grouping schemes are simultaneously generated, the clustering algorithm is then applied to iteratively refine the grouping results for each scheme, and the grouping scheme with the smallest total variance is selected. The objective of this procedure is to minimize the total variance across all spectral sub-intervals. When the variance of a sub-interval reaches zero, all spectral points within this sub-interval lie precisely on the comonotonic vector, meaning the comonotonic correlation is maximized.
To validate the computational accuracy of the grouping scheme obtained through the k-means clustering algorithm, a one-dimensional radiative transfer test case (0-D case, as shown in
Figure 6) is designed according to the infrared radiation characteristics of an aircraft engine nozzle described in
Table 1. The 0-D case comprises gases in three states (two aircraft exhaust plume state points and one atmospheric state point) as provided in
Table 1, state 1 corresponds to the atmospheric state point, while states 2 and 3 represent exhaust plume state 1 and 2, respectively. The path length of exhaust plume state 1 and 2 is fixed at
Le1 = 20 m and
Le2 = 0.2 m, respectively. The atmospheric path length
La is ranged from 1000 m to 20,000 m. The number of groups remains 25 both before and after the optimization process by the clustering algorithm, and the number of Gaussian quadrature nodes per group is set to 9 (as verified, this number of nodes ensures sufficient accuracy for the test cases in this section).
The discrete ordinates method is employed to solve the test cases under different
La. The total radiative intensity computed by the Line-By-Line (LBL) method (with a spectral range of 3~5 μm and the wavenumber interval of 0.01 cm
−1) is served as the benchmark data. For comparison, four k-distribution methods are established: the traditional k-distribution method, the k-distribution method based on intervals of scaling, the k-distribution method based on intervals of comonotonicity and the k-distribution method based on intervals of comonotonicity optimized by k-means. The traditional k-distribution method constructs the k-distribution directly from the gas spectra without any grouping. The other three models share the same number of groups and the same number of Gaussian quadrature nodes per group. In addition, the partitioning method for scaling intervals is identical to that for comonotonic intervals (as described in
Section 2.1), with the distinction that the scaling factors of absorption coefficients between different states are used instead of the original
g-values.
Figure 7 shows the ratio of the results calculated by using the four models to the result obtained by using the LBL method under various atmospheric path lengths
La. It can be clearly observed that the traditional k-distribution method exhibits significant errors due to the blurring effect. The k-distribution method based on intervals of scaling enhances the correlation among gas spectra within groups. However, due to the strict requirements of the scaling relationship on gas absorption coefficients and the limited number of groups, the improvement in computational accuracy is modest and the computational error gradually increases with the increased
La. The k-distribution method based on intervals of comonotonicity further strengthens the spectral correlation within group, leading to additional improvements in computational accuracy. The k-distribution method based on intervals of comonotonicity optimized by k-means achieves the strongest intra-group spectral correlation among all methods, with computational errors controllable within approximately 20% compared to the LBL method. The error in the k-means-based method is attributed to the fact that the grouping solution obtained by the clustering algorithm cannot be guaranteed as the optimal solution. Specifically, after projecting the spectral points along the current comonotonic vector into the orthogonal space, the grouping scheme optimized by the clustering algorithm does not necessarily minimize the total variance. This is because the relative positions of spectral points in the orthogonal space are entirely determined by the comonotonic vector and the positions of spectral points in the
g-value space. Once the thermodynamic states are fixed, the distribution of spectral points in the orthogonal space can only be altered by adjusting the parameters of the comonotonic vector. The k-means clustering algorithm merely optimizes the grouping method for the spectral points, further optimization of the comonotonic vector parameters is still required. The differences arise because the clustering algorithm iteratively minimizes the variance of spectral projection values within each group and leads to a globally consistent ordering of k-distributions. The error stems from the fact that the initial spectral projection values in the algorithm are fixed. Consequently, the variance of projection values cannot be reduced to zero and minor inconsistencies in the ordering of k-distributions persist. When calculating the absorption coefficients corresponding to these inconsistently ordered segments of the k-distribution, a certain level of error is inevitably introduced.
The key to obtaining the optimal grouping scheme then lies in selecting the most suitable comonotonic vector to enhance the correlation of gas spectra within the comonotonic intervals, thereby improving the computational accuracy of the gas radiation model. As mentioned in the definition of correlation in
Section 2.1, strictly correlated gas spectra would have spectral points lying precisely on the vector [1, 1, …, 1]. In practice, though most spectral points are distributed around this vector, it is not mandatory to use [1, 1, …, 1] as the comonotonic vector to establish spectral correlation within comonotonic intervals. As long as all dimensions of the comonotonic vector have parameters greater than 0, a monotonically increasing relationship of spectral points across all states can be ensured. The most suitable comonotonic vector should not only establish this increasing relationship but also minimize the variance (Equation (10)) of the projected spectral point distribution after k-means-based grouping. Specifically, the distribution of spectral points should ideally satisfy the following characteristics. Firstly, sufficient separation between spectral points of different groups to exclude uncorrelated points within each sub-interval, thereby preserving comonotonicity. Secondly, the number of spectral points in each group should be balanced as identical as possible to minimize the impact of uncorrelated points on the comonotonicity of the grouping scheme. When the variance reaches zero, the spectral points will strictly lie on lines parallel to the comonotonic vector, ensuring rigorous comonotonicity within the sub-intervals.
3.2. Optimization of Comonotonic Vector Parameters Based on Particle Swarm Optimization Algorithm
To address the challenge of the k-means clustering algorithm in obtaining the optimal grouping scheme, this section extends the study based on the 0-D case and state sample points designed for the three thermodynamic state parameters (i.e., a 3-dimensional comonotonic vector) outlined in
Section 3.1. The impact of comonotonic vector parameter variations on the computational accuracy of the radiation model is then further investigated. We set the comonotonic vector parameters as [
x,
y,
z]; when varying the parameter of one dimension within the range of 0.1 to 10.0, the parameters of the other two dimensions are fixed at 1.0, and the atmospheric path length
La remains in the range of 1000 m to 30,000 m. Using the radiative intensity calculated by using the LBL method as the benchmark data, a sample space composed of computational results under different comonotonic vector parameters and atmospheric path lengths
La is established. The probability density distribution of the computational performance of the gas model under different comonotonic vector parameters is obtained as shown in
Figure 8.
It can be observed that the probability density peak for parameter z occurs near 0.8, while the peaks for parameters x and y are around 1. This phenomenon can be explained that, on the one hand, when a parameter (the one dimension) approaches 0 (while the other dimensions remain at 1), the partitioned comonotonic intervals become more influenced by the g-values of that particular thermodynamic state. As the parameter of this dimension increases gradually, the influence of g-values diminishes accordingly, the related grouping scheme leads to an increasing error in modeling the gas radiation of that specific thermodynamic state. In the designed radiative test case, the temperature of the gas thermodynamic state corresponding to parameter z is highest (the related blackbody radiation is also the strongest), thereby exerting the greatest impact on the computational results. Consequently, when parameter z approaches infinity, the computational accuracy of the gas radiation model decreases. On the other hand, the value of parameter z is greater than 1.0 in most samples, the computational accuracy of the related model is relatively low, which results in the probability density peak appears near 0.8 (z curve in yellow dashed line). In other words, the vector [1, 1, 1] is not the optimal comonotonic vector for the k-means clustering-optimized grouping scheme. Variations in any of the three dimensions of the comonotonic vector will influence the computational results of the 0-D case, indicating that the parameters of the optimal comonotonic vector for the gas radiation model require optimization.
After optimizing the comonotonic vector parameters with the exhaustion method, a further optimized k-distribution method is obtained.
Figure 9 presents the ratio of computational results from the joint optimized k-distribution model (optimized through both the k-means clustering algorithm and the exhaustive method for comonotonic vector parameter selection) to those from the line-by-line method under different atmospheric path lengths
La (results shown in
Figure 7 are also retained). It can be observed that the gas radiation model after joint optimization yields closest results to the LBL method with computational errors less than 5%. The adjusted comonotonic vector effectively balances the grouping criterion of minimizing variance in comonotonic intervals and the influences of blackbody radiation and absorption capacity of gases in different thermodynamic states on computational results. Therefore, the gas radiation model optimized through the comonotonic vector parameter selection produces the closest results to those obtained with the LBL method.
For optimizing the comonotonic vector parameters under the three thermodynamic states (3-dimensional) shown in
Section 3.1, the exhaustion method is still enforceable. However, when dealing with higher-dimensional comonotonic vector parameters (i.e., more thermodynamic states), the sample space becomes excessively large and the exhaustion method becomes computationally impractical. Therefore, this study further employs the PSO algorithm [
23] to efficiently identify the optimal comonotonic vector parameters. The PSO algorithm iteratively updates the positions (comonotonic vector parameters) and velocities (trends of parameter variations) of randomly generated particles (comonotonic vectors) to search for the most suitable comonotonic vector for the gas radiation model. In high-dimensional parameter spaces, PSO demonstrates strong optimization capability and fast convergence. Simultaneously, to further validate the performance of the gas radiation model jointly optimized by the k-means clustering algorithm and PSO-based comonotonic vector parameter selection in practical scenarios, this study introduces an objective function
ferr [
19] to evaluate the infrared computational performance of the optimized k-distribution method.
where e
j,max represents the maximum relative error of the
j-th 0-D case compared to the LBL calculation over the range of gas path lengths
La.
IΔη,j,LBL(
La) denotes the result calculated by the LBL method for the
j-th 0-D case within the target spectral interval under gas path length
La.
IΔη,j,Model(
La) denotes the result computed by the gas model for the
j-th 0-D case within the target spectral interval under gas path length
La.
ferr denotes the objective function for the PSO algorithm, which also serves as the comprehensive error index across all 0-D cases. It is defined by a piecewise function of e
j,max, the larger the value of e
j,max, the lower the computational performance of the comonotonic vector parameter-related gas model, and the greater the penalty (slope) imposed by
ferr.To validate the computational performance of the proposed spectral mapping method under multiple thermodynamic states, two gas models for CO
2 and H
2O (the primary sources of infrared radiation in aircraft nozzle exhaust plumes) are established in this section, using nine thermodynamic states [
19] (the dimension of the comonotonic vector is 9), the related parameters for each thermodynamic state are listed in
Table 2. Multiple 0-D radiative transfer test cases are then designed for each gas component to simulate the distribution of the nozzle exhaust plume, with the specific cases illustrated in
Figure 10. Each 0-D case for a given gas component consists of one exhaust plume state and one atmospheric state. Based on the composition concentration, pressure and temperature of CO
2 and H
2O in the exhaust plume and atmosphere listed in
Table 2, CO
2 has five distinct exhaust plume states and three different atmospheric states, corresponding to 15 0-D cases. H
2O has five exhaust plume states and four atmospheric states, corresponding to 20 0-D cases. In each 0-D case, the exhaust plume path length is set to either 0.2 m or 20 m. Among them, the gas path at 900 K is assigned a length of 20 m, reflecting the long core flow region in the high-temperature exhaust plume from the engine nozzle. While the remaining gas paths are set to 0.2 m, corresponding to a shorter jet length. The atmospheric path length
La is set in the range of 1000 m to 20,000 m to simulate the attenuation of plume infrared radiation in the atmosphere. The radiative intensity calculated by using the LBL method (with spectral ranges of 3~5 μm and 8~14 μm, and a wavenumber interval of 0.01 cm
−1) serves as the benchmark data. The number of comonotonic intervals of the gas models before and after clustering algorithm optimization is set to 25, which is a conservative decision. On one hand, 25 groups can ensure the establishment of gas spectral comonotonicity within each group; on the other hand, the associated computational resource consumption remains within an acceptable range (e.g., with the particle count set to 900, the maximum stagnation iteration is 50, and the optimized time is approximately one day). The number of Gaussian quadrature nodes allocated per comonotonic interval is set as 9. The maximum relative error e
j,max of the gas radiation model is computed for each 0-D case under different path lengths
La. Using the comprehensive error index
ferr as the objective function, the PSO algorithm is applied to iteratively determine the gas radiation model parameters suitable for multiple computational scenarios.
Subsequently, the PSO algorithm based on the
ferr objective function is employed to optimize the comonotonic vector parameters of the gas radiation model under multiple thermodynamic states. As shown in
Figure 11 (left), the specific optimization procedure consists of three main steps, initialization, iterative particle position updating, and termination. During initialization, each particle is initialized as a comonotonic vector by randomly generating its position within the search space and assigned an initial velocity. The objective function value of each particle is computed, and all particles are reassigned their individual best positions. During the iterative particle position updating process as shown in
Figure 11 (right), particle velocities and positions are updated, the objective function values of particles are updated, and both the individual and global best positions are updated. The iteration terminates when the stagnation iteration count exceeds a threshold
N or when the maximum iteration number is reached.
In this study, the velocity vector of a particle (comonotonic vector), representing the variation trend of comonotonic vector parameters, is determined by the inertia weight, the cognitive coefficient and the social coefficient as defined below:
where
v(
t + 1) represents the velocity vector of the particle at time
t + 1,
w is the inertia weight indicating the influence of the previous velocity
v(
t) on the current velocity,
c1 is the personal cognitive coefficient representing the weight of the particle’s tendency towards its personal best position, and
c2 is the global cognitive coefficient representing the weight of the particle’s tendency towards the global best position.
x(
t + 1) denotes the position of the particle at time
t + 1.
pbest corresponds to the position of the current particle where
ferr (its fitness function) reaches the minimum value, and
gbest corresponds to the position of the particle with the minimum
ferr among all particles.
rand1 and
rand2 denote the random number. In this study,
w varies between 0.1 and 1.1, while both
c1 and
c2 are set to 1.49. The parameters of PSO were set according to the paper of Clerc and Kennedy [
24], whose work analyzes the algorithm’s optimization performance. This configuration enables more effective global exploration of the parameter space for locating the optimal solution. Each time the global best position is updated, the stagnation iteration count is reset to 0. The iterative process terminates when either the stagnation iteration count reaches 30 or the maximum iteration number of 200 is achieved. Repeated tests have confirmed that in the scope of this study, a stagnation threshold of 30 iterations and a maximum of 200 iterations are sufficient to ensure the convergence. The number of particles is set to 900; further increasing the particle number does not affect the iteration results of the PSO algorithm in this case.
The k-distribution method based on comonotonic intervals is optimized using the PSO and k-means clustering algorithms (Ck-KP). For a better comparison, the results from k-distribution model with k-means-optimized comonotonic interval grouping (Ck-K), the scaling interval-based k-distribution model (Ck-S) and the traditional k-distribution model without grouping (Ck) are also calculated. The computational accuracy of each gas model is evaluated using a set of 0-D cases coupled with the comprehensive error index
ferr (Equation (11)), and the “Max relative err” is defined as follows: for the 0-D case, within a specified range of gas path lengths, the maximum ratio of the difference between the gas radiation model result and the LBL result (calculation based on reference state points) to the LBL result itself is obtained. Comparative analyses are conducted for H
2O and CO
2 in typical atmospheric infrared windows (3~5 μm and 8~14 μm), with the results presented in
Figure 12,
Figure 13,
Figure 14 and
Figure 15. Compared to the Ck-K model, the Ck-KP model achieves higher computational accuracy in most cases. The overall relative errors of the Ck-K model for H
2O are 3.24 (3~5 μm) and 1.21 (8~14 μm), while those of the Ck-KP model are 1.32 and 0.50, resulting in error reductions of 59.3% and 58.6%, respectively. For CO
2, the overall relative errors of the Ck-K model are 0.63 (3~5 μm) and 2.81 (8~14 μm), while those of the Ck-KP model are 0.073 and 0.42, resulting in error reductions of 88.5% and 84.9%, respectively. Differences arise because the PSO algorithm adjusts the parameters of the comonotonicity vector, thereby modifying the initial spectral projection values in the clustering algorithm and enhancing the spectral “correlation” within each group. The error originates from the fact that spectral absorption coefficients vary sharply across different thermodynamic states. As a result, adjusting the comonotonicity vector parameters cannot simultaneously reduce the variance of spectral projection values to zero in all groups.
Since some cases in the references are relatively complex, involving factors such as aerosols that may affect the computational results is not within the scope of the current study. This study selected the first 20 0-D cases from [
18] for comparison, and the results are presented in
Figure 16 and
Table 3 below.