Keywords

1 Introduction

General numerical analysis methods for performance analysis of compressors can be divided into 1D, a low-dimensional analysis, and 3D, a high-dimensional analysis. 1D analysis takes less time to analyze, but due to dimensional limitations, it is limited to accurately simulate the fluid characteristics inside the compressor, while 3D analysis uses high-order equations, so it can simulate the internal behavior of the compressor close to natural phenomena, but it takes a long time to interpretation. There are difficulties in selecting the analysis model because there are advantages and disadvantages of each analysis model. To solve this problem, a solution is proposed to generate the reduced order model (ROM) based on high-accuracy 3D analysis results and connect the 1D analysis model with the ROM. As a result, the long analysis time, which is a disadvantage of the 3D analysis model, is shortened, and the low accuracy, which is a disadvantage of the 1D analysis model, is increased.

Lucia et al. [1] discussed the development of reduced order modeling techniques and their applicability in computational physics, especially in the multi-disciplinary field of computational aeroelasticity. Nayfeh et al. [2] presented the reduced order models for microbeams and rectangular and circular microplates. They validated these models by comparing their results with theoretical and experimental results. Yi-dong et al. [3] proposed a strategy to develop the reduced order model based on CFD results. The results showed the benefits of using ROM methodology for process simulation and optimization. Stabile et al. [4] compared and tested the accuracy of two different pressure stabilization strategies for POD-Galerkin ROMs based on a finite volume approximation. The ROMs are used to approximate the parametrised unsteady Navier–Stokes equations for moderate Reynolds numbers.

In many previous studies, researchers did not discuss about the use of ROM when predicting the performance of reciprocating compressors. It is necessary to use the ROM because the ROM can reduce the shortcomings of numerical analysis methods. The objective of this study is to establish a methodology for development of reduced order model for performance prediction of reciprocating compressors.

2 Training Data

2.1 3D FSI Data

The training data required for reduce order model (ROM) configuration to predict the performance of the compressor is collected. After setting the operating conditions inside and outside the actual operating conditions of the compressor as the analysis conditions of the 3D analysis simulation, the analysis result, 3D Fluid–Structure Interaction (FSI) Data, is collected as training data.

2.2 Input and Output Parameter

The input parameters of training data include six parameters, and the output parameters of training data include nine parameters. The input parameters and output parameters are shown in Fig. 1. The case of training data is determined according to the combination of the input parameters. In this study, RT has four conditions, RPS has four conditions, and the combination of \({T}_{e}\), \({T}_{c}\), \({P}_{s}\), \({P}_{d}\) has five conditions. So, the training data has 80 conditions. The meanings, ranges, and the number of conditions of input parameters are displayed in Table 1.

Fig. 1
A flowchart for the parameters of training data starts with input parameters such as R T, R P S, T e, T c, P s, and P d, flows through a reciprocating compressor and reduced order model, and ends with output parameters like mass flow rate, cooling capacity, average torque, maximum torque, and more.

Input and output parameters of training data

Table 1 Range of input parameters

2.3 Reliability Verification of Training Data

Two methods are used to verify the reliability of training data. One is to compare mass flow rate with the experimental results under seven conditions, and the other is to compare discharge average temperature with the experimental results under four conditions. Table 2 shows the error rate of mass flow rate under seven conditions, and Table 3 shows the error rate of discharge average temperature under four conditions. The reliability of training data is verified because the error rate is < 10% under all eleven conditions. To verify the reliability of the training data, the additional data is generated. The additional data is used for data extending and ROM generation.

Table 2 Error rate of mass flow rate
Table 3 Error rate of discharge average temperature

3 Data Extending

3.1 ANN Method

The artificial neural network (ANN) method is chosen to extend a small amount of training data. This is because the ANN method is a specialized method for predicting figures by inputting figures. The ANN model receives input parameters from the input layer, multiplies by weights, and adds them all, and predicts output parameters from output layer through hidden layers containing activation function.

Figure 2 represents an example of ANN model and the process of obtaining the output value. In Eq. (1), \({y}_{k}^{l-1}\) is the output value of the previous layer and the input value of the current layer. \({a}_{k}^{l-1}\) is multiplied by the weight \({\omega }_{jk}^{l}\), and bias \({b}_{j}^{l}\) is added to the sum of the weight products. After that, the output value \({y}_{j}^{l}\) is obtained after passing the activation function \(f\) [5].

$${y}_{j}^{l}=f\left(\sum_{k}{\omega }_{jk}^{l}{y}_{k}^{l-1}+{b}_{j}^{l}\right)$$
(1)
Fig. 2
A 2-part illustration of the artificial neural network, a and b. A is a bipartite nodal map labeled A N N model which comprises an input, three hidden, and an output layer. B labeled artificial neuron unit runs as follows. Input to weighted sum via weight to activation function to output. Bias points to the weighted sum.

Structure of artificial neural network

