Introduction

Inconel, a nickel-chromium-based super alloy, is extensively utilized in high-performance applications, including jet engine components, gas turbines, heavily loaded rotating components, pumps, nuclear reactors, rocket engines, and high-temperature fasteners and bolts1. Inconel alloys are preferred over titanium-based alloys in high-temperature, high-pressure applications due to their superior strength, corrosion and creep resistance at temperatures up to 1140 °C, and excellent thermomechanical properties2. Inconel alloys like 600, 625, 718, and 825 offer superior strength and work hardening but pose machining challenges due to adhesion to tool materials, work hardening, and retained hardness at high temperatures. The primary challenge with machining Inconel alloys is their low thermal conductivity and high cutting forces, which can lead to elevated cutting temperatures, rapid tool wear, and deterioration of the machined surface characteristics3. Various strategies, such as minimum quantity lubrication (MQL), cryogenic fluids, high-pressure jets, and vegetable oil-based cooling, mitigate conventional machining challenges, while conventional cooling is often avoided due to health risks4. Although MQL, vegetable oils, and cryogenic cooling can mitigate some issues associated with conventional cooling systems, they still lead to increased material hardness and rapid tool wear5. Additionally, when machining Inconel alloys, cutting tools are often replaced before reaching the end of their tool life to avoid surface damage and subsurface deterioration caused by tool wear6. Conventional machining of Inconel is challenging, making non-conventional methods like electrical discharge machining (EDM) and laser cutting preferable for intricate, high-precision parts. These methods prevent direct contact, minimizing tool wear and heat issues, making them ideal for machining Inconel alloys7. While laser cutting improves machining performance, it often creates a heat-affected zone (HAZ), inducing tensile residual stresses that degrade surface integrity and reduce fatigue life8. Laser machining of Inconel alloys typically requires a two-stage process: roughing followed by finishing. A major limitation of laser machining is the depth of the melting zone, which can extend up to 1.4 mm when using a 1000 W laser at a cutting speed of 1000 mm/min9. This significant subsurface damage poses a challenge for the subsequent finishing process, as it can compromise surface integrity.

EDM is widely used for high-precision machining of conductive materials, including metals, alloys, composites, and ceramics. Among its techniques, wire electrical discharge machining (WEDM) effectively machines Inconel alloys, ensuring superior performance while considering cost and environmental impact10. Notably, WEDM can cut a wide variety of conductive materials, regardless of hardness, producing intricate shapes11,12. In WEDM, a conductive wire (0.05–0.3 mm diameter) machines tough, electrically conductive materials through thermal erosion13. Similar to die-sinking EDM, WEDM also generates rapid, repetitive electrical sparks between the wire electrode and the workpiece, which locally melt and vaporize both materials. A continuous stream of dielectric fluid, aligned with the wire, cools and clears molten material and debris. Pulsating voltage creates a plasma channel, rapidly melting and vaporizing the tool and work materials14,15. When the power supply stops, the plasma channel collapses, cooling quickly and allowing the fluid to clear debris. The wire, fed under tension without touching the workpiece, maintains a clearance of 0.025–0.05 mm based on machining parameters13. WEDM of Inconel alloys has gained significant attention due to their challenging machinability and critical applications in aerospace and nuclear engineering, necessitating a comprehensive evaluation of process parameters to optimize performance measures such as machining time (MT), material removal rate (MRR), kerf width (KW), and surface roughness (SR). Research indicates that pulse duration (Ton), pulse interval (Toff), current, and spark gap voltage significantly influence WEDM performance, with extensive efforts made to optimize it for MRR, SR, and KW. For instance, Tonday and Tigga16 reported that Ton significantly affects both MT and SR in machining Inconel 718 (IN718). The lowest MT and SR were achieved with the shortest Ton and Toff. Raj et al.17 demonstrated that increasing Ton enhances both MRR and SR, as longer discharge durations facilitate greater material removal per spark due to increased electron activity. However, this often degrades surface quality, as higher energy discharges can create larger craters, which in turn increases SR. In another study on Inconel 603 XL, Manikandan et al.18 found that Ton significantly impacts surface quality. Specifically, as Ton increases from 115 to 130 µs, SR also rises. An optimal Toff of around 50 µs yields better surface characteristics. Furthermore, Newton et al.19 investigated how process parameters affect the formation of recast layers (RL) during the machining of IN718, emphasizing the importance of parameter optimization for improved surface integrity. Burek et al.20 examined the effects of WEDM parameters on IN718 turbine disc slots, achieving a SR of Ra = 0.84 μm and a RL thickness of 5 μm. Optimal parameter control ensured high shape accuracy and minimized defects. Elsewhere, response surface methodology (RSM) has been widely used for parameter optimization, effectively modelling input-output relationships and enabling multi-objective optimization to balance MRR and SR21.

