1 Introduction

In the context of advancing technology, the estimation and analysis of machining costs have become increasingly prominent in the field of engineering [1]. In contemporary manufacturing systems, good product quality, manufacturing flexibility, and low production costs stands as the key to competitiveness [23]. Consequently, the assessment of machining costs holds paramount importance. The pivotal aspect of this assessment lies in constructing robust cost models capable of generating significant cost estimates based on gathered data [4,5,6,7,8]. The Wire Electrical Discharge Machining (WEDM) process stands out for its broad acceptance due to its high machining accuracy and minimal error in product development [9,10,11,12]. However, cost estimation of WEDM is a challenging task due to the vast array of influencing factors that must be considered. It is a critical aspect in determining the appropriate machining parameters, materials, and equipment [1314]. Incorrect decisions during the machining stage can lead to substantial costs later in the development process, with modifications becoming more expensive as they occur later in the development cycle [15,16,17]. Therefore, careful consideration and consciousness during decision-making are essential for cost estimators.

In the current market scenario, the demand for product diversity is driven by diversification. Product diversity is linked to increased product design complexity, with the design stage accounting for a significant portion, around 70% or more, of the total production cost [18]. The challenges posed by product diversity make early-stage manufacturing cost estimation crucial for optimizing overall product costs. Accurate cost estimation plays a pivotal role in bidding strategies, resource management, product development, and contributes to the economic success of a company. Over time, researchers have shown a growing interest in developing accurate cost estimation models. Early efforts included the consideration of costs beyond direct costs [19]. Subsequent models focused on different machining processes during manufacturing time [20], cost estimation during the product design phase [21], and hybrid cost estimation models [22] that combined past experience, direct cost computations, and parametric cost estimation. Knowledge-based computing methods, such as neural networks, have been employed for cost estimation in machining [2324]. Models have been developed to minimize machining costs by considering factors such as energy consumption [25], insert grade, feed rate, and depth of cut [26]. Optimization efforts for CNC milling have involved tool sequence optimization [27,28,29], and geometrical algorithm optimization [30]. Economic models for heavy machining operations [31], deep drawing metal sheets [32], and CNC manufacturing [32] have also been explored. In the context of CNC turning, genetic algorithms have been used for optimizing machining costs [33]. A plethora of related works on machining costs can be found in the literature [34], illustrating the ongoing efforts to enhance cost estimation methodologies in the field of manufacturing.

The estimation of machining cost involves expressing it as an analytical function of variables that represent key features of the machining process, aiming to capture their influence on the final cost. The approach to estimating the cost of WEDM is analytical, breaking down the overall cost into elementary components such as power consumption, wire electrodes, and dielectric fluid. This analytical technique becomes more powerful when coupled with modern evolutionary algorithmic approaches. Hybrid models offer a range of benefits in enhancing the accuracy, efficiency, and cost-effectiveness of WEDM. Firstly, such hybrids can improve accuracy by exploring a wider solution space, ensuring better convergence to the optimal machining parameters. Secondly, efficiency is enhanced through quicker convergence to near-optimal solutions, reducing computation time and enhancing productivity. Additionally, the cost-effectiveness of WEDM operations improves as hybrid models minimize material waste and reduce energy consumption by finding more efficient cutting paths and parameter settings. Moreover, the combination of algorithms allows for better handling of complex, multi-objective optimization problems commonly encountered in WEDM, enabling manufacturers to optimize for various factors simultaneously such as surface finish, machining time, and electrode wear [35].

In this study, Response Surface Methodology (RSM) is utilized as a combination of statistical and mathematical methods for modeling and analyzing scenarios where multiple variables and objectives impact an output [36]. A polynomial response surface model is employed to understand how the WEDM process parameters affect the total machining cost. The use of RSM is driven by the necessity to comprehend the contributions of various parameters to the overall cost. To economize on actual experimental expenses, a strategy of mathematical model-guided optimization is adopted. System identification techniques, particularly RSM, are employed to establish connections between machining costs and WEDM process parameters. Noteworthy is the incorporation of two widely used evolutionary algorithms, such as Particle Swarm Optimization (PSO) and Genetic Algorithm (GA), alongside the RSM model to minimize total machining costs. This study stands out from prior research by presenting a unique and innovative methodology geared towards minimizing machining costs in the domain of WEDM.