In this study, the ANN model consists of one input layer, one output layer, and four hidden layers. The input layer has six nodes, the output layer has nine nodes, and each hidden layer has fifty nodes. The function tanh and sigmoid are selected as the activation functions. The error is calculated through the root mean square error (RMSE) of Eq. (2). ANN method proceeds in the direction in which the value of RMSE is minimized, and the value of the weight and bias of ANN model is optimized as the error is minimized.

$${Root\,Mean\,Square\,Error\,(RMSE)} =\sqrt{\sum_{i=1}^{n}\frac{{\left({\widehat{y}}_{i}-{y}_{i}\right)}^{2}}{n}}$$
(2)

3.2 Data Extending Method Using ANN Method

The reduced order model (ROM) is generated based on the training data. Although a large amount of data is required for high-accuracy ROM, 3D FSI simulation can only obtain a small amount of training data due to its long interpretation time. It complements a small amount of training data by expanding a small amount of training data to a large amount of data through ANN model.

Figure 3 shows the flow chart for ANN model development and data expansion. Training data is trained on ANN model. When new input parameters are entered into the developed ANN model, the output parameters are predicted. The prediction results are obtained as extended data [6]. The range of the new input parameters cannot be outside the range of the training data used for ANN model development. This is because ANN model cannot accurately predict data from untrained areas. A small amount of training data is supplemented by using data expansion by ANN model, and extended data is applied when ROM is generated.

Fig. 3
A flowchart for data extending runs as follows. Pre-treating the data, training set, A N N model, achieve the desired result, training network, evaluate A N N model, determine the optimal structure of the A N N model, and predicted result. The test set points to evaluate the A N N model as input.

Flow chart of data extending

4 Reduced Order Model

4.1 Concept of Reduced Order Model

The reduced order model (ROM) is one of the methods for quickly monitoring the corresponding response results when operating conditions change in the complex system. In the numerical analysis, human and numerical costs are incurred in pre-treatment, interpretation, post-processing to monitor the response results under specific operating conditions. To address the shortcomings of numerical analysis in the development and monitoring of complex systems, simplified model is developed that faithfully reproduces high-dimensional analysis model while lowering the degree of freedom (DOF) of the complex systems.

4.2 Development of Reduced Order Model

Figure 4 shows the process of generating ROM in the ANSYS Workbench. The ANSYS Workbench supports the generation of ROM that can analyze the system in short simulation time. In the ANSYS Workbench, training data and extended data are entered to generate ROM. The ANSYS Workbench provides a variety of response surface type. There is a difference in the accuracy and calculation time of the ROM according to the response surface type. There are many methods for verifying the accuracy of ROM, but in this study, the accuracy is verified by comparing the cooling capacity of the experimental results with the cooling capacity predicted by ROM. The ROM is converted into Functional Mock-up Unit (FMU). The reason for converting to FMU is that ROM is implemented within the Ansys Workbench, but ROM cannot be directly linked to the 1D analysis model. The function that enables this connection is to convert ROM into FMU. By connecting FMU to the 1D analysis model, the 1D analysis model can apply 3D analysis results with high accuracy without long analysis time [7].

Fig. 4
A flowchart for the generating R O M runs as follows. Parameter set, design of experiments, response surface, desired accuracy of response surface, and export to E M U.

Flow chart of generating ROM

4.3 Response Surface Type

Genetic Aggregation. Genetic Aggregation is method that optimizes predictions for input values using genetic algorithm. Equation (3) represents the mathematical model of Genetic Aggregation.

$${\widehat{y}}_{ens}(x)=\sum_{i=1}^{{N}_{M}}{w}_{i}\cdot {\widehat{y}}_{i}(x)$$
(3)

\({\widehat{y}}_{ens}\) is the prediction of the ensemble, \({\widehat{y}}_{i}\) is the prediction of the ith response surface, \({N}_{M}\) is the number of met models used and \({N}_{M}>1\), \({w}_{i}\) is the weight factor of the \({i}^{th}\) response surface. The weight factors satisfy: \(\sum_{i=1}^{{N}_{M}}{w}_{i}=1\) and \({w}_{i}\ge 0\), \(1\le i\le {N}_{M}\). The weight factors are optimized through the genetic algorithm [8].

Non-parametric Regression. The mathematical model of Non-parametric Regression is represented as Eq. (4). The function \(f\) is a fitting equation for output values. By adding and subtracting the margin of tolerance \(\varepsilon\) to the function \(f\), all output values are included within the range of predicted values. Figure 5 shows the behavioral pattern of Non-parametric Regression.

$$y=f\left(x\right)\pm \varepsilon , f\left(x\right)-\varepsilon \le output\,values\le f\left(x\right)+\varepsilon$$
(4)
Fig. 5
A 2-part illustration for the behavioral pattern of the response surface, a and b. A labeled non-parametric regression displays sinusoidal curves with increasing amplitude for f x, f x + epsilon, and f x minus epsilon. B labeled Kriging displays falling curves that extend as increasing for y x and f x with the local deviations as z x.