The literature suggests that optimization techniques provide a systematic framework for identifying the most influential WEDM parameters and their interactions, enabling the selection of optimal settings for desired performance in Inconel machining. By carefully balancing process parameters, productivity can be maximized while maintaining high surface integrity. Although a few studies on WEDM of IN718 exist, they primarily focus on maximizing machining efficiency and minimizing SR. However, a comprehensive investigation that correlates machining efficiency with surface quality, while achieving a balance through optimal parameter selection, is lacking. Thus, the present study empirically investigated the machining IN718 to analyze the effects of current, Ton, and Toff on MT, MRR, and SR. Analysis of variance (ANOVA) was employed to assess the significance of the process parameters. The responses were then optimized using a single index called overall evaluation criteria (OEC), with several OECs formulated by assigning different priorities and weightages to the responses. Additionally, the machined surfaces were examined using scanning electron microscopy (SEM) to evaluate their morphological characteristics. This study aims to correlate surface quality (SR and morphology) and machining efficiency (MT and MRR) with process parameters for robust optimization.

Materials and methods

Experiments on machining IN718 were conducted using a WEDM setup (Make: CONCORD Wire EDM; Model: DK7732). A molybdenum wire (ϕ 0.18 mm) was used as the tool electrode and discarded after passing through the workpiece, ensuring fresh wire is introduced for each cut. The workpiece had a thickness of 10 mm, and the length of cut was set at 20 mm to evaluate the parametric effects on the response measures. An image of the workpiece after WEDM experiments is shown in Fig. 1a. The energy dispersive spectroscopy (EDS) spectrum, detailing the weight% and atomic% of the elements, is presented in Fig. 1b. The spectrum reveals peaks corresponding to Ni, Cr, Nb, Ti, and Fe, with weight of 53.12%, 17.97%, 4.49%, 1.79%, and 15.75%, respectively, confirming the material as IN718. Rigorous pilot experiments were conducted to identify suitable ranges for the process parameters. Based on their influence on machining stability and response variation, current, Ton, and Toff were selected as the key parameters. Current was varied at three levels: 2, 3, and 4 A; Ton at four levels: 20, 30, 40, and 50 µs; and Toff at four levels: 9, 10, 11, and 12 µs. The chosen ranges, current (2–4 A), Ton (20–50 µs), and Toff (9–12 µs), ensured stable machining conditions and meaningful response differentiation. Current below 2 A produced weak discharges, insufficient to sustain consistent sparking, resulting in negligible material removal, while values above 4 A led to wire breakage and thermal overloading. Ton below 20 µs caused unstable plasma formation and inconsistent erosion, whereas Ton beyond 50 µs resulted in excessive thermal loading, surface damage, and spark instability. Toff below 9 µs failed to allow proper debris evacuation and dielectric recovery, increasing the risk of short-circuiting and wire rupture; conversely, Toff beyond 12 µs excessively reduced spark frequency, diminishing machining efficiency. The experiments were conducted with straight polarity, using demineralized water as the dielectric medium, which was flushed onto the inter-electrode gap (IEG) during the process. Table 1 lists the experimental conditions, including fixed and process parameters.

Fig. 1
figure 1

(a) Image of workpiece after WEDM and (b) EDS spectrum of workpiece.

