1 Introduction

The Savanna vegetation is characterise by coverage area i.e low tree covered and high grass covered region Scholes and Archer (1997); Staver et al. (2011); February and Higgins (2010); Evans and Ehleringer (1994); Frost (1986); Gardner (2006); Russell et al. (1990); Hempson et al. (2007); Higgins et al. (2000); Jeltsch et al. (2000). The high Savanna vegetation region is found in many countries such as Africa, South America, Australia, India, and Myanmar (Burma)-Thailand. Along with the environmental components biotic and abiotic, the combination of grass and trees can be considered as Savanna ecosystem (SES) Accatino et al. (2010); Atwell et al. (1999); Losey and Vaughan (2006). The stability and functionality of the ecosystem are due to the composition of grass and trees. As per condition, the composition varies. Despite extensive investigation of considerable research, the mechanisms that determine global trends in this composition remain a source of contention. However, ecologists have noted that human intervention, grazing, soil type, climate change, fire, and competition for nutrients and space are the main possible mechanisms that determine the global patterns for the composition Laio et al. (2006); Riginos (2009). In terms of human intervention, enormous regions of the Savanna are burned each year for various purposes, including building protection, field clearing for cattle, and conservation management. In many Savanna region it burns about 25–50% each year McLaren et al. (2004).

Native Americans produced the Pre-Columbian Savannas of North America, and Aboriginal burning resulted in many Savannas in Australia. Humans have probably been using fire in the Savanna for thousands of years in Africa. Because of these, some researchers question the significance of human interaction Accatino et al. (2010). Savannas are frequently used by grazing livestock because of their open structure. High grass biomass might result in significant biomass losses by feeding fires. Grazing reduces the fuel load, which lowers the frequency of fires while also influencing the spread’s continuity and intensity. Grazing can degrade the soil’s condition by causing erosion, and physical compaction Atwell et al. (1999).

Plant availability, soil moisture, and nutrients are essential factors, and they are thought to be the fundamental determinants of Savanna form and function Losey and Vaughan (2006). The quantity of water at a given location is determined by the amount of rainfall, the type of soil, and other elements such as the water’s capacity to reach the roots. These characteristics can be challenging to quantify. Nutrients also follow a similar pattern. The soil’s moisture determines the availability of nutrients. The problem is that minor changes in soil structure can result in considerable variations in plant accessible nutrients Staver and Levin (2012). Furthermore, several studies have reported that climate change is one of the most important variables affecting the Savanna ecosystem’s dynamics. Savannas in various world regions are undergoing dramatic changes due to rising carbon dioxide levels. According to recent research, tree cover increases because of the carbon dioxide fertilization effect while grass cover decreases.

Experiments conducted in 2012 on the African Savanna ecosystem revealed that while other environmental parameters such as herbivores, fire, and rainfall were maintained constant for decades, woody plants increased. Carbon dioxide concentrations will rise within the next few decades, resulting in a rapid transition from savanna vegetation to woody Savanna. Recent data suggests that this is harming the lives of some wild animals; for example, cheetahs are having difficulties due to the shifting of the Savanna environment. Increased tree cover is expected to have no negative consequences. However, researchers have discovered that increasing forest cover may impact biological variety by producing water scarcity and may cause global warming. As a result, several experts have dubbed the Savanna ecosystem (SES) a survival battleground for trees and grasses. If trees or grass win the competition, we will have either all trees covers or grass covers, eliminating some biological diversity, including humans. Fortunately, although the competition is still ongoing, neither of them has to win because of external events such as fire, huge herbivores, and rainfall assisting them. All of these elements contribute to balancing the Savanna ecosystem of trees and grass Riginos (2009).

The contrasting study is reported by Scalon about nutrient demand and use between savanna and forest ecosystems Scalon et al. (2022), Limited increases in savanna carbon stocks over decades of fire suppression Zhou et al. (2022), study about primary productivity using geostationary operational environmental satellite at an oak savanna ecosystem is reported in Khan et al. (2020), The effects of Browsing and Grazing Herbivores determine changes in fertility of case study East African Savanna Coetsee et al. (2022), biophysical feedbacks model for the Earth system to investigate a fire-controlled in grassland or Savanna hysteresis of tropical forests Drüke (2022), the study of the Grasslands of the Indian Subcontinent and Terai-Duar Savanna based on transitions Over Decadal Timescales Banerjee et al. (2022), Variation in soil based study about seed bank and relationship with aboveground vegetation across microhabitats in a savanna-woodland Sanou et al. (2022), Singh study transitions of Forest-Savanna to understand resilience and adaptation of the tropical forest ecosystems using remote sensing Singh (2022), case study of Jinshajiang, Yunnan, strategy for establishing a natural reserve for protection of native savanna vegetation Du (2022), study about monitoring of Forest-Savanna Dynamics in transition Area like the Guineo-Congolian Takougoum Le Bienfaiteur (2022), changes in the fire-rainfall relationship at a woodland-savanna transition is reported in Hamilton et al. (2022) and study about burnt and unburnt habitats by large mammalian herbivores in a savanna-woodland ecosystem is reported by Nieman et al. (2021).

To extend the study of the Savanna ecosystem, we investigate the dynamics of the Savanna ecosystem using a contemporary mathematical model presented in Staver et al. (2011), which divides all plant life into three components: trees, tree saplings, grass and subjects them to biologically typical impacts such as fire, rainfall, and space competition. Carla Staver and Sally Archibald were awarded the Mercer Award for 2012 by the Ecological Society of America as a result of their efforts Staver et al. (2011). The award was given for a remarkable integration of remote sensing data analysis and the application of mathematical models to capture the vegetation dynamics. Tropical and subtropical Africa, Australia, South East Asia, and South America were all covered by the data sets Staver et al. (2011); Accatino et al. (2010).

For the solution of mathematical models, researchers have developed many analytical and numerical techniques. Numerical techniques are widely used to solve mathematical models. But the attention of researchers converges toward soft computing because of its efficiency and robustness. Many biological, chemical and physical problems are solved by soft computing. Such as, Adnan et al solve oscillatory behavior of heart Khan et al. (2020) using a novel neuroevolutionary approach, Analysis of temperature profiles Ahmad et al. (2020), Analysis of Virotherapy of Cancer Fawad Khan et al. (2022), Absorption of Carbon Dioxide (CO2) into Solutions by Khan et al. (2021), Falkner-Skan flow with stream-wise pressure Khan et al. (2021), unipolar electro-hydrodynamic pump Khan et al. (2021), for Stress Diagnosis in Humans Sharma et al. (2021), class of biological HIV infection model of latently infected cells Guerrero-Sánchez et al. (2021), postman problem based on molecular computing Wang et al. (2021) and much more are solved.

In this work, the SES model is transformed into an artificial neural network. And for solution of SES model, a neuro-soft computing technique based on the Sine-Cosine algorithm (SCA) and Interior Point Algorithm (IPA) is employed to solve the solution SES model. The dynamics of the SES model are split into five different scenarios. The scenarios are based on the following parameters:

  • Variation in birth rate of saplings \((\beta )\)

  • Variation in death rate of saplings \((\mu )\)

  • Variation in death rate of trees \((\nu )\)

  • Variation in sapling to tree recruitment \((\omega )\)

  • Variation in initial conditions,

The rest of the paper is organized as follows: Sect.2 describes the mathematical model of the Savanna ecosystem, Sect. 3 consists of the proposed methodology for the solution of the SES model, Sect. 4 discusses the empirical results, and Sect. 5 concludes the work.

2 Description of Savanna Ecosystem Model

The model considered in this work is about the Savanna based on grass (G), saplings (S), and trees (T). The model is an extended form of the model considered by Staver et al. (2011); Accatino et al. (2010); Staver and Levin (2012). The space occupation is considered as:

$$\begin{aligned} G(t)+S(t)+T(t)=1, \end{aligned}$$
(1)

this implies that the space is occupied by either grass (G), saplings (S), or trees (T) for any time \(t\ge 0\). The grass occupies all the space free from trees and saplings, which means grass grows faster than saplings and trees. The basic assumptions behind the model are:

  • Trees are recruited from saplings, and saplings replace the grass.

  • Grass hinders the formation of trees by delaying the recruitment of saplings.

  • Trees produce saplings in proportion to the tree density and only in areas covered by grass.

  • Trees and saplings die and are replaced by grass.

So, the mathematical model for the dynamic of ecosystem is:

$$\begin{aligned} \begin{array}{l} \frac{d G}{d t}-\mu S-\nu T+\beta G T=0, \\ \frac{d S}{d t}-\beta G T+\omega (G) S+\mu S=0, \\ \frac{d T}{d t}-\omega (G) S+\nu T=0, \end{array} \end{aligned}$$
(2)

here, \(\omega (G)\) is the sapling to tree recruitment rate, \(\beta\) represents birth rate of saplings, \(\mu\) is the death rate of saplings, and \(\nu\) is the death rate of trees, see Fig. 1. The model depends on parameters \(\beta , \mu\), and \(\nu\) here, the condition \(\beta > \nu\) is considered, which implies that if tree’s mortality rate increases than the sapling’s birth rate, the system moves to \(G = 1\). Furthermore, the condition \(\mu \ge \nu\) is considered, explaining how often the trees succeed the saplings. The fire highly affects the birth rate of Savanna trees by decreasing the conversion of saplings into trees, and after fires, the birth rate of sapling increase gradually. This implies that the fire highly influences the recruitment of saplings to trees \(\omega (G)\) compared to the death rate \(\nu\) of trees. The fire depends on the area covered by grass. If most areas are covered by grass, the fire possibility is high. If the cover of the trees is high, fire is rare. To analyze all these conditions, the model is solved by employing an optimization technique. In section 3, the employment of technique and solution process is discussed briefly.

Fig. 1
figure 1

Dynamics flow chart of Savanna ecosystem model

3 Proposed Methodology

This section discusses the proposed scheme for the Savanna ecosystem (SES) solution. The scheme is designed by using an Artificial neural network (ANN). Here, the ANN-based mathematical model is designed for SES, and then for the fitness of solutions of the SES model, the fitness function is constructed using least square errors.

3.1 Mathematical model of SES

For the solution of the SES model, the feed-forward artificial neural network-based model is designed. This type of ANN is unidirectional. The layer does not form a cycle. All information moves from node to node in a single direction, as every ANN is based on an activation function. In this work, the Log-sigmoid activation function is used, given in Eq. (6), for the approximation of the solution of the SES model. The model proceeds as:

$$\left. {\begin{array}{*{20}l} {\hat{G}(t) = \sum\nolimits_{{i = 1}}^{k} {a_{{Gi}} \theta \left( {w_{{Gi}} (t) + b_{{Gi}} } \right)} } \hfill \\ {\frac{{d\hat{G}}}{{dt}} = \sum\nolimits_{{i = 1}}^{k} {a_{{Gi}} \theta ^{\prime } \left( {w_{{Gi}} (t) + b_{{Gi}} } \right)} } \hfill \\ {\frac{{d^{2} \hat{G}}}{{dt^{2} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Gi}} \theta ^{{\prime \prime }} \left( {w_{{Gi}} (t) + b_{{Gi}} } \right)} } \hfill \\ \vdots \hfill \\ {\frac{{d^{n} \hat{G}}}{{dt^{n} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Gi}} \theta ^{n} \left( {w_{{Gi}} (t) + b_{{Gi}} } \right)} } \hfill \\ \end{array} } \right\} ,$$
(3)
$$\left. \begin{gathered} \hat{S}(t) = \sum\nolimits_{{i = 1}}^{k} {a_{{Si}} \theta \left( {w_{{Si}} (t) + b_{{Si}} } \right)} \hfill \\ \frac{{d\hat{S}}}{{dt}} = \sum\nolimits_{{i = 1}}^{k} {a_{{Si}} \theta ^{{^{\prime } }} \left( {w_{{Si}} (t) + b_{{Si}} } \right)} \hfill \\ \frac{{d^{2} \hat{S}}}{{dt^{2} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Si}} \theta ^{{\prime \prime }} \left( {w_{{Si}} (t) + b_{{Si}} } \right)} \hfill \\ \vdots \hfill \\ \frac{{d^{n} \hat{S}}}{{dt^{n} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Si}} \theta ^{n} \left( {w_{{Si}} (t) + b_{{Si}} } \right)} \hfill \\ \end{gathered} \right\},$$
(4)
$$\left. {\begin{array}{*{20}l} {\hat{T}(t) = \sum\nolimits_{{i = 1}}^{k} {a_{{Ti}} \theta \left( {w_{{Ti}} (t) + b_{{Ti}} } \right)} } \hfill \\ {\frac{{d\hat{T}}}{{dt}} = \sum\nolimits_{{i = 1}}^{k} {a_{{Ti}} \theta ^{\prime } \left( {w_{{Ti}} (t) + b_{{Ti}} } \right)} } \hfill \\ {\frac{{d^{2} \hat{S}}}{{dt^{2} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Ti}} \theta ^{{\prime \prime }} \left( {w_{{Ti}} (t) + b_{{Ti}} } \right)} } \hfill \\ \vdots \hfill \\ {\frac{{d^{n} \hat{S}}}{{dt^{n} }} = \sum\nolimits_{{i = 1}}^{k} {a_{{Ti}} \theta ^{n} \left( {w_{{Ti}} (t) + b_{{Ti}} } \right)} } \hfill \\ \end{array} } \right\},$$
(5)

Eqs. (35) represent the artificial neural network based model of SES. Here, \(\theta\) represent activation function given in Eq. (6). The ANN form of activation function and it’s derivative is given in Eqs. (7) and (8) respectively.

$$\begin{aligned} \theta (t)= & {} \frac{1}{1+e^{-t}}, \end{aligned}$$
(6)
$$\begin{aligned} \hat{\theta }(t)= & {} \sum _{i=1}^{k} a_{i}\left( \frac{1}{1+e^{-\left( w_{i} t+b_{i}\right) }}\right) , \end{aligned}$$
(7)
$$\begin{aligned} \hat{\theta }^{\prime }(t)= & {} \sum _{i=1}^{k} a_{i} w_{i}\left( \frac{e^{-\left( w_{i} t+b_{i}\right) }}{\left( 1+e^{-\left( w_{i} t+b_{i}\right) }\right) ^{2}}\right) . \end{aligned}$$
(8)

The approximation of solution given in Eqs. (7) and (8) based on variables known as weights, represented by set W, where \(W=[{\textbf {a}}_i, {\textbf {w}}_i, {\textbf {b}}_i]\) and it’s constituents \({\textbf {a}}_i=\{a_1, a_2, a_3,.... a_k\}\), \({\textbf {w}}_i=\{w_1, w_2, w_3,.... w_k\}\) and \({\textbf {b}}_i=\{b_1, b_2, b_3,.... b_k\}\). These weights are approximate by the proposed numerical technique. Random sets of weights are generated in a given interval. The best weights are chosen by their fitness values from generated sets of weights. The fitness function must be designed to evaluate approximated solutions based on set W.

3.2 Fitness function for SES model

The fitness function for the SES model is constructed by using mean square error. The means square error is a method used to estimate the means of the squared errors. It tells how nearer is the solution to reference solution. The fitness function is define as:

$$\begin{aligned} minimize \quad E=E_{G}+E_{S}+E_{T}+E_{c}, \end{aligned}$$
(9)

