Insights into Corrosion Inhibition Behavior of a 5-Mercapto-1, 2, 4-triazole Derivative for Mild Steel in Hydrochloric Acid Solution: Experimental and DFT Studies

: A triazole heterocyclic compound namely 3-(4-ethyl-5-mercapto-1, 2, 4-triazol-3-yl)-1-phenylpropanone (EMTP) was examined for its corrosion protection of mild steel (MS) against 1 M hydrochloric acid medium using gravimetric techniques. EMTP exhibited excellent corrosion protection performance at low and high concentrations towards MS in HCl solution. Comparison of corrosion protection performance of EMTP and its parent triazole and temperature effects of on inhibition efﬁcacy were also studied. EMTP has potential corrosion inhibitor for mild steel in 1.0 M hydrochloric acid solution with the highest protection efﬁcacy of 97% at 303 K. The weight loss ﬁndings implied that EMTP protects the metal surface corrosion through the creation of a protective layer at the surface mild steel–corrosive solution interface. The inhibitive efﬁcacy increases with the increase of inhibitor concentration and decreases with increased temperature. The adsorption of EMTP on the surface of MS follows Langmuir’s adsorption isotherm process. DFT method was conducted on EMTP molecule to calculate the quantum chemical parameters and to determine the relationship between the molecular structure of EMTP and protection performance. The molecular parameters, such as energy gap and frontier molecular orbital (highest occupied molecular orbital (HOMO) and lowest unoccupied molecular orbital (LUMO)), and the absolute electronegativity ( χ ) value from inhibitor molecules to unoccupied d-orbital of iron atoms on the mild steel surface were also determined and correlated with protection efﬁciency. The theoretical ﬁndings revealed that the protection performance of EMTP increased with the increase in HOMO energy, and the nitrogen, oxygen and sulfur atoms are most probable positions for bonding through giving electrons to the d-orbital of iron atoms on the mild steel surface.