MT for each cut was recorded using a stopwatch. After the experiments, the workpiece was examined under an optical microscope (Make: Leica) to measure the KW of each cut. The KW was measured along the length of each cut, and the average value was taken as the final KW. Subsequently, the MRR was calculated as the ratio of the volume of material removed to the MT, as per Eq. (1).

$$\:MRR=\frac{Kerf\:width\:\left(mm\right)\:\times\:\:Length\:of\:cut\:\left(mm\right)\:\times\:\:Thickness\:of\:cut\:\left(mm\right)}{Machining\:time\:\left(s\right)}$$
(1)

Although MT and MRR are mathematically related, but, both are considered in this study because they capture distinct aspects of WEDM performance. MT reflects the total duration required to complete a cut, which is critical for assessing overall process productivity. In contrast, MRR quantifies the efficiency of material removal per unit time and provides insight into the rate of erosion under specific machining conditions. Evaluating both responses enable a more comprehensive assessment of process behavior, particularly when trade-offs between speed, efficiency, and surface quality must be considered. Subsequently, the machined samples were cut across their cross-section using WEDM for SR analysis and surface characterization. SR was evaluated using a diamond tip stylus profilometer (Make: Tokyo Seimitsu Co. Ltd.) with a radius of 5 μm. The centerline average roughness (Ra) was measured at three random locations on the machined surface, and the average of these Ra values was taken as the final SR. The machined samples were analyzed using SEM for surface characterization.

Table 1 Experimental conditions.

Results and discussion

In WEDM, current is supplied to the IEG in pulses, where the discharge energy per pulse (DE) is calculated using Eq. (2)22.

$$\:DE=\frac{{V}_{p}\times\:{I}_{p}\times\:{T}_{on}}{{T}_{on}+{T}_{off}}$$
(2)

where, \(\:{V}_{p}\), \(\:{I}_{p}\), \(\:{T}_{on}\), and \(\:{T}_{off}\) represent the voltage of a single pulse, current of a single pulse, pulse duration, and pulse interval, respectively.

Effect of process parameters on responses

The parametric effects of current, Ton, and Toff on MT, MRR, and SR are shown in Figs. 2 and 3, and 4, respectively. As the current increases from 2 to 4 A, the MT decreases due to the higher DE. This increment in DE intensifies the sparks, which can effectively melt and vaporize larger amounts of the workpiece material in a shorter period, thus, reducing the MT for a given volume of material removal23.

Fig. 2
figure 2

Effect of current, pulse duration and pulse interval on machining time.

Fig. 3
figure 3

Effect of current, pulse duration and pulse interval on material removal rate.

Fig. 4
figure 4

Effect of current, pulse duration and pulse interval on surface roughness.

In WEDM, Ton specifies the duration for which the spark is sustained between the two electrodes in each cycle. Short pulses don’t allow the plasma channel to fully develop or stabilize, leading to unstable channels and inconsistent material removal, which increases MT. The DE increases with a rise in Ton, causing intense heat generation within the plasma channel and leading to a localized temperature rise on the machining surface24. Thus, longer pulses (20–50 µs) enable the plasma channel to expand and reach higher energy levels, improving stability and energy density, thereby reducing MT, as displayed in Fig. 2(b–d)25. In WEDM, Toff is the time between successive electrical discharges and is crucial for regulating discharge frequency and the overall machining process26. An increase in Toff reduces the discharge frequency, which leads to longer MT, as illustrated in Fig. 2(ad). A contrasting characteristic is observed in MT, which increases when using a combination of very high Ton (50 µs) and very low Toff (9 µs), as displayed in Fig. 2a. A longer Ton can cause thermal damage or distortion to the workpiece due to extended heating, requiring slower machining speeds. But a very short Toff may not allow sufficient time to clear debris and molten material from the IEG. This buildup of debris can disrupt the discharge process and affect the servo motion control leading to wire breakage, which ultimately results in lowering machining efficiency and further increasing MT27.

