1 Introduction

The main part of the industrial sector is represented by manufacturing, which plays a fundamental role in the global economy by converting, through different physical mechanisms, raw materials into products, wastes, and emissions [1]. The energy required for manufacturing activities is an input of the process, and it is partly transformed into useful work and partly transformed into waste and lost heat. In particular, only a fraction of the consumed energy is actually used for value-added activities, while the greater part of it is spent for ensuring stable process conditions and supporting peripheral functions [2]. A greater part of the necessary energy is electrical, and it is mostly produced by burning fossil fuels which generates carbon footprints [3, 4] that can be linked to the CO2 emissions through the Carbon Emission Signature (CES, Jeswiet and Kara, 2008). The manufacturing sector is historically one of the greatest energy consumers and carbon emitters in the world: it is responsible for about 33% of the primary energy use, and 38% of the CO2 global emissions (“IEA (2021), Energy Efficiency Indicators: Overview, IEA, Paris”). Adding to these aspects, the current trend of sustainability, and the continuous increase of the price of energy, manufacturing enterprises result to be under pressure for reducing energy consumption to strongly limit both the CO2 emissions [5] and the costs linked to production [6]. Energy savings and sustainable manufacturing are expected to be achieved by increasing both the energy efficiency of the production and the logistic processes, as the companies head forward producing “more with less” with innovative energy monitoring and management approaches [2, 7].

Several researches aim to a potential reduction in the carbon footprint of manufacturing activity through the adoption of additive manufacturing (AM) technologies; among these is the ATKINS project [8,9,10,11], collaborative research and industry partners project [12, 13]. Additive manufacturing is an important and relatively new group of manufacturing processes defined by ISO/ASTM 52900:2021 as “the process of joining materials to make objects from 3D model data, usually layer upon layer, as opposed to subtractive manufacturing and or formative manufacturing methodologies.” AM processes are an evolution of a group of technologies focused on rapid prototyping; this group of technologies has drawn increasing attention from the industrial world since it can provide a certain advantage in different areas [14, 15]. First of all, AM provides the capability of freeform fabrication: it removes traditional manufacturing restrictions and provides design freedom for innovative products [16,17,18]. Furthermore, AM can shorten the supply chain of fabrication and enhance the profit space for manufacturers [19, 20]. Despite all these advantages, there are also some limitations associated with the AM. Firstly, it is characterized by a low productivity rate. Secondly, the achievable dimensional accuracy and the surface quality are limited; indeed, numerous studies are underway to optimize the design of the parts and improve the repeatability of the process [21,22,23]. Thirdly, AM is unable to reduce production costs by applying economies of scale because the unit production cost is high for medium–high volume [24]. AM technologies provide a huge potential to reduce the environmental impact if compared to traditional manufacturing techniques [25,26,27]. The ability of AM to build parts directly from a computer-aided design (CAD) model with only one manufacturing step makes it an excellent alternative compared to conventional manufacturing processes [28]. These technologies can simplify the production of complex parts, and some AM processes are also able to repair and remanufacture tooling, in order to eliminate the supply chain operation of materials. Those manufacturing processes are generally more environmentally friendly because they only use the exact amount of material necessary for producing the required parts [29]. Other environmental advantages can be found in the reduction of extracting raw materials and their transportation. Despite these qualitative considerations, what is unclear so far is how to calculate the actual energy consumption occurring during the printing process; in fact, only by investigating this aspect, it is possible to understand how convenient AM processes are from an energetic point of view compared to traditional processes [30, 31]. Traditionally, energy efficiency in additive manufacturing is considered very low. Because of these promising characteristics, a lot of research has been conducted on the aspects of process control, simulation, and modelling. On the contrary, research aimed at the energy demand of AM technologies is very limited [32, 33].

The present paper proposes a novel methodology for assessing the energy consumption of material extrusion (MEX) processes. The methodology involves the measurement and analysis of the energy consumption of the MEX process using a sensor and software tools. The developed model calculates the energy consumption of AM processes, involving a novel classification system for power consumption related to the stages of the process. This approach provides a global view of the manufacturing process, while also allowing for a local analysis of different stages of production.