in Eq. (9), E is sum of errors in model of SES and its initial conditions. The \(E_G\) is the mean square of first equation in model (2), \(E_S\) is the mean square error of second, and \(E_T\) is mean square error of third equation. Where \(E_c\) is mean square errors of initial conditions. The \(E_G\), \(E_S\) and \(E_T\) are define as:

$$\begin{aligned}&\begin{array}{l} E_G=\frac{1}{N}\sum _{i=1}^{N}\left( \frac{d \hat{G_i}}{d t}-\mu \hat{S_i}-\nu \hat{T_i}+\beta \hat{G_i} \hat{T_i}\right) ^2 \end{array} \end{aligned}$$
(10)
$$\begin{aligned}&\begin{array}{l} E_S=\frac{1}{N}\sum _{i=1}^{N}\left( \frac{d \hat{S_i}}{d t}-\beta \hat{G_i} \hat{T_i}+\omega (G) \hat{S_i}+\mu \hat{S_i}\right) ^2 \end{array} \end{aligned}$$
(11)
$$\begin{aligned}&\begin{array}{l} E_T=\frac{1}{N}\sum _{i=1}^{N}\left( \frac{d \hat{T_i}}{d t}-\omega (G_i) \hat{S}+\nu \hat{T_i}\right) ^2\\ \end{array} \end{aligned}$$
(12)
$$\begin{aligned} E_{c}= & {} \frac{1}{3}\left( \left( \hat{G}-G_{0}\right) ^{2}+\left( \hat{S}-S_{0}\right) ^{2}+\left( \hat{T}-T_{0}\right) ^{2}\right) . \end{aligned}$$
(13)

In the above equations, N is the number of input points that depend on the choice of step size. If in the interval [0, 1] the step size is chosen as 0.1, the number of input points will be 11. The selection of ANN weights is based on their fitness value, and weights with a minimum error are considered best weights. The Eq. (9) justify the quality of the solution and how much it converges to an exact or reference solution.

3.3 Optimization technique ANN-SCA-IPA

A novel hybrid optimization technique is proposed to minimize Eq. (9) and find the best-fitted set of weights for solution of the SES model. As optimization techniques are categorized as local search and global search techniques. The local search starts from an initial point is executed with a single solution, and develops by implementing neighborhood procedures, such as hill-climbing, tabu search, etc. The exploitation power is the advantage of local search techniques. In contrast, the disadvantages are that it does not focus on the exploration (global) search procedure. The global search techniques are population-based. Produce random solutions using provided population. The global search techniques focus on exploration rather than exploitation. These two search methodologies are hybridized in this work. For global search, the Sine Cosine Algorithm (SCA) is implemented, while for local search, the Interior-point algorithm (IPA) is used; a flow chart is given in Fig. 2. The Sine Cosine Algorithm was developed by Ali Jalili Mirjalili (2016). The SCA is motivated by trigonometric ratios sine and cosine. The SCA generates random solutions and then shifts to next step based on their fitness. Generally, the global search techniques start the optimization procedure with randomly generated solutions. These initial solutions are evaluated by using an objective function. This development of solutions is basis on a set of optimization operators. In SCA, the following equations are used for updating the solutions:

$$\begin{aligned} X_{i}^{t+1}= & {} X_{i}^{t}+r_{1} \times \sin \left( r_{2}\right) \times \left| r_{3} P_{i}^{t}-X_{i}^{t}\right| , \end{aligned}$$
(14)
$$\begin{aligned} X_{i}^{t+1}= & {} X_{i}^{t}+r_{1} \times \cos \left( r_{2}\right) \times \left| r_{3} P_{i}^{t}-X_{i i}^{t}\right| , \end{aligned}$$
(15)

in above equations \(X_{i}^{t}\) is position of current solution at \(t^{th}\) in \(i^{t h}\) dimension, || is absolute operator, \(r_1\), \(r_2\), \(r_3\) are random numbers, \(P_{i}\) is the position at \(i_th\) dimension. The Eqs. (14) and (15) combined together and implemented as:

$$X_{i}^{{t + 1}} \left\{ {\begin{array}{*{20}l} {X_{i}^{t} + r_{1} \times \sin \left( {r_{2} } \right) \times \left| {r_{3} P_{i}^{t} - X_{i}^{t} } \right|,} \hfill & {r_{4} < 0.5} \hfill \\ {X_{i}^{t} + r_{1} \times \cos \left( {r_{2} } \right) \times \left| {r_{3} P_{i}^{t} - X_{{ii}}^{t} } \right|,} \hfill & {r_{4} \ge 0.5^{\prime } } \hfill \\ \end{array} } \right.$$
(16)

here \(r_4\) is a random number in [0,1].

In Eq. (16) has four parameters, \(r_1\), \(r_2\), \(r_3\) and \(r_4\).The movement direction to next position is represented by \(r_1\). The parameter \(r_2\) denotes the movement toward the target. The parameter \(r_{3}\) denotes a random weight score for the target to stochastically assert \(\left( r_{3}>1\right)\) or deemphasize \(\left( r_{3}<1\right)\) the influence of the target in determining the distance and fourth parameter \(r_4\) is used for switching among trigonometric functions sine and cosine, which is given in Eq. (16). The SCA is hybridized with Interior Point Algorithm (IPA) to improve the generated solution. The IPA can be implemented for linear and non-linear optimization problems. The IPA has many advantages over Sequential quadratic programming and trust regions to solve the iterative problems Byrd et al. (1999). The exploitation procedure of IPA refines the quality of solutions. The detail pseudocode is given in Algorithm 1 while the working flow chart is given in Fig. 2.

Table 1 Pseudo code of proposed hybrid soft computing technique ANN-SCA-IPA
Fig. 2
figure 2

The flow chart of proposed methodology ANN-SCA-IPA. Here, SCA generates number of random solutions evaluate it on its fitness, then it provides to IPA as initiail point for further refinement. The fittest weights obtain for solution of SES model

3.4 Performance operators

To validate and evaluate the performance of proposed methodology, SCA-IPA-ANN, statistical performance operators are used. Based on Nash-Sutcliffe efficiency, the implemented performance indicators are Mean Absolute Deviation (MAD), Root Mean Squared Error (RMSE), and Error in Nash-Sutcliffe Efficiency (ENSE). For each variable in the SES model, performance operators are defined. The following mathematical formulations shows the definition of performance indicators:

$$\begin{aligned}&\begin{array}{l} {\left[ \mathrm {MAD}_{G} \quad \mathrm {MAD}_{\mathrm {S}} \quad \mathrm {MAD}_{T}\right] } \\ \quad =\left[ \frac{1}{\mathrm {~m}} \sum _{i=1}^{\mathrm {m}}\left| G_{\mathrm {i}}-\hat{G}_{i}\right| \quad \frac{1}{\mathrm {~m}} \sum _{i=1}^{\mathrm {m}}\left| S_{i}-\hat{S}_{i}\right| \quad \frac{1}{\mathrm {~m}} \sum _{i=1}^{\mathrm {m}}\left| T_{\mathrm {i}}-\hat{T}_{i}\right| \right] , \end{array} \end{aligned}$$
(17)
$$\begin{array}{*{20}l} {\left[ {\begin{array}{*{20}l} {{\text{ }}RMSE{\text{ }}_{G} \;\;{\text{ }}RMSE{\text{ }}_{S} \;\;RMSE{\text{ }}_{T} } \hfill \\ \end{array} } \right],} \hfill \\ { = \left[ {\sqrt {\frac{1}{m}\sum\limits_{{i = 1}}^{m} {\left( {G_{i} - \hat{G}_{i} } \right)^{2} } } \;\;\;{\mkern 1mu} \sqrt {\frac{1}{m}\sum\limits_{{i = 1}}^{m} {\left( {S_{i} - \hat{S}_{i} } \right)^{2} } } \;\;\;{\mkern 1mu} \sqrt {\frac{1}{m}\sum\limits_{{i = 1}}^{m} {\left( {T_{i} - \hat{T}_{i} } \right)^{2} } } } \right],} \hfill \\ \end{array}$$
(18)
$$\begin{array}{*{20}l} {[{\text{NSE}}_{{\text{G}}} {\text{ NSE }}_{{\text{S}}} {\text{ NSE }}_{{\text{T}}} ]} \hfill \\ { = \left[ {1 - \frac{{\sum\limits_{{i = 1}}^{m} {\left( {G_{i} - \hat{G}_{i} } \right)^{2} } }}{{\sum\limits_{{i = 1}}^{m} {\left( {G_{i} - \bar{G}_{i} } \right)^{2} } }}1 - \frac{{\sum\limits_{{i = 1}}^{m} {\left( {S_{i} - \hat{S}_{i} } \right)^{2} } }}{{\sum\limits_{{i = 1}}^{m} {\left( {S_{i} - \bar{S}_{i} } \right)^{2} } }}1 - \frac{{\sum\limits_{{i = 1}}^{m} {\left( {T_{i} - \hat{T}_{i} } \right)^{2} } }}{{\sum\limits_{{i = 1}}^{m} {\left( {T_{i} - \bar{T}_{i} } \right)^{2} } }}} \right],} \hfill \\ \end{array}$$
(19)
$$\begin{aligned}&\left[ \begin{array}{l} {\left[ \text{ ENSE } _{G} \text{ ENSE } _{S} \text{ ENSE } _{T}\right] } \\ =\left[ \left| 1-NSE_{G}\right| \quad \left| 1-NSE_{S}\right| \quad \left| 1-NSE_{T}\right| \right] \end{array}\right] . \end{aligned}$$
(20)

In Eqs. (1719), m is number of input depend on the choice of step size, GS,  and T are reference solutions obtained by RK4 and \(\hat{G},\) \(\hat{S},\) and \(\hat{T}\) are numerical solutions executed by ANN-SCA-IPA technique. The best solutions give zero value for MAD, RMSE, and ENSE. The value of ENSE depends on the value of NSE. The value of NSE is 1. As much as the value of NSE is nearer to 1, the value of ENSE moves toward 0. Which indicates the convergence of ANN-SCA-IPA technique. Furthermore, the global operators of MAD, RMSE, and ENSE are also utilized, abbreviated as GMAD, GRMSE, and GENSE. The definition of the global variant are as given:

$$\begin{aligned}&\begin{aligned}&{\left[ {\text {GMAD}}_{G} \quad \text{ GMAD}_{\mathrm {S}} \quad \text{ GMAD}_{T}\right] } \\&=\left[ \frac{1}{I} \sum _{i=1}^{I}\left( \frac{1}{m} \sum _{k=1}^{m}\left( \left| G_{i}-\hat{G}_{i}\right| \right) \right) \quad \frac{1}{I} \sum _{i=1}^{l}\left( \frac{1}{m} \sum _{k=1}^{m}\left( \left| S_{i}-\hat{S}_{i}\right| \right) \right) \quad \frac{1}{I} \sum _{i=1}^{I}\left( \frac{1}{m} \sum _{K=1}^{m}\left( \left| T_{i}-\hat{T}_{i}\right| \right) \right) \right] , \end{aligned} \end{aligned}$$
(21)
$$\left[ {GRMSE_{G} GRMSE{\text{ }}_{S} GRMSE{\text{ }}_{T} } \right] = \left[ \begin{gathered} \frac{1}{I}\sum\limits_{{i = 1}}^{I} {\left( {\sqrt {\frac{1}{m}\sum\limits_{{k = 1}}^{m} {\left( {G_{i} - \hat{G}_{i} } \right)^{2} } } } \right)} \hfill \\ \frac{1}{I}\sum\limits_{{i = 1}}^{l} {\left( {\sqrt {\frac{1}{m}\sum\limits_{{k = 1}}^{m} {\left( {S_{i} - \hat{S}_{i} } \right)^{2} } } } \right)} \hfill \\ \frac{1}{I}\sum\limits_{{i = 1}}^{l} {\left( {\sqrt {\frac{1}{m}\sum\limits_{{k = 1}}^{m} {\left( {T_{i} - \hat{T}_{i} } \right)^{2} } } } \right)} \hfill \\ \end{gathered} \right],$$
(22)
$$\begin{gathered} \left[ {{\text{GENSE}}_{G} \;{\text{GENSE }}_{{\text{S}}} \;{\text{GENSE }}_{T} } \right] \hfill \\ = \left[ {\frac{1}{I}\sum\limits_{{i = 1}}^{I} {\left( {1 - \frac{{\sum\limits_{{k = 1}}^{m} {\left( {G_{i} - \hat{G}_{i} } \right)^{2} } }}{{\sum\limits_{{k = 1}}^{m} {\left( {G_{i} - \hat{G}_{i} } \right)^{2} } }}} \right)} \;\frac{1}{I}\sum\limits_{{i = 1}}^{I} {\left( {1 - \frac{{\sum\limits_{{k = 1}}^{m} {\left( {S_{i} - \hat{S}_{i} } \right)^{2} } }}{{\sum\limits_{{k = 1}}^{m} {\left( {S_{i} - \hat{S}_{i} } \right)^{2} } }}} \right)} \;\frac{1}{I}\sum\limits_{{i = 1}}^{I} {\left( {1 - \frac{{\sum\limits_{{k = 1}}^{m} {\left( {T_{i} - \hat{T}_{i} } \right)^{2} } }}{{\sum\limits_{{k = 1}}^{m} {\left( {T_{i} - \hat{T}_{i} } \right)^{2} } }}} \right)} } \right]. \hfill \\ \end{gathered}$$
(23)

In Eqs. (2123), I represent the number of execution(runs) of ANN-SCA-IPA technique. The value of GMAD, RMSE, and GENSE depends on the average value of its respective operator.

4 Discussion and Results

This section consists of discussion and empirical results of the dynamic characteristic of the Savanna ecosystem (SES) model, given in Eq. (2). The SES model is discussed in its empirical results for different scenarios. These scenarios are based on the values of its parameters birth rate of saplings \(\beta\), death rate of saplings \(\mu\), death rate of trees \(\nu\) and sapling to tree recruitment \(\omega\). The results are based on 100 execution (runs).

4.1 Scenario 1

This scenario is based on the following values, of SES model in Eq. (2), birth rate of saplings \(\beta =0.5\), death rate of sapling \(\mu =0.4\), death rate of trees \(\nu =0.2\) and sapling to tree recruitment \(\omega =0.2\). Multiple executions are done for the SES model to collect a large number of data. The fitness function with 10 input points can be updated as:

$$\begin{aligned} E &= \frac{1}{{10}}\left( {\frac{{dG_{i} }}{{dt}} - 0.4S_{i} - 0.2T_{i} + 0.5G_{i} T_{i} } \right)^{2} \hfill \\ &\quad+ \left( {\frac{{dS_{i} }}{{dt}} - 0.5G_{i} T_{i} + 0.2S_{i} + 0.4S_{i} } \right)^{2} \hfill \\ &\quad+ \left( {\frac{{dT_{i} }}{{dt}} - 0.2S + 0.2T_{i} } \right)^{2} \hfill \\ &\quad+ \frac{1}{3}\left( {\left( {G_{i} - 0.3} \right)^{2} + \left( {S_{i} - 0.2} \right)^{2} + \left( {T_{i} - 0.5} \right)^{2} } \right), \hfill \\ \end{aligned}$$
(24)

and the associated initial conditions are \(G(0)=0.3, S(0)=0.2\) and \(T(0)=0.5\).

The sum of mean square errors of each equation is minimized by ANN-SCA-IPA technique. The solution obtained by ANN-SCA-IPA is compared graphically with the results of Range-Kutta order (RK4) in Fig. 3(a). The RK4 is implemented using Matlab’s built-in function, Ode45. Each variable is plotted for 100 independent runs in sub-figure 3(c), (d) and (e). The solutions of RK4 are taken as a reference solution. The absolute errors between reference solution and solution by ANN-SCA-IPA algorithm are also drawn in Fig. 3(b). For evaluation of fitness values, statistical terms maximum (MAX), minimum (MIN), and standard deviation (STD) are used. The data for MAX, MIN, and STD is reported in Table 2. The values of minimum for all variables are in between \(10^{-07}\) and \(10^{-09}\), the values of maximum are lies in \(10^{-04}\) and \(10^{-06}\), the value of mean is in \(10^{-06}\) and \(10^{-07}\) and the values of standard deviation lies in \(10^{-05}\) and \(10^{-06}\). The weights are drawn three-dimensionally given in sub-figure 3(f). The best weights found by execution of ANN-SCA-IPA technique are used in Eq. (6) which give the solution for SES model is given as:

$$\begin{aligned} \hat{G}(t) &= \frac{{0.027811602}}{{1 + {\text{e}}^{{ - ( - 1.55051289t + 0.558231056)}} }} \hfill \\ &\quad+ \frac{{ - 0.854449245}}{{1 + {\text{e}}^{{ - (2.494552979t + 9.892323223)}} }} \hfill \\ &\quad+ \frac{{1.099000774}}{{1 + {\text{e}}^{{ - (0.540789435t + 1.047194101)}} }} \hfill \\ &\quad+ \frac{{0.512345539}}{{1 + {\text{e}}^{{ - (1.692944341t + 4.210773225)}} }} \hfill \\ &\quad+ \frac{{ - 0.19878417}}{{1 + {\text{e}}^{{ - (0.747479484t + 2.361581194)}} }}, \hfill \\ \hat{S}\left( t \right) &= \frac{{0.059194892}}{{1 + {\text{e}}^{{ - ( - 1.218828605t - 0.560106622)}} }} \hfill \\ &\quad+ \frac{{0.218764764}}{{1 + {\text{e}}^{{ - ( - 1.814152018t - 2.652484)}} }} \hfill \\ &\quad+ \frac{{ - 0.003759589}}{{1 + {\text{e}}^{{ - (0.064715941t + 0.013521261)}} }} \hfill \\ &\quad + \frac{{0.160117491}}{{1 + {\text{e}}^{{ - ( - 0.185136338t + 0.11001229)}} }} \hfill \\ &\quad + \frac{{0.165264582}}{{1 + {\text{e}}^{{ - (0.086348852t - 0.027090774)}} }}, \hfill \\ \hat{T}(t) &= \frac{{0.256146466}}{{1 + {\text{e}}^{{ - ( - 0.286720253t - 0.204522208)}} }} \hfill \\ &\quad+ \frac{{0.83903796}}{{1 + {\text{e}}^{{ - ( - 0.136194189t - 0.143813182)}} }} \hfill \\ &\quad + \frac{{ - 0.068517501}}{{1 + {\text{e}}^{{ - ( - 0.346705535t - 0.021350454)}} }} \hfill \\ &\quad + \frac{{ - 0.105794694}}{{1 + {\text{e}}^{{ - ( - 0.395919634t - 0.131061835)}} }} \hfill \\ &\quad+ \frac{{0.18490423}}{{1 + {\text{e}}^{{ - ( - 0.658944399t - 0.295242787)}} }}, \hfill \\ \end{aligned}$$
(25)

the solution overlapped with the reference solution of Range-Kutta order 4 (RK4). This overlapping validates convergence of the proposed technique. The solution is written up to 9 decimal places to avoid round-off errors. The solution is obtained in \(t\in [0,2]\) with 0.01 step size having 201 input points.

Fig. 3
figure 3

Graphical representation of Scenario 1

Table 2 Absolute errors of scenario 1 with reference solution

4.2 Scenario 2

This scenario is based on the following values, of SES model in Eq. (2), birth rate of saplings \(\beta =0.5\), death rate of sapling \(\mu =0.01\), death rate of trees \(\nu =0.05\) and sapling to tree recruitment \(\omega =0.6\). Multiple executions are done for the SES model to collect a large number of data. The fitness function with 10 input points can be updated as:

$$\begin{aligned} E= &{} \frac{1}{10}\sum _{i=1}^{10}\left( \left( \frac{d G_i}{d t}-0.01 S_i-0.05 T_i+0.5 G_i T_i\right) ^2\right. \nonumber \\&\left. + \left( \frac{d S_i}{d t}-0.5 G_i T_i+0.6 S_i+0.01 S_i\right) ^2 + \left( \frac{d T_i}{d t}-0.6S+0.05 T_i\right) ^2\right) \nonumber \\&+\frac{1}{3}\left( \left( G_i-0.3\right) ^2+\left( S_i-0.2\right) ^2+\left( T_i-0.5\right) ^2\right) , \end{aligned}$$
(26)

and the associated initial conditions are \(G(0)=0.3, S(0)=0.2\) and \(T(0)=0.5\).

The sum of mean square errors of each equation is minimized by ANN-SCA-IPA technique. The solution obtained by ANN-SCA-IPA is compared graphically with the results of Range-Kutta order (RK4) in Fig. 4(a). The RK4 is implemented using Matlab’s built-in function, Ode45. Each variable is plotted for 100 independent runs in sub-figure 4(c), (d) and (e). The solutions of RK4 are taken as a reference solution. The absolute errors between reference solution and solution by ANN-SCA-IPA algorithm are also drawn in Fig. 4(b). For evaluation of fitness values, statistical terms maximum (MAX), minimum (MIN), and standard deviation (STD) are used. The data for MAX, MIN, and STD is reported in Table 3. The values of minimum for all variables are in between \(10^{-07}\) and \(10^{-10}\), the values of maximum are lies in \(10^{-05}\) and \(10^{-06}\), the value of mean is in \(10^{-05}\) and \(10^{-06}\) and the values of standard deviation lies in \(10^{-06}\) and \(10^{-07}\). The weights are drawn three-dimensionally given in sub-figure 3(f). The best weights found by execution of ANN-SCA-IPA technique are used in Eq. (6) which give the solution for SES model is given as:

$$\begin{aligned} \hat{G}(t) = & \frac{{ - 0.004378288}}{{1 + e^{{ - (1.587035916t - 0.148043677)}} }} \\ & + \frac{{ - 0.025945658}}{{1 + e^{{ - (0.453549581t - 0.736097235)}} }} \\ & + \frac{{0.16639304}}{{1 + e^{{ - (0.255518818t - 0.588822126)}} }} \\ & + \frac{{0.130081459}}{{1 + e^{{ - ( - 0.481869439t - 0.586472007)}} }} \\ & + \frac{{0.413067642}}{{1 + e^{{ - ( - 0.378362849t - 0.019243871)}} }}, \\ \hat{S}(t) = & \frac{{0.088065116}}{{1 + e^{{ - ( - 0.427043027t + 0.179209671)}} }} \\ & + \frac{{0.010942248}}{{1 + e^{{ - ( - 0.448523782t - 0.013473171)}} }} \\ & + \frac{{0.216601033}}{{1 + e^{{ - ( - 0.064374122t - 0.389150715)}} }} \\ & + \frac{{0.024022748}}{{1 + e^{{ - (1.292927779t + 0.844812814)}} }} \\ & + \frac{{0.676018771}}{{1 + e^{{ - ( - 0.999146969t - 2.70669461)}} }}, \\ \hat{T}(t) = & \frac{{0.050232974}}{{1 + e^{{ - (0.035892504t + 1.696553107)}} }} \\ & + \frac{{0.424904706}}{{1 + e^{{ - (0.850659841t + 1.771509205)}} }} \\ & + \frac{{0.120106756}}{{1 + e^{{ - (1.075056645t + 2.513236609)}} }} \\ & + \frac{{ - 0.201832625}}{{1 + e^{{ - ( - 0.773599858t + 1.120160969)}} }} \\ & + \frac{{0.150034871}}{{1 + e^{{ - (0.908638301t + 2.231291339)}} }} \\ \end{aligned}$$
(27)

the solution overlapped with the reference solution of Range-Kutta order 4 (RK4). This overlapping validates convergence of the proposed technique. The solution is written up to 9 decimal places to avoid round-off errors. The solution is obtained in \(t\in [0,2]\) with 0.01 step size having 201 input points.

Fig. 4
figure 4

Graphical representation of Scenario 2

Table 3 Absolute errors of scenario 2 with reference solution

4.3 Scenario 3

This scenario is based on the following values, of SES model in Eq. (2), birth rate of saplings \(\beta =0.7\), death rate of sapling \(\mu =0.2\), death rate of trees \(\nu =0.1\) and sapling to tree recruitment \(\omega =0.7\). Multiple executions are done for the SES model to collect a large number of data. The fitness function with 10 input points can be updated as:

$$\begin{aligned} \begin{array}{l} E=\frac{1}{10}\sum _{i=1}^{10}\left( \left( \frac{d G_i}{d t}-0.2 S_i-0.1 T_i+0.7 G_i T_i\right) ^2 + \left( \frac{d S_i}{d t}-0.7 G_i T_i+0.7 S_i+0.2 S_i\right) ^2 + \left( \frac{d T_i}{d t}-0.7 S+0.1 T_i\right) ^2\right) \\ +\frac{1}{3}\left( \left( G_i-0.5\right) ^2+\left( S_i-0.3\right) ^2+\left( T_i-0.2\right) ^2\right) , \end{array} \end{aligned}$$
(28)

and the associated initial conditions are \(G(0)=0.5, S(0)=0.3\) and \(T(0)=0.2\).

The sum of mean square errors of each equation is minimized by ANN-SCA-IPA technique. The solution obtained by ANN-SCA-IPA is compared graphically with the results of Range-Kutta order (RK4) in Fig. 5(a). The RK4 is implemented using Matlab’s built-in function, Ode45. Each variable is plotted for 100 independent runs in sub-figure 5(c), (d) and (e). The solutions of RK4 are taken as a reference solution. The absolute errors between reference solution and solution by ANN-SCA-IPA algorithm are also drawn in Fig. 5(b). For evaluation of fitness values, statistical terms maximum (MAX), minimum (MIN), and standard deviation (STD) are used. The data for MAX, MIN, and STD is reported in Table 4. The minimum values for all variables are in between \(10^{-08}\) and \(10^{-11}\), the maximum values are about \(10^{-06}\), the value of mean is in \(10^{-06}\) and \(10^{-07}\) and the values of standard deviation lies in \(10^{-06}\) and \(10^{-07}\). The weights are drawn three-dimensionally given in sub-figure 5(f). The best weights found by execution of ANN-SCA-IPA technique are used in Eq. (6) which give the solution for SES model is given as:

$$\begin{aligned} \hat{G}(t)& = \frac{{0.003954746}}{{1 + {\text{e}}^{{ - ( - 0.1248791t + 0.073319745)}} }} \hfill \\ &\quad+ \frac{{0.36515532}}{{1 + {\text{e}}^{{ - (0.33679257t + 0.074773987)}} }} \hfill \\ &\quad+ \frac{{0.409171459}}{{1 + {\text{e}}^{{ - ( - 0.465902062t + 0.170550712)}} }} \hfill \\ &\quad+ \frac{{0.365152882}}{{1 + {\text{e}}^{{ - (0.33679916t + 0.074776638)}} }} \hfill \\ &\quad+ \frac{{0.312424795}}{{1 + {\text{e}}^{{ - ( - 0.274818782t + 0.536790222)}} }}, \hfill \\ \hat{S}(t)&= \frac{{0.021485813}}{{1 + {\text{e}}^{{ - (1.578326589t - 0.077437246)}} }} \hfill \\ &\quad+ \frac{{ - 0.21726037}}{{1 + {\text{e}}^{{ - ( - 0.263765816t - 0.173708626)}} }} \hfill \\ &\quad+ \frac{{0.565280061}}{{1 + {\text{e}}^{{ - ( - 0.015711639t - 0.50219569)}} }} \hfill \\ &\quad+ \frac{{0.055967561}}{{1 + {\text{e}}^{{ - ( - 0.65005606t - 0.57764321)}} }} \hfill \\ &\quad+ \frac{{ - 0.067333053}}{{1 + {\text{e}}^{{ - (1.070519433t + 0.657486063)}} }}, \hfill \\ \hat{T}(t)& = \frac{{0.125124335}}{{1 + {\text{e}}^{{ - (0.41478089t - 0.026378504)}} }} \hfill \\ &\quad+ \frac{{0.115908793}}{{1 + {\text{e}}^{{ - (0.269038758t + 0.236769427)}} }} \hfill \\ &\quad+ \frac{{0.122375154}}{{1 + {\text{e}}^{{ - ( - 0.469744931t + 0.056065942)}} }} \hfill \\ &\quad+ \frac{{0.015572656}}{{1 + {\text{e}}^{{ - (1.395145772t + 1.806917576)}} }} \hfill \\ &\quad+ \frac{{ - 0.218318242}}{{1 + {\text{e}}^{{ - ( - 0.019361498t - 0.116651107)}} }}, \hfill \\ \end{aligned}$$
(29)

the solution overlapped with the reference solution of Range-Kutta order 4 (RK4). This overlapping validates convergence of the proposed technique. The solution is written up to 9 decimal places to avoid round-off errors. The solution is obtained in \(t\in [0,2]\) with 0.01 step size having 201 input points.

Fig. 5
figure 5

Graphical representation of Scenario 3

Table 4 Absolute errors of scenario 3 with reference solution

4.4 Scenario 4

This scenario is based on the following values, of SES model in Eq. (2), birth rate of saplings \(\beta =0.7\), death rate of sapling \(\mu =0.3\), death rate of trees \(\nu =0.2\) and sapling to tree recruitment \(\omega =0.5\). Multiple executions are done for SES model to collect a large number of data. The fitness function with 10 input points can be updated as:

$$\begin{aligned} \begin{array}{l} E=\frac{1}{10}\sum _{i=1}^{10}\left( \left( \frac{d G_i}{d t}-0.3 S_i-0.2 T_i+0.7 G_i T_i\right) ^2 + \left( \frac{d S_i}{d t}-0.7 G_i T_i+0.5 S_i+0.3 S_i\right) ^2 + \left( \frac{d T_i}{d t}-0.5 S_i+0.2 T_i\right) ^2\right) \\ +\frac{1}{3}\left( \left( G_i-0.7\right) ^2+\left( S_i-0.1\right) ^2+\left( T_i-0.2\right) ^2\right) , \end{array} \end{aligned}$$
(30)

and the associated initial conditions are \(G(0)=0.7, S(0)=0.1\) and \(T(0)=0.2\).

The sum of mean square errors of each equation is minimized by ANN-SCA-IPA technique. The solution obtained by ANN-SCA-IPA is compared graphically with the results of Range-Kutta order (RK4) in Fig. 6(a). The RK4 is implemented using Matlab’s built-in function, Ode45. Each variable is plotted for 100 independent runs in sub-figure 6(c), (d) and (e). The solutions of RK4 are taken as a reference solution. The absolute errors between reference solution and solution by ANN-SCA-IPA algorithm are also drawn in Fig. 6(b). For evaluation of fitness values, statistical terms maximum (MAX), minimum (MIN), and standard deviation (STD) are used. The data for MAX, MIN, and STD is reported in Table 5. The values of minimum for all variables are in between \(10^{-07}\) and \(10^{-10}\), the values of maximum are lies in \(10^{-05}\) and \(10^{-06}\), the value of mean is in \(10^{-06}\) and \(10^{-07}\) and the values of standard deviation lies in \(10^{-06}\) and \(10^{-07}\). The weights are drawn three-dimensionally given in sub-figure 6(f). The best weights found by execution of ANN-SCA-IPA technique are used in Eq. (6) which give the solution for SES model is given as:

$$\begin{aligned} \hat{G}(t)=&\frac{ 0.000285473 }{1+\mathrm {e}^{-( 0.034457792 t+ 0.153273689 )}}\nonumber \\&+ \frac{ 0.17900599 }{1+\mathrm {e}^{-( -1.043395645 t -3.320135645 )}}+ \frac{ 0.411025561 }{1+\mathrm {e}^{-( -0.105776769 t -0.227553661 )}}\nonumber \\&\quad + \frac{ 0.504197801 }{1+\mathrm {e}^{-( 0.003241391 t -0.16593974 )}}\nonumber \\&+ \frac{ 0.54952614 }{1+\mathrm {e}^{-( -0.082816048 t+ 0.039148546 )}}\nonumber \\ \hat{S}(t)=&\frac{ -0.007613071 }{1+\mathrm {e}^{-( -1.408632539 t -0.102224703 )}}\nonumber \\&+ \frac{ 1.407868544 }{1+\mathrm {e}^{-( 0.151329609 t -2.868084376 )}}+ \frac{ 0.011815423 }{1+\mathrm {e}^{-( 3.596396568 t+ 1.932350304 )}}\nonumber \\&\quad + \frac{ 0.078964849 }{1+\mathrm {e}^{-( -0.865975065 t+ 0.109845808 )}}\nonumber \\&+ \frac{ -0.050513424 }{1+\mathrm {e}^{-( -1.336373484 t -0.09673791 )}}\nonumber \\ \hat{T}(t)=&\frac{ 0.014326173 }{1+\mathrm {e}^{-( -0.514447744 t -0.139236015 )}}+ \frac{ -0.011003623 }{1+\mathrm {e}^{-( -0.122231632 t -0.046199967 )}}\nonumber \\&+ \frac{ 0.182454552 }{1+\mathrm {e}^{-( -0.252918437 t -0.485000449 )}}\nonumber \\&\quad + \frac{ 0.007639639 }{1+\mathrm {e}^{-( -2.614707161 t+ -1.8629168 )}}\nonumber \\&+ \frac{ 0.322741854 }{1+\mathrm {e}^{-( 0.319833727 t -0.417641998 )}} \end{aligned}$$
(31)

The solution overlapped with the reference solution of Range-Kutta order 4 (RK4). This overlapping validates convergence of the proposed technique. The solution is written up to 9 decimal places to avoid round-off errors. The solution is obtained in \(t\in [0,2]\) with 0.01 step size having 201 input points.

Fig. 6
figure 6

Graphical representation of Scenario 4

Table 5 Absolute errors of scenario 4 with reference solution

4.5 Scenario 5

This scenario is based on the following values, of SES model in Eq. (2), birth rate of saplings \(\beta =0.7\), death rate of sapling \(\mu =0.2\), death rate of trees \(\nu =0.1\) and sapling to tree recruitment \(\omega =0.6\). Multiple executions are done for SES model to collect a large number of data. The fitness function with 10 input points can be updated as:

$$\begin{aligned} \begin{array}{l} E=\frac{1}{10}\sum _{i=1}^{10}\left( \left( \frac{d G_i}{d t}-0.2 S_i-0.1 T_i+0.7 G_i T_i\right) ^2 + \left( \frac{d S_i}{d t}-0.7 G_i T_i+0.6 S_i+0.2 S_i\right) ^2 + \left( \frac{d T_i}{d t}-0.6 S+0.1 T_i\right) ^2\right) \\ +\frac{1}{3}\left( \left( G_i-0.6\right) ^2+\left( S_i-0.1\right) ^2+\left( T_i-0.2\right) ^2\right) , \end{array} \end{aligned}$$
(32)

and the associated initial conditions are \(G(0)=0.6, S(0)=0.1\) and \(T(0)=0.3\).

The sum of mean square errors of each equation is minimized by ANN-SCA-IPA technique. The solution obtained by ANN-SCA-IPA is compared graphically with the results of Range-Kutta order (RK4) in Fig. 7(a). The RK4 is implemented using Matlab’s built-in function, Ode45. Each variable is plotted for 100 independent runs in sub-figure 7(c), (d) and (e). The solutions of RK4 are taken as a reference solution. The absolute errors between reference solution and solution by ANN-SCA-IPA algorithm are also drawn in Fig. 7(b). For evaluation of fitness values, statistical terms maximum (MAX), minimum (MIN), and standard deviation (STD) is used. The data for MAX, MIN, and STD is reported in Table 6. The values of minimum for all variables are in between \(10^{-08}\) and \(10^{-10}\), the values of maximum are lies in \(10^{-05}\) and \(10^{-06}\), the value of mean is in \(10^{-06}\) and \(10^{-07}\) and the values of standard deviation lies in \(10^{-06}\) and \(10^{-07}\). The weights are drawn three-dimensionally given in sub-figure 7(f). The best weights found by execution of ANN-SCA-IPA technique are used in Eq. (6) which give the solution for SES model is given as:

$$\begin{aligned} \hat{G}(t)=&\frac{ -.00000864 }{1+\mathrm {e}^{-( 0.070397567 t+ 0.137777316 )}}\nonumber \\&+ \frac{ 0.597836205 }{1+\mathrm {e}^{-( -0.169566172 t -0.283645036 )}}\nonumber \\&+ \frac{ 0.83390279 }{1+\mathrm {e}^{-( -0.274564794 t -2.21855874 )}}\nonumber \\&\quad + \frac{ 0.600041299 }{1+\mathrm {e}^{-( -0.169646602 t -0.283080401 )}}\nonumber \\&+ \frac{ 1.255868545 }{1+\mathrm {e}^{-( -1.67942891 t -5.863505512 )}},\nonumber \\ \hat{S}(t)&=\frac{ 0.136250965 }{1+\mathrm {e}^{-( 1.966070558 t+ 2.99109318 )}}\nonumber \\&+ \frac{ -0.076308791 }{1+\mathrm {e}^{-( -0.836378399 t -0.412892046 )}}\nonumber \\&+ \frac{ 0.00019821 }{1+\mathrm {e}^{-( 2.141200205 t+ 4.23394353 )}}\nonumber \\&\quad + \frac{ -0.108645235 }{1+\mathrm {e}^{-( -1.333649228 t -2.024147204 )}}\nonumber \\&+ \frac{ 0.02349783 }{1+\mathrm {e}^{-( 0.612854695 t+ 0.237232271 )}},\nonumber \\ \hat{T}(t)&=\frac{ 0.362794409 }{1+\mathrm {e}^{-( 0.313187451 t -2.220495271 )}}\nonumber \\&+ \frac{ -0.292508604 }{1+\mathrm {e}^{-( -0.378536771 t -0.009799846 )}}\nonumber \\&+ \frac{ 0.96358051 }{1+\mathrm {e}^{-( 0.03517345 t -0.281962738 )}}\nonumber \\&\quad + \frac{ -0.04661323 }{1+\mathrm {e}^{-( -0.291258935 t -0.197342371 )}}\nonumber \\&+ \frac{ 1.215766272 }{1+\mathrm {e}^{-( -1.176238747 t -4.273156164 )}}, \end{aligned}$$
(33)

The solution overlapped with the reference solution of Range-Kutta order 4 (RK4). This overlapping validates convergence of the proposed technique. The solution is written up to 9 decimal places to avoid any round-off errors. The solution is obtained in \(t\in [0,2]\) with 0.01 step size having 201 input points.

Fig. 7
figure 7

Graphical representation of Scenario 5

Table 6 Absolute errors of scenario 5 with reference solution

4.6 Evaluation of ANN-SCA-IPA by performance matrices

For the performance evaluation of ANN-SCA-IPA technique, performance matrices are utilized. The utilized matrices are MAD, RMSE and ENSE. The definition of these operators is given in Eqs. (21)-(23). The few runs(executions) cannot verify its consistency, reliability, and convergence. Therefore, ANN-SCA-IPA is executed 100 times to collect a large evaluation data set. The execution procedure SCA is executed to obtain its best weights and then provided to IPA as initial gauss for the refinement of provided variables. The values found for MAD, RMSE, and ENSE are drawn with the help of a line graph in Figs. 8, 9. In plotting the line graph, the y-axis is taken as a semi-log to observe the small variation in data. The operators MAD, RMSE and ENSE for scenario 1 are shown in Fig. 8(a), (b) and (c), for scenario 2 the values are shown in Fig. 8(d), (e) and (f), for scenario 3 are shown in Fig. 8(g), (h) and (i). With a similar pattern, scenario 4 and scenario 5 are given in Fig. 9. From Figs. 8 and 9, its observed that the values of MAD for scenario 1, scenario 2, scenario 3, scenario 4 and scenario 5 are between \(10^{-03}\) to \(10^{-07}\), the values of RMSE are in between \(10^{-03}\) to \(10^{-06}\) and values of ENSE lies in \(10^{-03}\) to \(10^{-10}\). Each sub-figure consist of three graphs each for variable G(t), S(t) and T(t).

Fig. 8
figure 8

Graphs of performance operators

Fig. 9
figure 9

Graphs of performance operators

The best value of MAD, RMSE, and ENSE is zero. From Figs. 8 and 9, it seems that the values of MAD, RMSE, and ENSE converge to zero. The MAD, RMSE, and ENSE have impressive values. Which shows that the ANN-SCA-IPA technique is consistent and reliable for the solution of the SES model. Furthermore, the fitness value of each variable is also evaluated with Histogram having normal distribution and boxplots. The plots are given in Fig. 10. In Fig. 10, the sub-figure 10(a)-(c) shows the histogram for G(t), S(t) and T(t) of scenario 1, respectively. In similar pattern, the sub-figure 10(d)-(f) shows histogram for scenario 2. In sub-figure 10(e), (f) and (i) there are three boxplots each for G(t), S(t) and T(t) of scenario 3, 4 and 5, respectively. The boxplot shows five numerical values for each variable, i.e, minimum, first quartile, median, third quartile, and maximum. Which illustrate the fitness of solutions. The fitness values of all scenarios are statistically sound. The graphs show the consistency and reliability of ANN-SCA-IPA technique.

Fig. 10
figure 10

Fitness evaluation by Histogram with normal distribution and Boxplots

Moreover, for better visualization fitness of the proposed technique is drawn as a bar graph. The bar graphs are given in Fig. 11. Each bar graph shows the values best, worst, and mean for variables G(t), S(t), and T(t). The bar graphs are drawn with a log on y-axis. In each graph, it can seem that fitness value is considerably better. Even the worst value is less than \(10^{-7}\). These graphs give simple and more visual detail of fitness.

Fig. 11
figure 11

Best, worst and mean value of fitness

4.7 Evaluation by global performance operators

The performance of ANN-SCA-IPA technique is evaluated by global variants of performance operators MAD, ENSE, and RMSE. Their global version is abbreviated as GMAD, GRMSE, and GENSE. The values of these global operators depend on the average values of MAD, RMSE, and ENSE. The definition of GMAD, GRMSE and GENSE are given in Eqs. (2123), respectively. For each operator, the minimum(MIN) and mean values are reported in Table 7. In the table, the value of scenarios 1, 2, 3, 4, and 5 for each variable G(t), S(t), and T(t) is given. For Scenario 1 the value of GMAD is between \(10^{-06}\)\(10^{-07}\), GRMSE lies in \(10^{-05}\)\(10^{-07}\) and GENSE are in between \(10^{-09}\)\(10^{-12}\). The values of GMAD for scenario 2 \(10^{-07}\)\(10^{-09}\), GRMSE has values \(10^{-07}\)\(10^{-09}\) and GENSE are \(10^{-06}\)\(10^{-11}\). Similar values can observe for scenarios 3, 4, and 5 from Table 7. The values of all the operators are consistent, which verifies the consistency, reliability, and convergence of ANN-SCA-IPA technique.

Table 7 Statistical data of global performance operators

4.8 Complexity analysis on the basis of 100 runs

The complexity of ANN-SCA-IPA technique is checked by plotting graphs of the solutions obtained for 100 runs. The graphs are given in Figs. 37. For all solutions, Mesh graph is plotted to study them collectively. A single run or few runs cannot justify the reliability of a technique. That’s why multiple executions are done to collect a large data set.

Scenario 1

In the Fig. 3(c), (d) and (e) shows the solution for G(t), S(t) and T(t). From the figures, it can be observed that the graphs are smooth, and no jumps are there for all the variables. But in sub-figure 3(d), the solutions of variable S(t) are slightly disturbed as small jumps in the solutions are observed in the last digits.

Scenario 2

From Fig. 4(c), (d) and (e), the solutions of G(t), S(t) and T(t) can observe. No distraction is found in variables G(t) and T(t) solutions. A slight distraction can be observed in the solution of S(t) in very few values.

Scenario 3

In the Fig. 5(c), (d) and (e) shows the solution for G(t), S(t) and T(t). In Fig. 5(d), the solutions of S(t) are dismay. The solutions are distracted for last values. But for G(t) and T(t) are smooth, and no jumps are there.

Scenario42

Fig. 6(c), (d) and (e) shows the solutions variables. It can observe that the solutions are impressively consistent for all the runs. No interference is found in the solutions of G(t), S(t), and T(t) of scenario 4.

Scenario 5

Fig. 7(c), (d) and (e) shows the solutions variables. Similar to scenario 4, the solutions of G(t), S(t), and T(t) are consistent.

From the above discussion, it can conclude that performance of the ANN-SCA-IPA technique is impressive. Furthermore, the convergence rate of the proposed technique is high.

5 Conclusions

Savanna vegetation is an important component of the ecosystem. The increase and decrease in Savanna vegetation can cause disturbance to the ecosystem. The mathematical model of the Savanna ecosystem is considered. The model dynamics are evaluated by its parameters, such as the death rate of a sapling, the death rate of trees, and sapling to tree recruitment. The Savanna ecosystem model is given in the system (2). To solve the SES model (2), a hybridized technique of SCA and IPA is proposed with the influence of ANN. For the solution of the SES model, mean square error based fitness function is designed given in Eqs. (9)-(13). For evaluation ANN-SCA-IPA technique, a large data set is collected by multiple runs. The fitness of the SES model is evaluated by convergence plots such as boxplots, bar graphs, and histograms with normal distribution. From all these evaluations, it can observe that ANN-SCA-IPA is robust and reliable. It can be implemented for many other physical, chemical, and biological models. In the future, the SES model’s limitation can be modified with other assumptions like Savanna-fire, soil effect on Savanna, grass and sapling, and climate change for the protection of Savanna.