MRR measures the volume of material removed from a workpiece per unit of time, as shown in Eq. (1). In WEDM, evaluating MRR is essential for optimizing efficiency and maintaining process control. According to Eq. (2), DE is directly proportional to the current. As the current increased from 2 to 4 A (Fig. 3(a-d)), MRR also increased due to the higher DE, which resulted in more intense sparks, greater material erosion per pulse, and thus, a higher MRR. Shorter Ton restricts energy transfer, resulting in lower MRR. Extending the Ton from 20 to 50 µs allows more energy per pulse, which enhances material erosion and increases MRR. Additionally, longer Ton cause the plasma channel to expand, leading to larger craters and further increasing MRR. MRR decreases with an increment in Toff (9–12 µs), because the reduced DE leads to a lower discharge frequency, ultimately resulting in lower MRR.

To optimize MRR, the Toff should not be excessively reduced. This interval is crucial for cooling the workpiece and electrode, managing thermal effects, and preventing overheating. It also allows for the removal of eroded material and debris from the IEG, which is essential for maintaining effective discharge conditions. Additionally, the dielectric fluid helps to flush away debris and keep the machining environment clean28. Overall, the Toff plays a key role in thermal management, debris removal, and ensuring the efficiency and stability of the WEDM process. The negative impact of a shorter Toff (9 µs) is evident in Fig. 3a, where MRR decreases as Ton increases from 40 to 50 µs at currents of 2 and 3 A. This is due to unstable discharge conditions caused by ineffective debris flushing from the IEG. Debris accumulation leads to secondary sparking, which increases MT and, ultimately, results in lower MRR. This aligns with the findings of Rajurkar and Wang29and Gostimirovic et al.30who observed that excessive Ton results in energy wastage, thereby reducing machining efficiency.

Evaluating SR after WEDM is essential to ensure part performance, precision, and durability. It helps manufacturers to meet quality standards, reduce post-machining operations, and optimize the part’s service life in demanding applications. The effect of process parameters on SR after WEDM of the Inconel workpiece is shown in Fig. 4a–d. Two sample roughness curves are presented in Fig. 5a, b. The first curve shows the lowest Ra value of 1.36 μm, achieved at the lowest DE setting, while the second curve shows the highest Ra value of 3.91 μm, obtained at the highest DE setting. At a lower current of 2 A, the DE is minimal, resulting in smaller craters and a smoother surface finish with reduced thermal effects and a smaller HAZ25. As the current increases from 2 to 3 A, the DE rises, leading to larger craters and a rougher surface finish due to more aggressive material removal and increased thermal impact31. At a high current of 4 A, the intense discharges create significantly rougher surfaces, with deeper craters and greater surface irregularities. With lower Ton, the craters on the surface are smaller and shallower, which leads to a finer finish32. However, as Ton rises, the craters become larger and deeper, creating a rougher surface. This is because longer Ton allow more heat to melt and remove material, forming broader and deeper craters. Additionally, extended Ton causes more heat to penetrate into the workpiece, increasing the RL thickness and HAZ depth, further deteriorating the surface quality33. Therefore, to achieve better surface finish in WEDM, it is desirable to use shorter Ton, while considering the trade-off with MRR which improves with higher Ton. SR decreases as the Toff increases from 9 to 12 µs. This is due to the extended cooling and flushing at higher Toff, which allows more molten material to be removed from the IEG, leading to a smoother surface finish34.

Fig. 5
figure 5

Roughness curves at (a) lowest DE setting and (b) highest DE setting.

Analysis of variance

ANOVA is vital for quantifying the impact of factors on a response variable, enabling the identification of significant effects and optimization of process parameters. The ANOVA results at a 95% confidence level for all responses are shown in Table 2. Parameters with a P-value ≤ 0.05 are deemed statistically significant, signifying that these parameters have a substantial effect on the responses35,36. The F-value, which represents the ratio of variance explained by a factor to the variance due to error, indicates the strength of influence. A higher F-value implies that a parameter contributes more dominantly to variations in the response, and thus has greater sensitivity37. The percentage contributions, calculated by dividing the sum of squares (SS) of a factor by the total SS and multiplying by 100, further highlight the relative importance of each parameter in explaining the total variation in the respective responses. This provides a practical basis for prioritizing process control strategies38. For MT, current was the most influential factor, with an F-value of 149.98, a P-value of 0.000, and a contribution of 57.62%, confirming that MT is highly sensitive to variations in current. Similarly, current had the highest F-values for MRR (142.50) and SR (439.60), with corresponding contributions of 51.55% and 80.63%, respectively. Although Ton and Toff were also significant (P ≤ 0.05), their influence was relatively lower, as reflected in their F-values and contributions. The high R2 values across all responses (MT = 92.51%, MRR = 92.95%, and SR = 96.42%) and their respective adjusted R2 values demonstrate strong model fits and predictive accuracy, reinforcing the importance of these parameters in optimizing WEDM process.