The methodology is divided into several steps, including identifying different stages and measuring absorbed power. The power measurement is repeated to obtain reliable data. The printing time is evaluated using open-source slicing software. The collected and calculated data are processed to define the power absorption behaviour of the process and create a predictive model of energy consumption for parts with different geometries. Finally, the model is validated through a comparison between estimated and measured data for different printed parts. The validation of the method is demonstrated through experiments conducted on a 3D printer showing that the proposed methodology can provide an accurate and reliable estimation of energy consumption during MEX processes.

Furthermore, the text discusses the validation of the proposed methodology for assessing energy consumption in MEX processes for materials other than PLA. Four additional materials, including two polymers (ABS and polycarbonate) and two metals (filaments with stainless steel 316L and 17-4PH powder), were tested to demonstrate the model robustness. The data collected during preliminary tests showed that higher temperatures of the build plate and nozzle correspond to longer heating phases but the same values of absorbed power. The analysis of the data generated a summary table that defines the characteristic parameters of each selected filament, including the absorbed power in the printing phase. The developed model and the tests carried out on different materials allow for estimating the energy necessary for printing specific products, providing a simple tool for forecasting consumption that could help in evaluating the convenience of the process.

To the best author’s knowledge, there is no previous paper developing a model able to define characteristic parameters. For example, in [26], the energy consumption of different additive manufacturing processes was analysed by considering material extrusion, stereolithography, and selective laser sintering. The authors measured the energy consumption of each process during different stages of production founding that energy consumption varied significantly depending on the process used and the stage of production. This work concluded that the energy consumption of each process was influenced by factors such as the size of the object being printed and the layer thickness suggesting improvement related to the geometry/characteristics of the part or to the printing parameters.

For this reason, the present paper allows us to take a step forward in the definition of methodologies for predicting and increasing the sustainability of additive processes. It is characterized by two main novelty points. Firstly, a combination of a global view of the manufacturing process with a local analysis of different stages of production is considered. This means that the manufacturing process is not divided into different features, such as the nozzle or plate motor, but rather into different manufacturing stages. This simplifies the decomposition and identification of the necessary information. Secondly, the model allows estimating characteristic parameters useful for calculating the energy consumption for a printing process. This estimation can be achieved simply by knowing the used material and the geometry of the part. This model can also be easily adapted for other AM technologies. Overall, this research contributes to a better understanding of the energy consumption of AM processes and provides valuable information for improving the sustainability of these processes.

2 Methodology

The proposed methodology for assessing the energy consumption in the MEX process is divided into several steps (Fig. 1). The different stages of the MEX process must be identified, including the heating stages (build plate and nozzle), the calibration stage, the forming stage, and the cooling process (1). Simple geometry is selected for realizing preliminary tests during which the absorbed power of each identified stage must be measured by means of an acquisition system (2). Due to the natural variability of the process, the power measurement is repeated to obtain reliable data (3). One of the most common open-source slicing software (Cura®) is used for evaluating the printing time (4). The collected and calculated data are then processed to define the power absorption behaviour of the process (5); these data are used to create a predictive model of the energy consumption for each part having a different geometry (6). For supporting the model, it is important to validate it; thus, a final comparison between the estimated and measured data for the different parts is conducted. Specifically, in this stage, different geometries (representative of real components obtainable through the additive process) are selected and printed (7).

Fig. 1
figure 1

Proposed methodology

2.1 Process decomposition