2 Materials and methods

2.1 Experimental information

The experiments were accomplished using a CNC-assisted wire electrical discharge machine (Eletronica ELPULS-40 A), and the machine’s specifications are showed in Table 1. Table 2 illustrates the variation of input parameters during experimentation, and Table 3 outlines the fixed machining parameters. During experimentation, a 0.25 mm diameter zinc-coated brass wire electrode was employed for machining, and deionized water served as the dielectric medium. The workpiece material consisted of a rectangular-shaped Inconel 800 plate (50 mm × 50 mm × 10 mm). Four input variables, viz. pulse-on time (TON), pulse-off time (TOFF), peak current (IP), and servo voltage (SV), were selected at varying levels to investigate their effects on the total machining cost. The experimental design followed a systematic L27 Taguchi’s orthogonal array. The steps of the contemporary research are represented in Fig. 1, providing a visual understanding of the experimental procedure as well as the progression of the investigation.

Table 1 Specifications of WEDM machine
Table 2 Details of the WEDM process parameters
Table 3 Fixed machining parameters
Fig. 1
figure 1

The steps involved in the contemporary study

2.2 Total machining cost estimation procedure

2.2.1 Cost of power consumption (C p)

In the process of monitoring load power in the WEDM, a 3Ø wattmeter is connected to the isolation transformer. The wattmeter’s indication is multiplied by the wattmeter multiplication constant of 100 to determine the load power in watts. The wattmeter, connected to the isolation transformer of the WEDM, begins deflection on its dial indicator when metal cutting commences. By observing the deflection, the actual power consumption during the metal cutting process is determined. The load power is then multiplied by the machining time to convert it to Board of Trade units (BOT) or kilowatt-hours. To calculate the cost of power consumption in rupees, a predetermined cost per unit for electricity (Rs. 6/-) is used.

2.2.2 Cost of consumed wire (C w)

One of the significant operating costs for WEDM is the expense associated with the wire consumed during a cut. The cost savings in consumables, if any, must be balanced against maintenance costs and lost production time to assess its advantages. The improvement in EDM wire savings, coupled with increased productivity through enhanced reliability, can substantially impact overall profitability. After the completion of the machining operation, the consumed wires are collected, and their weight is measured to determine the actual wire consumption. The wire spool used in this experiment has an initial weight of 3500 g, and its approximate cost of purchase is Rs. 5000/-. Therefore, the cost of 1 gram of wire is calculated as Rs. 1.43/-. The weight measuring machine used has precision up to two decimal units of a gram.

2.2.3 Cost of dielectric fluid (C d)

In WEDM, a blend of resin and deionized water serves as the dielectric fluid. This fluid is pumped from the sump tank to the cutting zone using a convergent nozzle. As the machining progresses, the dielectric’s conductivity increases because of the generation of metal ions and the dissolution of atmospheric gases, as indicated in the table below. The maximum conductivity of deionized water is set at 40 µs. The increments in conductivity are measured by a digital conductivity meter, analyzing the used dielectric fluid (dirty water). Over an 8-hour period, the conductivity of dirty water increases by (14.45–7.3) = 7.19 µs, while for filtered water, it increases by (16.41–9.95) = 6.46 µs. The average increase in conductivity over 8 h is calculated as (7.19 + 6.46)/2 = 6.83 µs. Consequently, the increase in conductivity per hour is (6.83/8) = 0.85375 µs, and per minute, it is 0.01423 µs. Considering an initial conductivity of 6.3 µs, the dielectric water can be used until it reaches (40 − 6.3) = 33.7 µs. For a machining process, the system requires 350 L of deionized water and 7.5 kg of resin, costing Rs. 10/liter and Rs. 350/kg, respectively. Therefore, the cost of the sump tank (Deionized water + Resin) is (350 × 10) + (7.5 × 350) = (3500 + 2625) = Rs. 6125/-. This cost is attributed to the increase in the conductivity level of the dielectric fluid. Consequently, the cost for 1 µs of conductivity increase is calculated as Rs. 6125/40 = Rs. 153.12. Finally, the total machining cost (CT) is determined by summing up all the cost components, as illustrated in Eq. 1.