Table 2 Analysis of variance for response measures.

Overall evaluation criteria

Roy39 introduced a concept, which involves normalizing individual responses based on their quality characteristics, applying priority weightages, and then aggregating these to derive a single comprehensive index named OEC. The formulated OEC comprising MT, MRR and SR with different priority weightages is represented in Eq. (3).

$$\:{OEC}_{i}=\left[\left\{1-\left(\frac{{X}_{i}-{X}_{min}}{{X}_{max}-{X}_{min}}\right)\right\}\times\:{W}_{X}\right]+\left[\left(\frac{{Y}_{i}-{Y}_{min}}{{Y}_{max}-{Y}_{min}}\right)\times\:{W}_{Y}\right]+\left[\left\{1-\left(\frac{{Z}_{i}-{Z}_{min}}{{Z}_{max}-{Z}_{min}}\right)\right\}\times\:{W}_{Z}\right]$$
(3)

.

where, \(\:{X}_{i}\), \(\:{Y}_{i}\) and \(\:{Z}_{i}\) represents \(\:{i}^{th}\) experimental values of MT, MRR and SR, respectively. \(\:{W}_{X}\), \(\:{W}_{Y}\) and \(\:{W}_{Z}\) represents weightages assigned to MT, MRR and SR, respectively. \(\:{X}_{max}\), \(\:{Y}_{max}\) and \(\:{Z}_{max}\) denotes the maximum experimental values of MT, MRR and SR, respectively. Similarly, \(\:{X}_{min}\), \(\:{Y}_{min}\) and \(\:{Z}_{min}\) denotes the minimum experimental values of MT, MRR and SR, respectively. The characteristics of the OEC, including the best and worst response values, their quality characteristics, and corresponding weightages, are summarized in Table 3.

Table 3 Overall evaluation criteria.

In this study, four distinct OEC were developed, as shown in Table 3. OEC 1 assigns equal weightage to all criteria (\(\:{W}_{X}=33\), \(\:{W}_{Y}=33\) and \(\:{W}_{Z}=34\)). OEC 2, however, prioritizes both machining efficiency and surface quality equally. Machining efficiency is indicated by MT and MRR, while surface quality is represented by SR. So, \(\:{W}_{X}=25\), \(\:{W}_{Y}=25\) and \(\:{W}_{Z}=50\) has been taken as the relative weightages of MT, MRR and SR, respectively. As an extension of the optimization framework through OEC 2 where equal emphasis has been laid on machining efficiency and surface quality, OEC 3 and OEC 4 were formulated by assigning equal weightage to MT (\(\:{W}_{X}=50\)) and SR (\(\:{W}_{Z}=50\)) in OEC 3, and to MRR (\(\:{W}_{Y}=50\)) and SR (\(\:{W}_{Z}=50\)) in OEC 4. The rationale behind excluding MRR in OEC 3 and MT in OEC 4 stems from the consideration that both MT and MRR can serve as independent indicators of machining efficiency in WEDM. By focusing exclusively on MT in OEC 3 and on MRR in OEC 4, these criteria aim to balance machining efficiency with surface quality (SR), depending on the priority of the process outcomes. Figure 6a presents the results of OEC obtained using different relative weightages, while Fig. 6b displays the ranking of experimental runs for each OEC. Each OEC demonstrates different trade-offs based on how much weight is assigned to each response, with the best OEC depending on whether the goal is to minimize time, maximize material removal, or improve surface quality.

