Next Article in Journal
Visual Colorimetric Detection of Edible Oil Freshness for Peroxides Based on Nanocellulose
Next Article in Special Issue
Three-Dimensional Appearance and Physicochemical Properties of Pleurotus eryngii under Different Drying Methods
Previous Article in Journal
Meat Microflora and the Quality of Meat Products
Previous Article in Special Issue
Evaluation of Temperature Uniformity in a Middle-Refrigerated Truck Loaded with Pig Carcasses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial Neural Network Modeling and Genetic Algorithm Multiobjective Optimization of Process of Drying-Assisted Walnut Breaking

1
College of Mechanical and Electrical Engineering, Shihezi University, Shihezi 832003, China
2
Key Laboratory of Northwest Agricultural Equipment, Ministry of Agriculture and Rural Affairs, Shihezi 832003, China
3
Key Laboratory of Modern Agricultural Machinery Corps, Shihezi 832003, China
4
Department of Biological and Agricultural Engineering, University of California, One Shields Avenue, Davis, CA 95616, USA
5
College of Engineering, China Agricultural University, Beijing 100080, China
*
Author to whom correspondence should be addressed.
Foods 2023, 12(9), 1897; https://doi.org/10.3390/foods12091897
Submission received: 22 March 2023 / Revised: 15 April 2023 / Accepted: 4 May 2023 / Published: 5 May 2023

Abstract

:
This study combined an artificial neural network (ANN) with a genetic algorithm (GA) to obtain the model and optimal process parameters of drying-assisted walnut breaking. Walnuts were dried at different IR temperatures (40 °C, 45 °C, 50 °C, and 55 °C) and air velocities (1, 2, 3, and 4 m/s) to different moisture contents (10%, 15%, 20%, and 25%) by using air-impingement technology. Subsequently, the dried walnuts were broken in different loading directions (sutural, longitudinal, and vertical). The drying time (DT), specific energy consumption (SEC), high kernel rate (HR), whole kernel rate (WR), and shell-breaking rate (SR) were determined as response variables. An ANN optimized by a GA was applied to simulate the influence of IR temperature, air velocity, moisture content, and loading direction on the five response variables, from which the objective functions of DT, SEC, HR, WR, and SR were developed. A GA was applied for the simultaneous maximization of HR, WR, and SR and minimization of DT and SEC to determine the optimized process parameters. The ANN model had a satisfactory prediction ability, with the coefficients of determination of 0.996, 0.998, 0.990, 0.991, and 0.993 for DT, SEC, HR, WR, and SR, respectively. The optimized process parameters were found to be 54.9 °C of IR temperature, 3.66 m/s of air velocity, 10.9% of moisture content, and vertical loading direction. The model combining an ANN and a GA was proven to be an effective method for predicting and optimizing the process parameters of walnut breaking. The predicted values under optimized process parameters fitted the experimental data well, with a low relative error value of 2.51–3.96%. This study can help improve the quality of walnut breaking, processing efficiency, and energy conservation. The ANN modeling and GA multiobjective optimization method developed in this study provide references for the process optimization of walnut and other similar commodities.

1. Introduction

Walnut is the second largest nut in the world and has high edible and medicinal value. Breaking the shell to take the kernel is the premise of deep walnut processing. The shell is hard, and the gap between the shell and the kernel is small, leading to difficulty in breaking the shell to procure the kernel. Therefore, new walnut breaking processes must be explored.
The moisture content of walnuts has a considerable effect on their shell breaking characteristics [1]. At present, the research on the walnut drying process focuses on the drying kinetics and physicochemical qualities of walnuts [2,3,4,5], but few studies have linked the drying process with walnut breaking. In addition, adopting the proper loading direction can also improve the processing efficiency and quality of walnut breaking [6]. If drying is used as a pretreatment to assist in walnut breaking, a new walnut breaking process can be obtained through the selection of an appropriate loading direction. In addition, drying technology can ensure the food security of walnuts by reducing their moisture content [7].
Air-impingement technology ejects pressurized hot air through a nozzle and removes water through the impact and heating of hot air on a material. It is characterized by a high drying rate and high heat transfer coefficient. The application of this technology in walnut drying can increase the drying rate and reduce energy consumption.
The primary goal of walnut breaking is shell breaking and protecting the kernel. The shell-breaking rate is used to evaluate the difficulty of shell breaking, and it is the ratio of the number of cracked walnuts to the total number of walnuts in walnut breaking. High kernel rate is the ratio of the weight of the walnut kernel that is not completely crushed to the total weight of the walnut kernel. Whole kernel rate is the ratio of the weight of the whole walnut kernel to the total weight of the walnut kernel. High kernel and whole kernel rates are used to evaluate the integrity of the walnut kernel. At a drying temperature of 43 °C, walnut drying in an industrial hot air dryer requires a long drying time (more than 24 h) and consumes a large amount of energy (1284.6 MJ for natural gas and 85.1 MJ for electricity consumption per ton of dried walnuts) [8]. Therefore, the drying time and energy consumption must be minimised whilst ensuring the quality of walnut breaking. The optimization of the walnut breaking process depends on several parameters, including the shell-breaking rate (SR), high kernel rate (HR), whole kernel rate (WR), drying time (DT) and specific energy consumption (SEC).
The relationship between the process parameters of drying-assisted walnut breaking (including air velocity, temperature, moisture content, and loading direction) and the process evaluation index is highly nonlinear. Researchers have developed mathematical models to describe nonlinear models, such as theoretical, semitheoretical and empirical models. However, these models can accurately predict experimental data only under highly specific conditions, and no general equations are available to describe complete models [9]. Artificial intelligence technologies can model nonlinear systems where the relationships between variables are unknown [10]. An artificial neural network (ANN) is a kind of artificial intelligence technology that can simulate the behaviour of highly nonlinear systems dynamically [11]. ANNs have been successfully applied to the modeling and prediction of engineering problems, especially in areas where mathematical modeling methods fail [12]. ANN models have also been used in the moisture content prediction of pumpkin slice drying [13], prediction of the moisture ratio and color parameters of ginkgo biloba seed drying [14], prediction of the energy and exergy of mushroom slice drying [15] and moisture content prediction of carrot drying [16]. However, no study has examined its application in walnut drying and breaking. The model formula of an ANN is expressed by weights and thresholds. The essence of the ANN training process is the optimization of weights and thresholds. The initial weights and thresholds of the ANN are generated randomly. When the initial weights and thresholds are unreasonable, the convergence speed of the neural network is slow, and the training result is a local optimal value rather than a global optimal value. The genetic algorithm (GA) first preliminarily optimizes the initial weights and thresholds of the ANN, and then the neural network uses the optimized weights and thresholds for training to accelerate the convergence speed of the network and obtain the global optimal value.
The optimization of the walnut breaking process is multiobjective optimization (MOO), which is a method of finding the optimal target within the range of constraints based on the model. A GA is an optimization technique used to obtain the optimal value of a complex objective function by simulating biological evolutionary processes. Winiczenko, R applies a GA to the MOO during the apple cube drying process [17]. Raj, GVSB. used a GA to optimize the microwave vacuum drying process of dragon fruit slices [18]. MOO problems involve multiple objective functions, and these functions restrict one another. Therefore, obtaining a global optimal solution is difficult. Usually, MOO problems tend to obtain a set of optimal solutions called Pareto optimal solutions. A Pareto optimal solution is not dominated by other solutions in the solution space, and the improvement of one of the objectives requires the sacrifice of others [17]. The set of Pareto optimal solutions is called the Pareto front. The major goal of MOO is to find the Pareto front [19]. Obtaining the global optimal solution in the Pareto front in accordance with the specific optimization purpose is easy [20].
ANN modeling can be combined with GA MOO, which provides objective functions for MOO, and the genetic algorithm finds the optimal solution under the given constraint. This model is an effective method for predicting and optimizing any complex process parameters [21]. It has been applied in other fields [22,23].
In this study, drying was used as a pretreatment for walnut breaking for the first time, and the quality of walnut breaking and energy efficiency were utilised to evaluate the shell breaking process. An ANN and GA were applied to the modeling and optimization of the walnut breaking process for the first time. The objectives of this study are to: (1) analyse the effects of IR temperature (T), air velocity (V), moisture content (MC) and loading direction (D) on DT, SEC, HR, WR and SR; (2) develop an ANN nonlinear model with T, V, MC, and D as input variables, and DT, SEC, HR, WR, and SR as output variables; and (3) optimize the process parameters of drying-assisted walnut breaking by using a GA and minimize DT and SEC whilst improving the quality of walnut breaking. This study will provides an optimal process for drying-assisted walnut breaking.