$$\:{C}_{T}={C}_{p}+{C}_{w}+{C}_{d}$$
(1)

2.3 Response surface methodology

RSM is a powerful statistical and mathematical practice employed in the modelling and optimization of complex engineering problems. It is particularly useful when the correlation between input and the response variables of a system is not linear and involves interactions between variables. RSM aims to create a mathematical model that accurately represents the behaviour of the system, allowing engineers to optimize and understand the response surface within the experimental region. The central concept of RSM is the construction of a mathematical model, often a polynomial equation, that approximates the response variable in terms of the input variables [37]. The general form of a second-order polynomial equation in two variables x1 and x2 is:

$$\:{Y}_{x}=\:{b}_{0}+\sum\:_{i=1}^{n}{b}_{i}{x}_{i}+\sum\:_{i=1}^{n}{b}_{ii}{x}_{i}^{2}+\sum\:_{i<j}^{n}{b}_{ij}{x}_{i}{x}_{j}$$
(2)

In this equation, Y is the corresponding output, and x1, x2, …, xn are independent input parameters. The coefficients b0, b1, b2, etc., represent the second-order regression coefficients, contributing to linear, higher-order, and interactive effects of the input parameters. These coefficients are estimated using responses collected through design points, employing the least squares technique.

RSM involves designing a set of experiments within a defined experimental region, collecting data, and fitting the model to the observed responses. The fitted model can then be used for forecast, optimization, and sensitivity analysis. RSM finds applications in several engineering sectors, where it aids in the optimization of processes and the discovery of optimal operating conditions. By systematically exploring the response surface, engineers can efficiently identify and understand the key factors influencing the system’s performance, facilitating informed decision-making and improved designs.

2.4 Evolutionary algorithms

Evolutionary algorithms offer a robust approach to optimize parameters in WEDM for multi-objective scenarios. By employing techniques like Genetic Algorithms or Particle Swarm Optimization, one can explore the parameter space efficiently. These algorithms balance conflicting objectives such as accuracy, material removal rate, and tool wear ratio, crucial for cost-effective machining. Through iterative generations, the algorithm evolves candidate solutions, adjusting parameters like pulse-on time, current, and wire tension, to achieve optimal trade-offs between objectives. By utilizing fitness functions tailored to each objective, the algorithm guides the search towards Pareto optimal solutions, where one objective cannot be improved without degrading others. This enables manufacturers to make informed decisions based on the specific requirements of the machining task, ultimately enhancing productivity and reducing costs in WEDM operations. Moreover, the environmental sustainability of WEDM can be enhanced through the use of evolutionary algorithms. By finding the optimal combination of parameters, these algorithms can reduce energy consumption, decrease material waste, and lower the carbon footprint of the machining process. This aligns with the growing focus on eco-friendly manufacturing practices, making WEDM more environmentally responsible.

2.4.1 Particle swarm optimization

PSO, an optimization algorithm inspired by natural phenomena, emulates the collective dynamics observed in the social interactions of birds or fish flocking [38]. Pioneered by Kennedy and Eberhart in 1995, PSO has become a prevalent tool in addressing optimization challenges across diverse domains, including engineering, finance, and artificial intelligence [39]. Within the PSO framework, a population of potential solutions, denoted as particles, navigates the expansive search space to ascertain the most advantageous solution. Each particle refines its position and velocity by drawing upon its individual experiences and assimilating the shared knowledge of the entire swarm. The algorithm is steered by two pivotal components: the personal best position (pbest), representing the most favorable solution encountered by a particle, and the global best position (gbest), signifying the optimal solution identified by any particle within the swarm. The updates in position and velocity for each particle are delineated by the ensuing equations:

$$\eqalign{{v_i}\left( {t + 1} \right) = & w.{v_i}\left( t \right) + {c_1}.{r_1}.\left( {pbes{t_i} - {x_i}\left( t \right)} \right) \cr & + {c_2}.{r_2}.\left( {gbest - {x_i}\left( t \right)} \right) \cr} $$
(3)
$$\:{x}_{i}\left(t+1\right)=\:{x}_{i}\:\left(t\right)+\:{v}_{i}\:(t+1)$$
(4)

Herein, vi(t) denotes the velocity of particle i at time t, while \(\:{x}_{i}\left(t\right)\) signifies the position of particle i at the same instant. The symbols w, c1, and c2 represent the inertia weight, acceleration coefficients, and r1, r2 denote random values within the interval [0,1]. The term \(\:{pbest}_{i\:}\)designates the personal best position of particle i, and gbest denotes the global best position in the optimization space.

The inertia weight assumes a pivotal role in modulating the equilibrium between exploration and exploitation, delineating the algorithm’s propensity to navigate the search space extensively or to focus on exploiting promising regions. Meanwhile, the acceleration coefficients wield control over the particle’s discernment of its personal best versus the collective wisdom encapsulated in the swarm’s global best. The PSO algorithm perseverates through iterative cycles until a predetermined termination criterion materializes, be it the attainment of a specified number of iterations or the realization of a satisfactory solution. The procedural intricacies of the PSO algorithm are elucidated in Fig. 2.

Fig. 2
figure 2

The steps involved in PSO algorithm

2.4.2 Genetic algorithm

GA is a popular optimization technique inspired by the process of natural selection and genetics. These algorithms belong to the broader class of evolutionary algorithms and are designed to search for optimal solutions to complex problems. The fundamental concept behind genetic algorithms is the mimicking of biological evolution by maintaining a population of potential solutions to a problem and iteratively applying genetic operators to produce successive generations. The process begins with the initialization of a population of candidate solutions, often represented as individuals in a population, each with a set of parameters or traits. These individuals undergo a selection process based on their fitness, which measures their ability to solve the problem at hand [40].

In the course of the selection procedure, individuals exhibiting enhanced fitness stand a heightened likelihood of being selected for reproduction, facilitating the transmission of their genetic information to successive generations. The genetic operators, specifically crossover (recombination) and mutation, emulate the biological evolutionary processes of recombination and mutation. Crossover amalgamates traits from two parent individuals to engender novel offspring, whereas mutation introduces minor random alterations in an individual’s traits. This iterative progression persists across multiple generations, fostering the evolution and convergence of the population toward optimal or near-optimal solutions [41,42,43,44]. Genetic algorithms demonstrate particular efficacy in addressing intricate, multidimensional optimization quandaries across diverse domains such as engineering, finance, and artificial intelligence. This is especially pertinent in scenarios where conventional optimization approaches may encounter challenges due to the non-linearity and high dimensionality of the solution space. The schematic depiction in Fig. 3 provides an overview of the Genetic Algorithm.

Fig. 3
figure 3

The overview of Genetic Algorithm

3 Results and discussion

3.1 Statistical analysis of the response parameter

3.1.1 Effect of machining inputs on total machining cost

Figure 4(a) shows that with an increase in TON, total machining cost decreases. When TON is 105 µs machining cost is maximum but when TON is 111 µs then machining cost is minimum. As the pulse-on time is extended, the material removal rate (MRR) tends to rise, leading to higher efficiency in the machining process. Longer pulse-on times allow for more effective and sustained discharges, facilitating better material erosion and faster machining speeds. Moreover, increased pulse-on times contribute to improved stability and accuracy in cutting, reducing the need for secondary finishing operations. With longer pulse durations, the heat generated during the process is distributed over a larger time frame, minimizing thermal stress on the workpiece and enhancing surface finish. Consequently, the overall productivity and cost-effectiveness of the WEDM process are enhanced as a result of optimized material removal and improved machining performance associated with longer pulse-on times.