The first stage of the printing process is the warm-up, which can be assimilated into a preparation mode. Indeed, before proceeding with parts fabrication, some components like the chamber and the plate firstly and then the nozzles need to be heated. Both the chamber and nozzle/s temperatures are kept constant during the whole printing process. Then, the calibration phase starts. In this phase, the machine checks that the nozzle/s and the plate are set up correctly in terms of the positions and ability of the material to be extruded from the nozzle. Afterwards, the forming stage can start deposing the material layer-by-layer following the desired path defined by the slicing software. Finally, the cooling stage begins, and then, the printed part can be removed from the build plate. As already said, in each phase, the energy consumption is related not only to the stage itself but also to keeping all the machine components at the correct temperature for the entire process. This means that during the nozzle heating, the printer absorbs power also for maintaining the correct temperature of the build plate. Similarly, during the calibration and printing stages, the machine needs to maintain a stable temperature of both the build plate and the nozzle. The several manufacturing stages and their duration throughout the whole process are reported in Fig. 2. The same phases can be identified in all additive processes with some tricks depending on the technology used. Thus, a similar methodology can be derived also for other AM processes. The power values of all these printing stages can vary because each power level stage will depend on the process and the machine used. Concerning the duration of each phase, warm-up (plate and nozzle), cooling, and calibration are not part-dependents and are well-known due to the measurements. The maintaining temperature and print phases are depending on the geometry of the manufactured part and the print speed. Thus, the duration of each of these stages can vary.

Fig. 2
figure 2

Manufacturing stages and their duration along the whole process

The second step of the methodology is the acquisition of the instantaneous power consumption during the realization of some preliminary tests through an external device connected to the printing machine for recording data with a frequency of 1 Hz. A power study for all stages is realized by calculating the energy consumption of each phase of the AM process. All the printing tests were performed applying the optimal printing parameters selected on the base of material-technical datasheet and/or literature to have reliable data printing variable geometry. In the third step of the methodology, these measurements are repeated nine times.

The execution of these preliminary recording activities allows for identifying if the process is repeatable in terms of the trend and the level of the absorbed power of each process stage. Specifically, it is possible to identify if and how the power absorption changes by modifying the part geometry and to understand if the plate and nozzle temperatures affect the power absorption or simply the processing time and, consequently, the energy consumption.

2.2 Modelling

The innovative aspect of the mathematical model for the prediction of energy consumption in printing is to combine a global view of the printing process and a local analysis of different production stages. For this reason, the process is divided into stages instead of different features (nozzle, motors…). With the power and duration of each stage known, the total energy consumption (\({E}_{TOT}\)) can be calculated as the sum of the energy consumed during the process stages (Eq. 1).

$${E}_{TOT}=\underset{{t}_{0}}{\overset{{t}_{1}}{\int }}P\left(t\right)dt={E}_{W{U}_{\mathrm{plate}}}+{E}_{{\mathrm{keep}}_{\mathrm{plate}}}+{E}_{W{U}_{\mathrm{nozzle}}}+{E}_{{keep}_{\mathrm{nozzle}}}+{E}_{\mathrm{cal}}+{E}_{\mathrm{print}}+{E}_{\mathrm{cool}}$$
(1)

where \({E}_{W{U}_{\mathrm{plate}}}\) and \({E}_{W{U}_{\mathrm{nozzle}}}\) are the energy consumption for heating the build plate and the nozzle. \({E}_{{\mathrm{keep}}_{\mathrm{plate}}}\) and \({E}_{{\mathrm{keep}}_{\mathrm{nozzle}}}\) represent the energy necessary for keeping the constant temperature of the build plate and nozzle. \({E}_{\mathrm{cal}}\) is the energy consumption for the calibration stage, \({E}_{\mathrm{print}}\) is the energy for the part forming, and \({E}_{\mathrm{cool}}\) represents the energy for the cooling stage.

Observing the duration and the overlap of the different stages (Fig. 2), it is possible to see how the machine must keep a constant plate temperature for the entire duration of nozzle heating (\({t}_{W{U}_{\mathrm{nozzle}}}\)), calibration (\({t}_{\mathrm{cal}}\)), and printing stages (\({t}_{\mathrm{print}}\)) (\({t}_{{\mathrm{keep}}_{\mathrm{plate}}}\)—Eq. 2).

$${t}_{{\mathrm{keep}}_{\mathrm{plate}}}={t}_{W{U}_{\mathrm{nozzle}}}+{t}_{\mathrm{cal}}+{t}_{\mathrm{print}}$$
(2)