2. Materials and Methods

2.1. Materials

Walnuts (cultivar Xinjiang Wen-185) of uniform size produced in Aksu, Xinjiang were selected and stored in a freezer (temperature: 5 °C) for use. The average weight, diameter, initial moisture content, and thickness of the walnuts were 16.52 ± 0.2 g, 36.43 ± 0.1 mm, 30.12 ± 0.65%, and 1.1 ± 0.1 mm, respectively.

2.2. Processing Equipment

Drying experiments were conducted using an air-impingement technology (Taizhou Senttech Infrared Technology Co., Ltd., Taizhou, China; temperature accuracy of ±0.1 °C, and power range of 0–2 kW). A principal diagram of the technology is shown in Figure 1. The air velocity at the nozzle was measured using an anemometer (AT816, SMART SENSOR, Thincol, Guangzhou, China; accuracy of ±0.1 m/s). Prior to the experiment, the technology was run for 30 min to stabilize the equipment. The walnut drying characteristics were used to predict when the walnuts reached the target moisture content. An electronic balance (BSM-5200.2, Shanghai Zhuojing Electronic Technology Co., Ltd., Shanghai, China; accuracy of 0.01 g) was adopted to weigh the walnuts and judge whether the walnuts reached the target moisture content. Drying was stopped when the walnuts reached the target moisture content, and continued otherwise. The drying experiments were performed at IR temperatures of 40 °C, 45 °C, 50 °C, and 55 °C; air velocities of 1, 2, 3, and 4 m/s, and moisture contents of 10%, 15%, 20%, and 25%. The dried walnuts were broken in three loading directions: sutural, longitudinal, and vertical.

2.3. Drying Experiments

The drying process parameters included IR temperature, air velocity and moisture content. IR temperature refers to the temperature of the hot air ejected from the nozzle, and air velocity refers to the velocity of the hot air ejected from the nozzle. The inner diameter of the nozzle was 10 mm, and the number of nozzles was 18. The distribution of the nozzles is shown in Figure 1. Moisture content refers to the moisture content (dry basis) of the walnut at the end of drying.
The IR temperature range was set to be 40–55 °C to ensure drying efficiency and product quality [5]. The maximum air velocity of the equipment was 4 m/s. To sufficiently study the influence of air velocity on walnut breaking, the range of air velocity was set to 1–4 m/s. To prevent production reduction caused by walnuts with a moisture content below the safe storage moisture content of 8%, the minimum moisture content of the walnuts was set to 10%. The range of moisture content was 10–25% [1]. The drying experiments were conducted at IR temperatures of 40 °C, 45 °C, 50 °C, and 55 °C; air velocities of 1, 2, 3, and 4 m/s, and moisture contents of 10%, 15%, 20%, and 25%. The dried walnuts were broken in three loading directions: sutural, longitudinal and vertical. A total of 192 experimental groups (4 × 4 × 4 × 3) were established.

2.4. Loading Direction(L)

Breaking experiments were performed using a DF-9000 dynamic and static universal material testing machine, and the loading rate was set to 10 mm/min. The walnuts’ loading direction is shown in Figure 2.

2.5. High Kernel Rate (HR), Whole Kernel Rate (WR) and Shell-Breaking Rate (SR)

The integrity of walnut kernels was evaluated with the high kernel and whole kernel rates. The walnut kernels were divided into Classes A, B, C, and D according to their integrity. Whole walnut kernels belonged to Class A, half walnut kernels belonged to Class B, quarter walnut kernels were classified as Class C and the rest of the crushed walnut kernels belonged to Class D.
High kernel rate was calculated using Equation (1), and whole kernel rate was calculated with Equation (2).
H R = M A + M B + M C M A + M B + M C + M D × 100 %
W R = M A M A + M B + M C + M D × 100 %
The difficulty of shell breaking was evaluated by the shell-breaking rate (SR). SR is the ratio of the number of walnuts that are cracked by more than 3/4 to the total number of walnuts in the experiment. SR was calculated with Equation (3).
S R = L N × 100 %
where L is the number of walnuts that are cracked by more than 3/4; N is the total number of walnuts, MA is the weight of Class A walnut kernels, MB is the weight of class B walnut kernels; MC is the weight of Class C walnut kernels and MD is the weight of Class D walnut kernels.

2.6. Drying Time and Specific Energy Consumption

The walnuts were dried in a hot-air dryer at 105 °C for 24 h to measure the dry weight, Wd [24]. The moisture content of the walnuts at time T was calculated by Equation (4) [25]. The time required for the walnuts to dry to the target moisture content was the drying time.
M t = W T W d W d × 100 %
The energy required to dry 1 kg of walnuts was defined as the specific energy consumption, which was calculated with Equation (5).
S E C = E m w a l n u t
where E is the electrical energy consumed during drying and mwalnut is the total walnut mass during drying.

2.7. Shell Kernel Clearance (SKC)

Shell kernel clearance refers to the distance between the walnut shell and the walnut kernel, and it was calculated using Equation (6) [26].
S K C = A + B + C a b c 6 d 6
where A is the maximum longitudinal dimension of the inner wall of the walnut shell (mm), B is the maximum vertical dimension of the inner wall of the walnut shell, (mm), C is the maximum sutural dimension of the inner wall of the walnut shell (mm), a is the maximum longitudinal dimension of the walnut kernel (mm), b is the maximum vertical dimension of walnut kernel, (mm), c is the maximum sutural dimension of the walnut kernel (mm) and d is the thickness of the walnut shell (mm).

2.8. Walnut Shell Hardness

Hardness is one of the important factors that affect walnut breaking. A DF-9000 dynamic and static universal material testing machine was used for the walnut breaking experiment, and the loading rate was set to 10 mm/min. Hardness H was calculated using Equation (7) [27].
H = F r D r
where Fr is the maximum breaking force and Dr is the deformation when the maximum breaking force is reached. Dr can be obtained from the DF-9000 dynamic and static universal material testing machine.

2.9. Artificial Neural Network (ANN) Model