Fig. 4
figure 4

Effect of WEDM process parameters on total machining cost. a Effect of TON. b Effect of TOFF. c Effect of IP. d Effect of SV

The second plot (Fig. 4(b)) suggests that initially, as the pulse-off time increases, there is a tendency for the total machining cost to rise. This is attributed to the longer duration of the pulse-off time, leading to increased energy consumption and higher wear on the electrode. As the pulse-off time continues to extend, the material removal rate diminishes, resulting in a slower machining process. However, beyond a certain threshold, a reversal in the trend occurs. With further increases in pulse-off time, the total machining cost starts to decrease. This is primarily due to reduced electrode wear, enhanced surface finish, and improved machining efficiency. The diminishing wear on the electrode contributes to longer tool life, lowering tool replacement costs. Therefore, the optimal pulse-off time strikes a balance between efficient material removal and minimized tool wear, leading to an overall reduction in the total machining cost.

Figure 4(c) illustrates the impact of IP on machining costs. It is evident that within the range of 210–220 A, the machining cost remains constant; however, with an increase in IP from 220 to 230 A, there is a slight decrease in machining costs. The consistent machining cost between peak currents of 210–220 A in WEDM suggests an optimal operating range, where efficiency and material removal rates are balanced. The stability within this range may result from a harmonious interplay of factors such as tool wear, material removal rates, and energy consumption. When the peak current increases from 220 to 230 A, a slight decrease in machining cost could be attributed to enhanced material removal efficiency. The higher current may lead to increased aggressiveness, resulting in improved cutting speeds and reduced machining time, thereby lowering overall costs. However, beyond a certain point, escalating peak currents may cause excessive tool wear, compromised surface finish, or increased energy consumption, leading to diminishing returns and an upward trend in machining costs. Therefore, the observed trend underscores the importance of finding an optimal balance between current intensity and machining parameters for cost-effective and efficient WEDM processes.

The Fig. 4(d)) shows increasing spark gap voltage initially raises machining costs, but beyond a certain point, costs start to decrease. At lower spark gap voltages, the electrical discharge may not have sufficient energy to efficiently remove material, resulting in slower machining rates and higher tool wear. As the voltage increases, the energy delivered to the workpiece intensifies, leading to improved material removal rates and reduced machining time. However, this also contributes to increased electrode wear, as the higher energy discharges erode the electrode at a faster rate. Once the spark gap voltage surpasses a critical value, the enhanced material removal efficiency compensates for the elevated electrode wear. The machining process becomes more effective, and the reduction in machining time outweighs the increased tool wear, leading to an overall decrease in machining costs.

3.1.2 Analysis of variance (ANOVA)

ANOVA, a statistical method, proves instrumental in evaluating the influence of multiple factors on a variable. It effectively dissects total variance into components attributed to various sources, enabling researchers to discern the relative impact of individual factors and make well-informed decisions. In the current study (Fig. 5), the percentage contributions of various WEDM process parameters to the total machining cost are depicted. TON emerges as the most significant factor, contributing 41% to the total variation in machining cost. Following closely is SV, making a substantial 20% contribution, while TOFF and IP exhibit nearly equal statistical significance at 17% and 15%, respectively. The coefficient of determination, , serves as a measure of the degree of fit, representing the ratio of explained variation to total variation. With an value of 0.9316, the model demonstrates a strong fit, explaining 93.16% of the total variations. Adjusted , which accounts for the model’s size (number of factors), is 0.9030, signifying that 90.30% of the total variability is explained by the model after considering the significant factors. (Pred.) further supports model reliability, standing at 0.8439. This value indicates that the model is expected to elucidate 84.39% of the variability in new data, affirming the robustness of the model’s predictions beyond the dataset used for development.