Behavioral pattern of response surface

Kriging. Kriging is method that represents predicted values for input values by adding a term of deviation to a quadratic polynomial function as shown in Eq. (5). The function \(f\) represents the general behavior of the model as a quadratic polynomial function, and the function \(z\) represents the local behavior of the model as a term of deviation. The term of deviation can be obtained by solving the covariance equation [9]. Figure 5 shows the behavioral pattern of Kriging.

$$y=f\left(x\right)+z(x)$$
(5)

Standard Response Surface. Standard Response Surface is very similar to Kriging. Standard Response Surface is expressed only as a quadratic polynomial function without a term of deviation as shown in Eq. (6).

$$y=f\left(x\right)$$
(6)

5 Results and Discussion

5.1 Results of ANN

Figure 6 shows the training results of the ANN model for nine output parameters. The x-axis is the output parameter of the training data, and the y-axis is the result calculated by the trained ANN model. The points line up on the graphs because the output parameters of the training data and the calculated results match. However, among the nine output parameters, a large error occurred at the maximum torque. The reason is that the input parameter of the result of the large error is an extreme condition in which it is difficult to form a normal refrigeration cycle.

Fig. 6
9 line and dot plots follow upward-sloping trends from the origin for calculated mass flow rate, cooling capacity, average torque, maximum torque, suction valve maximum stress, discharge valve maximum stress, cylinder maximum temperature, discharge average temperature, and discharge maximum temperature.

Training results of ANN model

5.2 Reliability Verification of Extended Data

After learning the training data, entering new input parameters into the trained ANN model yields predictive results considering nonlinearity. Among these predictive results, results that are outside the margin of error are excluded. In this study, the margin of error is 10%. The new input parameters input to the trained ANN model are the input parameters of the experimental conditions. The trained ANN model predicts the output parameters under the corresponding experimental conditions. There are two reasons for entering the experimental conditions into the new input parameters. First, the experimental conditions are within the range of the training data used for ANN model development. Second, the accuracy of the predicted data can be verified by comparing the cooling capacity of the experimental results with the cooling capacity of the predicted data.

Figure 7 is a graph showing the cooling capacity of predicted data. The x-axis is the cooling capacity of the experimental results, and the y-axis is the cooling capacity predicted by the trained ANN model. Since there are 100 experimental conditions, ANN model predicts 100 data. Of the 100 data, 93 data are selected as extended data. The reason is that 93 data are within 10% of the error rate, and the remaining seven data exceed 10% of the error rate.

Fig. 7
A line and dot plot of predicted cooling capacity versus cooling capacity plots rising trends for 25, 30, 50, and 70 hertz out of which the plots for 25 hertz and 70 hertz have the lowest and highest set of values, respectively. Lowest estimated value, 25 hertz (110, 100). Highest estimated value, 70 hertz (400, 375).

Cooling capacity predicted by ANN method

5.3 Accuracy of Reduced Order Model

The method for verifying the accuracy of ROM is to compare the number of cases with an error rate of < 10% by comparing the cooling capacity of the experimental results with the cooling capacity predicted by ROM. The ROM Accuracy represents the number of cases with an error rate of < 10%. Since the experimental conditions are 100 cases, the ROM Accuracy is expressed as an integer from 0 to 100.

Another method to verify the accuracy of ROM is to compare the average error rate and the maximum error rate for 100 cases. The inclusion of extended data in the ROM reduces the average error rate from 4.656% to 4.318% and the maximum error rate from 11.77% to 9.777%. As the error rate is <10% for all 100 cases, the ROM Accuracy is 100. Figure 8 shows the error rate according to the amount of data.

Fig. 8
A grouped column and line plot of error rate versus the number of data and R O M accuracy. The maximum error rate has the higher values across the chart with (91, 11) as the estimated highest value. The average error rate follows a falling trend. R O M accuracy follows a rising trend with its peak estimated at (184, 100).

Accuracy of reduced order model according to the amount of data

Table 4 shows the accuracy of the ROM according to the response surface type. Genetic Aggregation shows the highest accuracy when comparing the accuracy of the ROM according to the response surface type. The ROM Accuracy is 100, the average error rate is 4.318%, and the maximum error rate is 9.777%.

Table 4 Accuracy of reduced order model according to response surface type

6 Conclusions

In this study, the reduced order model (ROM) was generated to predict the performance of reciprocating compressors and the methodology for development of ROM was established. The ROM can be developed in the following process.

  • The 3D Fluid-Structure Interaction (FSI) Data is collected as training data.

  • The train data is extended by ANN method.

  • In the ANSYS Workbench program, the training data and extended data are entered to generate ROM.

  • The ROM is converted into Functional Mock-up Unit (FMU).

  • The accuracy of the ROM is verified through comparison with the experimental results.

Accuracy results show best performance when extended data is applied to the ROM and when response surface type is Genetic Aggregation.