Temperature Effect on the Corrosion Inhibition of Carbon Steel by Polymeric Ionic Liquids in Acid Medium

In the present research work, the temperature effect on the corrosion inhibition process of API 5L X60 steel in 1 M H2SO4 by employing three vinylimidazolium poly(ionic liquid)s (PILs) was studied by means of electrochemical techniques, surface analysis and computational simulation. The results revealed that the maximal inhibition efficiency (75%) was achieved by Poly[VIMC4][Im] at 308 K and 175 ppm. The PILs showed Ecorr displacements with respect to the blank from −14 mV to −31 mV, which revealed the behavior of mixed-type corrosion inhibitors (CIs). The steel micrographs, in the presence and absence of PILs, showed less surface damage in the presence of PILs, thus confirming their inhibiting effect. The computational studies of the molecular orbitals and molecular electrostatic potential of the monomers suggested that the formation of a protecting film could be mainly due to the nitrogen and oxygen heteroatoms present in each structure.


Introduction
The use of corrosion inhibitors (CIs) is a frequent practice for preventing the corrosion phenomenon from occurring, which is based on the addition of chemical substances at low concentration to the corrosive medium [1]. CIs are employed internally in pipeline systems and carbon steel containers [2] as a low-cost-corrosion-control alternative whose action mechanism proceeds through the adsorption of CI molecules on metal surfaces, thus diminishing the corrosion rate of the metallic system to be protected; industry sectors such as the exploration and production of oil and gas, oil refineries, production of chemical products, heavy industry, water treatment and product additive industry are normally benefited by the protective action of CIs [3]. The main advantage offered by CIs before other control methods is that their implementation does not require a process stop [4,5]. CIs are divided into two big classes: inorganic and organic. Anodic inorganic CIs include nitrates, chromates, molybdates and phosphates, whereas cathodic ones are represented by zinc derivatives and polyphosphates [6,7]. In contrast, organic CIs are mainly film-forming compounds that work through physical and/or chemical adsorption processes [8]; in general, these are compounds with heteroatoms (P, S, N and O) and π bonds that include amines, amides, imidazolines, sodium benzoate mercaptans, esters and ammonia derivatives [6]. The performance of a CI is based on a competition process between CI molecules and corrosive ions (H + , H 3 O + , Cl − , and SO 4 2− , among others) to occupy active sites on a metallic surface, where the higher the number of CI adsorbed molecules, the better the inhibition efficiency (IE) against the corrosive medium in contact with the metallic material [9]. The inhibition process is affected by many factors that modify the stability of CIs in corrosive media such as the type of metallic surface, temperature, immersion type, medium flow rate, pH, medium ion concentration and water hardness, among others [10]. It is well known that the IE of most CIs diminishes with the temperature increase due to a diminution of the adsorption strength on a metallic surface, thus generating a desorption process; then, the performance of an inhibitor depends mainly on the temperature [11]. For this reason, polymeric CIs are a viable alternative in corrosive processes at temperatures above 298 K, for they feature diverse functional groups in one molecule that can form complexes with metallic ions and occupy a higher surface area, thus protecting the metallic material from corrosive agents. From this type of compounds, the following have been the most studied: carbohydrates, polysaccharides, polysulfide, phosphate esters, polycarboxylates/polycarboxylic acids, polyanilines, polyaspartates and other polyaminoacids, and polyvinylamide and polyamine derivatives [2]. Their inhibiting behavior is structurally reinforced by the presence of cyclic rings, double and triple bonds and heteroatoms such as oxygen and nitrogen that work as adsorption active centers [12]. It has been reported that the protection against corrosion by polymeric CIs has been above 90% in acid, sour and sweet media [13]. The IE and stability of the polymer protecting film highly depend on the hydrophilic and hydrophobic features of the polymers, where a suitable relationship is fundamental for the inhibition activity to be satisfactory [14].
Poly(ionic liquid)s (PILs) are a special group of polymeric compounds [15,16] whose design is wide and involves a big variety of monomers that provide unique properties for specific applications [15,17]. PILs possess a macromolecular structure that does not only consist of a polymeric skeleton, but also of at least of an ionic liquid (IL) monomer, which along with other polymeric species produces additional properties to those of a conventional IL such as stability in aqueous media, the presence of polymeric chains that can displace a higher number of water molecules from the metallic surface, mechanical stability, autoassembling and, above all, the presence of multiple adsorption centers that contribute to a slower desorption process that favors the formation of complexes with the metallic surface [18]. The presence of an IL monomeric species in the structure promotes two processes that reinforce each other through a synergistic effect: (a) the charge transfer process from the IL functional groups to the metallic d orbital, "donation" and (b) the intraelectronic repulsion process through which the metal transfers its electrons to empty IL orbitals, "backdonation" [14]. Notwithstanding, despite the aforementioned properties, their application as CIs has not been studied enough. Wang et al. [19] and Odewunmi et al. [20] carried out an interesting comparison between the structure of ILs and their corresponding polymeric forms as PILs to be potentially used as CIs of steel in HCl and found that PILs displayed a better inhibiting effect than their related IL species alone due to a higher number of functional groups in their structure. Additionally, Odewunmi et al. stated that PILs with halide anions provide an excess of electrons that allows for the attraction and adsorption of the polymeric cationic species. Table 1 shows some studies performed with polymeric CIs and their behavior as a function of temperature. Different types of polymers have been evaluated as CIs at different temperatures: PILs [19,20], synthetic polymers [21], biomacromolecules [22], carbohydrates [23,24], recycled PET oligomers [25] and triblock copolymers [26,27]. The temperature effect of polymeric CIs has been analyzed by different authors such as Alaoui et al. [21], who suggested that the IE behavior with respect to the medium temperature is associated with the adsorption type change that presents a polymer; in this way, the increase in the IE is related to a chemisorption process that is favored by a temperature increase. In contrast, Gowraraju et al. [23], Charitha et al. [24] and Yasir et al. [25] observed that an IE decrease as the temperature increases can be explained by a fast adsorption-desorption process and by the decomposition and/or reordering of inhibiting molecules led by a prevailing physisorption process. An implicit variable in the temperature effect on corrosion inhibition processes is the activation energy (E a ). Chauhan et al. [22], Yasir et al. [25] and Kumar et al. [26,27] stated that a high E a value in the presence of a CI suggests the formation of a physical barrier attributed to the interaction between inhibiting molecules and the active sites of a metallic surface promoted by the adsorption process of heteroatoms, cyclic rings and functional groups that increase the thickness of the electrical double layer for the formation of an inhibiting film that diminishes the metal corrosion rate. Table 1. State of the art of polymers and PILs.
on corrosion inhibition processes is the activation energy (Ea). Chauhan et al. [22], Yasir et al. [25] and Kumar et al. [26,27] stated that a high Ea value in the presence of a CI suggests the formation of a physical barrier attributed to the interaction between inhibiting molecules and the active sites of a metallic surface promoted by the adsorption process of heteroatoms, cyclic rings and functional groups that increase the thickness of the electrical double layer for the formation of an inhibiting film that diminishes the metal corrosion rate.
In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H2SO4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations. Table 1. State of the art of polymers and PILs.
In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H2SO4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations. Table 1. State of the art of polymers and PILs.
In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H2SO4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations.  [21] heteroatoms, cyclic rings and functional groups that increase the thickness of the electrical double layer for the formation of an inhibiting film that diminishes the metal corrosion rate.
In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H2SO4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations.  [22] heteroatoms, cyclic rings and functional groups that increase the thickness of the electrical double layer for the formation of an inhibiting film that diminishes the metal corrosion rate.
In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H2SO4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations.