Fig. 5
figure 5

The percentage contribution of each process parameter on total machining cost

3.1.3 Residual plot analysis

Residual plots are crucial for assessing the adequacy of a model fitting. This analysis encompasses four distinctive plots: the normal probability plot, the residuals versus fitted plot, the histogram portraying the distribution of residuals, and the plot depicting residuals against the order of observation. As illustrated in Fig. 6, the residual plot for total machining cost unveils valuable insights. In the normal probability plot, the cost data points exhibit a commendable proximity to the straight line, indicating the preservation of the assumption of normality. The residual versus fitted plots indicate a random scattering of data points, affirming the validity of the assumption of constant variance. Additionally, a subtle skewness is perceptible in the histogram plot. Lastly, the residual versus order plot reveals discernible fluctuations with noticeable ups and downs. This comprehensive evaluation of residual plots aids in the thorough examination of model fitness and underlying assumptions.

Fig. 6
figure 6

Residual plot analysis for total machining cost

3.2 Results of modeling and optimization

In this study, a total of twenty-seven experiments were conducted to assess the overall machining cost. The primary goal of the investigation is to identify the minimum machining cost, a crucial factor influencing a product’s competitiveness in the open market. The objective function is formulated using RSM and is expressed as Equ. 5.

$$\eqalign{ Total{\rm{ }}cost{\rm{ }} = & {\rm{ }}417{\rm{ }} - 5.9{T_{ON}} - 19.9{T_{OFF}} + 5.4IP \cr & - 2.49SV{\rm{ }} - 0.0164{T_{ON}}^2 - 0.130{T_{OFF}}^2 \cr & - 0.0141I{P^2} - 0.0086S{V^2} + 0.215{T_{ON}} \cr & \times {T_{OFF}} - 0.0162{T_{ON}} \times IP{\rm{ }} + 0.0147{T_{ON}} \cr & \times SV{\rm{ }} + 0.0464{T_{OFF}} \times IP{\rm{ }} + 0.0251{T_{OFF}} \cr & \times SV{\rm{ }} - 0.0004IP \times SV \cr} $$
(5)

Subjected to the following inequality constraints:

$$\eqalign{& 105{\rm{ }} \le {T_{ON}} \le {\rm{ }}120;{\rm{ }}57{\rm{ }} \le {T_{OFF}} \le {\rm{ }}60;{\rm{ }}210{\rm{ }} \le IP \le {\rm{ }}230 \cr & and\,\,{\rm{ }}20{\rm{ }} \le SV \le {\rm{ }}50 \cr} $$

After generating the objective cost function, optimization is carried out using PSO and GA techniques. The implementation of both algorithms is done in MATLAB to minimize the objective cost function. The determination of an optimal number of populations and generations is achieved through a trial and error approach. Table 4 outlines the parametric configuration details for PSO and GA. Figure 7(a-b) illustrates that the objective function converges within the 10th generation for PSO and the 60th generation for GA. However, both algorithms yield the minimum machining cost when the parameters are set to TON = 117.7124 µs, TOFF = 57 µs, IP = 222.1145 A, and SV = 20 V. Figure 8 indicates that GA requires significantly more computational time compared to PSO. To validate the predicted responses at the optimal experimental conditions, an experiment is conducted. The deviations between the experimental and predicted response values are presented in Table 5. The comparison reveals minimal errors between the predicted and experimental responses, affirming the validity of the optimal parametric sequence. This underscores the effectiveness of the employed optimization techniques in achieving accurate and reliable results.

Table 4 Parametric settings of PSO and GA
Fig. 7
figure 7

Convergence behavior of the objective function

Fig. 8
figure 8

Iterative Time required for PSO and GA

Table 5 Comparison of the optimized and experimental results

3.3 Enhancing cost efficiency in turbo-machinery manufacturing: study significance