Back propagation ANN (BP-ANN) is a feed-forward network-trained model in accordance with the error-back propagation algorithm, and it is one of the most widely used ANN models. The model of the process of drying-assisted walnut breaking was established using BP-ANN. The topology of the ANN model consisted of three layers (input layer, hidden layer and output layer) and two transfer functions between the three layers, as shown in Figure 3. The input layer had four factors: IR temperature (T), air velocity (V), moisture content (MC), and loading direction (D). The output layer had five factors: drying time (DT), specific energy consumption (SEC), high kernel rate (HR), whole kernel rate (WR), and shell-breaking rate (SR). The range of the number of neurons in the hidden layer was determined with the Equations (8)–(11). The optimal number of neurons in the hidden layer was obtained by trial and error. Nonlinear transfer functions, including tansig sigmoidal and logsig sigmoidal functions, were used in the input and hidden layers, and a linear transfer function (Pureline) was employed in the hidden layers and output layers. The topology of neural networks influences two of the most important evaluation criteria of neural network training: generalization and training time [28]. Improper topology of the neural network causes many redundancies, which makes the neural network fall into local optimization and considerably prolongs the training time [29]. Therefore, determining the optimal neural network topology is important.
The range of the number of neurons in the hidden layer was determined using the following equations [30]:
j < n 1
j < m + n + a
j = log 2 n
j = 2 n + 1
where j is the number of neurons in the hidden layer, n is the number of factors in the input layer, m is the number of factors in the output layer and a is a constant between 0 and 10.
The union of Equations (8)–(11) was determined as the range of the number of neurons in the hidden layer to ensure that the optimal number of neurons in the hidden layer could be achieved. Generally, the number of neurons in the hidden layer should be more than one; then, the range is as follows: 1 < j < 13. To obtain the variation in neural network performance beyond the range, the range of the number of neurons in the hidden layer was determined as 1 < j ≤ 13 in this study.
The coefficient of determination (R2) and root mean square error (RMSE) were calculated to determine the optimal number of neurons in the hidden layer and the transfer function in the input and hidden layers by using Equations (12) and (13), respectively [31,32].
R M S E = i = 1 N y a c t , i y p r e , i 2 N
where yact,i is the actual value and ypre,i is the predicted value of the sample. In general, the smaller the RMSE value is, the higher the model accuracy is.
R 2 = 1 i = 0 N ( y i y i ^ ) 2 i = 0 N ( y i y i ¯ ) 2
where yi is the actual value of the sample, y ^ is the predicted value of the sample, y ¯ is the average of the actual values, and N is the number of test samples. The larger the R2 value is, the better the predictive ability of the model is.
After determining the optimal topology structure of the neural network, the neural network was trained. A total of 192 groups of experimental data (4 × 4 × 4 × 3) were established. One group consisted of four input variables and five output variables. To ensure the effectiveness of neural network training and the accuracy of the test data, 80% of the experimental data (154 groups) were randomly selected as training data, and 20% (38 groups) were adopted as test data [33]. The algorithm flow of the neural network is shown in the Figure 4.
The weights and thresholds of the neural network were obtained after the training was completed, and the neural network model was established. The neural network model had four parts: the input variables were normalized; the weight, threshold, and transfer function of the hidden layer were inputted into Equations (15) and (16) to obtain the output of the hidden layer; the weight, threshold, and transfer function of the output layer were inputted into Equation (17) to obtain the output of the output layer and the output of the output layer was reversely normalized to obtain the output variables.
The input variables were normalized, and the normalized range was (−1, 1).
x i g = 2 ( x i x i , min ) x i , max x i , min 1
where x i g (i = 1, 2, 3, 4) is the normalized input variable, xi is the input variable; x1 is T, x2 is V, x3 is MC, x4 is D, xi,min is the minimum of the training data for the input variable xi and xi,max is the maximum of the training data for input variable xi.
The output in the hidden layer is:
h j = log sig ( w i j h x i g + b j h )
log sig ( x ) = 1 1 + exp ( x )
where hj (j = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) refers to the outputs of each neuron in the hidden layer, w i j h is the weight between the input layer and the hidden layer, and b j h is the threshold in the hidden layer. The values of weights w i j h and threshold b j h are used in Equation (15).
The output in the output layer is:
y k g = p u r e l i n ( w j k o h j + b k o ) = w j k o h j + b k o
where y k g (k = 1, 2, 3, 4, and 5) refers to the outputs of each neuron in the output layer, w j k o is the weight between the hidden layer and the output layer, and b k o is the threshold in the output layer. The values of weights w j k o and threshold b k o are used in Equation (17).
Reverse normalization of the output in the layer output was implemented as follows:
D T = ( y 1 , max y 1 , min ) ( y 1 g + 1 ) 2 + y 1 , min
S E C = ( y 2 , max y 2 , min ) ( y 2 g + 1 ) 2 + y 2 , min
H R = ( y 3 , max y 3 , min ) ( y 3 g + 1 ) 2 + y 3 , min
W R = ( y 4 , max y 4 , min ) ( y 4 g + 1 ) 2 + y 4 , min
S R = ( y 5 , max y 5 , min ) ( y 5 g + 1 ) 2 + y 5 , min
where yk,min is the minimum of the training data for output variable yk and yk,max is the maximum of the training data for the output variable yk.

2.10. Optimization of Artificial Neural Network Using Genetic Algorithm

The neural network is sensitive to the initial weights and thresholds. Therefore, the training results are greatly affected by the initial weights and thresholds, and they easily fall into the local minimum [34]. GA is a global optimization method based on the principle of biological evolution, namely, survival of the fittest [35]. By optimizing the initial weights and thresholds, GA can move the neural network training process from the local optimal domain to the global optimal domain [36]. Therefore, for the walnut breaking process model, the initial weights and thresholds of the ANN can be optimized by the GA first, followed by ANN training with the optimized initial weights and thresholds, resulting in global optimal weights and thresholds. The parameters of the GA are shown in Table 1.
The GA assisted by ANN modeling was divided Into three parts. First, by analyzing R2 and RMSE, the optimal topology of the neural network was selected, and then the structure of the initial weights and thresholds was obtained. Second, the weights and thresholds of the neural network were adopted as the optimization object, the error of the neural network model was used as the fitness function, and the initial weights and thresholds were optimized using the GA. Lastly, the optimized weights and thresholds were used for neural network training, and the global optimal weights and thresholds were obtained. The algorithm flow is shown in Figure 5.

2.11. Multiobjective Optimization

The MOO of the walnut breaking process was applied to reduce the energy consumption and drying time while improving the quality of walnut breaking. The optimization goal was to minimize DT and SEC and maximize HR, WR, and SR. The upper and lower limits of the input variables were the upper and lower limits of the experimental conditions in the walnut breaking experiment, respectively, as shown in Equation (23). In terms of the loading direction, 1 was the sutural direction, 2 was the Longitudinal direction, and 3 was the Vertical direction.
Five objective functions and four constraints were entered in MATLAB, and the GAMULTIOBJ function was used to obtain the Pareto optimal solution. The parameters of the GAMULTIOBJ function are listed in Table 2.
o b j e c t i v e s = M i n   D T T , V , M C , D M i n   S E C T , V , M C , D M a x   H R T , V , M C , D M a x   W R T , V , M C , D M a x   S R T , V , M C , D 40 T 55   ° C 1 V 4 m · x 1 10 M C 25 % D = 1 , 2 , 3

2.12. Statistical Analysis

The experimental data were processed with Microsoft Excel 2019, and drawing was performed with Origin 2019b. ANN modeling and GA MOO were implemented in MATLAB R2021a.

3. Results and Discussion

3.1. Drying Time and Specific Energy Consumption