Weight Loss
The mass loss test is a frequently employed method for evaluating the performance of CIs and establishing the corrosion rate (Vcorr) of a metallic material under different conditions [29]. The Vcorr/ΔW ratio as a function of the inhibitor concentration (CINH) at 308 K is shown in Figure 1, where the increase in concentration provoked less metallic dissolution and then lower Vcorr; similar results were obtained with the other evaluated temperature values.

Weight Loss
The mass loss test is a frequently employed method for evaluating the performance of CIs and establishing the corrosion rate (Vcorr) of a metallic material under different conditions [29]. The Vcorr/ΔW ratio as a function of the inhibitor concentration (CINH) at 308 K is shown in Figure 1, where the increase in concentration provoked less metallic dissolution and then lower Vcorr; similar results were obtained with the other evaluated temperature values.
Mild steel/ 0.5 M H 2 SO 4 1200 ppm: 298 K/98% 328 K/60% [26] 1600 ppm: 298 K/98.23% 328 K/69.09% [27] In a previous study carried out by the authors of the present work, three vinylimidazolium-derived PILs were evaluated as CIs of API 5L X60 steel in 1 M H 2 SO 4 at 298 K, concluding that such PILs behaved effectively as CIs [28]. For this reason, in this manuscript, the temperature effect on the corrosion inhibition process of API 5L X60 steel employing three PILs was investigated by means of polarization and impedance electrochemical analysis, mass loss, surface analysis and computational calculations.

Weight Loss
The mass loss test is a frequently employed method for evaluating the performance of CIs and establishing the corrosion rate (V corr ) of a metallic material under different conditions [29]. The V corr/ ∆W ratio as a function of the inhibitor concentration (C INH ) at 308 K is shown in Figure 1, where the increase in concentration provoked less metallic dissolution and then lower V corr ; similar results were obtained with the other evaluated temperature values.

