1 Introduction

1.1 A first motivation

The concept of sustainability or sustainable development has a long history and has been widely discussed in different contexts, especially in social, political and scientific contexts. According to Munda et al. (1994) one of the most widely accepted definitions dates back to 1987 and stems from the World Commission on Environment. Sustainable Development is, thus, “the paths of human progress which meet the needs and aspirations of the present generation without compromising the ability of future generations to meet their needs”.

The scientific examination of sustainability is a complex challenge because especially the time aspect—the anticipation of the needs of future generations—leaves a lot of room for the interpretation of sustainable activity. It has been common to operationalize the term sustainability by connecting it with specific goals, depending on the context. In the production context, sustainability implies that the processes used to produce industrial products should be adjusted to reduce negative ecological influences as well as energy consumption, thus conserving natural resources. Furthermore, production processes should be safe and harmless for all stakeholders, and also be considered as “economically healthy”, cf. Garetti and Taisch (2012), Haapala et al. (2013), Hong et al. (2012), Li et al. (2013).

If the reduction of energy consumption is seen as a primary goal, the operationalization of sustainability is often carried out via so-called energy efficiency, cf. Merkert et al. (2015), Giret et al. (2015), Mansouri et al. (2016). In general, efficiency describes an assessment criterion for the quality of a measure; here, the relationship between the output and input of an economic activity is often considered. According to Kleine and Ostmeyer (2018) and Fysikopoulos et al. (2014), the term energy efficiency refers to the ratio of the achieved output—e.g., the quantity produced—to the energy consumption—e.g., the amount of energy required to obtain the respective result. However, due to practical issues like the unavailability of appropriate measuring points, energy costs are often used instead of the actual energy consumption of particular processing steps.

One route to achieving a sustainable production in companies might be to improve energy efficiency, i.e., to increase the output or to reduce energy consumption or energy costs, cf. Jaehn (2016), Merkert et al. (2015), Kästner and Kießling (2016). However, the present work questions the common implicit conclusion that an improvement in energy efficiency leads to more sustainability in production. Our business case of a medium-sized metalworking company will demonstrate that sustainability and energy efficiency are not necessarily the same or complementary goals. More precisely, from an operational point of view, we show that carbon dioxide emissions can increase when decreasing energy costs by resizing and reallocating operational activities over a production week. Hence, there can be a trade-off between both aims and prudent management should pay heed to these effects.

The theoretical basis for this observation is related to previous work in the field of energy-efficient production planning (EEPP). In the classification scheme of Biel and Glock (2016), the authors distinguish between energy-efficient lot sizing and energy-efficient scheduling of machines within the short-term EEPP. In this paper, a multi-criteria optimization model is presented that simultaneously takes both planning tasks into account by considering the minimization of energy costs as well as average carbon dioxide emissions. From a model-theoretical point of view, our study is, thus, closely related to the work of Wichmann et al. (2019), Johannes et al. (2018), and Masmoudi et al. (2016) because they also minimize energy-driven goals in the context of lot sizing and scheduling problems. From a pure energy-efficient scheduling perspective, our work can be linked to Mouzon and Yildirim (2008), Moon et al. (2013), Rager et al. (2015) and Wang et al. (2015)—we also consider unrelated machines in parallel. However, the energy demand-side management of production processes (cf. Gahm et al. (2016)) and the minimization of power peaks by shifting energy-intensive production steps to periods with lower electricity prices (see e.g. Buscher et al. 2016; Keller et al. 2015; Bego et al. 2014; Reinhart et al. 2012) are well-known measures to rapidly improve energy efficiency. It is often assumed that a decrease in energy consumption and/or energy costs leads to a decline in carbon dioxide emissions (cf. Jaehn (2016)). However, our case study will show that this is not necessarily true; for a first hint regarding this issue see also Li et al. (2018). Therefore, our novel approach is to consider fluctuating average carbon dioxide emissions and electricity prices simultaneously in a lot sizing and scheduling environment. The next section highlights the interplay between average carbon dioxide emissions and electricity prices more transparent.

1.2 Electricity market prices vs. average carbon dioxide emissions

