Introduction

Water resources are declining in many regions of the world. Due to climate change, increased air temperatures, and reduced precipitation, we will face a decline in water resources in the future1, 2. Iran is an arid and semi-arid region in terms of climate, the amount of rainfall, and the limitations of water resources in this region. Optimal use of available water resources is an important goal of water conveyance and distribution systems. Surface irrigation is one of the most common irrigation methods in the world. More than 95% of the agricultural land in Iran is currently under the surface irrigation method. Despite the complexity of this irrigation method, researchers and users have not paid much attention to it. The current efficiency of surface irrigation in Iran is estimated at less than 35%1, 3, 4. Surface irrigation is easy and needs inexpensive equipment to convey and distribute water in different areas. The maintenance and operation costs of the surface irrigation method are lower than other methods. Surface irrigation is performed according to topography and product type with different methods, including basin irrigation (BI) and two-sided furrow irrigation (TSFI). Due to the limited facilities for developing irrigated agriculture, increasing water-use efficiency by managing the irrigation and productivity of existing water and soil resources is necessary4, 5. Considering the excessive consumption of water resources, especially in the agricultural part of Lake Urmia, it is essential to precisely estimate the water-use efficiency (WUE) and yield by using optimal irrigation methods combined with artificial intelligence methods. WUE is an essential factor for identifying the adaptability of crops in water-limited regions under current climate conditions and future global changes6,7,8,9,10,11,12,13. In addition, yield prediction, particularly strategic products is an interesting research topic for agricultural meteorologists due to the importance of national and international economic planning.

In the recent decade, researchers have evaluated the yield and WUE in orchards according to irrigation management and different surface irrigation methods14,15,16,17,18. Osman19 stated that weak design and improper irrigation management in surface irrigation are the main reasons for low water-use efficiency. Lampinen et al.20 investigated soil and plant data and evapotranspiration for irrigation management of walnut trees in California, USA. Fernandes-Silva21 by examining the effect of different irrigation regimes (dryland irrigation with 30% and 100% water requirement) on yield and WUE of olive, reported that crop evapotranspiration (ETc) is the most influential parameter in changes in fruit yield. Dahikar and Rode22 proved that artificial neural networks (ANNs) have good efficiency in estimating crop yield. Dzikiti et al.23 estimated the water requirement of young and productive apple orchards in South Africa using the evapotranspiration model. Their findings confirmed that this model offers reasonable estimates in mature and young gardens. Emami and Choopan24 estimated barley yield using radial basis function (RBF) and feed-forward neural (GFF) models in Torbat Heydariyeh, located in southeastern Iran. The results showed that the RBF model with the input parameter of irrigation water levels could better estimate the barley yield. Bang et al.25 by comparing fuzzy logic, ARMA, SARIMA, and ARMAX methods, concluded that the fuzzy logic method has an excellent ability to predict crop yield. Kumar et al.26 used the random forest (RF) model to estimate crop yield. The results showed that the RF algorithm has a high capability in estimating crop yield by considering the minimum number of parameters. Sharifi27 proved that the Gaussian process regression algorithm has the best performance in estimating barley yield. Prasad et al.28 used the random forest algorithm for estimating cotton crops for the regional level. The results indicated that the RF model had a high potential in predicting crop yield. Dehghanisanij et al.29 reported irrigation-fertilizer and crop variety parameters are the most effective parameters in estimating yield and water productivity of tomato crops.

According to the above-mentioned studies, climatic factors are effective parameters affecting the yield and WUE. Given the complexity of the impact of climatic factors on plant growth, it is necessary to estimate its effects. In this paper, a new irrigation method referred to as narrow strip irrigation (NSI) was introduced to reduce applied water in apple orchards. Then, a hybrid predictive method based on adaptive neuro-fuzzy inference system (ANFIS) and season optimization (SO) algorithm is proposed to estimate WUE and yield. To summarize, the contributions o this paper are as follows:

  • Introducing the narrow strip irrigation (NSI) method for the first time and estimate its WUE and yield parameters. The NSI method reduces the growth of weeds and prevents the penetration of water outside the shade of the tree.

  • Introducing the hybrid SO-ANFIS method to estimate the WUE and yield parameters of the NSI irrigation method. The SO-ANFIS takes the advantages of both SO algorithm and ANFIS methods.

  • Evaluating the SO-ANFIS method on a benchmark dataset and compared it with state-of-the-art WUE and yield estimation methods. The results justify that the proposed SO-ANFIS outperformed its counterparts in terms of performance measures.