A similar consideration can be done for the \({t}_{{\mathrm{keep}}_{\mathrm{nozzle}}}\), except for the nozzle warm-up stage (Eq. 3).

$${t}_{{\mathrm{keep}}_{\mathrm{nozzle}}}={t}_{\mathrm{cal}}+{t}_{\mathrm{print}}$$
(3)

Introducing these relations into Eq. 1, the total energy can be estimated as reported in Eq. 4.

$${E}_{TOT}=\left({\mathrm{P}}_{{\mathrm{keep}}_{\mathrm{plate}}}+{P}_{{\mathrm{keep}}_{\mathrm{nozzle}}}+{P}_{\mathrm{print}}\right)\bullet {t}_{\mathrm{print}}+{P}_{W{U}_{\mathrm{plate}}}\bullet {t}_{W{U}_{\mathrm{plate}}}+\left({P}_{W{U}_{\mathrm{nozzle}}}+{P}_{{\mathrm{keep}}_{\mathrm{plate}}}\right)\bullet {t}_{W{U}_{\mathrm{nozzle}}}+\left({P}_{{\mathrm{keep}}_{\mathrm{plate}}}+{P}_{{\mathrm{keep}}_{\mathrm{nozzle}}}+{P}_{\mathrm{cal}}\right)\bullet {t}_{\mathrm{cal}}+{P}_{\mathrm{cool}}\bullet {t}_{\mathrm{cool}}$$
(4)

where \({P}_{W{U}_{\mathrm{plate}}}\) and \({P}_{W{U}_{\mathrm{nozzle}}}\) are the absorbed power for heating the build plate and the nozzle. \({P}_{{\mathrm{keep}}_{\mathrm{plate}}}\) and \({P}_{{\mathrm{keep}}_{\mathrm{nozzle}}}\) represents the absorbed power for maintaining the temperature of the build plate and nozzle to the correct value. \({P}_{\mathrm{cal}}\) is the absorbed power for the calibration stage, and \({P}_{\mathrm{print}}\) and \({P}_{\mathrm{cool}}\) are the absorbed power of the printing and cooling stages respectively.

Given the assumption of the distribution of the stages as indicated in Fig. 2, it is possible to rewrite Eq. 5 by collecting all the not part-related terms, in a new variable called \({\psi }_{i}\), where \(i\) identified the material. Furthermore, the absorbed power during the printing stage \(({P}_{{\mathrm{keep}}_{\mathrm{plate}}}+{P}_{{\mathrm{keep}}_{\mathrm{nozzle}}}+{P}_{\mathrm{print}})\) can be called \({P}_{{\mathrm{work}}_{i}}\). According to this consideration, Eq. 5 can be rewritten as follows:

$${E}_{TOT}={t}_{{\mathrm{print}}_{i}}\bullet {P}_{{\mathrm{work}}_{i}}+{\psi }_{i}$$
(5)

\({t}_{{\mathrm{print}}_{i}}\) indicated the time required for printing the part with the defined printing parameters related to the selected material which can be estimated by a slicing software and depends on the part geometry, too. In this way, the total energy can be estimated a priori by means of two terms characteristic of the material: (1) \({\psi }_{i}\) describing the energy consumption of preparation and cooling stages; (2) \({P}_{{\mathrm{work}}_{i}}\) describing the average value of the absorbed power during the actual printing process including the absorbed power for keeping constant the plate and nozzle temperatures.

2.3 Validation

2.3.1 Experimental set-up

This methodology has been applied to a dual extruder 3d printer Ultimaker S5. This machine is also equipped with a movable up and down heat build plate and a heating resistor on the extruders that rise, respectively, their temperature to 60 °C and 200 °C. The parts used in this investigation are a cube of 15 × 15 × 15 mm, a cylinder of \(\phi 15\) × 30 mm, and a parallelepiped of 20 × 20 × 5 mm made in PLA. According to MEX machine manufacturers, different machines may have different configurations from that of Ultimaker one. Therefore, the material and the equipment vary from one machine to another. Sometimes, the heat build plate is replaced by a heat chamber or, for low-cost machines, nothing. Given this, the order of different stages during the production process can change as a function of the machine brand. Table 1 lists the parameters used in this process.