The effect of IR temperature on DT and SEC under a constant air velocity of 3 m/s and moisture content of 15% is shown in Figure 6a. DT was greatly influenced (p < 0.01) by the IR temperature. DT decreased with increasing IR temperature due to increments in heat and moisture transfer rates and thermal radiation intensity [37]. With increasing IR temperature, DT decreased considerably, but SEC did not decrease rapidly. The increase in IR temperature led to an increase in equipment power, and thus increased the equipment’s energy consumption [38]. Figure 6b shows the effect of air velocity on DT and SEC under a constant IR temperature of 50 °C and moisture content of 15%. DT decreased considerably with increasing air velocity due to the accelerated discharge of water vapor from the drying chamber caused by an increase in the heat convection rate [39]. SEC decreased considerably with increased air velocity. First, the increase in air velocity reduced the drying time, which refers to the time for the equipment to operate. Second, fan power consumed a small portion of the total power of the equipment, and the increase in air velocity did not greatly improve the total power of the equipment. Thus, the energy consumption did not increase much. As shown in Figure 6c, DT and SEC decreased greatly with increasing moisture content under an IR temperature of 50 °C and air velocity of 3 m/s. Notably, the DT and SEC of the sample with 15% moisture content decreased by 45.11% and 47.79%, respectively, compared with that of the sample with 10% moisture content. This result was obtained because the drying rate decreased substantially at the last stage of drying, resulting in a large increase in drying time [40]. The energy consumption of equipment was directly related to the length of drying time, so SEC decreased rapidly with increasing moisture content [20]. Among the three drying parameters, moisture content had the greatest influence on drying time and SEC. Thus, increasing the moisture content is the best approach for minimizing drying time and SEC, provided that the quality of walnut breaking is not reduced.

3.2. High Kernel Rate and Whole Kernel Rate

As shown in Figure 7a, at a constant air velocity of 3 m/s, moisture content of 15% and longitudinal loading direction, IR temperature had no notable influence on the high kernel and whole kernel rates. No remarkable difference in shell kernel clearance was observed among the four groups. The effect of air velocity on the high kernel rate was not substantial at a constant IR temperature of 50 °C, moisture content of 15% and in the longitudinal loading direction, as shown in Figure 7b. With the increase in air velocity, the whole kernel rates of Groups 3 and 4 decreased compared with those of Groups 1 and 2. The whole kernel rate is related to shell kernel clearance, and it can only be guaranteed when the deformation of shell breaking is smaller than the shell kernel clearance [26]. Therefore, the decrease in whole kernel rate may be due to the decrease in shell kernel clearance. Figure 7c shows that the high kernel rate and whole kernel rate decreased significantly with an increase in the moisture content from 10% to 25% at a fixed IR temperature of 50 °C, an air velocity of 3 m/s, and longitudinal loading direction. Wang Jiannan et al. had the same finding [1]. As presented in Figure 7d, under a constant IR temperature of 50 °C, air velocity of 3 m/s and moisture content of 15%, the high kernel and whole kernel rates of sutural direction were the highest, followed by those of the longitudinal and vertical directions in turn. Under the same drying conditions, the shell kernel clearance of the three groups was almost undifferentiated. “Shell kernel clearance” refers to overall shell kernel clearance and is the mean value of shell kernel clearance in three directions of the walnut. However, the shell kernel clearance in different directions obviously differed, which resulted in a great difference in the high kernel and the whole kernel rates of different loading directions. In conclusion, moisture content had the greatest influence on the high kernel and whole kernel rates, and reducing the moisture content helped improve the high kernel and whole kernel rates. However, this result is contradictory to the minimization of drying time and SEC. The optimization of the walnut breaking process needs to achieve balance between energy efficiency and quality of walnut breaking.

3.3. Shell-Breaking Rate

Figure 8a shows the effects of different IR temperatures on the shell-breaking rate when the air velocity, moisture content and loading direction were 3 m/s, 15%, and longitudinal, respectively. The shell-breaking rate and hardness of Groups 3 and 4 increased compared with those of Groups 1 and 2 when the IR temperature continued to increase to 55 °C. The water loss rate of the walnut shells increased with the increasing IR temperature, which accelerated the change in porosity and rapidly increased the density of walnut shells, leading to an increase in walnut shell hardness [41]. With high walnut shell hardness, high breaking force would need be exerted under the same deformation, and walnut shells are more likely to be broken. Feizollah Shahbazi also believed that the shell-breaking rate was related to the hardness of walnut shell [42]. As shown in Figure 8b, at a constant IR temperature of 50 °C, moisture content of 15%, and longitudinal loading direction, air velocity had no notable influence on the shell-breaking rate. No remarkable difference in the hardness was observed among the four groups of experiments. As shown in Figure 8c, at a constant IR temperature of 50 °C, air velocity of 3 m/s, and longitudinal loading direction, the shell-breaking rate decreased significantly with increasing moisture content. The increase in walnut moisture content reduced the walnut shell hardness, indicating a small shell-breaking force was required to achieve the same deformation. Feizollah Shahbazi found that the decrease in the shell-breaking rate is due to the softening of walnuts at higher moisture contents [42]. At the same time, as the moisture content of walnuts decreases, the hygrothermal stress in the drying process causes the shell to produce microcracks and other damage, and the shell becomes prone to fracture and breakage [43]. Figure 8d show that the shell-breaking rate was the highest in the vertical direction when the IR temperature was fixed at 50 °C, the air velocity was 3 m/s, and the moisture content was 15%. The thickness and structure of the walnut shells in different directions varied, resulting in different shell-breaking rates in different loading directions. Liu Kui et al. also found that walnuts are likely to be broken in the vertical direction [44]. In conclusion, the influence law of moisture content on the shell-breaking rate is similar to that of the high kernel and whole kernel rates. In addition, the shell-breaking rate can be optimized by selecting an appropriate IR temperature and loading direction.

3.4. Construction of Artificial Neural Network Model

The construction of the ANN model proceeded through three steps. The first step was to determine the optimal topology of the ANN. The second step was to optimize the initial weight and threshold of the ANN by using a GA. In the third step, the ANN used the optimized weights and thresholds for network training.
To obtain the optimal topology of the neural network, the transfer function (‘transig’ sigmoidal or ‘logsig’ sigmoidal) between the input layer and the hidden layer and the number of neurons in the hidden layer (2–13) needed to be determined. Nonoptimized weights and thresholds for network training can cause a large deviation in R2 and RMSE under the same topology structure. Therefore, the results of the same topology structure were adopted as the mean value of 10 simulations. The simulation results of different ANN topologies is shown in Table 3.
The highest R2 values of DT, SEC, HR, WR, and SR were achieved in Group 23 (‘logsig’ sigmoidal + 12 neurons). The minimum RMSEs of DT, SEC, HR, WR, and SR were achieved in Groups 21, 22, 23, 10 and 10, respectively. The subminimum RMSEs of DT, SEC and WR appeared in the Group 23, with a deviation of 10%, 2.25% and 2.93% from the minimum RMSE, respectively. The RMSE of SR in Group 23 differed by 7.51% from the minimum RMSE of SR. In summary, the topology of Group 23 (‘logsig’ sigmoidal + 12 neurons) was the optimal topology.
The results showed that different topologies had a great influence on R2 and RMSE. The ‘logsig’ sigmoidal function between the input layer and hidden layer was much better than the ‘transig’ sigmoidal function. The larger the number of neurons in the hidden layer was, the better the prediction ability of the model was. However, having too many neurons can lead to overfitting, resulting in reduced model accuracy. Therefore, the number of neurons in the hidden layer was set as 12 based on the optimal topology and GA to optimize the initial weights and thresholds of the neural network. The parameters of the GA are shown in Table 1.
The neural network was trained with the optimized weights and thresholds. A comparison of the results of the BP neural network model and the GA neural network model (GA-ANN) is shown in Table 4.
In the GA-ANN model, the R2 values of DT, SEC, HR, WR and SR were all above 0.990; RMSE decreased by 32.8%, 23.14%, 10.96%, 21.99%, and 50.5% compared with the BP model, respectively. The GA-ANN model had a remarkable optimization effect, indicating that the GA-ANN model removed the local optimal value and obtained the global optimal value.
The experimental data and predicted values of the GA-ANN model are shown in Figure 9. The GA-ANN model demonstrated a sufficient prediction ability and can be further applied to the MOO of the process of drying-assisted walnut breaking.