Fig. 6
figure 6

(a) Comparison of OEC with different relative weightage, (b) Comparison of rank attained with different OEC.

The mean effect plots for the OEC are displayed in Fig. 7. From these plots, the levels of each process parameter that correspond to the highest OEC are identified as the predicted optimum conditions, based on the mean effects of the parameters. The mean effect plots also demonstrate the influence of each process parameter on the OEC outcomes. Notably, the effect of Toff is particularly prominent, as evidenced by the considerable variation in OEC values with changes in Toff. The optimum condition for OEC 1 was identified as current of 4 A, Ton of 40 µs, and Toff of 9 µs. In contrast, the optimum conditions for OEC 2, 3, and 4 were found to be current of 2 A, Ton of 40 µs, and Toff of 9 µs. The similar outcomes for OEC 2, 3, and 4 can be attributed to the equal emphasis placed on both machining efficiency and surface quality in their respective weightages. The actual optimum conditions for OEC 1, 2, 3, and 4 showed errors of 13.15%, 5.42%, 2.74%, and 0%, respectively, compared to the predicted optimum conditions.

Fig. 7
figure 7

Mean effect of parameters on (a) OEC 1, (b) OEC 2, (c) OEC 3 and (d) OEC 4.

Surface morphology analysis

SEM analysis is performed on samples machined by WEDM to examine surface morphology, identify microstructural changes, detect thermal damage (such as RL, cracks, and pores), and analyze the topography at a high resolution, providing insights into the effects of machining parameters on surface integrity and quality. Figures 8a and b represent SEM images of samples machined at a lower DE setting (current: 2 A, Ton: 20 µs, Toff: 12 µs) and higher DE setting (current: 4 A, Ton: 50 µs, Toff: 10 µs), respectively.

Fig. 8
figure 8

SEM images of machined samples at (a) current 2 A, Ton 20 µs, Toff 12 µs; (b) current 4 A, Ton 50 µs, Toff 9 µs.