Table 1 MEX machine parameters

During these tests, the instantaneous power absorbed by the printing equipment was measured by means of CLM1000, a power measurement instrument, showing that the power consumption during the non-printing stages has the same behaviour regardless of the printed part. For all tests, all measurements were realized under the same initial condition. The workshop temperature was 21 °C, and the build plate and the nozzle were expected to cool down to room temperature before starting each measurement. Three tests were performed for each geometry for evaluating the repeatability of the data collection.

Figure 3 shows a representative power measurement from the Ultimaker S5. The power measurement started with the start of the printing process. The first part of power absorption (blue area) corresponds to the rising temperature of the build plate. The second level of power (orange area) corresponds to the nozzle warm-up. During this stage, the heat plate continues to warm up to keep constant the temperature. After all the components have finished their warm-up stage, the calibration (yellow area) starts, and then, the machine is ready for the printing stage (purple area). A lot of oscillation can be observed during the last stage. These oscillations are not generated by the motors; in fact, the current and voltage values are the same all the time during the printing stage because of the nature of the motors. Oscillations are generated by the maintenance of the right temperature of the build plate and nozzle and are visible due to the high acquisition frequency.

Fig. 3
figure 3

Manufacturing cycle for different PLA parts

According to Fig. 3, it is evident how the absorbed power behaviour and duration differ only in the printing stage according to the different geometries of the parts. Hence, since the heating, calibration and cooling times are not part-related, the energy consumption during these phases can be considered a fixed parameter in the calculus of the total energy. Furthermore, the preliminary tests also showed that the absorbed powers during the printing stage for the different parts have approximately the same average values (Fig. 3). Even if the several printing stages are characterized by a certain variability of the absorbed power over time as reported in Fig. 3, the instantaneous power value can be successfully substituted by its average value \({P}_{{\mathrm{work}}_{i}}\). This can be confirmed by applying the moving mean to the sampled data: it is evident how it remains almost constant during the entire printing stage. These considerations support the assumption used for obtaining Eq. 5.

2.3.2 Data processing

Considering the data collected during the preliminary test, through a Matlab code developed by the authors, the data were elaborated for estimating the energy consumption for each not part-related calculating the duration of each of them. The same code also includes the instruction for the calculation of the \({P}_{{\mathrm{work}}_{i}}\). These data were used for the definition of the characteristic coefficient \({\psi }_{i}\) and \({{P}_{\mathrm{work}}}_{i}\). The consumed energy was calculated as the integral of the power vs. time curve. Thus, regarding the PLA filament printed by applying the printing parameters reported in Table 1, it results to be characterized by \({\psi }_{PLA}=54.60 \mathrm{kJ and }{{P}_{\mathrm{work}}}_{PLA}=0.154 \mathrm{kW}\).

Defined these characteristics values, it was investigated if Eq. 5 works for the estimation of the energy consumption a priori. For evaluating it, three new parts were considered for testing the predictive model. The parts had different levels of complexity determined by the shape complexity coefficient (\({C}_{FDM}\)) developed by Pradel et al., 2017 (Eq. 6).

$${C}_{FDM}=\frac{S{A}_{c}}{{V}_{es}}$$
(6)

