key: cord-0928595-iz05guqm authors: Anadebe, Valentine Chikaodili; Onukwuli, Okechukwu Dominic; Abeng, Fidelis Ebunta; Okafor, Nkechinyere Amaka; Ezeugo, Joseph Okechukwu; Okoye, Chukwunonso Chukwuzuloke title: Electrochemical-kinetics, MD-simulation and multi-input single-output (MISO) modeling using adaptive neuro-fuzzy inference system (ANFIS) prediction for dexamethasone drug as eco-friendly corrosion inhibitor for mild steel in 2 M HCl electrolyte date: 2020-10-21 journal: J Taiwan Inst Chem Eng DOI: 10.1016/j.jtice.2020.10.004 sha: b9450aa15670002d4d7f03121e1c7c5da98fd4c7 doc_id: 928595 cord_uid: iz05guqm In this research, the effect of Dexamethasone drug (DM) on mild steel corrosion in 2 M HCl was analyzed using weight loss, potentiodynamic polarization, electrochemical impedance spectroscopy (EIS) and MD-simulation. In addition, Fourier transform infrared spectra (FTIR), scanning electron microscopy (SEM), Energy dispersive x-ray spectroscopy (EDX), and atomic force microscopy (AFM) were employed to inspect the mild steel surface in the blank and inhibited medium. For the optimization tool, adaptive neuro-fuzzy inference system (ANFIS) model was developed to predict the inhibition efficiency. The experimental data was categorized into two different sections for training and testing the ANFIS model. The developed model aimed to evaluate the fitness between the experimental and predicted values. From the results generated, optimum value (IE%) of DM was recorded as 80%, 81% and 83% at concentration of 0.4 g/L for weight loss, EIS and PDP respectively. Potentiodynamic polarization results reveal that Dexamethasone functions as a mixed-type inhibitor, whereas studies of EIS show that the inhibition mechanism is by the transfer of charges. Mild steel surface examination confirmed the presence of a protective adsorbed film on the mild steel surface. Thermodynamic parameters obtained imply that Dexamethasone is adsorbed on the steel surface by a physiochemical process and obeys Langmuir adsorption isotherm. Also the MD-simulation results evidenced that DM forms a metallic surface adsorbed film on the steel surface. From the ANFIS model, the sensitivity analysis shows that time and inhibitor concentration were the most important input variable while other input variables could not be neglected. ANFIS model coefficient of determination (R(2) 0.993) was found between the observed and predicted values. ANFIS model gave optimum prediction (80%) with high degree accuracy and robustness. The outcomes of this investigation provide more information, simulation, and prediction about inhibition of metal corrosion. The destruction (or deterioration) of a metal and unwanted chemical or electrochemical attack by its environment starting at the surface is called corrosion. Corrosion can damage pipelines, bridges, public buildings, water and wastewater systems and if neglected can be catastrophic [1] . It is one of the most severe oil and gas industrial problems. Metal corrosion has caused huge economic losses in many industries, involving billions of dollars each year. The international corrosion prevention application and economic measure estimated global corrosion cost to 1À5% of an industrialized country's gross national product [2] . They suggested that implementing corrosion prevention could lead to global savings of 15À35%. Control measures or procedures therefore need to be introduced to minimize or prevent corrosion thereby prolonging the life span of metals [3] . Different methods for protection of metals from corrosion were suggested and implemented. One of these methods is the use of corrosion inhibitor which is one of the best corrosion control method. Corrosion inhibitors have been known to be an effective and simpler means of preventing corrosion [4À6] . A corrosion inhibitor is a chemical substance or a combination of substances that when applied to a corrosive environment in very limited amounts effectively reduce or inhibit corrosion without interacting significantly with the environmental components [7] . Corrosion inhibitors have found applications in different industries like oil and gas, chemical industries, heavy production processing and water treatment plants [8] . Corrosion inhibitors may be categorized as organic or inorganic compounds and can typically dissolved in corrosive environments. It should be noted that most organic and synthetic inhibitors are not biocompatible and economically cost effective. For this reason, these types of inhibitors became useless and outdated and current studies are directed towards application of inexhaustible, biocompatible, and nontoxic inhibitors [3] .The growing understanding of health, safety and environment has drawn researcher's attention to develop very powerful and productive environmentally friendly inhibitors. Typical examples of such inhibitors that are environmentally friendly are fast green [9] . Fast green molecules have an aromatic ring with electroactive nitrogen and oxygen atoms while the Dexamethasone molecule has electroactive oxygen and carbon atoms with aromatic rings (rich electrons). Fig. 1 displays the molecular structure of the studied compound, these compounds are drug based and are adsorbed on the metal surface thereby blocking the active site of the metal resulting to decrease in the rate of corrosion and thus increasing the inhibition efficiency [10, 11] . In the field of corrosion many researchers have agreed that drugs are inhibitors of corrosion, and can favorably compete with the natural products [12, 13] . There are a large number of reports on the use of drug based compounds as corrosion inhibitor for metal corrosion prevention in aggressive environment. The impact of tobramycin drug on carbon steel in 2 M HCl solution was examined by Abeng et al. [14] . They reported the inhibition efficiency of 80% using 500 ppm inhibitor. The electrochemical and quantum chemical studies on adsorption of nifedipine as corrosion inhibitor at API 5LX-52 steel/ HCl acid interface was investigated by Ikpi and Abeng [15] . They found that nifepidine drug performed as a mixed type corrosion inhibitor and a maximum inhibition efficiency of 88.5% was determined with a 500 ppm solution of inhibitor. The adsorption process of the drug on API 5LX-52 steel was successfully interpreted by the Langmuir model. Also the quantum chemical studies revealed the feasible adsorption areas of the nifedipine molecule. El-Haddad et al. [16] studied the carbon steel corrosion rate in acidic medium containing cephapirin drug. They showed that the corrosion inhibitor molecules adsorption on the steel surface resulted in achievement of inhibition efficiency of 83% at 600 ppm and temperature of 303 K. The inhibitory action of expired asthalin drug on the corrosion of mild steel in acidic media was studied by Geethamani et al. [17] . They found that inhibition efficiency increases with the increase of inhibitor concentration, time and temperature. A mixed mode of inhibition mechanism was proposed for the effect of asthalin drug. The highest inhibition efficiency (73.68%) was retrieved for an inhibitor concentration of 9.0% v/v, also the adsorption thermodynamic was best interpreted by the Langmuir isotherm. Sumayah et al. [18] predicted the suitability of bronopol as a corrosion inhibitor for aluminum metal in 0.5 M HCl using weight loss data combined with the electrochemical measurement. They found that bronopol exhibits a maximum of 93.89% inhibition efficiency at 4000 ppm. Also the adsorption of bronopol on aluminum surface tends to obey Langmuir isotherm. The polarization measurement revealed bronopol to be a mixed sort inhibitor. Abdallah et al. [19] evaluates the performance of tramadol drug as a safe inhibitor for aluminum corrosion in 1 M HCl solution. They found that inhibition efficiency increases with the increase inhibitor concentration. Tramadol drug is a mixed inhibitor mainly anodic. They reported inhibition efficiency of 98% at temperature of 25°C and inhibitor concentration of 500 ppm. Electrochemical and quantum chemical studies on corrosion inhibition performance of 2,2 0 -(2-Hydroxyethylimino)bis[N-(alphaalpha-dimethylphenethyl)-Nmethylacetamide] on mild steel corrosion in 1 M HCl solution was investigated by Iman et al. [20] . In their study, inhibition efficiency increased with an increase in inhibitor concentration. Maximum inhibition efficiency of 95% at 200 ppm was achieved. Polarization studies revealed that the drug molecule was a mixed type inhibitor. The above literature analysis highlights the importance of identifying effective corrosion inhibitors for mild steel in order to increase safety, less maintenance costs and restricts the use of imported chemical inhibitors when it is adopted, especially, in the industries, for flow systems or chemical plants experiencing severe acidic conditions [21] . For the purpose of marketability of new discovered inhibitors, the latter should be closely examined by low cost, availability and near-to-zero environmental impact. Following this direction, this present work proposes the application of a novel drug (Dexamethasone) as a potential additive for mitigation of corrosion. Dexamethasone is a synthetic corticosteroid and derivative of cortisol. It is whitish in nature, odorless and a crystalline powder with molecular formula C 22 H 29 FO 5, it helps in treatment of severe conditions like allergies and some common diseases. Dexamethasone is much cheaper and easy to procure. These outstanding characteristics have necessitated an ongoing research with a major breakthrough on the use of Dexamethasone in treatment of COVID 19. In Chemical Engineering discipline to be precise, soft computing models and simulations have been enormously used in promising areas of research [22À26]. Modeling, simulation and solving complex nonlinear problems is one of the breakthrough applications of artificial intelligence like fuzzy inference programs, ASPEN HYSIS, artificial neural network (ANN), Genetic algorithm (GA) and RSM models. Some well-respected scientists with similar research interest have used different soft computing and modeling techniques and positive results were generated [27À34], although the application of ANFIS is very scarce in this area. Thus, multi objective interest in this current research is to examine the interfacial adsorption and active sites of Dexamethasone drug at atomic and molecular rates using MD simulation concept, secondly for the first time, to use ANFIS model to predict the inhibition efficiency and to test the model application to pin point nonlinear complex interaction between independent variable and expected response. Corrosion studies were performed on mild steel of compositions Mn (0.13%), P (0.22%), Si (0.05%), S (0.12%), C (0.24%), Cr (0.02%), Ni (0.07%), and Fe (99.15%). Prior to corrosion studies, the mild steel was mechanically cut (5 £ 4 £ 0.1 cm). Each coupon was abraded using 220, 600 and 800 emery papers to obtain a smooth / uniform surface area. The coupons were further degreased with acetone, rinsed with deionized water to remove debris and dried in warm air. This is in line with technique of previous report [35] . We performed weight loss experiment at varying temperatures. Test coupons in triplicates were suspended freely in glass reaction vessels containing 200 ml of test solution (2 M HCl) without and with varying inhibitor concentrations. At the appropriate time, the mild steel samples were taken out, immersed in acetone, scrubbed with a bristle brush under running water, and dried in warm air before reweighing. The weight loss was calculated in grammes as the difference between the initial weight and the weight after the removal of the corrosion product. The experimental readings were recorded. The weight loss (Δw), corrosion rate (CR), inhibition efficiency (IE), and degree of surface coverage (u) were calculated using Eqs. (1À4) [35] . where w 1 and w 2 are initial and final weight loss of mild steel respectively.CR blank and CR inhibitor are the corrosion rate of mild steel in absence and presence of inhibitor. 'A' is the total area of the mild steel sample and't' is the time of immersion. Electrochemical measurement was performed in 2 M HCl solution in absence and presence of different concentrations of inhibitor at 30°C. Within the context of this study two components of epoxy resin were used to mount the mild steel in a PVC holder connected with a copper wire forming a working electrode with a surface area of 1cm 2 . The electrochemical study was done using a VERSASTAT 400 full set DC Voltammetry and a Potentiodynamic/ Galvanostat corrosion system with E-chem software for polarization study. The procedures for the electrochemical measurement are as follows: electrochemical cell assembly comprising of mild steel known as working electrode, 1 cm £ 1 cm platinum foil used as counter electrode, and the saturated calomel electrode representing the reference electrode [37] . The entire electrochemical measurement was performed in a 200 ml glass filled with the test solution. Prior to each experimental measurement the test solution was stabilize at 100 s. EIS measurement was carried out over the frequency range of 100 KHz to 10 MHz with signal amplitude of 5 mV. Zsimpwin 3.0 software was used to analyze the impedance data. Potentiodynamic polarization measurements were performed at the scan rate of 0.33 mV/s. The potential range was § 250 mV versus corrosion potential. The experiment was run in triplicates to scrutinize and justify the reproducibility of average values obtained for further statistical analysis. The following Equations were used for the calculation of inhibition efficiency. IE% ¼ i corrðblÞ Ài corrðinhÞ i corrðblÞ X 100 1 ð6Þ Where R ct(bl) and R ct(inh) represent the charge transfer resistance in uninhibited and inhibited solution and corrosion current densities in uninhibited and inhibited solution represented as i corr(bl) and i corr(inh) respectively. The quantum chemical calculations and MD-simulation were performed using the DFT electronic structure programs Forcite and DMol 3 as embedded in the materials studio 4.0 software. The electronic parameters for the simulation include unrestricted spin polarization using DND basis set and perdew-Wang (PW) local correlation density functional. The Fe slab for the simulations was cleaved along the (110) plane. The calculations were performed in a 12 £ 10 super cell using a Compass force field (condensed phase optimized molecular potential simulation studies) and the Smart algorithm with NVE (micro canonical) ensemble, a time step of 1 fs and simulation time of 5 ps. The temperature was fixed at 303 K. The system was quenched automatically at intervals of 250 steps. ANFIS is a unique optimization tool as it has the capability to model and scrutinize stochastic values with high level of accuracy. ANFIS modeling requires data for independent variables (MI) and dependent variable (SO). The coding or network program focuses on Takagi-Sugeno fuzzy inference system [23] . ANFIS program uses back-propagation and least square evaluation for prediction of membership function. The adaptive network normally consists of nodes and directional links, which are the connectors of the node. The nodes are purely adaptive because they depend on the node parameters, and during learning; these parameters are changed based on the learning rules with a target on minimizing a prescribed error measure. The Takagi-Sugeno program is used in ANFIS where every rule's output is constant. The ANFIS rule is categorize into two as given below. Second rule : Àif x is A 2 and y is :A 1 ,A 2 ,B 1 andB 2 are nonlinear numbers whilep 1 ,p 2 ,q 1 ,q 2 and r 1 andr 2 are linear numbers. A statistical criterion R 2 was employed for predicting the model's order. R 2 evaluates the conformity (fitness) between the experimental and predicted data set using the following equation: Prior to ANFIS analysis and prediction, 14 runs of experiment were considered. The experimental data were normalized. Normalization is refers to changing the experimental data to values between 0 and 1. It is pertinent to normalize such data to ensure error free (zero) on completion of system analysis. The Z-score normalization method through mean and standard deviation of training data for normalizing the input values was done using the following equation Wherex i is input data set, m i is mean ofx i s i standard deviation of x i Norm(n) is normalized variablexas input to ANFIS environment. The mild steel coupons were immersed in test solution at 303 K for duration of one day. The coupons were then taken out and dried after one day. The nature of the film formed on the metal surface was analyzed by Fourier transform infrared (FTIR), Scanning electron microscope in combination of energy dispersive x-ray SEM-EDX, For the SEM analysis, the electron beam acceleration takes place through the voltage system 15 kV. The electron beam gets narrowed after passing through the apertures and electromagnetic lens. Afterwards the beam scans the metal surface with the help of scan coils. The images are generated after production of SEM types of signals from the area of beam and specimen interaction. In addition, atomic force microscope (AFM) was used to estimate the mean roughness (Ra) on mild steel specimens [38] . When characterizing corrosion inhibitor, time is a standout factor used in the determination of the inhibitor film stability and the rate at which inhibitor adsorption occur. The periods of immersion varied between 1 and 5 h. The findings are shown in Table 1 , which indicates the impact of time on the inhibition performance of Dexamethasone drug. The inhibition efficiency systematically increased from the early immersion period, which was 2À4 h. This was due to the inhibitor's rapid adsorption to the mild steel surface due to the maximum number of active inhibitor molecules available for the surface coating. The inhibition efficiency was observed to decline slightly after 4 h of immersion, this could be associated with more dissolution energy effect acquire by the corrosive agents within the aggressive environment [39] . The dissolution of mild steel in acidic media over a period of five hours was demonstrated in the form of electrochemical reactions [40] . The dexamethasone drug concentration varied with inhibition efficiency is shown in Table 1 . With the increase in dexamethasone concentration, the inhibition efficiency expedite due to the existence of vast amounts of adsorption sites caused by other concentrations of macromolecules. Calculation of the inhibition efficiencies from corrosion rates was shown by Eqs. (2) and (3) whereas surface coverage was calculated by Eq. (4). The optimum inhibition efficiency of dexamethasone was recorded as 80.17% at the concentration of 0.4 g/L. This is attributed to the availability of C and O in the drug compound that participates as active centers and electrostatic forces in the inhibitory action between dexamethasone and the steel surface. The active functional groups which are carbonyl in the studied compound and other groups interact with the surface of MS by electron donation to the d-orbital of Fe, thus enabling the adsorption of Dexamethasone to the surface of the mild steel [41À42]. Weight loss experiments were also used to test temperature effects on mild steel corrosion with the aid of corrosion inhibitor. The findings are listed in Table 1 . The findings were used to quantify metal dissolution activation energy and Gibbs energy of inhibitor adsorption onto the mild steel surface. The inhibition efficiency was observed to increase rapidly at mild temperature increase and gradually decline after 333 K. The reduction in the inhibition efficiency at 343 K demonstrated Dexamethasone's instability when it is exposed to higher temperatures, which implies that Dexamethasone adsorption onto MS surface was a process of exothermia, heat is released during adsorption. In keeping with the theory of Le Chatelier when the reaction that occurs is exothermic, the temperature rise will induce the reverse of the reaction. The same is true of endothermic reactions as well [43] . Dexamethasone was found to function better at low to medium temperatures than at higher temperatures. Also, the desorption of adsorbed inhibitor molecules due to increased solution agitation by higher rates of hydrogen gas evolution at elevated temperature is possible and may cause the ability of the inhibitor to be adsorbed on the mild steel surface to reduce [44] . 3.2. Activation energy, heat of adsorption and adsorption isotherm studies E a andQ ads in 2 M HCl with Dexamethasone for mild steel protection are shown in Table 2 . The measuredE a value for the inhibited solution with Dexamethasone ranges from 6.5437 to 21.7149 kJmol -1 in the presence of 0.1 and 0.3 g/L -1 inhibitor concentrations, while the activation energies range from 9.1619 to 16.4986 kJmol -1 in the 0.2 and 0.5 g/L -1 inhibitor concentrations. This work shows that the inhibited partial reaction of mild steel is due to the adsorption of the film layer on the metal surface. This is due to the nature of the studied heterocyclic compounds which shield the metal from further Table 1 Effect of independent variables (time, IC, temperature) and the expected responses. dissolution [27] . In general,Q ads negative values imply that Dexamethasone molecules' surface attachment was exothermic and spontaneous. In same vain the interaction of adsorbed molecules with the metal surface can be explained by various adsorption models. The essential step of the adsorption process of Dexamethasone molecule onto the mild steel surface is shown in Eq. (11), where (u) is the surface coverage which was calculated from weight loss [45] . As revealed by the plot of log C u as a function of log C indicates a linear graph [46] , with a mathematical model of slope values 0.311 to 0.3149 and intercepts 0.0895 to 0.1057 respectively. The regression factor (R 2 ) ranges from 0.929 to 0.930.During the analysis, adsorption model from Langmuir was tested and the model offered the best fit as shown in Fig. 2 and was used for calculating the free energy of adsorption according to Eq. (12) . DG ads ¼À2:303RT log55:5K ads where C is the concentration of inhibitor, R, T andK ads is the molar gas constant, absolute temperature and equilibrium constant. The free threshold value for free energy of adsorption is À 40 kJ/mole which is more than the free energy of the present study 34.2 kJ/mole reflecting physical adsorption mechanism of the corrosion reaction [47] . Electro-kinetics and phenomenal nature of the electrochemical practice concerned in the corrosion and corrosion inhibition of mild steel in 2 M HCl solution was appreciated by electrochemical impedance spectroscopy (EIS). The EIS study was carried out in the uninhibited and inhibited solution. The spectra impedance present in 2 M HCl solution at 303 K are shown in Fig. 3a-3c as nyquist, bode phase angle and bode modulus plots accordingly. The blank was used as a reference point in comparing the results with that of the inhibited solution shown in Fig. 3a . The spectra exhibited an imperfect semicircle with double hump nature throughout the frequency study [35] . In the Nyquist impedance spectra, the solution resistance (Rs) represent the high frequency intercept with the real axis and charge transfer resistance (Rct) is the low frequency intercept with the real axis. The data for the impedance were fitted with circuit model shown as an inset in Fig. 3a . The model consists of C dl andRct representing the impedance effect due to the corrosion product species from the blank, fractal geometry, electrode geometry and porosity as describe by Eq. (13) [48] . where Qand n are associated with CPE and exponent respectively, j 2 = À 1 is regarded as imaginary axis, vstand for angular frequency inrads À1 ,(v = 2pfexplain frequency in H Z ), R S signifies solution resistance, Wdenotes the Warburg parameter and n is the considered shifting factor, it is in assortment of À1 to 1. If n = À1(an inductor), n = 0(real resistor) and n = 1(capacitor) [47À49]. Double layer (C dl ) and film capacitance (Cf) are evaluated and defined byY 0 ,n, v as shown in Eq. (14) [49] . The goodness of EIS data fit to model isx 2 factor, described as [50] x where v i, a i ,b i are the experimental data points, ! P is a factor connected with the proposed model andZ i 0 andZ i 0 0 are expected data points (calculated). As listed in Table 3 the x 2 values are slightly small (ff1£10 À3 ), showing excellent fitness of available EIS plot (Fig. 3d ) to proposed circuit model [51] . Close scrutiny of Fig. 3a revealed that the addition of inhibitor results in an increase in the diameter of the semi-circle in the Nyquist plot. An increase in the diameter of the semi-circle in the Nqyuist plot is attributed strengthening of the adsorbed film formed by the active molecules of dexamethasone drug. The formation of the protective film layer on the steel surface is believed to be the culprit of the observed suppression in the cathodic and anodic partial reactions [52] . The increase in the diameters and in the low frequency impedance magnitude (/Z/0.05 Hz) was found to depend on concentration of Dexamethasone compound. In high frequency region the presence of DM in the phase angle maximal became higher than that of the uninhibited solution which results to the formation of protective film and increase in surface coverage on the steel surface [53] . The OCP versus time plot for mild steel in the blank solution and with different concentrations of the Dexamethasone drug is shown in Fig. 3d . From the plot, the OCP of 2 M HCl acid solution was found to be À0.55 V. For an increase in concentration of inhibitor from 0.1 g/L to 0.4 g/L, the OCP shifted towards the noble direction from À0.51 to À0.52 V, indicating that Dexamethasone controls mainly anodic metal dissolution reaction. Further observation revealed that the blank solution stabilizes from the point of immersion. Also the inhibited medium 0.1 g/L -1 reaches a steady state condition after 19 s while that of 0.4 g/L -1 stabilizes after 80 s, suggesting that the potential evolves towards the stable values during the period of study. Table 3 shows the results obtained from the EIS, noticeably the R ct (Vcm 2 ) values and the efficiency of the inhibitor (IE%) is seen to increase on addition of the drug compound. One unique observation is that as the consistence of DM increases, C dl andC f exhibited opposite trend, which reveal on the MS surface adsorb DM molecule and charge transfer phenomenon. Also the numerical values of the shifting factor "n" evaluates the non-ideal capacitive trend due to unevenness of the electrode and surface micro-defects. The constant phase element represented by double layer capacitance values confirmed the presence of the Dexamethasone compound on the surface of the steel leading to the decrease in the dielectric constant and increasing the thickness of the double layer. This is because organic species shown minimum dielectric influence than inorganic species [54] . Polarization plot for mild steel in the blank and inhibited solution (0.1 g/L -1 -0.4 g/L -1 ) of DM at 30°C is shown in Fig. 4 . The nature of the plot in the blank and at varying DM concentrations is comparable [55] . Increase in DM concentration obstructs the anodic and cathodic reactions. Vital parameters considered in this investigation includes; corrosion potential (E corr ), tafel slopes ðb a &b c Þ and corrosion current density (I corr ) as well as (IE%) are presented in Table 4 . The (E corr )values were marginally modified by adding 0.1 g/L -1 -0.4 g/L -1 DM in 2 M HCl, which shows that the impact of DM is significant. However, literature findings suggested that for an inhibitor to be categorized as a cathodic or anodic mode, a precise range or acceptable deviation in corrosion potential(E corr ) should be § 85 mV/SCE [56] . From our investigation, the(E corr ) values were less than 85 mV, postulating that DM was a mixed type inhibitor [57À58]. The description of our findings denotes that the active molecules of DM adsorbed by impeding the active sites of mild steel surface, resulting in a significant reduction in the area needed for corrosion. As listed in Table 4 , the numerical values forðb a &b c Þdecline bit by bit with rise in DM concentration. The trend of b a andb c scrutinizes the symmetry of the activation energy for both side reactions [59] . Thus the DM thin film had a positive influence on anodic and cathodic axis with predominant anodic effect. (I corr ) value also decline slightly from 0.1 g/L -1 À0.4 g/L -1 DM, signifying that (IE%) is promoted with increase in DM concentration. MD-simulation was used to explain the details of mechanism of the corrosion inhibition process of the study molecule [60] . For the neutral form, the optimize structure, HOMO, LUMO, electron density and the snap shot are shown in Fig. 5 while the protonated form are shown in Fig. 6 . Donor-acceptor relationship is due to the adsorption of organic molecules on the metallic surface. The ability of the molecule to donate electron or accept electron is represented by HOMO and LUMO. The vital parameters of the quantum chemical study include energy of highest occupied molecular orbital E HOMO , energy of lowest unoccupied molecular orbital E LUMO , energy gab DE, electronegativity x, global hardness h, global softness s and the number of electron transfer DN are shown in Table 5 . The high electron donating and accepting abilities of the Dexamethasone are associated with high values of E HOMO and low value of E LUMO respectively which shows bonding between the inhibitor molecule and the surface of the steel [61] . The energy gab parameter describes the relationship between metal-inhibitor interactions. The smaller the value of energy gab DE is associated with a global softness of the studied molecule which indicated a good inhibition efficiency of the molecule, while x ¼ The values of electronegativity x and global hardness h were used in estimating the number of electrons transfer DN based on Eq. (19) [63] . The derive work function ('), theoretical value given as '= 4.82 according to [64] . The number of electrons transfer always take place from the inhibitor molecule to the metal surface. When the value of electron transfer DN is greater than zero it signifies a greater electron donating ability of the inhibitor to the metal surface, also when the value of the electron transfer DN is less than 3.6 it reflect the effectiveness of the Dexamethasone molecule. In our present study the value of DN is positive showing better performance in the neutral form. The estimated value for the energy gap also supported inhibitory performance of the DM molecule. Also the chemistry of Dexamethasone is very vital, DM is a fluorinated steroid that is replaced by hydroxyl groups at positions 11, 17 and 21, a methyl group at position 16 and oxo groups at positions 3 and 20. It is a member of the type of glucocorticoids. DM has electro-active oxygen and carbon atoms with aromatic ring (rich electrons). From the quantum chemical point of view, Figs. 5a and 6a show the optimized structure of DM and Fig. 6b illustrates the molecular electrostatic potential (MEP) plot for the DM molecule. As shown, the colors for the MEP surface are according to red for (Àve) charge; blue for (+ve) charge; light blue represents slightly electron rich areas; green for neutral respectively. In case of our results, the partial negative charges are mainly localized over the carbonyl group (red color), the site where HOMO is located which can interact with the mild steel, while the LUMO level is seen at the carbon atom having the tendency of accepting electrons. Total electron density plot for the most stable configuration is displayed in Fig. 6e . As can be easily seen from Fig. 6e , a significant charge transfer has occurred due to the interaction of the DM molecule with the mild steel. Also the carbonyl groups conjugated with a double bond undergo adsorption in comparison with the isolated carbonyl group. The adsorption of unconjugated carbonyl group is activated by the neighboring hydroxyl groups. The carbonyl group at position 20 is activated by the hydroxyl groups present at position 17 and 21. From the experimental results obtained from different techniques. It can be inferred that dexamethasone drug inhibits the corrosion of mild steel in 2 M HCl by adsorption of active molecules at metal /solution interface. It is generally known that the adsorption of inhibitors at the metal surface is the first stage in the mechanism of the 3.7. Adaptive-Neuro fuzzy inference system prediction ANFIS program in MATLAB was used to design a model to predict the efficiency of DM drug as a potential inhibitor. In ANFIS environment, the experimental data was split into 3 sections for training, testing and validation. Gaussian membership was used for input and linear membership used for output. Training section comprises of 80% data while 20% was attributed to testing section [65] . Number of iterations required to achieve minimum steady state error was 30 epochs and two triangular membership functions attached to each of the independent variables. With a total of 3 independent variables, the total number of constant membership functions used for the dependent variable was eight membership functions as seen in Table 6 which resulted in generation of eight inference rules (the yellow color region denote the membership function of the input data while blue region is the second phase of the fuzzy rule as presented in Fig. 8 ). The ANFIS response was obtained and de-normalized to obtain accurate ANFIS prediction. ANFIS prediction based on the R 2 is presented in Table 7 considering 14 runs. From the ANFIS architecture (Fig. 9 ) the input neuron is 3 (each neuron denotes the independent variables) with the input neuron attached to 2 neurons indicating 2 membership functions used for each independent variable. The hidden neurons correspond with the output neurons where each of the neurons in the hidden layer is connected to the neurons in the output layer. The single neuron at the extreme right indicates the dependent variable which is one. The model Fig. 10a . Since the proposed ANFIS model obeyed the criteria of having its R 2 -value greater than 90%, it made it the most preferred model to carry out further test [66] . As such, surface viewer plots of ANFIS prediction with respect to the interaction parameters were also considered vital. The surface viewer plots pin points the effect of interaction parameters (coding the independent variables as x and y axis of the 3D plots) against inhibition efficiency. It is pertinent to graphically obtain the independent parameters that gave the optimal value via ANFIS prediction. Thorough inspection of Fig. 10b explain that systematic increase in DM concentration increases the inhibition efficiency (IE%), on the contrary a slight diminution curve was evidently seen at elevated temperatures, The decline in (IE%) from 333 to 343 K temperatures demonstrated Dexamethasone's instability when it is exposed to higher temperatures, which also prove that the DM active molecule was disperse at elevated corrosive conditions. Fig. 10c gives additional insight on the nature of interaction between temperature and time. At early immersion period of adsorption phenomenon, the positively charge DM molecules initiates spontaneous competition with H + for electrons on the MS thereby impeding the chloride ions that necessitates corrosion [35] . This led to a near perfect or uniform surface coverage by DM molecules. The efficiency declined slightly after 4 h of immersion. Further insight shows that the corrosion rate (CR) increased rapidly with prolonged immersion period at 343 K due to dispersion of DM active molecules. The interactive effect between time and inhibitor is highlighted in Fig. 10d . The DM efficiency rises and consequently attains equilibrium point of 80% at 4 h of study at optimum range of DM. Furthermore, it slightly decline afterwards. This implies that the Max IE% is attainable within 4 h of immersion. However, taking into consideration of both independent factors, efficiency of DM drug is attainable and stable at optimum range and medium immersion time. Earlier researchers have reported that the FTIR spectrometer is a strong instrument which can be used to prove the form of organic inhibitors bonding adsorbed on the metal surface [67] . The protective film formed on a metal surface was analyzed using FTIR spectra. FTIR of pure Dexamethasone is given in Fig. 11a . It evidenced the existence of OÀ ÀH, NÀ ÀH, CÀ ÀO, CHO groups. The FTIR spectra of the film layer formed on the metal surface after immersion for 5 h in 2 M HCl containing 0.4 g/L of Dexamethasone is shown in Fig. 11b . Nearly all the peaks observed for the pure compounds were also present in the adsorbed specie (corrosion products), with some slightly changes or modification after molecular adsorption. Further observation reveals that after adsorption of the molecules most of the peaks appeared weaker. The FTIR bands of the compounds with slight changes and the absence of few bands suggest an interaction between the compounds and the metal surface resulting in the formation of a protective film layer [27, 68] . So as to understand the level of protection of MS surface by DM more clearly, micrographs of the steel in blank and inhibited system were closely scrutinized using SEM technique. In the blank solution (Fig. 12a) a coarse, dark pits and uneven surface fractions were observed with various macro pores. The corrosion topography is visible enough due to hostile nature of chloride ions in the facial dissolution layer of the steel [69] . Inversely, the micrograph of the steel from inhibited medium (Fig. 12c) evidently differs from the control sample (appears smooth). The level of iron oxide form is suppressed due to the physical formation of a dense film on the facial layer of the steel [70] . The great deal of activeness of DM is enormously dependent on dosage of the studied inhibitor. Also EDX is a vital analytical instrument for evaluation of elemental composition on the steel surface prior to and after DM immersion. In Fig. 12b the densely particles deposited on the steel enormously comprises of iron oxides in devoid system. On the contrary, in the inhibited area Fig. 12d several peaks like O, Ca, Si and Fe were added and an increase in Fe peaks evidently describe that DM molecules obstruct the invading of electrolyte species [71] . Atomic force microscope (AFM) is an effective method for examining surface morphology, and it is also useful in corrosion inhibition studies to evaluate the nature of film formation on metal surface. Fig. 12e and 12f indicates the AFM images of polished mild steel in 2 M HCl with and without the presence of 0.4 g/L À1 Dexamethasone molecule. In HCl, the AFM picture of the mild steel surface appears more degraded than in HCl with 0.4 g/L -1 Dexamethasone drug. In addition, the typical average roughness of polished mild steel in a blank solution of 2 M HCl was calculated to be 238 nm, peak to valley was recorded as 78.4 nm and the average roughness was reduced to 98 nm, peak to valley was 43.7 nm when the inhibitor (DM) was added to the blank solution which indicated the formation of a film layer on the mild steel surface [72À73]. From the available data set obtained, the following points can be inferred. DM is a strong corrosion inhibitor in 2 M HCl solution for protection of mild steel by intercepting both anodic and cathodic reactions (Mixed type inhibitor). The inhibitory action of DM drug depends on its concentration. For appropriate safety this inhibitor should be applied at high concentrations. Langmuir adsorption isotherm best reflects that the process of inhibition of corrosion occurs only by physical adsorption. MD-simulation concept provides detailed information on feasible adsorption areas of DM drug. Measurements of surface analysis are in good agreement with the experimental findings and indicate a safe and well distributed film over the metal surface. In the 2 M HCl solution containing inhibitor, a substantial diminution in surface roughness was seen as opposed to the solution without DM. ANFIS model best predicted the non-linear interactions between the multi input and single output response with optimum value of 80% and R 2 0.993. Experimental and theoretical assessment of the inhibiting action of aspilia africana extract on corrosion aluminum alloy AA3003 in hydrochloric acid Dardagan fruit extract as eco-friendly corrosion inhibitor for mild steel in 1M HCl: electrochemical and surface morphological studies Electronics/ atomic level fundamental theoretical evaluations combined with electrochemical/surface examinations of Tamarindus indiaca aqueous extract as a new green inhibitor for mild steel in acidic solutions (HCl 1M) Utilizing lemon balm extract as an efficient green corrosion inhibitor for mild steel in 1M HCl solution: a detailed experimental, molecular dynamics, Monte Carlo and quantum mechanics study Detailed macro-/ micro scale exploration of the excellent active corrosion inhibition of a novel environmentally friendly green inhibitor for carbon steel in acidic environment A natural antioxidant and an environmentally friendly inhibitor of mild steel corrosion: a commercial oil of basil (Ocimum Basilicum L.) Electrochemical studies on the inhibition behavior of copper corrosion in pickling acid using quaternary ammonium salts The use of green bistorta officinalis extract for effective inhibition of corrosion and scale formation problems in cooling water system Electrochemical studies and surface examination of low carbon steel by applying the extract of Musa acuminate Eco-friendly Chamaerops humilis L. fruit extract corrosion inhibitor for mild steel in 1M HCl Adsorption and corrosion inhibition performance of multi-phytoconstituents from Dioscorea septemloba on carbon steel in acidic media: characterization, experimental and theoretical studies Green approach to corrosion inhibition of copper by the extract of calligonum comosum in strong acidic medium Drugs: a review of promising novel corrosion inhibitors Anti-corrosion behavior of expired tobramycin drug on carbon steel in acidic medium Electrochemical and quantum chemical investigation on adsorption of Nifedipine drug as corrosion inhibitor at API X-52 steel /HCl acid interface Data from chemical, electrochemical and quantum chemical studies for interaction between Cephapirin drug as an ecofriendly corrosion inhibitor and carbon steel surface in acidic medium The inhibitory action of expired asthalin drug on the corrosion of mild steel in acidic media: a comparative study Corrosion inhibition efficiency of bronopol on aluminium in 0.5M HCl solution: insights from experimental and quantum chemical studies Performance of tramadol drug as a safe inhibitor for aluminum corrosion in 1.0M HCl solution and understanding mechanism of inhibition using DFT Electrochemical and quantum chemical studies on corrosion inhibition performance of 2,2'-(2-Hydroxyethylimino)bis[N-(alphaalpha-dimethylphenethyl)-N-methylacetamide] on mild steel corrosion in 1M HCl solution Computational and experimental studies on the efficiency of Rosmarinus officinalis polyphenols as green corrosion inhibitors for XC48 steel in acidic medium Modeling & optimization of terminalia catappa L. kernel oil extraction using response surface methodology and artificial neural network Evaluation of optimization techniques in predicting optimum moisture content reduction in drying potato slices Modeling and optimization of african pear seed oil esterification and transesterification using artificial neural network and response surface methodology comparative analysis Anti-corrosion performance of 8-hydroxyquinoline derivatives for mildsteel in acidic medium: gravimetric, electrochemical, DFT and molecular dynamics simulation investigations Application of experimental design methodology to optimize dye removal by mucuna-sloanei induced coagulation of dyebased waste-water Experimental, theoretical modeling and optimization of inhibition efficiency of pigeon pea leaf extract as anti-corrosion for mild steel in acid environment Optimization and electrochemical study on the control of mild steel corrosion in HCl acid solution with bitter kola leaf extract as inhibitor Experimental, statistical modeling and molecular dynamics simulation concept of sapium ellipticum leaf extract as corrosion inhibitor for CS in acid environment Optimum prediction of inhibition efficiency of sapium ellipticum leaf extract as corrosion inhibitor of aluminum alloy (AA3003) in HCl using electrochemical impedance study and response surface method Oil palm empty fruit bunch extract as green inhibitor for mild steel in hydrochloric acid solution: central composite design optimization Mathematical regression and artificial neural network for prediction of corrosion inhibition process of steel in acidic media Optimization of chicken nail extract as corrosion inhibitor of M-steel in 2M H 2 SO 4 Analysis of Garcinia indica Choisy extract as friendly corrosion inhibitor for aluminum in phosphoric acid using the design of experiment Electrochemical, molecular dynamics, adsorption studies and anti-corrosion activities of Moringa leaf biomolecules on carbon steel surface in alkaline and acid environment Use of sida cordifolia extracts as green corrosion inhibitor for mild steel in 0.5M H 2 SO 4 Alkaloids extract of retama mono-sperma (L.) Boiss. Seeds used as novel eco-friendly inhibitor for carbon steel corrosion in 1M HCl solution: electrochemical and surface studies Synthesis, characterization and utilization of a diallylmethylamine-based cyclopolymer for corrosion mitigation in simulated acidizing environment Electrochemical-kinetics, MD-simulation and multi-input single-output (MISO) modeling using adaptive neuro-fuzzy inference system (ANFIS) prediction for dexamethasone drug as eco-friendly corrosion inhibitor for mild steel in 2 M HCl electrolyte Myristic acid based imidazoline derivative as effective corrosion inhibitor for steel in 15% HCl medium Evaluation of thymus vulgaris plant extract as an eco-friendly corrosion inhibitor for stainless steel 304 in acidic solution by means of electrochemical impedance spectroscopy, electrochemical noise analysis and density functional theory Synthesis and characterization of an effective green corrosion inhibitive hybrid pigment based on Zinc acetate-Ci-chorium intybus L leaves extract (ZnA-CIL.L): electrochemical investigations on the synergistic corrosion inhibition of mild steel in aqueous chloride solutions Surface protection of steel in acid medium by Tabernaemontana divaricate extract: physiochemical evidence for adsorption of inhibitor Experimental and theoretical studies of the synergistic inhibition effects between the plant leaves extract (PLE) and zinc salt (ZS) in corrosion control of carbon steel in chloride solution Adsorption and electrochemical studies of Pimenta dioica leaf extracts as corrosion inhibitor for mild steel in hydrochloric acid Green and sustainable local biomaterials for oilfield chemicals: griffonia simplicifolia extract as steel corrosion inhibitor in hydrochloric acid Comparative study of the inhibition of extracts from the peel and seeds of Citrus Aurantium against the corrosion of steel in molar HCl solution The use of green bistorta officinalis extract for effective inhibition of corrosion and scale formation problems in cooling H 2 O system Mild steel corrosion inhibition by parsley (petroselium sativum) extract in acidic media A combined experimental and theoretical study of the inhibition effect of three disulfide-based flavoring agents for Cu corrosion in 0.5M sulfuric acid Anticorrosive properties of date palm (phoenix dactylifera L.) fruit juice on 7075 type aluminum alloy in 3.5% NaCl Solution Synergistic effect of potassium iodide and sodium dodecyl sulfonate on the corrosion inhibition of carbon steel in HCl medium: a combined experimental and theoretical investigation Corrosion inhibition of mild steel in 2M HCl using aqueous extract of eggplant peel Investigation of imidazole derivatives as corrosion inhibitors of copper in sulfuric acid: combination of experimental and theoretical research Adsorption properties and inhibition of mild steel corrosion in 1M HCl solution by some bipyrazolic derivatives: experimental and theoretical investigations Electrochemical and gravimetric measurements of inhibition of aluminum corrosion by poly (meth acrylic acid) in H 2 SO 4 solution and synergistic effect of iodide ions Inhibiting evaluation of b-cyclodextrin modified acrylamide polymer on alloy steel in sulfuric solution Anti-corrosive properties and quantum chemical study of (E)-4-Methoxy-N-(Methoxybenzylidene) Aniline and (E)-N-(4-Methoxybenzylidene)-4-Nitroaniline coating on mild steel in molar hydrochloric Quantum chemical studies and corrosion inhibitive properties of mild steel by some pyridine derivatives in 1M HCl solution Corrosion protection of mild steel in acid solutions using red cabbage dye Choline based ionic liquids as sustainable corrosion inhibitors on mild steel surface in acidic medium: gravimetric, electrochemical, surface morphology, DFT and Monte Carlo simulation studies Inhibition of copper corrosion by the formation of schiff base self-assembled monolayers 20-te-tra-(4-chlorophenyl) porphyrin adlayers in 0.5M H 2 SO 4 solutions Corrosion inhibition performance of newly synthesized 5-alkoxymethyl-8-hydroxyquinoline derivative for carbon steel in 1M HCl solution: experimental, DFT and Monte Carlo simulation studies Performance and computational studies of new soluble triazole as corrosion inhibitor for carbon steel in HCl Application of ANFIS-based subtractive clustering algorithm in soil cation exchange capacity estimation using soil and remotely sensed data Prediction of oilfield-increased production using adaptive neuro fuzzy inference system with smoothing treatment Electrochemical kinetics, molecular dynamics, adsorption and anticorrosion behavior of melatonin biomolecule on steel surface in acid medium Persian Liquorice extract as a highly efficient sustainable corrosion inhibitor for mild steel in sodium chloride solution Evaluation of the effect of Tetramethyl ammonium hydroxide on the corrosion inhibition of A9Msteel in industrial water: an experimental, morphological and MD simulation insights Corrosion inhibition of Fe-19Cr stainless steel by glutamic acid in 1M HCl Effect of benzotriazole on corrosion inhibition of copper under flow conditions Investigation of corrosion inhibition effect and adsorption activities of cuscuta reflexa extract for mild steel in 0.5M H 2 SO 4 Production of an environmentally stable anticorrosion film based on esfand seed extract molecules-metal cations: integrated experimental and computer modelling approaches The authors declare that they have no conflict of interest. No funding was received for this research