The surface characteristics of IN718 after WEDM are significantly influenced by the DE levels used during machining, which in turn affect the thermal dynamics of the process. At a lower DE setting, features such as smaller globules, a thinner and more uniform RL, and fewer defects like micro-pores and debris clusters occur due to controlled, less aggressive material removal. In WEDM, discharges at around 10,000 °C melt and vaporize conductive materials, but not all molten material is expelled34. Repeated pulses with fixed intervals and a dielectric medium cause molten material to undergo multiple heating and cooling cycles. This results in solidification and forms a RL on the machined surfaces, as shown in Fig. 840. The debris of resolidified material observed on the machined surface can be attributed to the ineffective flushing of material by the dielectric fluid. As the molten material solidifies, air bubbles can get trapped, forming micro-pores on the surface41. The RL produced by the WEDM process can reduce fatigue life, as it serves as a source of crack initiation due to the presence of high residual stresses42. Globules on the surface are formed due to increased surface tension of the molten material, which is a result of the quenching action of the dielectric medium43. Lower energy results in reduced melting, allowing better cooling and preventing excessive thermal damage. The increased flushing action at higher Toff allows ejection of more molten materials and results in less formation of micro-pores and globules. On the other hand, at a higher DE setting, the surface shows debris accretion, a thicker RL, and prominent thermal defects like micro-pores and larger globules. These features arise from increased melting and material ejection due to higher heat input, resulting in unstable molten pool dynamics and rapid solidification. This is further aided by the use of a lower Toff which hinders flushing of molten debris from the IEG. This process can trap gases and lead to the formation of numerous micro-pores, as shown in Fig. 8b. The RL thickens because the molten material resolidifies on the workpiece surface before being fully flushed by the dielectric fluid. The microstructure analysis results are consistent with the SR findings, as illustrated in Fig. 5. The Ra values for the samples at the lowest and highest DE settings are 1.36 μm and 3.91 μm, respectively. Additionally, the Rz parameter, which indicates the mean peak-to-valley height over the assessment length, was 8.07 μm at the lowest DE setting and 18.23 μm at the highest. The increased Rz at higher DE is attributed to the formation of larger and deeper craters compared to those formed at lower DE. These roughness values correlate directly with the surface defects observed in the SEM images, smoother surfaces with lower Ra and Rz correspond to smaller globules, fewer micro-pores, and uniform RL, while rougher surfaces with higher Ra and Rz are associated with larger globules, denser debris clusters, and prominent micro-pores. These observations align with previous studies34,44, which have shown that higher DE increases MRR but at the cost of SR and defect formation. While SEM images in this study qualitatively illustrate the formation and variation of the RL under different DE conditions, quantitative measurement of RL thickness was not performed. Future work will incorporate cross-sectional SEM or optical microscopy techniques to precisely quantify RL thickness and further validate these observations. The EDS analysis of the machined surface at the highest DE is shown in Fig. 9. In addition to the base elements of IN718, the spectrum revealed a significantly high carbon content (33.51 wt%), which was not observed in the unmachined specimen (Fig. 1b). Similar findings have been reported in the literature for Inconel alloys machined using deionized (DI) water as the dielectric. Nguyen et al.45 observed significant surface carbon content (12.62%) during micro-EDM of IN718 using DI water, which they attributed to the redeposition of debris particles on the machined surface. Similarly, Alkahlan et al.46 reported carbon (8.1%) and oxygen (12.1%) enrichment on the machined surface during WEDM of IN718 and linked it to the dielectric decomposition due to electrolysis and environmental exposure during high-energy discharge conditions. Trace amounts of molybdenum, originating from the tool electrode, and oxygen, likely introduced from the ambient environment during the discharge process, were also detected. These observations indicate the migration of elements from both the tool electrode and the dielectric surroundings. Collectively, the presence of carbon, molybdenum, and oxygen suggests the potential for the formation of secondary phases such as carbides and oxides in the recast layer. Although this study does not directly confirm such phase formation, evidence from spark plasma sintering study on IN718 hybrid alloys has shown rapid formation of MC and M7C3 type carbides under brief, high-temperature exposure in carbon-rich environments, supporting the plausibility of similar transformations under WEDM conditions47.

Fig. 9
figure 9

EDS spectrum of machined surface.

Conclusions

Parametric analysis of WEDM on IN718 was conducted successfully by evaluating the effect of current, Ton, and Toff on MT, MRR, and SR. MT decreased whereas MRR increased with the increment in current, Ton, and Toff. A contrasting feature of MT and MRR were noticed at high Ton and low Toff levels. This can be attributed to the prolong heating at higher Ton and insufficient time for debris removal at lower Toff leading to the disruption of the WEDM process and resulting in higher MT and lower MRR. Elsewhere, SR increased with an increment in current and Ton due to the formation of bigger and deeper craters, while SR reduced with an increase in Toff due to improved flushing. The EDS study demonstrated the transfer of electrode material onto the machined surface. The presence of carbon on the machined surface indicated redeposition of debris particles and dielectric decomposition, whereas the presence of oxygen suggested material transfer from the environment. The responses were optimized by implementing the concept of OEC, wherein weightages were varied as per priority. The four different OEC resulted in varying actual optimum conditions as compared to the predicted ones evaluated from their mean effect plots. The outcome of actual optimum OEC 1 showed highest error (13.15%), followed by OEC 2 (5.42%), OEC 3 (2.74%), and OEC 4 (0%) compared with their predicted optimum outcomes. When machining efficiency and surface quality were given equal priority, the optimal conditions were found to be a current of 2 A, Ton of 40 µs, and Toff of 9 µs. The machined surfaces were characterized by SEM analysis, where uniform RL with smaller globules are formed on surfaces machined at lower DE, whereas non-uniform RL with larger globules are formed at higher DE. Further, higher DE leads to the formation of numerous micro-pores and debris accretion as compared to lower DE. Parametric analysis showed that higher DE improved machining efficiency but degraded surface quality. The OEC results emphasized the need for a trade-off, with varying weightages for MT, MRR, and SR reflecting the WEDM process’s specific goals.