3.5. Multi-Objective Optimization

The Pareto optimal set, which included 30 optimal solutions, was obtained using the GAMULTIOBJ function, as shown in Table 5. The selection of specific optimal solutions depended on the primary purpose of the process. For example, Group 1 was selected as the optimal process for the highest HR of 89%. Group 3 was a slightly worse process because HR and SR decreased by 0.2% and 3.6%, respectively, and DT increased by 12.9%. Moreover, it had a similar SEC of 16.78 MJ/kg relative to Group 1, but WR increased by 0.6%. In addition, the lowest DT of 87.3 min (90.9% lower than that of Group 1) and the lowest SEC of 0.81 MJ/kg (95.2% lower than that of Group 1) were obtained in Group 30. Under this processing condition, HR was 46.1% (48.2% lower than that of Group 1), WR was 22.4% (56% lower than that of Group 1) and the SR was 61.8% (33.4% lower than that of Group 1). Given that the primary purpose of MOO was to ensure the quality of walnut breaking, Group 30 was not be selected as the optimal solution. Group 7 had the highest SR of 99.8% (7.5% higher than that of Group 1), HR of 81.7% that of (8.2% lower than that of Group 1), and WR of 43.7% (14.1% lower than that of Group 1). DT decreased by 39.0%, and SEC decreased by 23.3%, relative to Group 1. The reason was that Group 7 adopted the highest possible values of IR temperature and air velocity to reduce the drying time and energy consumption. In addition, the drying rate of walnuts at the last stage of drying was extremely low. Group 7 slightly increased the moisture content, which considerably reduced the drying time and energy consumption. Group 7 reduced the drying time and energy consumption as much as possible without notably reducing the quality of walnut breaking. In conclusion, Group 7’s parameters (T = 54.9, V = 3.66, MC = 10.9, vertical loading direction) were selected as the optimal parameters for the process of drying-assisted walnut breaking.
Verification experiments were conducted under the optimal parameters to verify the optimization results. As shown in Table 6, the errors between the predicted values and the experimental data were 3.56%, 3.88%, 2.51%, 3.32%, and 3.96% for DT, SEC, HR, WR, and SR, respectively, indicating good accuracy. The ANN model optimized by the GA could accurately predict the process parameters of drying-assisted walnut breaking, and the MOO results of the GA were effective.

4. Conclusions

A process of drying-assisted walnut breaking was developed in this study. An ANN model optimized by a GA (GA-ANN) was established to simulate the effects of input variables (T, V, MC, and D) on output variables (DT, SEC, HR, WR, and SR). The GA-ANN model demonstrated sufficient prediction ability, with coefficients of determination of 0.996, 0.998, 0.990, 0.991, and 0.993 for DT, SEC, HR, WR, and SR, respectively. RMSE decreased by 32.8%, 23.14%, 10.96%, 21.99%, and 50.5% compared with those in the ANN model. On the basis of the GA-ANN model, the GA was applied to MOO of the walnut breaking process with the aim of minimizing DT and SEC and maximizing HR, WR and SR. The optimal process parameters were determined to be T = 54.9, V = 3.66, MC = 10.9, and vertical loading direction, which led to DT = 585.1 min, SEC = 12.86 MJ/kg, HR = 81.7%, WR = 43.7%, and SR = 99.8%. The model that combines ANN and GA was proven to be effective in predicting and optimizing the process parameters of walnut breaking. The predicted values under the optimized process parameters fitted the experimental data well, with low relative error values of 3.56%, 3.88%, 2.51%, 3.32%, and 3.96% for DT, SEC, HR, WR, and SR, respectively. The process of drying-assisted walnut breaking considerably improved the quality of walnut breaking and reduced the energy consumption and drying time. The ANN modeling and the method of GA MOO developed in this study could be applied to other similar commodities.

Author Contributions