Introduction
The widespread use of hydrochloric acid for pickling, rescaling, and cleaning mild steel (MS) surfaces causes' severe corrosion concerns. Inhibitors can prevent the corrosion of metallic materials by limiting metal solubility and consumption. Organic molecules containing nitrogen, oxygen, and/or sulfur atoms, as well as N-heterocyclic compounds with polar groups and/or p-electrons, are the most common acid inhibitors [1]. Several five-membered heterocycles were examined in the recent decade, and analysis has shown that the large percentage of triazoles have good corrosion protection performance for shielding a variety of alloys and metals (particularly mild steel) [2,3]. Various triazoles have been tried as corrosion inhibitors, with the results indicating that transferring a triazole to its derivatives improves inhibition performance [4][5][6][7]. Zhang et al. investigated the corrosion protection of a novel synthesized triazole derivative for mild steel in H 2 SO 4 environment, and their findings showed that the novel compound was an effective mild steel corrosion inhibitor in acid solution, with an efficiency of more than 97.6% at 298 K [8]. Wang et al. also studied the corrosion of mild steel in HCl medium using thiol-triazoles with various hetero atoms and substituents in the organic structures, and their findings revealed that all the thiol-triazole derivatives performed exceptionally well as corrosion inhibitors [9]. Some nitrogen, oxygen, and sulfur-containing triazole compounds, in particular, are more eco-friendly corrosion inhibitors than some commercial corrosion inhibitors, such as nitrite or chromate, which are severely polluting [10]. The adsorption of organic corrosion inhibitors on the metal-solution interface is usually the essential step in the effectiveness of organic corrosion inhibitors in acidic environments [11]. Corrosion inhibitors may be classified as cathodic, anodic, or mixed, depending on whether their influence is mainly in retarding the cathodic or anodic reaction of the corrosion process or both. The inhibition of anodic or cathodic corrosion reactions can be due to the reduction of the active surface area of metal and/or to a change of the activation energy of the oxidation or reduction process in corrosion. The combination of cathodic and anodic corrosion inhibitors often determines improved protection and allows reduction of the inhibitor concentration. There are usually three types of adsorption processes, physical adsorption (physisorption), chemical adsorption (chemisorption), or a combination of both-depending on the nature of the forces involved in limiting the process. A mixed-type inhibitor is a formal name for this sort of corrosion inhibitor. Adsorption requires the presence of attractive forces between the adsorbate and the mild steel. Electric charges at the surface of mild steel and charged species in the solution bulk are required for physical adsorption. The potential of the electric charges on the mild steel surface can be measured in comparison to zero charge potential. The presence of unpaired electrons, or a pi-electron system conjugated with benzene rings or triple bonds, favors electron transfer from the inhibitor molecules to the unoccupied d-orbital in the iron atoms located on the surface of mild steel. It can happen when there are heteroatoms (N, O, S, and P) in the adsorbed materials, as well as lone-pair and/or aromatic units. In general, as the electrons become more loosely held, i.e., decreasing electronegativity in the order O < N < S < P, the tendency of elements to form stronger coordinated bonds increases [12][13][14][15][16][17][18][19][20][21]. This compound was prepared previously [22] and as indicated in the preparation method, but it was not previously used as an anticorrosion, so its use as an anticorrosion is considered for the first time. As a result, for the first time, we describe the assessment of EMTP as a mild steel corrosion inhibitor ( Figure 1) in 1 M HCl using weight loss techniques in this study. The immersion time was also studied. The inhibitory process was also subjected to an appropriate adsorption isotherm.
Lubricants 2021, 9, x FOR PEER REVIEW 2 of 15 sion of metallic materials by limiting metal solubility and consumption. Organic molecules containing nitrogen, oxygen, and/or sulfur atoms, as well as N-heterocyclic compounds with polar groups and/or p-electrons, are the most common acid inhibitors [1]. Several five-membered heterocycles were examined in the recent decade, and analysis has shown that the large percentage of triazoles have good corrosion protection performance for shielding a variety of alloys and metals (particularly mild steel) [2,3]. Various triazoles have been tried as corrosion inhibitors, with the results indicating that transferring a triazole to its derivatives improves inhibition performance [4][5][6][7]. Zhang et al., investigated the corrosion protection of a novel synthesized triazole derivative for mild steel in H2SO4 environment, and their findings showed that the novel compound was an effective mild steel corrosion inhibitor in acid solution, with an efficiency of more than 97.6% at 298 K [8]. Wang et al. also studied the corrosion of mild steel in HCl medium using thiol-triazoles with various hetero atoms and substituents in the organic structures, and their findings revealed that all the thiol-triazole derivatives performed exceptionally well as corrosion inhibitors [9]. Some nitrogen, oxygen, and sulfur-containing triazole compounds, in particular, are more eco-friendly corrosion inhibitors than some commercial corrosion inhibitors, such as nitrite or chromate, which are severely polluting [10]. The adsorption of organic corrosion inhibitors on the metal-solution interface is usually the essential step in the effectiveness of organic corrosion inhibitors in acidic environments [11]. Corrosion inhibitors may be classified as cathodic, anodic, or mixed, depending on whether their influence is mainly in retarding the cathodic or anodic reaction of the corrosion process or both. The inhibition of anodic or cathodic corrosion reactions can be due to the reduction of the active surface area of metal and/or to a change of the activation energy of the oxidation or reduction process in corrosion. The combination of cathodic and anodic corrosion inhibitors often determines improved protection and allows reduction of the inhibitor concentration. There are usually three types of adsorption processes, physical adsorption (physisorption), chemical adsorption (chemisorption), or a combination of both-depending on the nature of the forces involved in limiting the process. A mixed-type inhibitor is a formal name for this sort of corrosion inhibitor. Adsorption requires the presence of attractive forces between the adsorbate and the mild steel. Electric charges at the surface of mild steel and charged species in the solution bulk are required for physical adsorption. The potential of the electric charges on the mild steel surface can be measured in comparison to zero charge potential. The presence of unpaired electrons, or a pi-electron system conjugated with benzene rings or triple bonds, favors electron transfer from the inhibitor molecules to the unoccupied d-orbital in the iron atoms located on the surface of mild steel. It can happen when there are heteroatoms (N, O, S, and P) in the adsorbed materials, as well as lone-pair and/or aromatic units. In general, as the electrons become more loosely held, i.e., decreasing electronegativity in the order O < N < S < P, the tendency of elements to form stronger coordinated bonds increases [12][13][14][15][16][17][18][19][20][21]. This compound was prepared previously [22] and as indicated in the preparation method, but it was not previously used as an anticorrosion, so its use as an anticorrosion is considered for the first time. As a result, for the first time, we describe the assessment of EMTP as a mild steel corrosion inhibitor ( Figure 1) in 1 M HCl using weight loss techniques in this study. The immersion time was also studied. The inhibitory process was also subjected to an appropriate adsorption isotherm.