As mentioned in the motivation, it is often assumed that minimizing energy-oriented objective functions automatically leads to more sustainable production plans, decreasing, e.g., carbon dioxide emissions. However, assuming such a causal link is questionable, and this section provides evidence regarding this issue (also refer to Li et al. (2018)). The question “what are the electricity mix and the corresponding average carbon dioxide emissions at a specific point in time?” might give a first orientation. To answer this question, we provide Fig. 1—the hourly electricity mix data for the work week dating from 24 Sep 2018 to 28 Sep 2018; refer to the energy charts (https://www.energy-charts.de) of the Fraunhofer-Institut für Solare Energiesysteme (ISE).

Fig. 1
figure 1

Relative mix of electricity production in Germany

As one can see, the electricity mix varies strongly from 1 h to another. In particular, the relative importance of solar and wind energy decreases during the night. Besides nuclear power, coal-fired power production becomes more attractive at night (off-peak, 10 pm–8 am) than ramping up gas-fired power plants due to lower marginal costs. This observation merely summarizes current economic facts of conventional energy generation, i.e., merit order-based operational planning. Considering the ecological footprint, however, it is preferable to produce within the power peak periods (8 am–10 pm) because injection rates of renewables are highest then. To underpin this, we calculate the average \(\hbox {CO}_2\) emissions per hour, determining the weighted average emissions [kg/kWh] of power plants based on the given electricity mix data; for details regarding the data refer to the homepage of the German Federal Environmental Agency (https://www.umweltbundesamt.de). Figure 2 shows the results and the corresponding hourly spot prices [EUR/kWh] from the EPEX SPOT SE (European Power Exchange, https://www.epexspot.com). Here again, we present the weekly data from 24—28 Sep 2018. One important aspect of this week is that it does not include any one-off effects and, hence, might be a veritable proxy for a normal business week; this data will be used in our business case study because it corresponds to the production period in our business case.

Fig. 2
figure 2

Average emissions vs. electricity market prices

Figure 2 supports our assumption, but it needs further explanation. As a first indicator, one can take the period in the shaded area. Here, the market price is very low at night, but the average carbon dioxide emissions are considerably higher at night than during the day. In order to explore these relationships more systematically, we split the days into peak periods (8 am–10 pm) and off-peak periods (10 pm–8 am), thus determining the correlation between market prices and emissions. For the peak periods, we obtain a moderate positive correlation of 0.6038, and for the off-peaks, we obtain a positive correlation of only 0.3672. Obviously, there is no one-to-one relationship, i.e., these numbers might indicate the occurrence of a potential conflict between minimizing energy costs and carbon dioxide emissions; see also Li et al. (2018).

To put it plainly, the electricity generation costs of gas power plants are higher than those of coal-fired power plants, yet for the emissions, the opposite is true; for a justification refer to Kost et al. (2018). Renewable energies are, of course, ’greenest’ and marginal costs here are generally considered to be very low, but the respective energy output is determined by volatile exogenous factors. These facts imply that if the electricity price continues to increase, it will become more attractive to ramp up cleaner power generation plants such as gas power plants. In summary, the above figures might give a first hint that an energy-efficient production plan does not automatically imply a sustainable one and vice versa; this is in sharp contrast, e.g., to Gong et al. (2015). This conflict can be heightened further when additionally considering on-site power generation via alternative energy sources. In the long run, these statements will, obviously, become obsolete if renewable energies fully substitute the remaining nuclear and conventional power plants. However, in the short run, our findings should be considered in a rationality-driven decision-making process. To make possible trade-offs more transparent in the context of short-term production planning, we discuss such effects by means of an illustrative example and a real-world business case in the next sections.

The remainder of the paper is organized as follows: first of all, the potential trade-off between sustainability and energy efficiency has to be examined in-depth in Sect. 2. Next, we present our case study in Sect. 3, including the introduction of the optimization problem, the presentation of numerical results and a critical discussion. Case-related takeaways for the management of similar industrial companies are also presented in this section. Sect. 4 concludes this paper with a brief summary of our main results and a short outlook.

2 Short-term production planning—the trade-offs

In the previous section, we discussed the relationship between average carbon dioxide emissions and electricity market prices. However, this analysis has left one essential question unanswered: What does this mean for short-term production planning? To answer this question and to make the indicated trade-offs more accessible, we present an illustrative example. Figure  3 shows an arbitrary path of machine states—off mode (\(i=0\)), changeover (\(i=1\)), ramp up (\(i=2\)), test run (\(i=3\)), standby (\(i=4\)), and production (\(i=5\))—and the corresponding energy consumptions. Furthermore, the black curve shows an electricity price curve and the red one the associated average emissions. In this illustrative example, both production states (\(i=5\)) take place at price peaks; in contrast to the second production state, the first production state seems to be favorable in terms of average emissions.

Fig. 3
figure 3

Machine states, electricity prices and average emissions

The next figure presents an energy price-driven rescheduling of the first production state. This means, if we face a period with relatively high energy prices, we try to shift our production state to cheaper periods in order to minimize energy costs if possible. Therefore, we swapped the first production state with the standby state. Obviously, this shift leads to decreasing energy costs because now the production—the state with highest energy consumption—takes place at more moderate electricity prices; however, the average emissions reach their maximum in this period (Fig. 4).

Fig. 4
figure 4

Energy price-driven rescheduling

Evidently, this trade-off might be acceptable if the management primarily focusses on profit-oriented targets. From an ecological footprint perspective, this shift appears to be unreasonable. Therefore, we provide Figure 5 to show the reverse picture. Now, as in the first figure, we produce in a very expensive period of time, yet at minimum average emissions.

Fig. 5
figure 5

Emission-driven rescheduling

The trade-off shown above is primarily demonstrated via shifting operations, i.e., it is based on scheduling production activities. Yet, what are the consequences if lot-sizing comes into play? The answer is very straightforward: when considering only one of the aforementioned two perspectives, then the other component—either the production’s energy costs or average emissions—will further deteriorate due to the increased flexibility in the allocation of resources.

Accordingly, we provide the following two definitions to render more precisely the two—possibly competing—objectives:

Definition 1

A short-term production plan is called energy efficient if it is executed at minimal energy costs.

Definition 2

A short-term production plan is called operationally sustainable if it is executed at minimal carbon dioxide emissions.

Of course, measuring or determining carbon dioxide emissions is a complex issue in practice. Emissions, a strong fluctuation of power generation from renewable energies, and associated changes for the industry are interrelated problems which are reflected by the challenging electricity trading in Germany, cf. Graeber and Kleine (2013). Here, the structural composition of the German electricity market (the electricity mix), network stability, market price developments, and the influence of energy policy decisions are intensively researched topics, see e.g. Paraschiv et al. (2014) and Wozabal et al. (2016). Due to our operational focus, we take these market situations as given and operate with historically observed energy market prices in order to show the potential of our novel multi-criteria optimization model. In doing so, we check for potential gains when entering into energy contracts involving real-time pricing without the background noise of any forecasting tool.

3 Energy costs vs. average \(\hbox {CO}_2\) emissions: a case study

3.1 The business case

In our operational planning case, we need to determine a production plan to finish a set of jobs on a set of machines considering multiple objectives. In order to obtain a final plan, it is important to fathom the impact of such goals from a technical, economic, and ecological perspective. First of all, we give the main assumptions of the underlying production environment: we consider

  • a single stage, multi-product production process,

  • (four) unrelated machines in parallel,

  • finite and constant production speed,

  • deterministic (weekly) demand data,

  • a finite planning horizon (one work week comprising three shifts).

In our business case, we are given a metal-working company which bends metal on unrelated machines in parallel; i.e., the machines are identical with respect to their processing times but heterogeneous regarding electric energy consumption. Furthermore, the machines do not deteriorate over time. The machines are working in three-shift operation—eight hours per shift—and can be set up and operated over a period of five days. Additionally, the company produces seven product groups or jobs; but each machine can only handle a subset of all such groups. Notably, the setup process constitutes a special issue: to make the machines ready, one needs a full shift of 8 h.

More precisely, we consider a set of jobs \({\mathcal {J}}=\{1,\dots ,J\}\), with \(J=7\), which can be produced on a set of unrelated (parallel) machines \({\mathcal {M}}=\{1,\dots ,M\}\), with \(M=4\), in the periods t, where each t represents 1 h and \(t \in {\mathcal {T}}=\{0,\dots ,T\}\) with \(T=120\); where \(t=0\) determines the initialization state and \(t>0\) the actual planning horizon. Unrelated and parallel here means we suppose that each job \(j \in {\mathcal {J}}\) can be realized only on a subset \({\mathcal {M}}_j\) of all production units \({\mathcal {M}}_j \subset {\mathcal {M}} =\{1,\dots ,M\}\), considering the same processing time for all jobs regardless of the machine equipment; Table 1 shows respective feasible assignments.

Table 1 Feasible assignments \(\gamma ^{asgn}_{jm}\)

Additionally, there are three features which make our business case more sophisticated:

  • Each machine \(m \in {\mathcal {M}}\) can have different states \(i \in {\mathcal {I}}=\{ 0, \dots , I \}\), with \(I=5\), and a transition into another state h only depends on the current state i. To illustrate this, in Fig. 6, we show a dependency graph consisting of the six machine states and the respective feasible transitions—directions are indicated by arrows. This means, if there is an arrow from node i to h, then a state transition is feasible and the edge weight \(\gamma ^{tran}_{ih}\) equals 1; otherwise the weight is zero.

  • Each machine \(m \in {\mathcal {M}}\) consumes an individual amount of electric energy \(a^{elec}_{im}\) depending on its state, as illustrated by Figs. 3, 4, 5; here, the superscript elec is used to identify the resource that we deal with—electrical energy.

  • Additionally, in line with our business case, we consider on-site generation of electric energy via a so-called cogeneration unit (CU). Such a unit converts gas into heat energy and electricity. Particularly interesting is the fact that in each period, we can sell the self-generated electricity or we can use it —or a combination of both. This CU can be operated at different energy generation modes: \({\ell } = 1\) relates to the off mode, and the conversion efficiency \(r_\ell\) of the states – \({\ell } = 2\), \({\ell } = 3\) as well as \({\ell } = 4\) – varies between 0.31 and 0.36. This means \(r_\ell\) converts the gas units (input of CU in cubic metre) to electricity units (output of CU in kilowatt hours). The states \({\ell } \in {\mathcal {L}}\) refer to the corresponding operational intensity, i.e., \({\ell } = 2\) refers to a 0.5 capacity utilization, \({\ell } = 3\) a 0.75 intensity, and \({\ell } = 4\) a full capacity utilization 1.

Figure 7 summarizes the core elements of our business case environment.

Fig. 6
figure 6

Feasible states and transitions

Fig. 7
figure 7

Business case environment

The next section details the business case-based multi-objective optimization problem.

3.2 The business case-related multi-objective optimization problem

As already mentioned, the processing of a job on a machine requires that the respective machine is prepared. This means, we need to opt for the set up of machines, necessary changeovers and the lengths of the production periods. This timing issue, obviously, is directly related to the decision on energy consumption. To make the entire optimization problem and equations more perspicuous, we first give all indices, parameters, and decision variables in tabular form; see Tables 23 and 4.

Table 2 Indices and descriptions
Table 3 Parameters and descriptions
Table 4 Decision variables and descriptions

Next, we present our business case-driven multi-objective optimization problem, which is defined by Eq.  (1)–(22). Here, four objectives are taken into account: roughly speaking, we optimize production quantities D, a time-related goal Y, operational energy costs C, and the carbon dioxide emissions E. We do not consider other operational costs, such as personnel and/or material costs because in our business case these numbers are fixed over the working week. However, the model below can be easily modified to exploit cost savings potentials for such factors, of course. Furthermore, we are given deterministic demand, energy prices and emission mixes over the respective planning period. Additionally, we assume perfect production processes, i.e., the machines do not deteriorate over time, and due dates are also not considered.

$$\begin{aligned} \min \qquad D =&\ \sum \limits _{j=1}^J d_j^+ + d_j^-&\end{aligned}$$
(1)
$$\begin{aligned} \min \qquad Y =&\sum \limits _{m=1}^M \sum \limits _{t=0}^T \left( \delta ^{state}_{1mt} + \delta ^{state}_{3mt} \right)&\end{aligned}$$
(2)
$$\begin{aligned} \min \qquad {C =}&\sum \limits _{t=0}^T \left( c^{elec}_t \cdot s^{buy}_t - p^{elec}_t \cdot s^{sell}_t \right) + c^{le} \cdot \varDelta s^{tot}&\nonumber \\&+ \sum \limits _{\ell =1}^L \sum \limits _{t=0}^T \left( c^{gas}_t \cdot \frac{b^{elec}_\ell }{r_\ell } \cdot z_{\ell t} \right) + c^{th} \cdot \varDelta s^{thresh}&\end{aligned}$$
(3)
$$\begin{aligned} \min \qquad E =&\sum \limits _{t=0}^T e_t^{elec} \cdot s^{buy}_t + \sum \limits _{\ell =1}^L \sum \limits _{t=0}^T \left( e^{gas} \cdot \frac{b^{elec}_\ell }{r_\ell } \cdot z_{\ell t} \right)&\end{aligned}$$
(4)
$$\begin{aligned} \text {s.t.} \qquad&\sum \limits _{j=1}^J x_{jmt} \le 1&\forall \ m,t \end{aligned}$$
(5)
$$\begin{aligned}&\sum \limits _{m=1}^M x_{jmt} \le \rho _j&\forall \ j,t \end{aligned}$$
(6)
$$\begin{aligned}&\sum \limits _{m=1}^M \sum \limits _{t=0}^T \left( a^{prod}_j \cdot x_{jmt} \right) - d^+_j + d^-_j = d_j&\forall \ j \end{aligned}$$
(7)
$$\begin{aligned}&\sum \limits _{i=0}^I \delta ^{state}_{imt} = 1&\forall \ m,t \end{aligned}$$
(8)
$$\begin{aligned}&x_{jmt} - \delta ^{state}_{5mt} \le 0&\forall \ j,m,t \end{aligned}$$
(9)
$$\begin{aligned}&\delta ^{state}_{im,t-1} - \delta ^{state}_{imt} + \delta ^{state}_{hmt} \le 1 + \gamma ^{tran}_{ih}&\forall \ i, h \ne i,m,t \in {\mathcal {T}}\backslash \lbrace 0 \rbrace \end{aligned}$$
(10)
$$\begin{aligned}&\sum \limits _{j=1}^J \delta ^{setup}_{jmt} = 1&\forall \ m,t \end{aligned}$$
(11)
$$\begin{aligned}&x_{jmt} - \gamma ^{asgn}_{jm} \cdot \delta ^{setup}_{jmt} \le 0&\forall \ j,m,t \end{aligned}$$
(12)
$$\begin{aligned}&\delta ^{setup}_{jm,t-1} + \delta ^{setup}_{gmt} - \delta ^{change}_{jgmt} \le 1&\forall \ j,g \ne j,m,t \end{aligned}$$
(13)
$$\begin{aligned}&\sum \limits _{j} \sum \limits _{g \ne j} \delta ^{change}_{jgmt} \le 1&\forall \ m,t \end{aligned}$$
(14)
$$\begin{aligned}&\delta ^{change}_{jgmt} - \frac{1}{8} \cdot \left( \sum \limits _{\tau =t}^{t+4} \delta ^{state}_{1m\tau } + \sum \limits _{\tau =t+5}^{t+7} \delta ^{state}_{3m\tau } \right) \le 0&\forall \ j,g \ne j,m,t \in {\mathcal {T}}^{shift} \end{aligned}$$
(15)
$$\begin{aligned}&\delta ^{change}_{jgmt} = 0&\forall \ j,g \ne j,m,t \in {\mathcal {T}} \backslash {\mathcal {T}}^{shift} \end{aligned}$$
(16)
$$\begin{aligned}&\sum \limits _{\ell =1}^L z_{\ell t} = 1&\forall \ t \end{aligned}$$
(17)
$$\begin{aligned}&\left( s^{sell}_t + s^{self }_t \right) - \sum \limits _{\ell =1}^L \left( b^{elec}_\ell \cdot z_{\ell t} \right) = 0&\forall \ t \end{aligned}$$
(18)
$$\begin{aligned}&{\sum \limits _{i=0}^I \sum \limits _{m=1}^M \left( a^{elec}_{im} \cdot \delta ^{state}_{imt} \right) - \left( s^{buy}_t + s^{self }_t \right) = 0}&\forall \ t \end{aligned}$$
(19)
$$\begin{aligned}&s^{buy}_t - \varDelta s^{tot} \le b^{tot}&\forall \ t \end{aligned}$$
(20)
$$\begin{aligned}&s^{buy}_{t} - B \cdot \varDelta s^{thresh} \le b^{thresh}&\forall \ t \in {\mathcal {T}}^{peak} \end{aligned}$$
(21)
$$\begin{aligned}&x_{jmt}, \delta ^{state}_{imt}, \delta ^{setup}_{jmt}, \delta ^{change}_{jgmt}, \varDelta s^{thresh}, z_{\ell t} \in \{0,1\};&\nonumber \\&d^+_j, d^-_j, s^{buy}_t, s^{self }_t, s^{sell}_t, \varDelta s^{tot} \ge 0&\forall \ i,j,g \ne j,m,l,t \end{aligned}$$
(22)

In order to meet the production demand, we minimize deviations from the amount requested per week for each job; it is due to the fact that the production capacity available may not meet the demand. This is what the first objective function is about.

Applying the second objective function, we minimize the total amount of time spent on a very special setup process, which consists of changing equipment configurations and testing product quality. Obviously, this is not a classical time-related scheduling objective; it stems from our business case because the whole gearing up process consumes an eight-hour work shift. Still, one can easily replace this function by, e.g., makespan or cycle time, if desired. For a good overview of classical time-related objectives, see e.g. Pinedo (2016, pp. 19–20).

The third objective function corresponds to Definition 1 and pursues the aim of minimizing the total energy costs. Here, the first term refers to the amount of energy \(s_t^{buy}\) which will be bought on the market, where \(c^{elec}_t\) is the energy price depending on the period t. Additionally, we have to subtract the amount of the self-produced electricity \(s_t^{sell}\) that we sell on the market for the price \(p^{elec}_t\). The next component refers to excess of the contractually agreed amount of electrical energy where the costs or penalty fees come from the utility contract. As already mentioned in Sect. 3.1, the cogeneration unit (CU) operates at different states \(\ell \in {\mathcal {L}} = \{ 1,\ldots , L\}\), with \(L=4\). The total costs of the conversion process of the CU are determined by the double sum. \(c^{gas}_t\) is the the cost coefficient for one kilowatt hour gas, the fraction \(\frac{b^{elec}_\ell }{r_\ell }\) captures the maximal output \(b^{elec}_\ell\) adjusted via the conversion efficiency \(r_\ell\), and \(z_{\ell t}\) is the corresponding binary variable for switching between the various states. But keep in mind that if we reach the off mode (\(\ell =1\)), we get \({r_\ell }=0\) and, hence, \(\frac{b^{elec}_\ell }{r_\ell }\) becomes meaningless. In such a case, we set \(\frac{b^{elec}_\ell }{r_\ell } = 0\). Furthermore, to save grid costs, we are looking for an atypical profile of energy consumption with the last term in (3)—so-called atypical network usage. Here, atypical network usage means that we need to keep our energy consumption below \(b^{thresh}\) in certain periods. These periods are, on principle, stipulated by the network operator and coincide with high levels of network capacity utilization.

With the fourth objective function, according to Definition 2, we track the emissions of the production process with respect to the total energy consumption. It measures the emissions \(e_t^{elec}\) regarding the electrical energy purchased; here, the emissions depend on t. The second part measures the CU’s emissions by the double sum in (4), where the emission coefficient \(e^{gas}\) is independent of t.

The constraint (5) simply guarantees that one machine can only handle one job, but we can finish one job on multiple machines in parallel if \(\rho _j > 1\), refer to (6).

Equation (7) covers the product demand for all jobs, where \({d_j}\) specifies the number of goods corresponding to each job j and the fraction \(\frac{d_j}{a^{prod}_j}\) the length for each job j operated continuously. In this context, we allow over- and underproduction (stocks and backlogs) to equate demand quantities \({d_j}\). Obviously, over- and underproduction depend on the data of a specific instance, and the latter case is more likely if demand \(d_j\) is high for each job. However, overproduction can also happen when, e.g., \(\frac{d_j}{a^{prod}_j}\) is not integral.

Equation (8) prevents machines from becoming stateless. However, we can only get a job done on a machine when it is already prepared for production (state \(i=5\)); this is what inequality (9) is about. In order to control state transitions on machines, we give Eq. (10). Here, one can hold the state \(\delta ^{state}_{im,t-1} = \delta ^{state}_{imt} = 1\) or we can change it \(\delta ^{state}_{im,t-1} =\delta ^{state}_{hmt}=1\). The latter case is only possible if the parameter \(\gamma ^{tran}_{ih}\) equals 1; for feasible transitions see again Fig. 6.

In every period, each machine must always be prepared for any arbitrary job—more precisely, we cannot have a toolless situation, confer (11). To produce goods, we need the correct equipment, see (12). Furthermore, we apply equation (13) to steer the equipment changeovers. The operating principle of this group of restrictions is similar to that of (10), but we can perform only one changeover on a machine, hence (14) is necessary. The next Eq. (15) looks slightly more complicated, but it ensures that a changeover will be completed without replacing the staff. In our business case, the issue is that a changeover takes an entire shift, i.e. eight hours: five hours for changing the equipment and three hours for testing the quality of products. This justifies the very special paremeters in (15). To avoid staff changes during a changeover, one has to start at the beginning of a work shift; these points in time are defined by the set \({\mathcal {T}}^{shift} = \{1, 9, 17, 25, 33, 41, 49, 57, 65, 73, 81, 89, 97, 105, 113\}\subset {\mathcal {T}}\). Of course, constraint (15) can easily be adapted to other situations by merely modifying respective numbers. Via equation (16) we suppress undesired changeovers.

Equations (17) and (18) model the operational deployment of the CU. The CU cannot be stateless, see (17), and we can either sell \(s^{sell}_t\) or use \(s^{self }_t\) the total amount of self-generated energy, refer to (18). It is important to cover the electricity demand of all machines. Therefore, we need an energy balance equation like in (19). Inequalities (20) and (21) capture deviations of two electricity bounds. The first bound is based on a contractual agreement and can be violated; yet, in such a case, the company will be penalized by \(c^{le}\) per unit of \(\varDelta s^{tot}\). The second one is an intragroup bound to participate in a program of the German Federal Network Agency that offers individual grid charges when not breaching a specific energy amount in pre-defined peak load time windows \({\mathcal {T}}^{peak} = \{14, 15, 38, 39, 62, 63, 86, 87, 110, 111\} \subset {\mathcal {T}}\), in Germany also known as Hochlastzeitfenster; more on that topic can be found in StromNEV (2005). The company will lose its cost savings (\(c^{th}\)) if the respective bound is violated. A violation is indicated by the binary \(\varDelta s^{thresh}\), and to control respective behavior in (21), we need the big number B. Constraints (22) are classical binary and nonnegativity restrictions.

Solving multi-objective optimization problems as given above is a difficult task. The problem here is that if the goals are conflicting, we do not have one optimal solution regarding all objective functions—there might be a trade-off between them; and due to our observations in Sect. 2, it is not obvious whether the above objective functions are conflicting or not. Consequently, the decision-maker has to choose one optimal solution from possibly an infinite number of optimal solutions, generally known as Pareto-optimal solutions. In our case study, the decision makers have the following preferences regarding the objective functions \(D \succ Y \succcurlyeq C \succcurlyeq E\). This means that the company here primarily seeks to meet production demand. Next, the company will avoid spending much time and effort on changeovers and test runs, energy costs, peak loads, and carbon emissions. Yet, to get a more in-depth look into the trade-offs of these four— possibly competing—objectives, we additionally seek to check for different weight compositions. Therefore, to fathom the optimization problem without precluding Pareto-optimal solutions which are not part of the convex hull of the feasible region, we opt for a Chebyshev approach that minimizes the weighted maximal deviation from all individual optimal solutions. In this context, we always obtain a weak efficient solution given the fact that the weights \(w^D\), \(w^Y\), \(w^C\) and \(w^E\) are strictly positive; for further details see Ehrgott (2005)—especially proposition 4.22 on page 114—and for an overview of theoretical aspects of multicriteria optimization T’kindt and Billaut (2006, pp. 53–112) and again Ehrgott (2005). Ultimately, we solve

$$\begin{aligned} \begin{array}{clcl} \min \ z = g \\ \text {s.t.} \qquad &{} w^D \cdot {{\frac{D-D^{min}}{D^{max}-D^{min}}}} &{}-&{} g \le 0 \\ &{} w^Y \cdot {{\frac{Y-Y^{min}}{Y^{max}-Y^{min}}}} &{}-&{} g \le 0 \\ &{} w^C \cdot {{\frac{C-C^{min}}{C^{max}-C^{min}}}} &{}-&{} g \le 0 \\ &{} w^E \cdot {{\frac{E-E^{min}}{E^{max}-E^{min}}}} &{}-&{} g \le 0 \\ &{} {\text {plus constraints } (5) \text { to }}(22) \end{array} \end{aligned}$$
(23)

The normalization of the mathematical terms of previous objective functions in Eq. (23) is necessary to eliminate effects caused by units of different dimensions when fathoming the goals’ trade-offs, cf. Steuer (1986, p. 201). The reference levels are given by minimum and maximum values for each objective function (1)–(4). However, the issue now is that we do not know the reference levels to implement the above corrections. Therefore, we propose a two-stage optimization procedure:

  1. 1.

    First, minimize and maximize each single goal to obtain \(D^{min}\), \(D^{max}\), \(Y^{min}\), \(Y^{max}\), \(C^{min}\), \(C^{max}\), \(E^{min}\), \(E^{max}\).

  2. 2.

    Second, optimize Eq. (23) by applying the optimal values of the first stage and the desired weighting schemes.

Now, all the fundamentals are in place to study the real-world application in the next section.

3.3 Further parameter specifications and scenarios

In our case study, as already mentioned in Sect. 3.1, we consider a metal-working company, which bends metal on four machines. The exact amounts of the maximum output per hour \(a^{prod}_j \ \forall j\) and the state-dependent energy consumption rates \(a^{elec}_{im} \ \forall i,m\) of the machines, as well as the total demand \(d_j \ \forall j\) are not reported—for reasons of confidentiality. However, in order to guarantee reproducibility of the results presented subsequently, we give relative numbers.

The most important product group is the second one, as one can see in Table 5, \(j=4\), \(j=5\) and \(j=7\) are of less importance.

The relative proportions of output coefficients – illustrated in Table 6—can be read as follows: for product group \(j=1\), in each hour, every machine can produce 1.63 % of the overall demand given in Table 5; the other numbers can be interpreted analogously. The next table shows normalized numbers of the state-dependent energy consumption rates.

These numbers are defined as the actual state-dependent energy consumption rates divided by the maximum energy consumption rate regarding all machines; obviously, the fourth machine shows the maximum value in the production state (\(i=5\)).

Now, we study sixteen different scenarios (\(s=1,\dots ,16\)) comprising the following weight compositions:

To comply with the company’s preferences, the base case \(s=1\) is driven by the weighting scheme \(w_1^D>> w_1^Y = w_1^C = w_1^E\). Applying the scenarios \(s=2,\dots ,5\), we put most pressure on each individual objective. Furthermore, we check for pairwise (\(s=6,\dots ,11\)) and group of three (\(s=12,\dots ,15\)) interrelations between the objectives as well as a uniformly distributed weighting scheme (\(s=16\)).

The planning horizon covers the next five days and, consequently, we determine the production schedules for the next \(T=120\) h. In order to study economic potentials of our approach, we use spot prices—so-called Day-Ahead auction prices—from the EPEX SPOT SE (European Power Exchange). The daily price curves cover exactly the time period of the company’s internal dataset, particularly dating from 24 Sep. 2018 to 28 Sep. 2018. We perform all calculations—via GAMS and CPLEX—on a Windows 10 PC, with an i7-3930K CPU 3.2 GHz and 32 GB memory. To obtain the results, the overall computation time was about 122 h. Here, the base case (\(s=1\)) took approx. 36.6 min with a relative gap of less than 0.1 %. Obviously, the remaining scenarios have covered most of the overall computation time. They achieved a relative gap of below 0.01 % each; only the scenarios \(s=2\), \(s=6\), \(s=7\) and \(s=12\) have reached slightly worse relative gaps of approx. 0.78 %, 0.37 %, 0.04 % and 0.82 %—which are still nearly optimal. All solutions are integral and, hence, there is the presumption that the solver has not yet discovered the optimality of most of the solutions at hand. In the next section, we study and discuss the results of the scenarios.

Table 5 Relative proportions of demand
Table 6 Relative proportions of output coefficients

3.4 Discussion of the findings

3.4.1 Scenario analysis

Solving (23) with regard to our base case (scenario 1), we obtain Figs. 8, 9 and 10.

Fig. 8
figure 8

Machine states for \(s=1\)

Figure 8 shows the machine states for the whole planning horizon. Here, due to the fact that machine \(m=1\) is relatively new and has the lowest power consumption in production mode, refer to Table 7, it operates continuously. During the first day, machine \(m=2\) is also in the production state, but then the second day is used to change the equipment. Figure 9 shows a partial Gantt-chart to illustrate these details.

Fig. 9
figure 9

Partial Gantt-chart for the second day and \(s=1\)

Machine \(m=3\) will also be prepared at the second day. Interestingly, machine \(m=4\) is often switched off over the whole period of time. This situation is very close to the company’s current schedule because machine 4 is the oldest one and requires a large amount of energy, see again Table 7; it only operates if some special products are requested, cf. Table 1, or in the case of an unexpected high demand. To make the economic consequences more transparent, we consider Fig. 10; the presentation of the power level follows the same logic as in Table 7. From an energy-oriented perspective, one can see that the model steers the production states in some unfavourable periods because the second day shows two spot price low points (\(t=28\) and \(t=38\)). From an ecological point of view, however, the second day is very unattractive due to its emission maximum.

Fig. 10
figure 10

Cumulative power consumption for \(s=1\), spot prices and average emissions

Table 8, which comprises the normalized target achievements for the 16 scenarios, reveals the partially conflicting relations between all goals. Due to our normalization in (23), the best value equals 100 % and the worst value is 0 %.

Here, the scenarios \(s=5\), \(s=10\), \(s=11\) and \(s=15\) lead to almost no production quantities. From a management point of view, these scenarios are unreasonable due to insufficient service of demand; from an ecological perspective, however, such scenarios yield the best outcomes regarding the emissions, of course. This observation might emphasize the omnipresent conflict between economic and ecologic criteria. The scenarios \(s=1\), \(s=2\) and \(s=7\) indicate a conflict between production quantities and changeovers. To study the impact on production quantities in more detail, Table 9 comprises the relative shortfalls in quantities for selected scenarios.

Table 9 shows that even in the best case \(s=2\)—from a production point of view—, the company’s capacity is too little to meet the demand. That is, even if we focus most strongly on producing goods, the company is unable to fulfill the weekly demand. On the other hand, the worst case scenario is \(s=3\); in this case, we only fulfill approx. 68 % of the total demand. Three scenarios (\(s=1\), \(s=6\), \(s=12\)) imply shortfalls in three jobs, while scenario \(s=2\) causes a shortfall in only two out of seven jobs. In the scenarios \(s=3\), \(s=8\) and \(s=14\), for example, we are given a shortfall in six jobs. There is only one job which is fully completed over all scenarios; this is job \(j=2\). It comprises the most important product type and is the most-sold product of the company.

Returning to the discussion regarding our main conflict, we see that putting more pressure on the energy cost goal and less on the emission target (see \(s=1\) and \(s=7\) in Table 10) can lead to higher emissions, realizing only moderate energy cost improvements (cf. Table 8). Accordingly, scenarios \(s=7\) and \(s=12\) provide good solutions in terms of energy costs, but the emission values are rather poor. The opposite is true for the emissions of scenario \(s=8\). However, almost ignoring the goals energy costs and emissions leads to the results of scenario \(s=6\); here, the energy consumption exceeds the so-called Erheblichkeitsschwelle \(b^{thresh}\) in one of the pre-defined peak load time windows \({\mathcal {T}}^{peak}\), thus the energy costs are highest. It is also noteworthy that the scenarios 8, 13, 14, and 16 yield the same results. In these four scenarios, the production quantity goal and the emission goal receive a high weight each. Here, it is also interesting to note that the exchange between the time-related one and the energy cost objective obviously has no impact on the outcomes, see again Table 8.

All observations provide a first hint regarding the relationship between energy costs and carbon dioxide emissions. Table 11 presents the upper triangle of linear correlations to illustrate the mutual relationships between the four goals more clearly:

Obviously, there are no perfect linear relationships. The smallest negative score can be found in the second column of the first row; this number indicates a high inverse relation between production quantities and numbers of changeovers. Certainly, this is not surprising. Production quantities and energy costs as well as emissions are also negatively correlated. Surprisingly enough, the results regarding energy costs and emissions are almost linearly uncorrelated; this again supports the hypothesis which we have raised in Sect. 2—a possible conflict between energy costs and average carbon dioxide emissions. Next, to show possible countervailing effects between energy costs and average carbon dioxide emissions, we present Fig. 11. In this figure, the black graph shows the relative energy costs, i.e., the actual energy costs divided by the maximum energy costs realized in scenario \(s=7\); the grey curve follows the same logic but presenting the relative carbon dioxide emissions. Here, energy costs partially diverge from average carbon dioxide emissions in certain periods—namely during the off-peak periods, where the energy mix tends to be less green, see again Fig. 2 in Sect. 1.2.

Fig. 11
figure 11

Relative energy costs vs. relative emissions for \(s=7\)

Table 7 Normalized energy consumption rates
Table 8 Degree of goal achievements
Table 9 Relative numbers of the shortfall quantities for selected scenarios
Table 10 Weighting schemes of all scenarios
Table 11 Correlations

3.4.2 Managerial takeaways

Our business partner was interested in operative instructions and helpful comments derived from our scenario solutions. Ex post, the different scenarios and machine assignments can be compared with one another without any problems. However, time-critical operational planning with current real data from the enterprise resource planning (ERP) system requires that the findings of exemplary scenario analysis can be used directly for decision support avoiding further scenario simulations.

Our approach provides a well-grounded basis for such a decision support, especially in energy intensive industries. It permits an overview of the mutual relationships of the most pertinent aspects in the context of sustainable production planning. Lot sizes and machine schedules can be carefully fine-tuned with respect to changing conditions.

A changing condition could look like this. A company, like our business partner, primarily focuses its production on serving weekly customer demand in the best possible way and doing this at the lowest possible energy costs. This would correspond to a target weighting similar to that in scenario \(s = 7\). The top management now pretends to produce more sustainably and thus to increase the company’s reputation. The production management would now face the task of increasing sustainability beyond the heavily weighted minimization of energy costs. A conceivable adjustment of the target would be found in scenario \(s = 14\). The target adjustment from \(s = 7\) to \(s = 14\), for example, implies particular operational effects for the machine assignment of the coming week. From the findings of our case study, the production manager could take away that, at the tolerable expense of satisfying weekly customer demand (cf. Table 9), one could produce much more sustainably (in terms of goal E) with even less set-up times.

The previous example shows that the production manager must finally weigh up which target weighting he/she chooses. In order to be able to recognize the advantages and disadvantages of different options more clearly, it can help to make the decision-making environment more flexible. Such a redesign would be the use of a cogeneration unit. We studied the consequences of integrating such a CU at the request of our business partner. Currently, however, the company effectively uses only the thermal energy for production purposes and sells the electric energy as a by-product of this primary function. In Sect. 3.2, we presented how the decisions regarding the electric energy of the cogeneration unit—sell, own use or a combination of both—can be embedded in the multi-objective optimization problem. Because of the additional flexibility for the production manager the use of a CU also can be seen as a further, rather indirect, measure towards sustainable production.

All results and explanations so far show that minimizing energy costs is a pure economic goal and neither an ecological one. The management of a company should be aware of this fact. To put it more ostensively, the energy price and the average emissions of the associated energy-mix are not always following the same movement. That means, if the energy price is relatively high in a considered time period, the associated average emissions could be relatively low. A company can exploit this fact by shifting specific production processes not only in times of low energy prices, but also in times of low average emissions of the energy-mix.

In the current situation, in summary, where the European power industry is in a transitional phase, focussing only on energy costs can worsen the ecological footprint of a company. In other words, we should always be mindful when creating optimization models for steering production plants sustainably, as this always entails a very complex interplay of different objectives which should be considered carefully.

4 Conclusions and future research

In this paper, we present a case study comprising a scheduling and lot-sizing problem of a metal-working company, where the company’s goals are mainly determined by four objective functions—namely a production quantity-based goal, a changeover-related time goal, an electrical energy cost goal, and a carbon dioxide emission goal. In such an environment, it is usually assumed that reducing electrical energy costs—e.g. via shifting operations—automatically leads to (more) sustainable production plans. In the present paper, we show that this supposition does not always hold true when facing fluctuating carbon dioxide emissions over the whole day. In particular, we present a (deterministic) mixed integer optimization problem, combining lot-sizing and scheduling under time-varying electric energy costs and time-varying carbon dioxide emissions. In this context, we also allow for self-generation of electricity via a cogeneration unit—either selling this energy or using it for production. However, there is still room for improvement towards modeling; yet, we neglect the heat production process of the cogeneration unit and, hence, further economical and ecological gains. Finally, we discuss all outcomes from a managerial point of view.

However, electricity prices as well as the corresponding relative mix of carbon dioxide emissions are uncertain. Consequently, what are useful methods to provide reliable estimates of both data sets? And how can we deal with dynamic lead times in our mixed integer optimization problem? These questions could be interesting pathways for future research.