Conceptualization, T.Y. and X.Z.; methodology, T.Y.; experiments, T.Y.; software, T.Y.; formal analysis, T.Y. and X.Z.; investigation, T.Y., X.Z.; validation, T.Y., X.Z., S.K.V., H.X., X.Y., Y.L., Y.Z. and J.Z.; writing—original draft preparation, T.Y.; writing—review and editing, T.Y., X.Z., S.K.V., H.X. and X.Y.; supervision, X.Z.; project administration, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the project from Xinjiang Corps Industrial and High-tech Science and Technology Research and Achievement Transformation Program (No. 2016AB003); Shihezi University Achievement Transformation and Technology Promotion Project (No. CGZH201808); National Natural Science Foundation of China (Grant No. 31960488).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, J.; Liu, M.; Wu, H.; Peng, J.; Peng, B.; Yang, Y.; Cao, M.; Wei, H.; Xie, H. Design and Key Parameter Optimization of Conic Roller Shelling Device Based on Walnut Moisture-Regulating Treatments. Agriculture 2022, 12, 561. [Google Scholar] [CrossRef]
  2. Jin, W.G.; Pei, J.J.; Wang, S.Q.; Chen, X.H.; Gao, R.C.; Tan, M.Q. Effect of continuous and intermittent drying on water mobility of fresh walnuts (Juglans regia L.): A LF-NMR study. Dry. Technol. 2020, 40, 254–264. [Google Scholar] [CrossRef]
  3. Pakrah, S.; Rahemi, M.; Nabipour, A.; Zahedzadeh, F.; Kakavand, F.; Vahdati, K. Sensory and nutritional attributes of Persian walnut kernel influenced by maturity stage, drying method, and cultivar. J. Food Process. Preserv. 2021, 45, e15513. [Google Scholar] [CrossRef]
  4. Chen, C.; Venkitasamy, C.; Zhang, W.P.; Deng, L.Z.; Meng, X.Y.; Pan, Z.L. Effect of step-down temperature drying on energy consumption and product quality of walnuts. J. Food Eng. 2020, 285, 110105. [Google Scholar] [CrossRef]
  5. Zhou, X.; Gao, H.Y.; Mitcham, E.J.; Wang, S.J. Comparative analyses of three dehydration methods on drying characteristics and oil quality of in-shell walnuts. Dry. Technol. 2018, 36, 477–490. [Google Scholar] [CrossRef]
  6. Bao, X.L.; Chen, B.Y.; Dai, P.; Li, Y.S.; Mao, J.C. Construction and verification of spherical thin shell model for revealing walnut shell crack initiation and expansion mechanism. Agriculture 2022, 12, 1446. [Google Scholar] [CrossRef]
  7. Deng, L.Z.; Xiong, C.H.; Sutar, P.P.; Mujumdar, A.S.; Pei, Y.P.; Yang, X.H.; Ji, X.W.; Zhang, Q.; Xiao, H.W. An emerging pretreatment technology for reducing postharvest loss of vegetables—A case study of red pepper (Capsicum annuum L.) drying. Dry. Technol. 2022, 40, 1620–1628. [Google Scholar] [CrossRef]
  8. Atungulu, G.G.; Teh, H.E.; Wang, T.; Fu, R.; Wang, X.; Khir, R.; Pan, Z. Infrared pre-drying and dry-dehulling of walnuts for improved processing efficiency and product quality. Appl. Eng. Agric. 2013, 29, 961–971. [Google Scholar]
  9. Martinez-Martinez, V.; Gomez-Gil, J.; Stombaugh, T.S.; Montross, M.D.; Aguiar, J.M. Moisture content prediction in the switchgrass (Panicum virgatum) drying process using artificial neural networks. Dry. Technol. 2015, 33, 1708–1719. [Google Scholar] [CrossRef]
  10. Liu, Z.L.; Nan, F.; Zheng, X.; Zielinska, M.; Duan, X.; Deng, L.Z.; Wang, J.; Wu, W.; Gao, Z.J.; Xiao, H.W. Color prediction of mushroom slices during drying using Bayesian extreme learning machine. Dry. Technol. 2020, 38, 1869–1881. [Google Scholar] [CrossRef]
  11. Liu, Z.L.; Wei, Z.Y.; Vidyarthi, S.K.; Pan, Z.L.; Zielinska, M.; Deng, L.Z.; Wang, Q.H.; Wei, Q.; Xiao, H.W. Pulsed vacuum drying of kiwifruit slices and drying process optimization based on artificial neural network. Dry. Technol. 2020, 39, 405–417. [Google Scholar] [CrossRef]
  12. Shojaeefard, M.H.; Etghani, M.M.; Akbari, M.; Khalkhali, A.; Ghobadian, B. Artificial neural networks based prediction of performance and exhaust emissions in direct injection engine using castor oil biodiesel-diesel blends. J. Renew. Sustain. Energy 2013, 4, 063130. [Google Scholar] [CrossRef]
  13. Bai, J.; Zhou, C.; Cai, J.; Xiao, H.; Gao, Z.; Ma, H. Vacuum pulse drying characteristics and moisture content prediction of pumpkin slices. Trans. Chin. Soc. Agric. Eng. 2017, 33, 290–297. [Google Scholar]
  14. Bai, J.W.; Xiao, H.W.; Ma, H.L.; Zhou, C.S. Artificial neural network modeling of drying kinetics and color changes of Ginkgo biloba seeds during microwave drying process. J. Food Qual. 2018, 2018, 3278595. [Google Scholar] [CrossRef]
  15. Liu, Z.L.; Bai, J.W.; Wang, S.X.; Meng, J.S.; Wang, H.; Yu, X.L.; Gao, Z.J.; Xiao, H.W. Prediction of energy and exergy of mushroom slices drying in hot air impingement dryer by artificial neural network. Dry. Technol. 2020, 38, 1959–1970. [Google Scholar] [CrossRef]
  16. Sun, Q.; Zhang, M.; Mujumdar, A.S.; Yang, P.Q. Combined LF-NMR and Artificial Intelligence for Continuous Real-Time Monitoring of Carrot in Microwave Vacuum Drying. Food Bioprocess Technol. 2019, 12, 551–562. [Google Scholar] [CrossRef]
  17. Winiczenko, R.; Górnicki, K.; Kaleta, A.; Martynenko, A.; Janaszek-Mańkowska, M.; Trajer, J. Multi-objective optimization of convective drying of apple cubes. Comput. Electron. Agric. 2018, 145, 341–348. [Google Scholar] [CrossRef]
  18. Raj, G.V.S.B.; Dash, K.K. Microwave vacuum drying of dragon fruit slice: Artificial neural network modelling, genetic algorithm optimization, and kinetics study. Comput. Electron. Agric. 2020, 178, 105814. [Google Scholar]
  19. Shojaeefard, M.H.; Behnagh, R.A.; Akbari, M.; Givi, M.K.B.; Farhani, F. Modelling and Pareto optimization of mechanical properties of friction stir welded AA7075/AA5083 butt joints using neural network and particle swarm algorithm. Mater. Des. 2013, 44, 190–198. [Google Scholar] [CrossRef]
  20. Zhang, W.; Wang, K.; Chen, C. Artificial Neural Network Assisted Multiobjective Optimization of Postharvest Blanching and Drying of Blueberries. Foods 2022, 11, 3347. [Google Scholar] [CrossRef]
  21. Rajendra, M.; Jena, P.C.; Raheman, H. Prediction of optimized pretreatment process parameters for biodiesel production using ANN and GA. Fuel 2009, 88, 868–875. [Google Scholar] [CrossRef]
  22. Asadi, P.; Aliha, M.R.M.; Akbari, M.; Imani, D.M.; Berto, F. Multivariate optimization of mechanical and microstructural properties of welded joints by FSW method. Eng. Fail. Anal. 2022, 140, 106528. [Google Scholar] [CrossRef]
  23. Akbari, M.; Asadi, P.; Besharati Givi, M.K.; Khodabandehlouie, G. Artificial neural network and optimization. Adv. Frict. -Stir Weld. Process. 2014, 13, 543–599. [Google Scholar]
  24. Chen, C.; Venkitasamy, C.; Pan, Z.L. Effective moisture diffusivity and drying simulation of walnuts under hot air. Int. J. Heat Mass Transf. 2020, 150, 119283. [Google Scholar] [CrossRef]
  25. Chen, C.; Upadhyaya, S.; Khir, R.; Pan, Z.L. Simulation of walnut drying under hot air heating using a nonequilibrium multiphase transfer model. Dry. Technol. 2022, 40, 987–1001. [Google Scholar] [CrossRef]
  26. Zheng, X.; Zhang, E.; Kan, Z.; Zhang, H.; Li, H.; Chou, W. Improving cracking characteristics and kernel percentage of walnut by optimal position of cutting on shell. Trans. Chin. Soc. Agric. Eng. 2018, 34, 300–308. [Google Scholar]
  27. Gulsoy, E.; Kus, E.; Altikat, S. Determination of physico-mechanical properties of some domestic and foreign walnut (Juglans regia L.) varieties. Acta Sci. Pol.-Hortorum Cultus 2019, 18, 67–74. [Google Scholar] [CrossRef]
  28. Blanco, A.; Delgado, M.; Pegalajar, M.C. A genetic algorithm to obtain the optimal recurrent neural network. Int. J. Approx. Reason. 2000, 23, 67–83. [Google Scholar] [CrossRef]
  29. Chai, Z.H.; Yang, X.; Liu, Z.L.; Lei, Y.L.; Zheng, W.H.; Ji, M.Y.; Zhao, J.F. Correlation Analysis-Based Neural Network Self-Organizing Genetic Evolutionary Algorithm. IEEE Access 2019, 7, 135099–135117. [Google Scholar] [CrossRef]
  30. Martin, T.H.; Howard, B.D. Neural Network Design, 2nd ed.; China Machine Press: Beijing, China, 2002; pp. 11–15. [Google Scholar]
  31. Kalathingal, M.S.H.; Basak, S.; Mitra, J. Artificial neural network modeling and genetic algorithm optimization of process parameters in fluidized bed drying of green tea leaves. J. Food Process Eng. 2020, 43, e13128. [Google Scholar] [CrossRef]
  32. Huang, X.; Li, Y.B.; Zhou, X.; Wang, J.; Zhang, Q.; Yang, X.H.; Zhu, L.C.; Geng, Z.H. Prediction of Apple Slices Drying Kinetic during Infrared-Assisted-Hot Air Drying by Deep Neural Networks. Foods 2022, 11, 3486. [Google Scholar] [CrossRef] [PubMed]
  33. Zhu, K.; Ren, G.; Duan, X.; Qiu, C.; Li, L.; Chu, Q.; Yu, Z. Backward Propagation (BP) Neural Network-Based Prediction of Moisture Ratio of Fresh In-shell Peanut during. Food Sci. 2022, 43, 9–18. [Google Scholar]
  34. Zhang, F.Q.; Wu, S.Y.; Wang, Y.O.; Xiong, R.; Ding, G.Y.; Mei, P.; Liu, L.Y. Application of Quantum Genetic Optimization of LVQ Neural Network in Smart City Traffic Network Prediction. IEEE Access 2020, 8, 104555–104564. [Google Scholar] [CrossRef]
  35. Ozcelik, B.; Oktem, H.; Kurtaran, H. Optimum surface roughness in end milling Inconel 718 by coupling neural network model and genetic algorithm. Int. J. Adv. Manuf. Technol. 2005, 27, 234–241. [Google Scholar] [CrossRef]
  36. Yuan, P.; Mao, J.L.; Xiang, F.H.; Liu, L.; Zhang, M.X. Fault Diagnosis of Power System Based on Improved Genetic Optimized BP-NN. Int. Conf. Eng. Technol. Appl. (ICETA) 2015, 22, 01050. [Google Scholar] [CrossRef]
  37. Jeevarathinam, G.; Pandiselvam, R.; Pandiarajan, T.; Preetha, P.; Krishnakumar, T.; Balakrishnan, M.; Thirupathi, V.; Ganapathy, S.; Amirtham, D. Design, development, and drying kinetics of infrared-Assisted hot air dryer for turmeric slices. J. Food Process Eng. 2022, 45, e13876. [Google Scholar] [CrossRef]
  38. Vimercati, W.C.; Araujo, C.D.; Macedo, L.L.; Maradini, A.M.; Saraiva, S.H.; Teixeira, L.J.Q. Influence of drying temperature on drying kinetics, energy consumption, bioactive compounds and cooking quality of pasta enriched with spinach. J. Food Process Eng. 2020, 43, e13571. [Google Scholar] [CrossRef]
  39. Liu, Z.L.; Bai, J.W.; Yang, W.X.; Wang, J.; Deng, L.Z.; Yu, X.L.; Zheng, Z.A.; Gao, Z.J.; Xiao, H.W. Effect of high-humidity hot air impingement blanching (HHAIB) and drying parameters on drying characteristics and quality of broccoli florets. Dry. Technol. 2019, 37, 1251–1264. [Google Scholar] [CrossRef]
  40. Chang, A.T.; Zheng, X.; Xiao, H.W.; Yao, X.D.; Liu, D.C.; Li, X.Y.; Li, Y.C. Short—and Medium-Wave Infrared Drying of Cantaloupe (Cucumis melon L.) Slices: Drying Kinetics and Process Parameter Optimization. Processes 2022, 10, 114. [Google Scholar] [CrossRef]
  41. Lu, Y.; Ren, G.; Duan, X.; Zhang, L.; Ling, Z. Moisture Migration Properties and Quality Changes of Fresh In-Shell Peanuts during Hot Air Drying. Food Sci. 2020, 41, 86–92. [Google Scholar]
  42. Shahbazi, F. Effects of Moisture Content and Impact Energy on the Cracking Characteristics of Walnuts. Int. J. Food Eng. 2014, 10, 149–156. [Google Scholar] [CrossRef]
  43. Man, X. Optimization of the Process Parameters of Hot-Air and Microwave-Vacuum Synergistic Drying for Walnut Shell Breaking. Master’s Thesis, Tarim University, Alaer, China, 2021. [Google Scholar]
  44. Liu, K.; Guo, W.; Zhu, Z. Study on various factors compression test of Xinfeng walnut. Food Mach. 2020, 36, 124–128. [Google Scholar]