The remaining part of this paper is organized as follows. Section “Materials and methods” describes the test case and the working principle of the proposed approach. In section “Results and discussion”, the results and discussions are presented. Section “Conclusion” concludes the paper and presents some suggestions for future work.

Materials and methods

Test case

This study was conducted in the agricultural lands of Dolatabad village located in Miandoab region. Miandoab is a city in the northwest of Iran located in the southeast of Lake Urmia. The geographical coordinates of Miandoab are 46° 2′ N and 36° 58′ E at 1314 m above sea level (Fig. 1). In this region, the weather is variable, with relatively hot summers and cold winters. Miandoab is a significant agricultural region in West Azerbaijan province. The main crops in Miandoab are wheat, barley, sugar beet, corn, and apple orchards.

Figure 1
figure 1

Study area on the map, the graph is plotted in in ESRI ArcGIS Desktop 10.8.2.28388 software [https://www.esri.com/en-us/arcgis/about-arcgis/overview].

Field studies and sampling

In this study, a total of 120 field data from two farms under study (M1 and M2 farms in Fig. 1) were collected. This data set was randomly divided into two parts; 80% of the data was used for model training and the remaining 20% for tests. Soil sampling was performed from the end of the tree shading surface and three depths of 0–30 cm, 30–60 cm, and 60–90 cm. Three types of irrigation methods including BI, NSI, and TSFI, were considered. The cultivars studied were Golden Delicious. The distances of the trees were 6 × 6 m2. The dimensions of the control and treatment strips were 3.6 × 6 m2 and 6 × 6 m2, respectively. The irrigation interval was considered equal to 10–15 days based on the climate condition to ensure an optimal outcome. The crop was harvested on September 30, 2021.

Water-use efficiency

WUE can be defined as (Eq. 1)30.

$$WUE = \frac{{Y\,({\text{usually}}\,{\text{economical}}\,{\text{yield}})}}{{{\text{applied}}\,{\text{water }}(P_{e} + \, I + \, SW)}}$$
(1)

where \(Y\) denotes the economical yield was measured base on the delivered product to the market, \(I\) is irrigation water measured using a WSC flume, Pe is effective rainfall and \(SW\) indicates soil water depletion from the root zone during the growing season. The SW is estimated based on the water balance at the selected farm.

Improving the economic water use efficiency at the farm level requires better adaptation and coordination of water use according to the needs of products at the time and amount of its use, which ultimately improves crop yield. This is possible by using new emerging technology and applying better management methods. Applying new management methods in planning for planting, irrigation, and using other inputs plays an effective role in achieving high WUE. Chemical and physical analyses of soil and fertilizers used are presented in Tables 1, 2 and 3.

Table 1 Physical and chemical analysis of soil at a depth of 0–90 cm.
Table 2 Physical and chemical characteristics of the soil.
Table 3 Amounts of fertilizer used in an apple orchard.

Application efficiency

Application efficiency (AE) indicates losses in the farm in the form of deep infiltration and runoff at the end of the farm. At each irrigation interval, AE is calculated as follows43:

$$AE = \frac{{D_{z} }}{{ \, D_{app} }} \times 100$$
(2)

where Dz shows the average water storage in the root zone depth (mm) and Dapp is the average depth of water entering the irrigated area. Dapp is defined as

$$D_{app} = \frac{V}{ \, A}$$
(3)

where V is the volume of inlet flow to the irrigated area (lit) and A indicates the irrigated area (m2).

Irrigation methods

Narrow strip irrigation

In the NSI method, the entire orchard surface is not irrigated, and evaporation losses are minimized. Therefore, the daily water requirement of the tree is mainly limited to the amount of transpiration from the aerial parts exposed to sunlight. Plant shading level is one of the critical factors in calculating the water requirement of trees. This parameter is determined experimentally in terms of the type and age of the plant (between 50 and 70%)31. Overall, in the NSI, the main area where transpiration occurs is the shading level. In the NSI method (Fig. 2), a space is created in the middle of the trees row in orchards. This area is dry during irrigation, and applied water is reduced due to the lack of weed growth and water evaporation from this area. In the NSI, the following equation is used to calculate the daily water requirement of the plant31:

$$R_{r} = {\mkern 1mu} ET_{c} = \left( {h_{s} + 0.15(1 - \, h_{s} )} \right){\mkern 1mu}$$
(4)

where \(R_{r}\) is the maximum daily water requirement (mm/day), \(ET_{c}\) is the maximum daily evapotranspiration (mm/day), and \(h_{s}\) is the maximum shading level (%). According to the studies, the shading level for trees is 50–70% in the optimal state31. In this study, the shading level of apple trees was determined based on age and crown environment.

Figure 2
figure 2

Schematic of NSI method.

Two-sided furrow irrigation

In the TSFI method, water moves inside the furrow on both sides of the trees and deep in the soil irrigates the root development area vertically and laterally (Fig. 3). This method tries to wet the soil surface less. The water is directed by two furrows created on either side of the rows of trees. The distance of the furrows from the rows of trees varies depending on the distance between the rows of trees, soil texture, and age of the trees. By performing furrow irrigation, two dry parts are created in the orchard. These arid areas form one along the rows of trees and the other between the furrows in the middle of the rows of trees. Try to prevent weeds from growing in dry areas as much as possible with tools such as garden tractors, cultivators, or retractors. In fact, the existence of these arid areas and the lack of weed growth and water evaporation from these arid areas, which play a role in the real reduction of water consumption. If these two arid areas are full of weeds, water consumption will not be really saved and only the irrigation efficiency will increase due to the movement of water in the furrows32.

Figure 3
figure 3

Schematic of TSFI method.

Basin irrigation

BI is a method in which water penetrates the soil permanently or intermittently, and the soil is permanently submerged (Fig. 4). In basin irrigation, water penetrates the crown area of the plant, and the problem of clogging heavy soils and reducing soil aeration occurs32.

Figure 4
figure 4

Schematic of BI method.

In general, in the NSI method, compared to the TSFI and BI methods, the water in the shade of the tree travels in a straight path at the same width and travels to the next tree. In this method, water penetration is prevented outside the shade of the tree, and conditions for weed growth will not be provided.

Season's optimization (SO) algorithm

The SO algorithm is a population-based optimization meta-heuristic33. It models the growing process of trees in four seasons of a year. Figure 5 illustrates the flowchart of the SO algorithm. The SO is an iterative algorithm in which each agent is called a tree. For solving an optimization problem, the algorithm starts its process with a population referred to as a forest. Each member of the population is called a tree which denotes a potential solution for the given problem. For an optimization problem \(f(X) = f(x_{1} ,x_{2} ,...,x_{D} )\) with D dimensions, the initial forest F is initialized as follows33:

$$\begin{aligned} F & = [T_{1} ,T_{2} ,...,T_{N} ] \\ T_{i} & = [t_{i1} ,t_{i2} ,...,t_{iD} ] \\ t_{ij} & = l_{ij} + r_{ij} \cdot (u_{ij} - l_{ij} ) \\ \end{aligned}$$
(5)

where is \(r_{ij}\) a random number in the interval [0, 1] generated by the uniform distribution \(u_{ij}\) and \(l_{ij}\) are the upper and lower bounds of \(t_{ij}\), respectively. The fitness of each tree is evaluated by a strength function.

$$S_{i} = S(T_{i} ) = S(t_{i1} ,t_{i2} ,...,t_{iD} )$$
(6)

The algorithm updates the trees using four operators, including renew, competition, seeding, and resistance. The renew phase models the impact of the spring on the growth of trees. The following equations are defined to model the renew phase mathematically:

$$\begin{aligned} F^{y + 1} & = \{ F^{y} \} + \{ R\} \\ R & = \Phi (p_{r} \times A^{y} ) \\ \end{aligned}$$
(7)

where R indicates the set of new seedlings, \(F^{y}\) shows the forest at the yth iteration, \(A^{y}\) is the number of seeds generated in the previous autumn and \(p_{r}\) is the renew rate. The function \(\Phi\) randomly produces some seedlings in various locations of the forest. The algorithm does not execute the renew phase in the generation y = 0.

Figure 5
figure 5

Flowchart of the SO algorithm.

The competition phase modes the growth of trees in the summer. In this phase, the trees compete with their neighbor trees on shared resources, including nutrients, water, light, and other resources. To simulate the competition process, first \(N_{c}\) most vital trees are identified. The number of neighbors of a cored tree is calculated as follows33:

$$\begin{aligned} N_{c} & = \left\lceil {p_{c} \times N} \right\rceil \\ Z_{i} & = \left\lceil {\tau_{i} \times N_{g} } \right\rceil \\ N_{g} & = (N - N_{c} ) \\ \end{aligned}$$
(8)

\(\tau_{i}\) is the normalized fitness of Ti, which is calculated as follows:

$$\tau_{i} = (S_{i} - \min (I))/\left( {\sum\limits_{k = 1}^{N} {S_{k} } } \right),\;\;\;I = \left\{ {S_{k} |k = 1,\;2,\; \ldots ,\;N} \right\}$$
(9)

Then, \(Z_{i}\) neighbors are elected to create the neighborhood zone. To simulate the impact of the competition on a neighbor \(T_{i}\), the below relationship is defined:

$$\begin{aligned} & T_{j}^{y + 1} = \frac{1}{{\Lambda_{j} + 1}} \times \varphi (T_{j}^{y} ) \\ & {\text{where}} \\ & \varphi (T_{j}^{y} ) = T_{j}^{y} + \theta \\ & \Lambda_{j} = \sum\limits_{k = 1}^{{Z_{i} }} {S_{k} \times \Delta_{j,k}^{ - 2} \times \lambda_{j,k} } \\ & \Delta_{j,k} = \sqrt {\sum\limits_{z = 1}^{D} {(T_{jz} - T_{kz} )^{2} } } \\ & \lambda_{j,k} = \left\{ {\begin{array}{*{20}l} 1 \hfill & {{\text{if}}(S_{k} \ge S_{j} )} \hfill \\ {1 - \gamma } \hfill & {else} \hfill \\ \end{array} } \right. \\ \end{aligned}$$
(10)

where \(T_{j}^{y}\) is the location of \(T_{j}\) in the generation y. \(\Lambda_{j}\) is the value of competition index or crowdedness, which computes the effect of the neighbors on \(T_{j}\). D shows the number of variables of trees. The function \(\varphi (.)\) calculates the growth of \(T_{j}\) in the same environment when its neighbors are ignored. \(S_{k}\) indicates the strength/ fitness of the kth neighbor tree, \(\Delta_{j,k}\) is the distance between \(T_{j}\) and the kth neighbor, the variable \(\lambda_{j,k}\) is the effect of the neighbor on the growth of the tree \(T_{j}\). The parameter \(\gamma \in [0,1]\) is a random asymmetry index, which shows the value to which the impact of relatively weak neighbor is decreased33.

The new location of the cored tree \(T_{i}\) is calculated as

$$T_{i}^{y + 1} = \left\{ {\begin{array}{*{20}c} {T^{*} } & {{\text{if}}\;\;S(T_{i}^{y} ) \le S(T^{*} )} \\ {T_{i}^{y} } & {{\text{if}}\;\;S(T_{i}^{y} ) > S(T^{*} )} \\ \end{array} } \right.$$
(11)

where \(T^{*}\) shows the strongest neighbor tree around \(T_{i}\).

The seeding phase is inspired by the seeding mechanism of trees in the autumn. In this phase, several trees are randomly selected and participate in the seeding phase. The number of seeds (A) at each generation is calculated as

$$A = \psi (p_{s} \times N)$$
(12)

where \(p_{s}\) indicates the seeding rate, which is a uniform random number. The \(\psi\) function identifies the fittest trees from the population. From each tree \(T_{i}\) selected in the seeding phase, several elements are randomly identified, and their current values are updated with new random deals in the boundary of search space. Let m be a random number, and \(\{ t_{i1} ,t_{i2} ,...,t_{im} \}\) are the elements selected from \(T_{i}\), where \(m < D\). Each component \(t_{ij} \in T_{i}\) is calculated as

$$t^{\prime}_{j} = t_{j} + \ell \times r$$
(13)

\(\ell\) is a two-valued variable, either 1 or − 1, and \(r \in [l_{j} ,\;u_{j} ]\) is a random number.

The resistance phase simulates the resistance of the trees against harsh winter cold. The resistance operator removes the least-strength trees from the population. This operator is mathematically modeled as follows:

$$\begin{aligned} F^{y + 1} & = \{ F^{y} \} - \{ W\} \\ W & = \chi (p_{w} \times N) \\ p_{w} & = 1 - (1 - p_{s} ) \\ \end{aligned}$$
(14)

where W is the collection of weak trees. \(\chi (.)\), removes \(p_{w} \times N\) trees from the forest, \(p_{s}\) is the resistance rate.

When the stopping measures are met, the algorithm updates the trees in the population by iteratively applying to renew, competition, seeding, and resistance operators. Finally, the fittest tree is identified as the optimal solution33.

Adaptive neuro-fuzzy inference system (ANFIS)

The ANFIS integrates the artificial neural networks (ANNs) and fuzzy inference system (FIS)34. The ANFIS combines the advantages of both FIS and ANNs. The ANFIS system has high adaptation and fast learning capacity, captures the non-linear structure of processes, and causes less memorization. These characteristics make the ANFIS the best choice for predictive problems such as WUE and yield estimation problems. The ANFIS has been used successfully in various fields including mechanical design problems, chemical processes, data mining applications, communications, economics, geotechnical engineering problems, scheduling problems, and many other engineering problems.

In ANFIS, the relationship between inputs and outputs and the best values for the parameters related to the membership functions are identified by the fuzzy section and ANNs, respectively. The structure of ANFIS is determined considering the input data, rules, functions of the output membership function, and the membership degree. The ANFIS system with five layers is shown in Fig. 6. In the first layer, the level of dependence of each input data on different fuzzy domains is determined. The weight of the rules is obtained by multiplying the input values of each node in the second layer. The computation of the importance of regulations is carried out in the third layer. The rules layer is created by performing operations on the input signals described by the fourth layer. The network output is indicated by the fifth layer. ANFIS has n rules and m input components. Each rule \(R_{i}\) is represented as follows:

$$R_{i} {\text{: if (}}x_{1} {\text{ is }}q_{i1} ){\text{ and (}}x_{2} {\text{ is }}q_{i2} )\,\,\,{\text{and}}\,\,...\,\,\,(x_{m} \,\,{\text{is}}\,\,\,q_{im} )\,\,\,{\text{then}}\,\,{\text{output = }}\,f_{i}$$
(15)

where \(x_{j} \,\) indicates the jth input \(q_{ij}\) indicates the membership function of the rule on \(x_{j} \,\), fi is the output of rule, The output of the network is presented as follows:

$$f(x) = \frac{{\sum\limits_{i = 1}^{n} {\mu_{i} f_{i} } }}{{\sum\limits_{i = 1}^{n} {\mu_{i} } }}$$
(16)

where \(\mu_{{\text{i}}}\) indicates the activation degree of the rule. Each node has a function with adjustable parameters. \(\mu_{{\text{i}}}\) is defined as follows:

$$\mu_{{\text{i}}} { = }\prod\limits_{j = 1}^{m} {q_{ij} } (x_{j} )$$
(17)

In the current implementation of ANFIS, we used the Gaussian membership functions, which is defined as follows:

$$q_{ij} (x) = \exp \left[ {\frac{1}{2}\left[ {\frac{{x - c_{ij} }}{{\sigma_{ij} }}} \right]^{2} } \right]$$
(18)

where \(c_{ij}\) and \(\sigma_{ij}\) are the center and standard deviation of the Gaussian membership function, respectively. Gaussian membership function is a popular method for specifying fuzzy sets because of its smoothness and concise notation. Five factors should be determined in designing ANFIS, the number and type of input and output fuzzy sets, the number of iterations, and the optimization method. The SO algorithm was used to optimize the parameters of the ANFIS membership function. In this paper, the fuzzy c-means clustering (FCM) is used to create fuzzy inference system which obtained superior results in the literature.

Figure 6
figure 6

A big picture of the ANFIS system with two inputs.

SO-ANFIS model

Two structural parameters of the ANFIS system are antecedent and consequent parameters. For tuning these parameters, researchers often used gradient-based techniques. The main drawback of the gradient-based methods is the low convergence rate and trapping in local optima. Meta-heuristic algorithms can be used as efficient alternatives to overcome the limitations of gradient-based methods in training the ANFIS model. To train the ANFIS system using the SO algorithm, two issues need to be determined: strength function and the boundary of variables. In this study, root means square error (RMSE) is used as a strength function for evaluating the performance of the ANFIS system. Assume the following relationship:

$$\begin{aligned} {\text{R}}_{{\text{i}}} & {\text{: if }}I_{r} {\text{ is }}q_{1} {(}\sigma_{1i} ,\,c_{1i} ){\text{ and }}T_{emp} {\text{ is }}q_{2} {(}\sigma_{2j} ,\,c_{2j} )\,\,{\text{and}}\,\,P_{e} \,\,{\text{is }}q_{3} {(}\sigma_{3l} ,\,c_{3l} )\,{\text{ and}} \\ & \quad RH_{avg} {\text{ is }}q_{4} {(}\sigma_{4k} ,\,c_{4k} )\,\,\,{\text{and }}S_{sh} {\text{ is }}q_{5} {(}\sigma_{5t} ,\,c_{5t} ){\text{ then}} \\ y_{i} & = s_{1} I_{r} + s_{2} T_{emp} + s_{3} P_{e} + s_{4} RH_{avg} + s_{5} S_{sh} + s_{6} \\ \end{aligned}$$
(19)

The input variables are water consumption during the growing season (Ir), temperature (Temp), average relative humidity (RHavg), the amount of solar radiation in terms of sunshine hours (Ssh), and the rainfall (Pe) of each month of the growing season. The model parameters that need to be configured are \(\sigma ,\,c,\,s_{1} ,\,s_{2} ,\,s_{3} ,s_{4} ,s_{5} ,s_{6}\). The variables \(s_{1} ,\,s_{2} ,\,s_{3} ,s_{4} ,s_{5} ,s_{6}\) are consequent parameters, which should be measured during the ANFIS training process. The optimal values for parameters \(c\) and \(\sigma\) is measured by the SO algorithm. To identify the value of parameters \(c\) and \(\sigma\), first, a forest composed of several trees is initiated. Each tree contains candidate values for the ANFIS parameters. The trees are updated iteratively using four operators (renew, competition, seeding, and resistance). This process iterates for a pre-determined number of generations (Fig. 7).

Figure 7
figure 7

Flowchart of the SO-ANFIS.

Performance Criteria

In the present study, R2, RMSE, SI, δ, and NSE indices were applied to appraise the ability of the introduced hybrid method35:

$$R^{2} = \left[ {\frac{{\mathop \sum \nolimits_{i = 1}^{n} \left( {w_{i} - \overline{w} } \right)(z_{i} - \overline{z} )}}{{\mathop \sum \nolimits_{i = 1}^{n} \sqrt {(w_{i} - \overline{w} )^{2} } \mathop \sum \nolimits_{i = 1}^{n} \sqrt {(z_{i} - \overline{z} )^{2} } }}} \right]^{2}$$
(20)
$$RMSE = \sqrt {\frac{1}{n}\sum\limits_{i = 1}^{n} {\mathop {(\mathop w\nolimits_{i} - \mathop z\nolimits_{i} )}\nolimits^{2} } }$$
(21)
$$SI = \frac{RMSE}{{\overline{w} }}$$
(22)
$$\delta \% = \frac{{\sum\limits_{i = 1}^{n} {\left| {(\mathop z\nolimits_{i} - \mathop w\nolimits_{i} )} \right|} }}{{\sum\limits_{i = 1}^{n} {\mathop w\nolimits_{i} } }} \times 100$$
(23)
$$NSE = 1 - \frac{{\sum\limits_{i = 1}^{n} {(w_{i} - \mathop z\nolimits_{i} )^{2} } }}{{\sum\limits_{i = 1}^{n} {(w_{i} - \overline{z} )^{2} } }}$$
(24)

\(w_{i}\) and \(z_{i}\) are the observed and predicted values of yield and WUE, respectively. \(\overline{w}\) and \(\overline{z}\) are average observed and predicted values of yield and WUE, respectively.

Results and discussion

Field monitoring

Table 4 and Fig. 8 present the results of irrigation depth, inlet flow, net irrigation requirement, and AE in research treatments. The first irrigation has the lowest WUE due to the dryer soil surface and impacts of tillage operations. Deep penetration losses are primarily due to the excellent permeability of the soil. The application efficiency increased to 21.4% due to the NSI method and irrigation time management compared to the two-sided irrigation method. Irrigation depth increased in treatment BI from the first to fourth irrigation event because of the loss of large amounts of water as deep infiltration and the scarcity of soil moisture increases at the point of root access. By increasing the irrigation depth, application efficiency decreased accordingly.

Table 4 Mean valuesof irrigation characteristics in research treatments.
Figure 8
figure 8

Comparison of application efficiency (AE) and Irrigation depth (Ig) in different treatments BI, NSI, and TSFI.

Based on the results, the average increase in application efficiency in NSI compared to BI is about 62.40%. The amount of applied water in the NSI method was 3455 m3/ha, which indicates a reduction of 42.80% and 22.70% of applied water in NSI treatment compared to BI and TSFI treatments (Fig. 9). The decreases were mainly attributed to the less soil surface wetted area, which was minimum in NSI and NSI < TSFI < BI.

Figure 9
figure 9

Comparison of total applied water in different treatments.

The estimated yield in BI, NSI, and TSFI treatments was 30,000 kg/ha, 35,000 kg/ha, and 32,000 kg/ha, respectively. Higher yield in NSI and TSFI attributed to the soil moisture condition. The yield of NSI and TSFI treatments compared to the BI treatment was 14.30% and 6.25%, respectively, and in comparison with each other, increased by 8.57% (treatment NSI compared to treatment TSFI) (Table 5). The estimated WUE in NSI and TSFI treatments was 7.14 kg/m3 and 5.24 kg/m3, respectively (Table 5).

Table 5 Yield and WUE in research treatments.

Effect of soil properties

The results of descriptive statistics are shown in Table 6. Based on36 classification, the variation coefficient (CV), less than 15% shows low changes, between 15 and 35% moderate changes, and more than 35% great changes. According to this classification, soil sand content, tree age, and irrigation interval have moderate changes, soil acidity has low changes, and other variables have great changes (due to management factors). Absorbable phosphorus concentration at a depth of 30–60 cm in the soil is the most influential parameter for crop yield. The results of the present study are consistent with37, 38 studies. Elimination of tree irrigation at different growth periods reduces the quality and quantity of crop yield. Sedaghati et al.28, 37 concluded that increasing the irrigation interval from 25 to 45 days increased the percentage of porosity. According to studies, water flow and irrigation interval have a positive effect on crop yield38. Therefore, reducing the irrigation interval with methods such narrow strip38 can be considered as one of the management methods. Increasing the percentage of sand reduces the soil's ability to retain water and nutrients used by the plant. The age of the trees in this area is high, and with the increase of the tree's age, its ability to grow and produce its production gradually decreases.

Table 6 The results of descriptive statistics.

Modeling results

Investigating the effect of input combinations

Yield and WUE of apple trees depend on various factors, including water consumption during the growing season (Ir), climatic factors including temperature (Temp), average relative humidity (RHavg), the amount of solar radiation in terms of sunshine hours (Ssh), and the rainfall (Pe) of each month of the growing season [http://tatweather.areeo.ac.ir/?LRef=52c6c899-7597-412d-83d7-c4cd2d05204b] (Table 7)39, 40.

Table 7 Effective input combination in estimating WUE and yield.

To examine the most appropriate input parameters, different input combinations of parameters were evaluated. To select the most effective input parameters, first, all input combinations are considered to train the ANFIS model, and then the effective input combinations are selected. Next, ignore the remaining parameters one by one from the input combinations and train the model with the same structure and the rest ignored. This approach is also used by other researchers as given in references39, 40. Figure 10 shows 7 of the best-performing models.

Figure 10
figure 10

Some combinations of input parameters to estimate yield and WUE parameters.

The results obtained by the proposed SO-ANFIS method using different input combinations are shown in Table 8. Psize and fitness function evaluations (FEs) in the SO-ANFIS are considered 50 and 3000, respectively. According to the results in the observed data, the model ω2 obtained the most accurate results. The irrigation parameter (Ir) was proposed as the influential input variable in estimating yield and WUE. Then, rainfall and sunshine hours are essential, respectively. Sensitivity analysis showed that after irrigation and rainfall parameters, which affect leaves and plant reproductive growth, sunshine hours also play an important role in estimating yield. Montazer et al.38, Zeinadini et al.40, and Emami and Choopan24. Also stated that the amount of water consumed has an influential effect on crop yield .

Table 8 The efficiency of the proposed model in yield estimation.

According to Figs. 11 and 12, it is clear that the yield using the SO-ANFIS hybrid method is estimated with high accuracy and is in good agreement with the observed values. Also, ω2 modeled the yield with lower error (RMSE = 0.006) according to the irrigation parameter.

Figure 11
figure 11

Comparison of predicted yield with observed results in the training and test stages.

Figure 12
figure 12

(a) SO-ANFIS on the training dataset, (b) SO- ANFIS on the test dataset. Comparison of predicted WUE with observed results in the training and test stages.

The SO-ANFIS and ANFIS error distribution diagrams on the test stage are shown in Fig. 13. The results show that about 80% of the yield values estimated utilizing the SO-ANFIS have an error of less than 2%.

Figure 13
figure 13

Error distribution of (a) SO-ANFIS and (b) ANFIS on the test stage.

Comparison of SO-ANFIS with other methods

Table 9 compares the results generated by the proposed SO-ANFIS and other counterparts. The results confirm that the proposed SO-ANFIS outperformed its counterparts in estimating yield and WUE. Comparison of the results of the present study with other works shows acceptable accuracy (R2 = 0.988 in test stage). Compared to similar studies such as Sharifi26 and Prasad et al.27, which have evaluated the crop yield and WUE using the random forest (RF) and Gaussian process regression (GPR), the SO-ANFIS with R2 = 0.988 and RMSE = 0.006 has a better performance than the mentioned methods and can be used as a powerful method in estimating the yield and WUE.

Table 9 Comparison of the efficiency of SO-ANFIS model with similar methods.

Conclusion

In this study, the effect of NSI method on yield and WUE in apple orchards was investigated. The SO-ANFIS method was proposed to estimate WUE and yield in the NSI model. In the SO-ANFIS, six models were created to determine the most effective parameters in estimating WUE and yield of NSI method. The SO-ANFIS with model ω6 generated the superior results with R2 = 0.988, RMSE = 0.006, SI = 0.007, δ = 0.860, and NSE = 0.982, respectively. One of the future works is to apply the SO-ANFIS method to other engineering problems to identify its strengths and weaknesses.

Guidelines statement

All measurements and laboratory tests performed in this study are following scientific and international standards, such as soil texture determination41, volumetric soil moisture monitoring42, and water quality analysis (EPA).