where \(S{A}_{c}\) is the surface area of the component and \({V}_{es}\) is the volume of the envelope space between the functional surfaces. Lower \({C}_{FDM}\) identifies a low level of shape complexity; on the contrary, an increase of \({C}_{FDM}\) indicates parts with a higher level of complexity. The decision to consider different levels of complexity is driven by the desire to validate the model not only for elementary geometries which therefore have a more linear and, in some cases, short printing process, but to demonstrate that the approach works for components characterized by complex details and long processes. Thus, the geometries reported in the first column of Table 2 were printed considering the same conditions reported in the previous section and the instantaneous power absorbed by the printing equipment was measured. In the meantime, considering the estimated printing time and the characteristic parameters of PLA, the energy consumption was mathematically calculated (\({E}_{TOT}\) model). The data collected from the experiments were elaborated by Matlab code. All results are reported in Table 2. The obtained results, regardless of the degree of complexity, show a very low deviation between the experimental value and that derived from the model demonstrating the robustness of the developed model. This underlines the good ability of the model to predict the energy needed, even if it tends to underestimate it, especially for the simpler part. The only particular aspect related to the error estimation is related to the fact that the second geometry, despite the small \({C}_{FDM}\), shows an error three times greater than the other two geometries. This result can suggest that the degree of complexity does not directly affect the reliability of the prevision model. A hypothesis that can justify this increment may be the greater height of the product, which therefore involves a greater number of layers in the production. This aspect, together with the particular geometry (considering the horizontal section), generates a greater number of changes in the nozzle direction during printing, which may have increased the actual energy consumption.

Table 2 Comparison between energy estimated by the model and recorded in the experiment for geometries characterized by different shape complexity

2.4 Outcome

So far, the validity of what was stated in the modelling section has been demonstrated only for PLA, the simplest material to process through MEX. In order to prove the general validity of the definition of characteristic coefficients, the methodology was tested broadening the range of materials. Specifically, the power absorbed was collected for 4 more materials: 2 polymerics (acrylonitrile butadiene styrene — ABS and polycarbonate — PC) and 2 metals (polymer filament with stainless steel 316L and 17-4PH powder respectively) filaments. Each of them is characterized by different build plate and nozzle temperatures as reported in Table 3, and, as can be seen from the details of the warm-up activities reported in Fig. 4, higher temperatures of the build plate and nozzle correspond to longer heating phase but same values of absorbed power. Then, some preliminary printing tests with the relative power absorption recording have been conducted for observing the repeatability of this effect on printing base geometries showing the reproducibility of the power absorption trend (Fig. 5) regardless of the kind of material. The curves mainly differ in the duration of each stage and the \({P}_{\mathrm{work}}\) values.

Table 3 Characteristics energy parameters for different materials
Fig. 4
figure 4

Detail of duration of the build plate and nozzle heating

Fig. 5
figure 5

Manufacturing cycle for different materials printing same pilot geometries

The data collected by the preliminary test are analysed for describing the base process defining specific \({\psi }_{i}\) and \({{P}_{\mathrm{work}}}_{i}\). The data elaboration allows to generate a summary table (Table 3). The data highlight that, for corresponding phases, the levels of absorbed power are the same, but their duration varies according to the temperatures to be reached during the heating phase.

The data processing defines an average value of the power absorbed in the printing phase, highlighting a large difference in \({{P}_{\mathrm{work}}}_{i}\) for the materials belonging to the class of polymers.

In conclusion, the developed model and the tests carried out on different types of materials allow identifying the characteristic parameters of each selected filament. Thanks to this processing, it is now possible to estimate the energy necessary for printing specific products simply by applying Eq. 6 introducing the values reported in the final table providing the industry with a very simple tool for forecasting consumption which could help in evaluating the convenience of the process.

2.5 Application

The developed mathematical relation is useful for the definition of energy convenience of the printing process compared to the other machining solution. At the same time, this relation can be integrated into a cost model for the correct and reliable estimation of production cost. In this way, the estimation of a priori parameters necessary for the economic evaluation of the production of an individual part can be completed. This means that by integrating the model developed in this work with the economic model in the previous paper [34], it is possible to estimate production costs by having a detailed estimation of energy consumption and consequently its costs. Thus, by introducing Eq. 5 into the economic model reported in [34], the general formula for the estimation of the energy cost (\({C}_{e})\) (reported for sake of clarity in the Eq. 7) can be simplified as indicated in Eq. 8.