Materials
The inhibitory effects of EMTP are examined on mild steel with the chemical composition presented in Table 1.

Corrosive Media
The corrosive solution was prepared by diluting 37% HCl (Merck-Malaysia) using distilled water.

Weight Loss
To study the inhibition properties of proposed compound, various concentrations of the inhibitor (100, 200, 300, 400, 500, and 1000 ppm) were added to the hydrochloric acid medium at a constant temperature 303 K. The blank test solution was 150 mL of 1 M HCl without inhibitor. Before each experiment, the mild steel coupons were mechanically well polished with various grades SiC (200-600) emery papers and rinsed with methyl alcohol, dimethyl ketone, and distilled water before being dried and weighed. Weight loss analyses were conducted by measuring dried mild steel coupons before and after immersion in 1 M HCl environments from 1 to 48 h in the absence and presence of a different concentrations of inhibitor at 303 K. Experiments were repeated for three times to determine average values. Rate of corrosion (C R ) has been determined from the mass loss techniques according to ASTM G-31-72 method and the protection efficacy (IE%) was evaluated also. The corrosion rate and inhibition efficiency values were calculated according to Equations (1) and (2). Mass loss analysis has been conducted at temperatures ranging 303, 313, 323, and 333 K without and with various concentrations of tested inhibitor. The temperatures were selected based on previous studies [23][24][25][26]. where W is the mild steel sample mass loss in "g", a is the mild steel sample surface area in cm 2 , t is the exposure time in h, and d is the mild steel sample density in g/cm 3 .
where C R(o) is the rate of corrosion in the absence of inhibitor, and C R(i) is the rate of corrosion in the presence of inhibitor.

Computational Details
Quantum chemical calculations have been conducted for gas phases applying density functional theory (DFT) techniques, using the conventional theory regarding Becke's threeparameter hybrid functional (B3LYP) level through Gaussian 03 series with 6-31G as basis set. All the calculations were calculated using of the ChemOffice program. Physical parameters such as the energy of highest occupied molecular orbital energy (E HOMO ), energy of lowest unoccupied molecular orbital energy (E LUMO ), energy gap ∆E = E HOMO − E LUMO , chemical hardness (η), chemical softness (σ), and electronegativity (χ), were calculated according to Equations (3)-(6) [27];