Weight Loss
The mass loss test is a frequently employed method for evaluating the performance of CIs and establishing the corrosion rate (Vcorr) of a metallic material under different conditions [29]. The Vcorr/ΔW ratio as a function of the inhibitor concentration (CINH) at 308 K is shown in Figure 1, where the increase in concentration provoked less metallic dissolution and then lower Vcorr; similar results were obtained with the other evaluated temperature values.   Table 2 presents the steel Vcorr values at different temperatures and CINH after 4 h of immersion in 1 M H2SO4. It can be observed that the temperature produced an increase in Vcorr, even in the presence of PILs, which was attributed to desorption phenomena of the inhibiting macromolecules. In addition, it is shown that the lowest Vcorr values were obtained at CINH of 175 ppm, indicating that a higher amount of PIL macromolecules can form a more homogeneous protecting film that reduces the diffusion of sulfate ions toward the metallic surface [30][31][32].   4 . It can be observed that the temperature produced an increase in V corr , even in the presence of PILs, which was attributed to desorption phenomena of the inhibiting macromolecules. In addition, it is shown that the lowest V corr values were obtained at C INH of 175 ppm, indicating that a higher amount of PIL macromolecules can form a more homogeneous protecting film that reduces the diffusion of sulfate ions toward the metallic surface [30][31][32].  Figure 2 shows the E OCP behavior as a function of the immersion time of the metallic sample in 1 M H 2 SO 4 in the absence and presence of PILs at different temperatures. In the presence of PILs, it can be observed that the E OCP curves diminish toward more negative values with respect to the blank at the different evaluated temperatures. The E OCP displacement intervals at 308, 318 and 328 K ranged from −439 to −453 mV, from −420 to −452 and from −420 to −451 mV, respectively. This behavior pattern is associated with a fast PIL inhibitor adsorption due to the formation of a protecting film on the metallic surface. On the other hand, the diminution of the blank E OCP with the temperature change involved higher metallic degradation. Furthermore, it can be seen that in all the systems, the E OCP stability was reached at 600 s of immersion, approximately.   Figure 2 shows the EOCP behavior as a function of the immersion time of the metallic sample in 1 M H2SO4 in the absence and presence of PILs at different temperatures. In the presence of PILs, it can be observed that the EOCP curves diminish toward more negative values with respect to the blank at the different evaluated temperatures. The EOCP displacement intervals at 308, 318 and 328 K ranged from −439 to −453 mV, from −420 to −452 and from −420 to −451 mV, respectively. This behavior pattern is associated with a fast PIL inhibitor adsorption due to the formation of a protecting film on the metallic surface. On the other hand, the diminution of the blank EOCP with the temperature change involved higher metallic degradation. Furthermore, it can be seen that in all the systems, the EOCP stability was reached at 600 s of immersion, approximately.   [Br] to the corrosive medium modified the slopes of the steel overpotential (η)-current density (i) lines, where a lower slope is related to higher resistance to polarization (Rp) in the metallic interface. As for the PDP results, it is observed that the addition of CIs provoked the diminution of i and the potential displacement (∆E corr ) toward more negative values. For all the systems, i was a function of the C INH of PILs, where the Tafel curves displayed a lower i at 175 ppm. and the different PILs [34]. As for ΔEcorr, displacements from −14 mV to −31 mV are displayed within the ±85 mV interval and indicate that the PILs exhibited the behavior of mixed-type CIs [35]; the ΔEcorr trend toward more negative values suggests higher activity in the cationic part [Im + ] of the PILs. Furthermore, their addition to the corrosive medium with respect to the systems without CI provoked changes in the Tafel cathodic slopes (βC), thus confirming that the presence of Poly  [Br] affected the iron dissolution reactions, but mainly the evolution of H2 due to the adsorption of the PILs on the predominantly cathodic active sites, which retarded the electron transfer process necessary for the generation of hydrogen [36,37].          0 Ω cm 2 at 308, 318 and 328 K, respectively, whereas the corrosion current density (i corr ) changes, in the same order (∆i corr = i corr,Blank − i corr,CI ), were 917, 1441 and 2898 µA cm −2 . This behavior pattern is attributed to the adsorption of the CIs through the blocking of the metallic surface active sites [33]. From Table 3, it can be concluded that the temperature increase accelerated the dissolution of the metallic surface in the presence of H 2 SO 4 and the different PILs [34]. As for ∆E corr , displacements from −14 mV to −31 mV are displayed within the ±85 mV interval and indicate that the PILs exhibited the behavior of mixed-type CIs [35]; the ∆E corr trend toward more negative values suggests higher activity in the cationic part [Im + ] of the PILs. Furthermore, their addition to the corrosive medium with respect to the systems without CI provoked changes in the Tafel cathodic slopes (β C ), thus confirming that the presence of Poly [Br] affected the iron dissolution reactions, but mainly the evolution of H 2 due to the adsorption of the PILs on the predominantly cathodic active sites, which retarded the electron transfer process necessary for the generation of hydrogen [36,37]. Table 3. Electrochemical parameters of API 5L X60 steel in 1 M H 2 SO 4 -CIs at different temperatures by the LPR and PDP techniques. The IEs of the PILs obtained at 308, 318 and 328 K are shown in Figure 6. The results display maximal efficiencies at 175 ppm. The IEs exhibited the following trend: [Br]. The diminution of the IEs with the T increase implies higher kinetic energy in the redox reactions and, as a consequence, the increase in the steel anodic dissolution, which provoked the desorption of the PIL molecules and less covered fraction [34,38]. The IEs of Poly[VIMC4] [Br] and Poly[VIMC2][Br] diminished in~33% with the temperature increase, which was related to the low contribution of the non-ionic blocks (acrylamide and vinylpyrrolidone) to the adsorption process. As for Poly [VIMC4][Im], the IE diminished in~16%, indicating a higher PIL stability before the T increase; this result is associated with the presence of the imidazolate monomers of butyl vinylimidazolium, which along with their reticulated polymeric structure could occupy a higher surface area and block the attack of corrosive ions. The preferentially cathodic ∆E corr of the PILs would confirm the influence of the cationic part on their inhibition process through the adsorption of vinylalkylimidazolium ions, mainly. The IEs of the PILs obtained at 308, 318 and 328 K are shown in Figure 6. The resu display maximal efficiencies at 175 ppm. The IEs exhibited the following tren Poly [Br]. The diminution of the IEs wi the T increase implies higher kinetic energy in the redox reactions and, as a consequenc the increase in the steel anodic dissolution, which provoked the desorption of the P molecules and less covered fraction [34,38] [Br] diminished in ~33% with the temperature increase, which was relat to the low contribution of the non-ionic blocks (acrylamide and vinylpyrrolidone) to t adsorption process. As for Poly [VIMC4][Im], the IE diminished in ~16%, indicating higher PIL stability before the T increase; this result is associated with the presence of t imidazolate monomers of butyl vinylimidazolium, which along with their reticulated po ymeric structure could occupy a higher surface area and block the attack of corrosive ion The preferentially cathodic ΔEcorr of the PILs would confirm the influence of the cation part on their inhibition process through the adsorption of vinylalkylimidazolium ion mainly. The EIS spectra of API 5L X60 steel in the absence and presence of CIs at 308, 318 and 328 K are shown in Figures 7-9, respectively. The behavior of the real (Z ) and imaginary (Z") impedances in the Nyquist spectra shows a capacitive depreciated loop controlled by a charge transfer process and an inductive loop at low frequencies. On the other hand, in the presence of PILs, the Bode plots exhibit the displacement of the impedance module |Z| toward higher values with respect to the blank, which is associated with the adsorption of the CIs on the metallic surface [39]. The latter suggests that the evaluated CIs retarded the kinetics of the redox reactions part of the corrosion process of steel in acid medium [40]. At intermediate frequencies, the Bode plots presented maximal phase angle values ascribed to the capacitive behavior of the electric double layer in the metal-solution interface. Although the temperature increase diminished the maximal phase angle values, with the addition of PILs, they are higher than those displayed by the blank, which indicates that the protection of the metallic surface by the effect of the PILs prevailed even with the temperature increase [33,41]. the presence of PILs, the Bode plots exhibit the displacement of the impedance module |Z| toward higher values with respect to the blank, which is associated with the adsorption of the CIs on the metallic surface [39]. The latter suggests that the evaluated CIs retarded the kinetics of the redox reactions part of the corrosion process of steel in acid medium [40]. At intermediate frequencies, the Bode plots presented maximal phase angle values ascribed to the capacitive behavior of the electric double layer in the metal-solution interface. Although the temperature increase diminished the maximal phase angle values, with the addition of PILs, they are higher than those displayed by the blank, which indicates that the protection of the metallic surface by the effect of the PILs prevailed even with the temperature increase [33,41].       The obtained impedance spectra of API 5L X60 steel were fitted by means of the EEC model shown in Figure 10. The result of fitting the EIS experimental data is reported in Table 4. Different electrical elements are described as follows: Rs is the resistive element of the solution, which describes the resistance of the WE before the electrolytic solution. The Rct and CPEdl elements represent the charge transfer process in the metal-solution interface. Rct is the resistance to the charge transfer and CPEdl is the constant phase element associated with the electric double layer. RL and L are inductive elements that are related to relaxation processes of intermediate species in the oxidation reaction like adsorbed species from the acid medium such as H3O + and SO4 2− . Finally, Rf and CPEf are the resistance and constant phase element, respectively, ascribed to a film formed on the metallic surface with different dielectric properties. The obtained impedance spectra of API 5L X60 steel were fitted by means of the EEC model shown in Figure 10. The result of fitting the EIS experimental data is reported in Table 4. Different electrical elements are described as follows: R s is the resistive element of the solution, which describes the resistance of the WE before the electrolytic solution. The R ct and CPE dl elements represent the charge transfer process in the metal-solution interface. R ct is the resistance to the charge transfer and CPE dl is the constant phase element associated with the electric double layer. R L and L are inductive elements that are related to relaxation processes of intermediate species in the oxidation reaction like adsorbed species from the acid medium such as H 3 O + and SO 4 2− . Finally, R f and CPE f are the resistance and constant phase element, respectively, ascribed to a film formed on the metallic surface with different dielectric properties. model shown in Figure 10. The result of fitting the EIS experimental data is reported in Table 4. Different electrical elements are described as follows: Rs is the resistive element of the solution, which describes the resistance of the WE before the electrolytic solution. The Rct and CPEdl elements represent the charge transfer process in the metal-solution interface. Rct is the resistance to the charge transfer and CPEdl is the constant phase element associated with the electric double layer. RL and L are inductive elements that are related to relaxation processes of intermediate species in the oxidation reaction like adsorbed species from the acid medium such as H3O + and SO4 2− . Finally, Rf and CPEf are the resistance and constant phase element, respectively, ascribed to a film formed on the metallic surface with different dielectric properties. Figure 10. EEC for fitting the EIS experimental data of API 5L X60 steel in the acid-CI medium.

Electrochemical Measurements
The constant phase elements (CPEs) indicate the ideality deviation of the capacitances of the EIS spectra and are represented in the Nyquist plots as depreciated semicircles (Figures 7-9). The CPEs were calculated from two parameters: the proportional factor (Y0) and the exponent n. The latter is associated with possible surface irregularities due to roughness, inhibitor adsorption or the formation of porous layers. The CPE impedance is defined by Equation (1): where j is an imaginary number (−1) 1/2 and ω = 2πf is the angular frequency of the maximal value of the real impedance; n falls within a close interval (−1 ≤ n ≥ 1), where −1, 0 and 1 are usually related to an inductor, resistor and capacitor, respectively [42,43]. The pseudocapacitance derived from a CPE can be calculated by means of Equation (2): The constant phase elements (CPEs) indicate the ideality deviation of the capacitances of the EIS spectra and are represented in the Nyquist plots as depreciated semicircles (Figures 7-9). The CPEs were calculated from two parameters: the proportional factor (Y 0 ) and the exponent n. The latter is associated with possible surface irregularities due to roughness, inhibitor adsorption or the formation of porous layers. The CPE impedance is defined by Equation (1): where j is an imaginary number (−1) 1/2 and ω = 2πf is the angular frequency of the maximal value of the real impedance; n falls within a close interval (−1 ≤ n ≥ 1), where −1, 0 and 1 are usually related to an inductor, resistor and capacitor, respectively [42,43]. The pseudocapacitance derived from a CPE can be calculated by means of Equation (2): In the interfacial phenomena controlled by diffusion, relaxation processes occur at specific frequencies and temperatures; in an electrochemical system, the characteristic constant of such a process within the time domain is known as the relaxation time (τ dl ), which is defined as the time necessary for the charge distribution to recover the equilibrium state and is commonly employed to distinguish the polarization effects that normally overlap in the frequency domain and that can be attributed to underlying physical processes [44,45]. The relaxation time (τ dl ) is given by Equation (3) [46,47]: Table 4 shows the values of the EEC electric elements. It can be observed that the R ct values are a function of C INH , where the highest results occurred at 175 ppm. The polarization resistance exhibited by the system by the EIS (Rp EIS ) technique involves all the EEC resistive elements [28]. The Rp EIS values in the presence of the PILs were higher than those shown by the blank at the different temperatures, indicating higher resistance to the electron transfer in the electrochemical reactions involved in the corrosion process and confirming the inhibiting behavior of the tested compounds. R s did not display any significant change, which revealed that the corrosive systems underwent a minimal ohmic drop.  The effect observed with the temperature was as follows: the R ct diminution and increase in the capacitance of the electric double layer (C dl ) reveal a small surface fraction covered by the CIs, which can be attributed to the growing diffusion rate of corrosive ions such as [H 3 O + ] and [SO 4 2− ] that promotes the transfer of electrons and steel dissolution. The inductance elements R L and L diminished with the increasing temperature, which suggests that the desorption of species adsorbed on the surface originated mainly by the relaxation process of intermediate compounds involved in oxidation reactions [40]. The reduction of R f and slight increase in the film capacitance (C f ) shows the possible formation of a film consisting of corrosion products and/or CI adsorbed species that could be removed from the metallic surface more easily by the temperature effect.
The τ dl values were higher in the presence of PILs with the increasing C INH ( Table 4), revealing that the electric charge and discharge process occurring in the metal-solution interface is slower due to the presence of a higher number of macromolecules adsorbed on the metallic surface [46,48]. However, the number of these molecules falls with the increasing temperature, for it reduces the necessary time for their right orientation; as the temperature rises, the molecular thermal movement increases and τ dl goes on diminishing, which negatively affects the migration of PIL inhibiting species toward the metallic surface [49].
In summary, at 308, 318 and 328 K, the reduction of the values of the EEC resistive elements was observed, which was associated with the desorption of PIL species forming the inhibiting film on the surface as a result of the intensification of the charge transfer process related to the kinetics of the redox reactions that occurred in the metal-solution interface when the temperature was raised, thus causing a higher anodic dissolution of the metallic sample.

Thermodynamic and Kinetic Properties
The action of a film-forming CI is based on a solid-liquid adsorption process that consists in the union of molecules and/or ions on a metallic surface through either chemical or physical interactions. The degree of surface coverage (θ) as a function of the CI concentration can be represented with adsorption isotherm models such as Langmuir, Temkin, Frumkin, Freundlich and Flory-Huggins, among others [50]. Figure 11 shows the adsorption process of the  (4)) due to the correlation coefficients (R 2 ) close to unity. This model is related to ideal adsorption with the formation of a monolayer on a finite number of identical and equivalent adsorption sites, considering that there is no lateral interaction between the adsorbed molecules [51,52]: By increasing the temperature to 328 K, a better fitting of the experimental data was obtained with the Freundlich isotherm ( Figure 11) whose model is described by Equation 5. This model is associated with non-ideal, reversible and heterogeneous adsorption [53]. This change in the adsorption isotherm model is ascribed to a desorption process of the CIs with the increasing temperature, which generates more unprotected metallic sites by the attack in the corrosive medium. The thermodynamic parameters obtained for each adsorption isotherm at different temperatures are shown in Table 5.
the attack in the corrosive medium. The thermodynamic parameters obtained for each adsorption isotherm at different temperatures are shown in Table 5.      It is known that the adsorption equilibrium constant (K ads ) represents either the adsorption or desorption strength between the adsorbate (PILs) and adsorbent species (API 5L X60 steel), which indicates the equilibrium relationship between the CI concentration on the metallic surface and in the solution core [54]. From the linear regression of the plots displayed in Figure 11, the K ads values were estimated (Table 5). High K ads values reveal a better adsorption efficiency of the CIs and suggest that the adsorption was favored by forming a stable film on the steel surface [43,55], notwithstanding, the temperature increase promoted the diminution of K ads , which showed that the interaction between the PILs and steel surface was weakened and, as a consequence, the adsorbed species could be desorbed at higher temperatures [56].
With the K ads values, the change in the standard Gibbs free energy of adsorption (∆G • ads ) was obtained by means of Equation (6) [57]: The negative values of ∆G • ads express that the adsorption was thermodynamically spontaneous [9]. The values of ∆G • ads are associated with the type of adsorption that occurred in a metal-liquid system [58][59][60]: when ∆G • ads > −20 kJmol −1 , physical adsorption or physisorption took place, which is characterized by the electrostatic interaction between the charge of the CI molecules and the charge of the metallic surface; when ∆G • ads < −40 kJmol −1 , the behavior indicates that the CI molecules and metallic surface share or transfer their charge in such a way that a coordinate metallic bond is formed, having chemical adsorption or chemisorption. When ∆G • ads displays intermediate values between −20 and −40 kJmol −1 , it is considered that the CI undergoes an adsorption process that is both physical and chemical.
The obtained ∆G • ads values (Table 5) of the PILs evaluated at 308, 318 and 328 K ranged from −26 to −35 kJmol −1 , which suggested a physicochemical adsorption process, where adsorption started under electrostatic forces (physisorption) between the steel surface and functional groups of the PIL polymeric blocks. Furthermore, the formation of coordinate complexes between the substituents of the mentioned PILs and vacant d iron orbital of the metallic surface was possible [61,62]. However, the chemisorption process had a minor contribution to the adsorption mechanism of the PILs at the different evaluated temperatures [59,63]. The slight growth in the ∆G • ads values as a consequence of the system temperature increase suggested that the desorption process of the PIL adsorbed species was favorable, making their inhibition process difficult and promoting the anodic dissolution of iron.
In order to understand the behavior of the PILs with respect to the temperature, the standard adsorption enthalpy (∆H • ads ) was calculated from the Van't Hoff model, as indicated in Equation 7 [18,64]. ∆H • ads stems from the slope obtained by linear regression of lnK ads vs. 1/T, whereas the standard adsorption entropy (∆S • ads ) was calculated from the ordinate of the origin. The Van't Hoff plot is shown in Figure 12 and the ∆H • ads and ∆S • ads values are reported in Table 5.
The negative values of ∆H  [65], but also that the spontaneity of the adsorption process is limited by the temperature and that the protection of the metallic surface was favored at 298 K. On the other hand, the negative value of ∆S • ads reveals that the inhibiting molecules present in the acid-inhibitor electrolytic solution are adsorbed orderly on the surface [66].
The temperature effect on the corrosion inhibition of steel in the presence and absence of PILs can also be studied from the kinetic point of view by employing the Arrhenius equation shown in Equation (8). The activation energy (E a ) is the energy that is necessary for a chemical reaction to be carried out and is related to the corrosion rate [67]: where v corr represents the corrosion rate in g m −2 h −1 calculated with i corr values [68] and A is the Arrhenius pre-exponential factor. The kinetic parameters E a and A were obtained from the slope and ordinate of the origin in Figure 13, respectively.  [65], but also that the spontaneity of the adsorption process is limited by the temperature and that the protection of the metallic surface was favored at 298 K. On the other hand, the negative value of ∆S°ads reveals that the inhibiting molecules present in the acid-inhibitor electrolytic solution are adsorbed orderly on the surface [66].
The temperature effect on the corrosion inhibition of steel in the presence and absence of PILs can also be studied from the kinetic point of view by employing the Arrhenius equation shown in Equation (8). The activation energy (Ea) is the energy that is necessary for a chemical reaction to be carried out and is related to the corrosion rate [67]: where vcorr represents the corrosion rate in g m −2 h −1 calculated with icorr values [68] and A is the Arrhenius pre-exponential factor. The kinetic parameters Ea and A were obtained from the slope and ordinate of the origin in Figure 13, respectively.   [Br] had an exothermic nature, which is characteristic of physical adsorption [65], but also that the spontaneity of the adsorption process is limited by the temperature and that the protection of the metallic surface was favored at 298 K. On the other hand, the negative value of ∆S°ads reveals that the inhibiting molecules present in the acid-inhibitor electrolytic solution are adsorbed orderly on the surface [66].
The temperature effect on the corrosion inhibition of steel in the presence and absence of PILs can also be studied from the kinetic point of view by employing the Arrhenius equation shown in Equation (8). The activation energy (Ea) is the energy that is necessary for a chemical reaction to be carried out and is related to the corrosion rate [67]: where vcorr represents the corrosion rate in g m −2 h −1 calculated with icorr values [68] and A is the Arrhenius pre-exponential factor. The kinetic parameters Ea and A were obtained from the slope and ordinate of the origin in Figure 13, respectively.  Table 6 shows that Ea augmented from 68.00 kJ/mol in the H2SO4 solution in the absence of CIs to 101.00 kJ/mol in the presence of PILs. According to the literature, if the Ea values of the system in the presence of CIs are higher than those of the blank, the behavior can be associated with a physisorption process or also with the diminution of the inhibitor  Table 6 shows that E a augmented from 68.00 kJ/mol in the H 2 SO 4 solution in the absence of CIs to 101.00 kJ/mol in the presence of PILs. According to the literature, if the E a values of the system in the presence of CIs are higher than those of the blank, the behavior can be associated with a physisorption process or also with the diminution of the inhibitor adsorption on the metallic surface as a consequence of the temperature increase; on the contrary, if the E a values are lower, the charge transfer from the inhibitor to the metallic surface to form coordinate covalent bonds, that is to say through a chemisorption process, is suggested [69]. Table 6. Kinetic parameters of the inhibition process of API 5L X60 steel in 1 M H 2 SO 4 with and without CIs.  [59,70]. Such a physical barrier made of PILs limits the charge and mass transfer in the metallic interface [18]. On the other hand, A is related to the collision frequency between CI molecules and the acid medium and an increase in these values in the presence of PILs is associated with the increase in the system kinetic energy by effect of T.