$${C}_{e}= \left({t}_{su}+\sum_{i}{t}_{c{c}_{i}}{N}_{i}+{t}_{w}\gamma \right)\left({\left.{C}_{0}\right|}_{1h}+{c}_{en}{P}_{i}\right)+{t}_{wu}\left({\left.{C}_{0}\right|}_{1h}+{c}_{en}{P}_{wu}\right)+{t}_{w}\left({\left.{C}_{0}\right|}_{1h}+{c}_{en}{P}_{w}\right)$$
(7)
$${C}_{e}=\frac{{N}_{ord}}{1-\varepsilon }\left({t}_{prin{t}_{i}}\bullet {P}_{wor{k}_{i}}+{\psi }_{i}\right)\bullet {c}_{en}$$
(8)

where \({t}_{su}\) is the setup time, \({t}_{c{c}_{i}}\) is the time spent on consumable replacement activities, \({N}_{i}\) represents how many units of a single consumable, \(\gamma\) is a fraction of the entire production time \({(t}_{w})\) dedicated to the auxiliary activities, \({\left.{C}_{0}\right|}_{1h}\) is the hourly fixed cost, \({c}_{en}\) is the unit cost of the energy, and \({t}_{wu}\) is the warm-up time. Furthermore, \({P}_{i}, {P}_{wu},\) and \({P}_{w}\) represent the power consumption of the machine during idle, warm-up, and production states, respectively. \({N}_{\mathrm{ord}}\) is the dimension of the customer order, and \(\varepsilon\) is the percentage of non-compliant parts.

The simplification of the equation allows for the reduction of variables and information necessary for the estimation of energy cost, and it is possible to predict them without actually producing the part. Correlating these two models, it is possible to estimate a priori the energy consumption and the production cost of a unit part, helping the companies within the evaluation of the technology convenience without wasting a lot of time in the collection of several data and without performing simulation which are characterized by a long computing time. The modification of the cost energy estimation modifies the general equation of the unit cost (UC — Eq. 9 [34]) as reported in Eq. 10.

$$UC=\frac{{\left.{C}_{0}\right|}_{1h}\bullet t+{C}_{e}+{C}_{m}+{C}_{c}}{{N}_{\mathrm{ord}}}$$
(9)
$$UC=\frac{{\left.{C}_{0}\right|}_{1h}\bullet t+{C}_{m}+{C}_{c}}{{N}_{\mathrm{ord}}}+\frac{\left({t}_{\mathrm{prin}{t}_{i}}\bullet {P}_{\mathrm{wor}{k}_{i}}+{\psi }_{i}\right)\bullet {c}_{en}}{1-\varepsilon }$$
(10)

where \(t\) is the sum of the duration of all printing activities, \({C}_{m}\) is the material cost, and \({C}_{c}\) is the cost of consumables elements (e.g. nozzle).

3 Conclusions

In this work, a model for predicting energy consumption during the MEX process has been developed. It has shown a different point of view on energy evaluation, considering the different stages of the process instead of the different components of the machine. The mathematical model has been validated by applying the energy prediction model to printed parts with different levels of complexity. The validation shows a good level of accuracy in the prediction of energy consumption and its comparison with the experimentally recorded energy. The model has been validated for a PLA, and then, to evaluate the robustness of the model, some tests for the definition of the characteristic parameters are carried out also considering other printable materials and products with different levels of complexity. In total, three kinds of polymers and two metal filaments have been considered. As a conclusive result, a user-friendly tool for the prediction of the MEX energy demand has been defined and validated obtaining as the outcome a collection of “power” parameters typical for each material. In conclusion, the work demonstrates that the developed model allows for supplying a reliable prediction of energy consumption with an error that slightly underestimates the values, but still less than 10%. In the last part of the work, the characteristic parameters for different materials were estimated for supplying the necessary values for the estimation of energy consumption using different materials.

In general, this work defines a method for the definition of characteristics parameters which, once calculated, allow predicting the energy consumption of the process regardless of the geometry of the part. Furthermore, a priori knowledge of energy consumption is possible, simplifying the cost evaluation since fewer variables and information are necessary.