Figure 1. The principal diagram of the air-impingement technology. (1) air velocity adjustment knob; (2) Temperature transducer; (3) temperature control touch panel; (4) centrifugal fan; (5) wet discharge valve; (6) drying outer chamber; (7) drying inner chamber; (8) infrared heating tube; (9) weephole; (10) air nozzle; (11) air outlet; (12) drying tray; (13) door.
Figure 1. The principal diagram of the air-impingement technology. (1) air velocity adjustment knob; (2) Temperature transducer; (3) temperature control touch panel; (4) centrifugal fan; (5) wet discharge valve; (6) drying outer chamber; (7) drying inner chamber; (8) infrared heating tube; (9) weephole; (10) air nozzle; (11) air outlet; (12) drying tray; (13) door.
Foods 12 01897 g001
Figure 2. Walnuts’ loading direction.
Figure 2. Walnuts’ loading direction.
Foods 12 01897 g002
Figure 3. Topology of ANN model.
Figure 3. Topology of ANN model.
Foods 12 01897 g003
Figure 4. Flow of ANN algorithm.
Figure 4. Flow of ANN algorithm.
Foods 12 01897 g004
Figure 5. Flow of GA-ANN algorithm.
Figure 5. Flow of GA-ANN algorithm.
Foods 12 01897 g005
Figure 6. Effects of T, V and MC on DT and SEC. (a) Air velocity was 3 m/s and moisture content was 15%. (b) IR temperature was 50 °C and moisture content was 15%. (c) IR temperature was 50 °C and air velocity was 3 m/s. Note: different letters of columns of same color indicate significant differences between the mean values (p < 0.01).
Figure 6. Effects of T, V and MC on DT and SEC. (a) Air velocity was 3 m/s and moisture content was 15%. (b) IR temperature was 50 °C and moisture content was 15%. (c) IR temperature was 50 °C and air velocity was 3 m/s. Note: different letters of columns of same color indicate significant differences between the mean values (p < 0.01).
Foods 12 01897 g006
Figure 7. Effects of T, V, MC and DT on HR and WR. (a) Air velocity was 3 m/s, moisture content was 15% and loading direction was Longitudinal. (b) IR temperature was 50 °C, moisture content was 15% and loading direction was Longitudinal. (c) IR temperature was 50 °C, air velocity was 3 m/s and loading direction was Longitudinal. (d) IR temperature was 50 °C, air velocity was 3 m/s and moisture content was 15%. Note: different letters of columns of the same color indicate significant differences between the mean values (p < 0.01).
Figure 7. Effects of T, V, MC and DT on HR and WR. (a) Air velocity was 3 m/s, moisture content was 15% and loading direction was Longitudinal. (b) IR temperature was 50 °C, moisture content was 15% and loading direction was Longitudinal. (c) IR temperature was 50 °C, air velocity was 3 m/s and loading direction was Longitudinal. (d) IR temperature was 50 °C, air velocity was 3 m/s and moisture content was 15%. Note: different letters of columns of the same color indicate significant differences between the mean values (p < 0.01).
Foods 12 01897 g007
Figure 8. Effects of T, V, MC and DT on SR. (a) Air velocity was 3 m/s, moisture content was 15% and loading direction was Longitudinal. (b) IR temperature was 50 °C, moisture content was 15% and loading direction was Longitudinal. (c) IR temperature was 50 °C, air velocity was 3 m/s and loading direction was Longitudinal. (d) IR temperature was 50 °C, air velocity was 3 m/s and moisture content was 15%. Note: different letters of columns of the same color indicate significant differences between the mean values (p < 0.01).
Figure 8. Effects of T, V, MC and DT on SR. (a) Air velocity was 3 m/s, moisture content was 15% and loading direction was Longitudinal. (b) IR temperature was 50 °C, moisture content was 15% and loading direction was Longitudinal. (c) IR temperature was 50 °C, air velocity was 3 m/s and loading direction was Longitudinal. (d) IR temperature was 50 °C, air velocity was 3 m/s and moisture content was 15%. Note: different letters of columns of the same color indicate significant differences between the mean values (p < 0.01).
Foods 12 01897 g008
Figure 9. Experimental data and predicted values of the GA-ANN model: (a) drying time; (b) specific energy consumption; (c) high kernel rate; (d) whole kernel rate, and (e) shell-breaking rate.
Figure 9. Experimental data and predicted values of the GA-ANN model: (a) drying time; (b) specific energy consumption; (c) high kernel rate; (d) whole kernel rate, and (e) shell-breaking rate.
Foods 12 01897 g009aFoods 12 01897 g009b
Table 1. Parameters of genetic algorithm.
Table 1. Parameters of genetic algorithm.
Population TypeDouble Vector
variable range(−3, 3)
Population size200
Number of generations1000
Crossover rate90%
Mutation rate10%
Table 2. The parameters of GAMULTIOBJ function.
Table 2. The parameters of GAMULTIOBJ function.
Population TypeDouble Vector
Pareto front population fraction0.3
Population size120
Number of generations1000
Crossover rate90%
Mutation rate10%
Table 3. Simulation results of different ANN topologies (shaded group is the optimal topology; bold font indicates the optimal solution).
Table 3. Simulation results of different ANN topologies (shaded group is the optimal topology; bold font indicates the optimal solution).
GroupTransfer Function of the Hidden LayerNumber of Neurons in the Hidden LayerDTSECHRWRSR
R2RMSER2RMSER2RMSER2RMSER2RMSE
1Tansig20.6101870.91700.78090.72623.60530.83482.46550.76953.4578
230.7330700.94300.69300.84902.76260.90291.93110.86802.9473
340.8053620.92900.53730.89532.20880.92841.61610.90342.6510
450.8455500.91130.52880.91982.24770.93771.55350.92312.5961
560.8688420.91720.48200.93312.09870.94111.38930.92312.8564
670.8858380.92340.48680.94301.97510.94741.35140.92452.5263
780.8965360.92040.48760.95091.94540.95221.31700.92462.6684
890.9030370.92610.45570.95611.89200.95601.24820.92142.3708
9100.9113360.92560.48390.95891.94810.95561.33080.92072.4248
10110.9176340.92760.47940.96191.72210.95701.15310.91582.3483
11120.9207370.92960.46420.96331.79370.95731.29950.8982.4721
12130.9018380.92480.47820.96101.82380.95681.32100.91032.5131
13Logsig20.8142680.95840.82370.87404.27390.81353.12250.81504.1104
1430.8468580.91970.89940.89153.02640.84132.41660.85643.9061
1540.8762480.93280.54490.91272.46170.87341.91240.86433.3415
1650.9010440.93850.51400.93382.12320.89801.68160.88763.0413
1760.9170430.94780.44580.94572.08330.91981.61320.91203.0922
1870.9271360.95390.43630.96001.83850.93841.44480.93202.9298
1980.9338380.95820.39430.96202.07490.94111.46630.93592.8583
2090.9363360.96200.37950.96821.67620.95191.26270.94092.6781
21100.9412300.96500.41180.97201.74080.96041.33960.94682.7705
22110.9459340.96650.35510.97601.65230.96511.24360.94902.7766
23120.9500330.96820.36310.97861.65210.96951.18690.95552.5246
24130.9432350.96410.37280.97311.72390.95431.21650.94612.6987
Types of activation functions Tansig ( x ) = 2 1 + exp ( 2 x )   logsig ( x ) = 1 1 + exp ( x )
Table 4. Comparison results between BP model and GA-ANN model.
Table 4. Comparison results between BP model and GA-ANN model.
AlgorithmDTSECHRWRSR
R2RMSER2RMSER2RMSER2RMSER2RMSE
BP0.950330.9680.3630.9791.6520.9701.1870.9562.525
GA-ANN0.99622.1760.9980.2790.9901.4710.9910.9260.9931.250
Error (%) 32.8 23.14 10.96 21.99 50.5
Table 5. Pareto optimal set (shaded groups are the optimum sets in the Pareto front).
Table 5. Pareto optimal set (shaded groups are the optimum sets in the Pareto front).
Pareto IDT (°C)V (m/s)MCDDT (min)SEC (MJ/kg)HRWRSR
151.51.0410.02958.416.7789.050.992.8
253.31.2010.12888.516.4988.950.493.6
347.01.0110.021082.216.7888.851.289.5
444.71.5011.12974.014.7786.248.486.8
552.53.5923.22137.91.8448.824.968.2
643.11.0210.021193.416.7888.751.285.3
754.93.6610.93585.112.8681.743.799.8
854.93.9820.33181.42.7858.632.184.8
954.73.9721.32157.22.3354.128.875.7
1049.61.0110.021012.016.7988.951.091.6
1153.43.8317.42264.84.7069.238.385.3
1254.73.8523.92109.61.2947.823.866.1
1354.23.2525.03103.91.0856.829.369.3
1452.52.2716.02407.97.4575.941.687.3
1554.93.1317.02299.75.6572.339.587.0
1650.62.1610.22847.715.4887.549.192.9
1747.71.9712.82696.311.6882.545.488.3
1854.93.8224.22102.81.1547.323.364.6
1952.52.9212.92535.310.5482.144.991.9
2043.61.3914.22729.810.6480.244.082.1
2149.83.3812.42573.710.8582.044.691.3
2243.61.0210.121169.316.6588.651.085.8
2347.31.7510.92901.014.8086.448.589.7
2450.43.7117.22299.85.1169.538.484.0
2552.93.6520.43200.63.0658.632.283.5
2652.52.7416.62353.56.3973.340.386.3
2752.72.0315.72436.68.0377.242.387.9
2855.03.9823.32116.81.4548.724.768.5
2954.93.9323.02123.31.6049.425.269.6
3055.03.9925.0287.30.8146.122.461.8
Table 6. Prediction and validation results of five response variables under the optimal parameters.
Table 6. Prediction and validation results of five response variables under the optimal parameters.
ResultsOperating ConditionsResponse Variables
T (°C)V (m/s)MCDDT (min)SEC (MJ/kg)HRWRSR
Prediction54.93.6610.93585.112.8681.743.799.8
validation54.93.6610.9356512.3883.845.296
Error (%) 3.563.882.513.323.96
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

Yang, T.; Zheng, X.; Vidyarthi, S.K.; Xiao, H.; Yao, X.; Li, Y.; Zang, Y.; Zhang, J. Artificial Neural Network Modeling and Genetic Algorithm Multiobjective Optimization of Process of Drying-Assisted Walnut Breaking. Foods 2023, 12, 1897. https://doi.org/10.3390/foods12091897

AMA Style

Yang T, Zheng X, Vidyarthi SK, Xiao H, Yao X, Li Y, Zang Y, Zhang J. Artificial Neural Network Modeling and Genetic Algorithm Multiobjective Optimization of Process of Drying-Assisted Walnut Breaking. Foods. 2023; 12(9):1897. https://doi.org/10.3390/foods12091897

Chicago/Turabian Style

Yang, Taoqing, Xia Zheng, Sriram K. Vidyarthi, Hongwei Xiao, Xuedong Yao, Yican Li, Yongzhen Zang, and Jikai Zhang. 2023. "Artificial Neural Network Modeling and Genetic Algorithm Multiobjective Optimization of Process of Drying-Assisted Walnut Breaking" Foods 12, no. 9: 1897. https://doi.org/10.3390/foods12091897

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