Weight Loss Techniques
The corrosion rate (C R ) and corrosion protection efficiency (IE%) collected from the mass loss techniques in the presence and absence of various concentrations of EMTP for mild steel in 1.0 M hydrochloric acid solution are shown in Figure 2. The corrosion protection performance was evaluated at 303 K and various immersion periods [28,29].
According to Figure 2, it is obvious that the mild steel corrosion rate reduced significantly, and the protection efficacy increased with the increase in EMTP concentration. The increased inhibiting efficacy can be attributed to the increased surface coverage owing to the adsorption of inhibitor molecules on the surface of mild steel [30,31]. The adsorption layer may then block the active sites, effectively isolating the tested coupon from the acidic environment. Compared with the triazoles corrosion inhibitors investigated previously (Table 2), EMTP showed more favorable corrosion-inhibiting performance [32,33].   In HCl solutions, the inhibition efficacy of the current inhibitor (EMTP) can be compared with other reported inhibitors that use corrosion inhibitors derived from tria-     [42] In HCl solutions, the inhibition efficacy of the current inhibitor (EMTP) can be compared with other reported inhibitors that use corrosion inhibitors derived from triazoles to protect the corrosion of mild steel. Table 2 shows that the majority of triazoles examined have strong inhibitory efficacy. To make the comparison with the current inhibitor in question, EMTP has the greatest inhibitory efficiency compared to triazoles mentioned in Table 2 [33][34][35][37][38][39][40], as well as an efficiency equivalent to that described in [36,41,42]. It is obvious that when the concentration of EMTP increased, the rate of corrosion reduced, and the inhibitive efficacy improved. This could be caused by the inhibitor's adsorption coverage on mild steel surfaces increases as the EMTP concentration increased.
The increase in protection efficacy is attributed to the increase in surface coverage because of the adsorption of the inhibitor molecules on the surface of mild steel. Next, the adsorption layer blocks the active sites and isolates the mild steel surface from the acidic environment. Related to the initial investigated triazoles inhibitors in Table 2, EMTP showed excellent corrosion protection performance. This phenomenon is related to the effects of steric hindrance and the heteroatoms in the inhibitor molecular structure. When the inhibitor is added to the corroding solution with a concentration of 500 ppm, the highest inhibitory efficacy was obtained. The increase in concentration (to 1000 ppm) did not lead to a significant change in the inhibitory efficiency.

Effect of Immersion Time
Weight loss findings showed that the inhibition efficiency increased as the concentration and immersion time increased. The highest inhibitive efficacy of about 97% was achieved at 500 ppm concentration after 5 h immersion. There is no significant increase in the inhibitive efficacy after 5 h of exposure time, and decline of inhibition efficiency after 24 h, this is attributed to desorption of the tested inhibitor molecules from the mild steel surface with increasing exposure time and instability of the protective layer on the mild steel surface [43]. A remarkable decline in the inhibition efficiency has appeared after immersion for 48 h.