The study on optimizing Wire-Cut EDM parameters through evolutionary algorithms presents a comprehensive approach to enhancing cost efficiency in turbo-machinery manufacturing. By utilizing RSM and evolutionary optimization techniques like PSO and GA, the research aims to identify the optimal set of machining parameters that minimize costs while maintaining machining quality.

The study delves into key process parameters such as pulse-on time, pulse-off, peak current, and spark gap voltage to understand their impact on machining costs. Through experimentation and modeling, the research reveals insights such as the influence of longer pulse-on times on stability and surface finish, and the optimal thresholds for pulse-off time and peak current to reduce wear and enhance efficiency. By optimizing these parameters based on the study’s findings, manufacturers in turbo-machinery production can achieve significant cost savings while improving machining outcomes.

Furthermore, the integration of evolutionary algorithms like PSO and GA allows for efficient exploration of the parameter space and the identification of optimal solutions for cost minimization. These algorithms enable manufacturers to balance conflicting objectives such as speed, accuracy, and energy efficiency, crucial for cost-effective machining in turbo-machinery manufacturing. By leveraging the analytical and experimental efforts outlined in the study, manufacturers can fine-tune their machining processes, reduce material waste, and optimize energy consumption, ultimately leading to improved cost efficiency and competitiveness in the production of turbo-machinery components.

4 Conclusion

This paper employs a comprehensive approach to determine the optimal machining cost of WEDM using two multi-objective optimization techniques. Taguchi’s L27 design of experiment is initially used to explore machining parameters systematically. An experimental setup assesses costs related to power consumption, consumed wire, and dielectric fluid. A quadratic mathematical equation is then developed using RSM to model the total machining cost. This equation serves as the objective function for the multi-objective optimization techniques. Overall, the research combines experimental and analytical efforts, with key findings and contributions outlined as follows:

  • Longer pulse-on times enhance stability, accuracy, and surface finish, improving WEDM cost-effectiveness. For pulse-off time, an initial cost rise is linked to energy consumption and electrode wear, but an optimal threshold reduces costs by minimizing wear and enhancing efficiency. Peak current’s impact on costs is balanced within 210–220 A, with a slight decrease beyond 220 A due to improved material removal efficiency. Although spark gap voltage initially raises costs, beyond a critical value, increased material removal efficiency results in an overall machining cost reduction.

  • ANOVA dissects total variance, revealing WEDM process parameters’ contributions to machining costs. TON dominates with a 41% impact, followed by SV at 20%, and TOFF and IP each at 17% and 15%. The model exhibits a strong fit (R² = 93.16%) and reliability in predicting new data (R² (Pred.) = 84.39%).

  • Residual plot analysis shows insights from the residual plot for total machining cost, confirming normality, constant variance, and revealing subtle skewness. This evaluation ensures a thorough examination of model fitness and assumptions.

  • RSM-derived cost function optimized with PSO and GA in MATLAB, achieving minimum machining cost at TON = 117.7124 µs, TOFF = 57 µs, IP = 222.1145 A, and SV = 20 V. Further analysis shows PSO converges by the 10th generation, while GA converges by the 60th generation. So, GA requires more computational time than PSO, underscores the effectiveness of PSO algorithm.

Evolutionary algorithms offer promising avenues for optimizing WEDM across diverse manufacturing sectors and specialized machining processes. In the future, these algorithms could revolutionize WEDM by fine-tuning machining parameters such as pulse-on time, pulse-off time, and servo voltage to enhance material removal rates, surface finish, and minimize tool wear. Breakthroughs might include the development of adaptive algorithms that self-optimize based on real-time feedback, enabling WEDM systems to autonomously adjust parameters for varying workpiece materials and geometries. Moreover, evolutionary algorithms could facilitate multi-objective optimization, balancing conflicting goals like speed, accuracy, and energy efficiency, ushering in an era of highly efficient, adaptable, and sustainable WEDM solutions across industries ranging from aerospace to medical devices.