Poly[VIMC4][Im] Poly[VIMC2][Br] Poly[VIMC4][Br]
Furthermore, although the v corr values diminished in the presence of PILs, the temperature increase reduced the adsorption process by the increase in the molecular kinetic energy of the corrosive medium, which provoked the growth of unprotected metallic surface fractions, as confirmed by the lowering of the IE values of the PILs from 298 to 328 K at constant C INH . Figure 14 shows the surface analysis of the steel sample after its exposure to 1 M H 2 SO 4 in the absence and presence of CIs at 308 K for 4 h by SEM. Figure 14a displays the blank micrograph with evident surface damage and heterogeneous morphology caused by SO 4 2− and H 3 O + ions, which are characteristic of the corrosive medium and by the temperature effect. In the presence of PILs at 175 ppm (Figure 14b-d), a less damaged and more homogeneous morphology is observed; even some surface fractions spared by the corrosive attack can be seen, which reveals higher corrosion resistance originated by the adsorption of a CI protecting film; however, like in Figure 14a, there are also some sections that present localized corrosion promoted by the H 2 SO 4 acid medium.

DFT Study
The quantum chemical calculation of the IL monomers helps better understand the inhibition mechanism by identifying the reactive sites of the CIs from the energy of the molecular orbitals and other quantum parameters. The optimized structures, molecular orbitals and molecular electrostatic potential (MEP) of the Poly Table 7.
The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (E HOMO ), the energy of the lowest unoccupied molecular orbital (E LUMO ) and the charge distribution of the MEP (Table 7) [71,72].  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In the case of the VAA monomer of Poly[VIMC4][Br], the HOMO and LUMO distribution and the positive and negative charges are localized on the N and O The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In the case of the VAA monomer of Poly[VIMC4][Br], the HOMO and LUMO distribution and the positive and negative charges are localized on the N and O The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In the case of the VAA monomer of Poly[VIMC4][Br], the HOMO and LUMO distribution and the positive and negative charges are localized on the N and O The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In  The CI behavior of the PIL monomers was studied by employing the energy of the highest occupied molecular orbital (EHOMO), the energy of the lowest unoccupied molecular orbital (ELUMO) and the charge distribution of the MEP (Table 7) [71,72].
In the case of Poly[VIMC4][Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In [Im], the species VBII presents HOMO in the imidazolate anion (site that cedes electrons) and LUMO in the imidazolium ring of the cation (site that accepts electrons). In addition, by being an IL species, it is confirmed that the negative charge is localized in the imidazolate anion and the positive charge in the imidazolium ring, thus identifying the molecule reactive sites. On the other hand, the VDAA monomer displayed the HOMO and LUMO orbitals distributed throughout its structure and because it is an organic species, the reactive sites are distinguished on the negative charges in C=O, positive charges in N-H 2 and neutral charges in C-C. These results evidence that Poly[VIMC4][Im] has multiple adsorption sites that can increase the "anchoring" capacity of the molecule on the metallic surface. The results suggest that the imidazolate anions can work synergistically both with their imidazolium cations and diacetamide groups.
In the case of the VAA monomer of Poly[VIMC4][Br], the HOMO and LUMO distribution and the positive and negative charges are localized on the N and O heteroatoms, respectively, which indicates that the monomer presents donor-acceptor interactions; notwithstanding, some authors suggest that acrylamide participates mainly as an e − donor with the metallic surface through π electrons present in the structure that promote the formation of coordination bonds with the d orbitals of Fe [71,73]. As for the VP monomer, it exhibits a distribution of the molecular orbitals and charge similar to that of VAA [74]. On the other hand, VBIB displays the HOMO and LUMO orbitals through the imidazolium ring as reported by Cui et al. [75], whereas the positive charge was localized in N and C=C of the imidazolium ring and the negative charge in the bromide anion. These results confirm that Br and C=C and the heteroatoms N and O work as reactive sites in the different polymeric blocks that favor the adsorption process through them. Figure 14 shows the surface analysis of the steel sample after its exposure to 1 M H2SO4 in the absence and presence of CIs at 308 K for 4 h by SEM. Figure 14a displays the blank micrograph with evident surface damage and heterogeneous morphology caused by SO4 2− and H3O + ions, which are characteristic of the corrosive medium and by the temperature effect. In the presence of PILs at 175 ppm (Figure 14b-d), a less damaged and more homogeneous morphology is observed; even some surface fractions spared by the corrosive attack can be seen, which reveals higher corrosion resistance originated by the adsorption of a CI protecting film; however, like in Figure 14a, there are also some sections that present localized corrosion promoted by the H2SO4 acid medium.

DFT Study
The quantum chemical calculation of the IL monomers helps better understand the inhibition mechanism by identifying the reactive sites of the CIs from the energy of the molecular orbitals and other quantum parameters. The optimized structures, molecular orbitals and molecular electrostatic potential (MEP) of the Poly  The µ results indicate that both IL blocks (VBII > VBIB) present high values in comparison with the organic blocks (VAA > VP > VDAA), which reveals behavior associated with the ionic nature of the monomers that enhanced the adsorption process through dipole-dipole interactions between the CI and the metallic surface [71]. Table 8 reports the quantum parameters obtained from the monomers of the PILs. Based on the literature, the energy gap (∆G L-H ) is associated with the donor-acceptor activity of a molecule and is defined as the difference in LUMO and HOMO energies (Equation (9)): Low ∆G L−H values suggest higher donor-acceptor activity of the monomers and based on the values shown in Figure 15, improved inhibiting behavior of the monomeric species of Poly[VIMC4][Im] can be considered.

Materials and Methods
The corrosive acid medium employed in the present study was 1 M H 2 SO 4 , which was prepared by diluting reagent grade sulfuric acid (Sigma-Aldrich, Edo.de México, México) with deionized water. Afterward, PIL dilutions were prepared in the corrosive medium until obtaining concentrations of 100, 125, 150 and 175 ppm; the systems were evaluated at 308, 318 and 328 K.
API 5L X60 steel was used as the metallic sample whose chemical composition is displayed in Table 10. For the weight loss (WL) tests, the samples were abraded with 600 to 1200 grade SiC emery paper; then, the surfaces were cleaned with ethanol and deionized water, and finally, dried with nitrogen [76,77]. The initial mass of the samples was recorded before proceeding to their immersion in the acid-CI system. Gravimetric essays were carried out under static conditions without O 2 extraction. The tests were performed at constant temperature (298, 308, 318 and 328 K) for 4 h employing a Carbolite LHT 4/60 oven. After the immersion process, the samples were extracted from the corrosive medium, washed, dried and weighed by following the ASTM G-01 standard [77]. Table 9. Chemical structures of the PILs evaluated as CIs.

Abbreviation
Name Chemical Structure

Poly[VIMC4][Im]
Poly(1-butyl-3-vinylimidazolium)imidazolate a previous work [28]. The corrosive acid medium employed in the present study was 1 M H2SO4, which was prepared by diluting reagent grade sulfuric acid (Sigma-Aldrich, Edo.de México, México) with deionized water. Afterward, PIL dilutions were prepared in the corrosive medium until obtaining concentrations of 100, 125, 150 and 175 ppm; the systems were evaluated at 308, 318 and 328 K. Table 9. Chemical structures of the PILs evaluated as CIs.

Abbreviation
Name Chemical Structure The corrosion rate (V corr , mm year −1 ) and IE, obtained by means of the weight loss technique (IE WL , %), were calculated employing Equations (10) and (11) [76]: where K is a conversion factor equal to 8.76 × 10 4 , ∆W is the mass loss in g, A is the area in cm 2 , t is the time in h and D is the steel density equal to 7.86 gcm −3 ; the superindexes CI and 0 represent the presence and absence of CIs in the system, respectively [78].
As for the electrochemical evaluation, API 5L X60 steel was the working electrode (WE), which was mounted on Teflon tubes cured with epoxy resin, leaving a contact area of 0.2894 cm 2 . The open circuit potential (E OCP ) of the WE was recorded for 1200 s at 308, 318 and 328 K in the absence and presence of CIs. The electrochemical measurements took place in a glass electrochemical cell with a three-electrode arrangement: platinum electrode (99.9%), Ag/AgCl in 3M KCl as the reference electrode and WE. The behavior of the PILs as CIs was analyzed electrochemically by means of an Autolab PGSTAT312N Potentiostat/Galvanostat controlled by the software NOVA 2.1.4, running linear polarization resistance (LPR) and potentiodynamic polarization (PDP) tests within an interval between ±25 mV and ±250 mV with respect to the E OCP , respectively, employing a scanning rate of 0.166 mVs −1 .
Additionally, electrochemical impedance spectroscopy (EIS) tests were carried out at frequencies from 100 kHz to 100 mHz with a sinusoidal wave with an amplitude of 5 mV. In order to ensure the reproducibility of the electrochemical tests, all the experiments were run in triplicate [79][80][81]. The electrochemical parameters were obtained through linear regression of the LPR data and linear extrapolation of the PDP Tafel curves and EIS data by means of equivalent circuits. The IE of the PDP and EIS techniques were calculated employing Equations (12) and (13), respectively [82,83]: where i corr is the current density in µAcm −2 and Rp EIS is the polarization resistance in Ωcm 2 by the EIS technique.
In order to observe the surface morphology and identify the chemical elements present on the metallic surface in the absence and presence of PILs, the API 5L X60 steel samples were analyzed by scanning electron microscopy (SEM) employing a JEOL-JSM-6300 model of equipment. Before carrying out these analyses, the metallic samples were polished until reaching a mirror finishing and were submitted to immersion for 4 h in the absence and presence of 175 ppm of PILs at 308 K [76,77].
The inhibiting behavior exhibited by the PILs was supported by first principle energy calculations. The structures were optimized structurally, confirming the optimal position without symmetry restriction and in singlet state (M = 1). The computational calculations were developed under the density functional theory (DFT) through the software Gaussian 09W [84] based on the B3LYP/6-311++ theory level; Gauss view v6.0 was employed for visualization and input files. Once the optimal structure was produced, the molecular orbitals (MOs), molecular electrostatic potential (MEP) and dipolar moment (µ) of each PIL monomer were analyzed.

Conclusions
By performing the present research work, the temperature effect on the corrosion inhibition process of API 5L X60 steel in 1 M H 2 SO 4 was confirmed by the presence of a protecting film consisting of the Based on the electrochemical and mass loss results, it was found that temperature is a variable that promotes the partial desorption process of CIs and, as a consequence, fewer fractions of protected metallic surface. Poly[VIMC4][Im] displayed a better adsorption process of the PIL derived from Poly [VIMC][Br] with a maximal IE of 75% at 175 ppm at 35 • C, which was attributed to the reticulated form of its chemical structure and to higher cationic participation of the vinylbutylimidazolium monomers. The evaluated compounds were classified as mixed-type CIs.
The SEM results supported the inhibition process of the PILs, revealing less surface damage through the adsorption and formation of an inhibiting film consisting of PILs, even with the temperature increase. The analysis of the molecular orbitals and molecular electrostatic potential of the monomers suggests that the PILs possess different reactive sites located mainly on the N and O heteroatoms present in their chemical structure. Funding: This research received no external funding.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.