Effect of Temperature
The temperature effects on corrosion rate and inhibition efficiency were investigated in 1 M HCl in the temperature range of 303-333 K without and with various inhibitor concentrations as shown in Figure 3. The optimum immersion time (10 h) was selected based on the highest inhibition efficacy obtained from comparing all tested concentrations. A decrease in the protection efficiency was observed with rising temperature from 303 to 333 K. The desorption of adsorbed inhibitor molecules on the mild steel surface could explain this phenomenon. Thus, the inhibition occurs because of the inhibitor adsorption on the mild steel surface, and increasing temperature will facilitate the desorption process of inhibitor molecules from mild steel surface [44].
Lubricants 2021, 9, x FOR PEER REVIEW 6 examined have strong inhibitory efficacy. To make the comparison with the curre hibitor in question, EMTP has the greatest inhibitory efficiency compared to tria mentioned in Table 2 [33][34][35][37][38][39][40], as well as an efficiency equivalent to that desc in [36,41,42]. It is obvious that when the concentration of EMTP increased, the ra corrosion reduced, and the inhibitive efficacy improved. This could be caused by th hibitor's adsorption coverage on mild steel surfaces increases as the EMTP concentr increased.
The increase in protection efficacy is attributed to the increase in surface cov because of the adsorption of the inhibitor molecules on the surface of mild steel. Nex adsorption layer blocks the active sites and isolates the mild steel surface from the a environment. Related to the initial investigated triazoles inhibitors in Table 2, E showed excellent corrosion protection performance. This phenomenon is related t effects of steric hindrance and the heteroatoms in the inhibitor molecular structure. W the inhibitor is added to the corroding solution with a concentration of 500 ppm highest inhibitory efficacy was obtained. The increase in concentration (to 1000 ppm not lead to a significant change in the inhibitory efficiency.

Effect of Immersion Time
Weight loss findings showed that the inhibition efficiency increased as the co tration and immersion time increased. The highest inhibitive efficacy of about 97% achieved at 500 ppm concentration after 5 h immersion. There is no significant increa the inhibitive efficacy after 5 h of exposure time, and decline of inhibition efficiency 24 h, this is attributed to desorption of the tested inhibitor molecules from the mild surface with increasing exposure time and instability of the protective layer on the steel surface [43]. A remarkable decline in the inhibition efficiency has appeared immersion for 48 h.

Effect of Temperature
The temperature effects on corrosion rate and inhibition efficiency were investi in 1 M HCl in the temperature range of 303-333 K without and with various inh concentrations as shown in Figure 3. The optimum immersion time (10 h) was sel based on the highest inhibition efficacy obtained from comparing all tested conce tions. A decrease in the protection efficiency was observed with rising temperature 303 to 333 K. The desorption of adsorbed inhibitor molecules on the mild steel su could explain this phenomenon. Thus, the inhibition occurs because of the inhibito sorption on the mild steel surface, and increasing temperature will facilitate the de tion process of inhibitor molecules from mild steel surface [44]. The activation parameters of corrosion process have been evaluated based on Arrhenius Equation (7): where E a represents the activation energy, k is the frequency parameter, T is the temperature and R is the gas constant. The activation energy value for mild steel in 1 M HCl in absence and presence of different inhibitor concentrations were determined from Figure 4 between log C R and 1/T [45]. Figure 4 gives a straight line with slope of −E a /2.303R from which the E a was calculated and presented in Table 3. With increasing temperature, there is an appreciable decrease in the adsorption of the inhibitors on the metal surface, and a corresponding rise in the corrosion rate occurred. As the temperature rises, the adsorption of inhibitor molecules on the mild steel surface decreases, and the rate of corrosion rises in response.  The activation parameters of corrosion process have been evaluated based on Arrhenius Equation (7): where Ea represents the activation energy, k is the frequency parameter, T is the temperature and R is the gas constant. The activation energy value for mild steel in 1 M HCl in absence and presence of different inhibitor concentrations were determined from Figure 4 between log and 1⁄ [45]. Figure 4 gives a straight line with slope of − /2.303 from which the was calculated and presented in Table 3. With increasing temperature, there is an appreciable decrease in the adsorption of the inhibitors on the metal surface, and a corresponding rise in the corrosion rate occurred. As the temperature rises, the adsorption of inhibitor molecules on the mild steel surface decreases, and the rate of corrosion rises in response.  values for inhibited systems are higher than those for the uninhibited systems indicates that dissolution of mild steel is slow. Moreover, as the inhibitor concentration increases the values of also increases. This suggests the presence of the inhibitor induces an energy barrier for corrosion reaction and the barrier increases with increasing concentration. At higher temperatures, there is an appreciable decrease in the adsorption of the inhibitors on the metal surface and a corresponding rise in the corrosion rate occurred.  E a values for inhibited systems are higher than those for the uninhibited systems indicates that dissolution of mild steel is slow. Moreover, as the inhibitor concentration increases the values of E a also increases. This suggests the presence of the inhibitor induces an energy barrier for corrosion reaction and the barrier increases with increasing concentration. At higher temperatures, there is an appreciable decrease in the adsorption of the inhibitors on the metal surface and a corresponding rise in the corrosion rate occurred.
A modified Arrhenius plot of log C R /T versus 1/T for mild steel dissolution in 1 M HCl environment allows for determining the values of the enthalpy of activation (∆H a ) and the entropy of activation (∆S a ) based on Equation (8): 303RT (8) where N represents Avogadro's number, h refers to Plank's constant. A plot of log(C R /T) versus 1/T is shown in Figure 5. The values of enthalpy of activation (∆H a ) and the entropy of activation (∆S a ) were obtained from the slope and intercept of Figure 5 and demonstrated in Table 3. The endothermic character of mild steel dissolution is reflected by the positive values of ∆H a 59 − 44 kJ mol −1 . The reduction in mild steel C R is essentially regulated by the kinetic parameters of activation, as observed by the improvement in H with rising inhibitor concentration.

Adsorption Isotherm
In general, the protection performance of an EMTP molecule depends on the abilities of these molecules to be adsorbed on the mild steel surface. Hence, it is important to understand the adsorption isotherm which provides important knowledge about the inhibitor molecules interactions of inhibitor with the metal surface. The corrosion-inhibiting process of mild steel surface depends on how the inhibitor molecules are adsorbed on the metal surface (physisorption or chemisorption), as well as the nature and the molecular structure of the inhibitor molecules [48]. The inhibitor concentration and the surface coverage were investigated by plotting them with different adsorption models to find the most suitable adsorption isotherm. The equilibrium adsorption of the tested inhibitor follows the Langmuir adsorption model on metal in 1 M HCl solu-  (Table 3) and were obtained from the slope of Figure 5, whereas the entropy of activation values in absence and in the presence of tested inhibitor were 56.87 J mol −1 and 110.17 J mol −1 respectively and were determined from the intercept of Figure 5. Positive ∆H a values without and with the addition of tested inhibitor suggests that the mild steel dissolving process is endothermic [46,47].

Adsorption Isotherm
In general, the protection performance of an EMTP molecule depends on the abilities of these molecules to be adsorbed on the mild steel surface. Hence, it is important to understand the adsorption isotherm which provides important knowledge about the inhibitor molecules interactions of inhibitor with the metal surface. The corrosion-inhibiting process of mild steel surface depends on how the inhibitor molecules are adsorbed on the metal surface (physisorption or chemisorption), as well as the nature and the molecular structure of the inhibitor molecules [48]. The inhibitor concentration and the surface coverage (θ) were investigated by plotting them with different adsorption models to find the most suitable adsorption isotherm. The equilibrium adsorption of the tested inhibitor follows the Langmuir adsorption model on metal in 1 M HCl solution. Based on this Langmuir model, surface coverage is linked to the inhibitor concentration and equilibrium constant (K ads ) according to Equation (9 A straight line was obtained from plotting of C/θ vs C as in Figure 6, and the value of linear correlation coefficient (R 2 ) was found to be close to unity, which indicates that the adsorption mechanism of tested inhibitor molecules in acidic solution on mild steel surface follows Langmuir adsorption model. The ∆G o ads value was determined according to Equation (10) [49]: ∆G o ads = −2.303 RT log 55.5 K ads (10) where R represents the gas constant, T is the temperature and the value 55.5 is the water molar concentration mol· L −1 .

Quantum Chemical Studies
Quantum chemical calculations were conducted using the density functional theory with B3LYP at the basis set 6-31G*. The quantum parameters were postulated in Table 4. The energies of frontier MOs such as are important factors to predict reactive chemical species.
(as in Figure 7) is usually associated with the molecule's ability to donate an electron. Hence, if an increase in the value of EHOMO indicates a greater tendency to donate electrons to the appropriate acceptor which has an unoccupied orbital. The high value of facilitates the absorption of protective particles on the metal surface. The protective performance of the inhibitor increased by in- Previous studies confirmed that if the value of ∆G o ads is negative, this indicates that the adsorption of the inhibitor molecules on the metal surface is spontaneous process [25]. In the current investigation, the value ∆G o ads for tested inhibitor is −35.73 kJ mol −1 suggesting that the mechanism of adsorption obeys both physical (physisorption) and chemical (chemisorption) adsorption [50,51].

Quantum Chemical Studies
Quantum chemical calculations were conducted using the density functional theory with B3LYP at the basis set 6-31G*. The quantum parameters were postulated in Table 4. The energies of frontier MOs such as E HOMO and E LUMO are important factors to predict reactive chemical species. E HOMO (as in Figure 7) is usually associated with the molecule's ability to donate an electron. Hence, if an increase in the value of EHOMO indicates a greater tendency to donate electrons to the appropriate acceptor which has an unoccupied orbital. The high value of E HOMO facilitates the absorption of protective particles on the metal surface. The protective performance of the inhibitor increased by increasing the process of transport by the adsorbent film [52][53][54]. E HOMO with the negative value evaluated and other thermodynamic characteristics indicate that the obtained quantum chemical data confirms both physisorption and chemisorption mechanisms [55,56]. Previous studies exhibit that the ∆E with a high value indicates that the inhibitor molecules have low reactivity because the energy gap is related to the softness and/or hardness of the inhibitor molecules [57][58][59][60]. A hard molecule is less reactive than a soft one because the soft one has less energy gap. This shows that the ∆E value, in addition to the value of dipole moment (µ) indicating the significant inhibition efficiency of the tested inhibitor molecules as protection corrosion for mild steel in 1 M HCl solution. There is an agreement by many researchers that the heteroatoms with high negative charge can be adsorbed on the mild steel surface by the mechanism of donors-acceptors reactions [61][62][63]. Furthermore, a less value of ∆E, a high molecular weight, and a low value of electronegativity improve efficient adsorption of tested inhibitor molecules on the MS surface hence reducing the rate of corrosion of the MS surface.

Inhibition Mechanism
The chemisorption processes can be used to define the adsorption of EMTP molecules on MS surfaces. The following relations (Equations (11)-(13)) describe the specific mechanism of EMTP molecules inhibition on the surface of mild steel coupons.
Fe + EMTP ↔ Fe(EMTP) ads (11) Fe(EMTP) ads ↔ Fe ++ + EMTP + ne − (12) The chemical adsorption of EMTP molecules on MS surface is indicated through the interactions of donor/acceptor from the unreacted pairs of electrons of nitrogen, sulfur, and oxygen atoms of tested inhibitor molecules with the unoccupied d-orbital of iron atoms on the mild steel surface. The value ∆G o ads for tested inhibitor is −35.73 kJ mol −1 . This proves that the mechanism of adsorption of the EMTP on the MS surface was physisorption and chemisorption adsorbed mechanism. The anticorrosion mechanism of mild steel in a corrosive environment by the EMTP molecules can be defined based on the adsorption on the mild steel surface. The EMTP molecules act by adsorption on the mild steel surface that prevents the active positions by displacing water molecules and creating a layer to block the corrosion process [30]. Figure 8 represent the suggested inhibition mechanism of EMTP on the MS surface in 1 M HCl solution.

Conclusions
The anticorrosion efficiency of EMTP has been examined by weight loss techniques and quantum chemical computation. The parameters influencing the anticorrosion such as the structure of the inhibitor molecules, the concentration of the tested inhibitor, immersion time, and temperature are studied. Here are the main conclusions: 1. EMTP is a promising corrosion inhibitor for mild steel in 1.0 M hydrochloric acid solution with the highest protection efficacy of 97% at 303 K. 2. The weight loss findings implied that EMTP protects the metal surface corrosion through the creation of a protective layer at the surface mild steel-corrosive solution interface. 3. The inhibitive efficacy increases with the increase of inhibitor concentration and decreases with increased temperature. 4. The adsorption of tested inhibitor molecules in 1.0 M HCl follows the Langmuir adsorption isotherm model. 5. The corrosion protection performance of tested inhibitor molecules has been further evaluated through theoretical computations. In conclusion, weight loss and computational calculations result are in good agreement. 6. From free energy results, it can be concluded that the adsorption of tested inhibitor molecules on mild steel surfaces follow both physisorption and chemisorption mechanisms.

Conclusions
The anticorrosion efficiency of EMTP has been examined by weight loss techniques and quantum chemical computation. The parameters influencing the anticorrosion such as the structure of the inhibitor molecules, the concentration of the tested inhibitor, immersion time, and temperature are studied. Here are the main conclusions: 1.
EMTP is a promising corrosion inhibitor for mild steel in 1.0 M hydrochloric acid solution with the highest protection efficacy of 97% at 303 K.

2.
The weight loss findings implied that EMTP protects the metal surface corrosion through the creation of a protective layer at the surface mild steel-corrosive solution interface.

3.
The inhibitive efficacy increases with the increase of inhibitor concentration and decreases with increased temperature. 4.
The adsorption of tested inhibitor molecules in 1.0 M HCl follows the Langmuir adsorption isotherm model.

5.
The corrosion protection performance of tested inhibitor molecules has been further evaluated through theoretical computations. In conclusion, weight loss and computational calculations result are in good agreement.

6.
From free energy results, it can be concluded that the adsorption of tested inhibitor molecules on mild steel surfaces follow both physisorption and chemisorption mechanisms. Author