1 Introduction

The design of sustainable energy systems needs to balance multiple objectives representing economical, environmental, and social decision criteria. The resulting design problem is therefore best addressed by multi-objective optimization. However, multi-objective optimization does not yield an optimal design but a Pareto front with many different designs. Hence, the decision maker is often confronted with the question: How to select one single design for final implementation? To answer this question we propose the flexible here-and-now decision (flex-hand) approach.

The remaining article is structured as follows: Sect. 1 introduces the considered problem class and provides basic definitions, followed by a brief overview of existing decision support approaches including the research contribution of the article. In Sect. 2, we introduce the flex-hand approach and provide an illustrative example as well as an extension for uncertain input values. In the following Sect. 3, a real-world case study of an industrial park is introduced and the results are evaluated. We give a summary and conclusions in Sect. 4.

1.1 Two-stage multi-objective optimization

Two-stage optimization depends on two stages of decision making (Ben-Tal et al. 2004). Thus, there are two sets of variables: \({\mathcal {X}}^{f}\), the set of feasible solutions for first-stage variables \(x^f\), and \({\mathcal {X}}^{s}(x^f)\), the set of feasible solutions for the second-stage variables \(x^s\) which depends on the chosen first-stage solution. First-stage variables \(x^f\) are also called here-and-now variables since once these variables are fixed, they cannot be adapted later. Second-stage variables \(x^s\) are also called wait-and-see variables since they can still be adapted later. As an example, first-stage variables \(x^f\) may model an investment in heating equipment (a design decision), while second-stage variables \(x^s\) model the way the equipment is run (an operational decision).

In this paper, we use multiple objectives to design sustainable energy systems. As objectives might be conflicting, we are interested in a set of trade-off solutions. A solution is called Pareto efficient if there is no other solution that is at least as good in each objective and strictly better in at least one objective (Ehrgott 2005). For a two-stage problem as energy system optimization, the two-stage multi-objective problem with K objectives is given by:

figure a

In this article, we assume the set of Pareto-efficient solutions to be discrete and denote them as \((\chi ^f_1,\chi ^s_1)\) \(,\ldots ,\) \((\chi ^f_N,\chi ^s_N)\). The set of Pareto-efficient solutions in the objective space, called Pareto front, is denoted as \({\mathcal {P}}^* = {\left\{ {p}_1, \ldots , {p}_N \right\} }\) with \({p}_{j} = (\rho _{1j},\ldots ,\rho _{Kj}) = \Big (f_1(\chi ^f_{j},\chi ^s_{j}),\ldots ,f_K(\chi ^f_{j},\chi ^s_{j})\Big )\in {\mathbb {R}}^K\). In general, not all multi-objective problems have a discrete set of Pareto-efficient solutions. In case of an infinite number of solutions, we can still apply our approach to a representative subset of Pareto-efficient solutions. A representative, discrete set of Pareto-efficient solutions can be obtained, e.g., by using the \(\varepsilon \)-constraint method (e.g., see Ehrgott 2005). For upper and lower bounds of the value of \(\varepsilon \), the ideal and the nadir point could be chosen limiting the possible range of objective functions. If the ideal and the nadir point do not exist for the regarded problem, bounds have to be defined manually by the decision maker (Miettinen 2008) or an a priori approach has to be employed to restrict the regarded region of interest, e.g., by finding knee-regions of the Pareto front (see Sect. 1.2). In contrast to the points on the Pareto front, we do not assume the feasible sets \({\mathcal {X}}^f\) and \({\mathcal {X}}^s(x^f)\) to be discrete.

We call the problem ideal when both first-stage variables \(x^f\) and second-stage variables \(x^s\) can be chosen separately for each efficient solution of the problem \(\mathcal {MOO}^{{{\mathcal {T}}}{{\mathcal {S}}}}\). The corresponding set of Pareto-efficient solutions in the objective space \({\mathcal {P}}^*\) is called ideal Pareto front. The word ideal emphasizes that the ideal Pareto front is always better than the Pareto front with fixed first-stage variables. In energy system optimization, the ideal Pareto front would imply changing design options (e.g. heating equipment) along the Pareto front and thus, cannot be reached by energy systems implemented in the real world.

1.2 Decision support approaches

In literature, several approaches have been suggested to support the decision maker in the selection of one solution from solutions on the Pareto front of multi-objective optimization problems. Some approaches reduce the number of relevant solutions, so that the decision maker has then to choose one of fewer options. The approaches can be categorized into three kinds: a priori, interactive, and a posteriori approaches (Miettinen 2008). A method to focus on the relevant solutions a priori by excluding solutions before the optimization is proposed by Branke et al. (2004) and Rachmawati and Srinivasan (2009). They introduce a preference-based evolutionary approach focusing on calculating “knee” regions of the Pareto front. Hennen et al. (2017) focus on Pareto-efficient solutions which are near-optimal with respect to an aggregated criterion that represents the overall set of objective functions.

Besides a priori approaches, interactive decision making approaches exist with interaction between human and the algorithm during the solution process (Vallerio et al. 2015). Wierzbicki (2007) discuss reference point approaches where the decision maker introduces his/her preferences by updating a reference point. Employing the NIMBUS approach by Miettinen and Mäkelä (1996, (2002), the decision maker assigns the considered objectives to categories indicating which objectives should be improved and which ones could be worsened. Vallerio et al. (2015) propose an approach based on the trade-off concept. In their approach, the decision maker updates the scalarization parameters assigned to each objective. As objective the operational risks are additionally considered accounting for parametric uncertainties in the model. Eskelinen et al. (2008) introduce the Pareto navigator which helps the decision maker to explore the Pareto front in order to identify promising regions. A more detailed overview on interactive decision making approaches can be found in Miettinen (2008). Interactive decision making depends on additional input of the decision maker. Hence, an automatic selection of one solution is not possible which might be important if preferences are uncertain or changing.

An a posteriori approach to reduce the set of relevant Pareto-efficient solutions is to cluster solutions, e.g., based on subtractive clustering (Zio and Bazzo 2011), by k-means classification (Taboada et al. 2007), or by a self-organizing map (Li et al. 2009). Das (1999) focus on relevant Pareto-efficient solutions by evaluating subsets of the objective functions. The approach has been further developed by Antipova et al. (2015). But still, in all approaches which reduce the number of relevant solutions, the decision maker has to select the finally implemented design.

For further reduction of the Pareto-efficient solutions, Taboada et al. (2007) and Abubaker et al. (2014) propose ranking methods which are based on a prioritization of objective functions by the decision maker. For ranking solutions without explicit prioritization, the methods LINMAP (Linear Programming Technique for Multidimensional Analysis of Preference; Srinivasan and Shocker 1973), VIKOR (Duckstein and Opricovic 1980; Opricovic and Tzeng 2004), and TOPSIS (technique for order preference by similarity to an ideal solution; Hwang and Yoon 1981; Chen and Hwang 1992) measure the distance to the ideal point and, in TOPSIS, additionally to the nadir point. The ideal point is assembled by the respective single-objective optimal values of the objective functions, the nadir point by the worst possible values. The idea of the three approaches is based on compromise programming, where the solution with objective values “as close as possible” to the ideal point is chosen, or “as far away as possible” from the nadir point (Zelany 1974). With the aim to determine key players in social networks, de la Fuente et al. (2018) employ eleven methods for automatic solution selection within the set of Pareto-efficient solutions. These include, e.g., shortest distance to the ideal point (Padhye and Deb 2011), shortest distance to all points, highest hypercube (Beume et al. 2009), and consensus (Pérez et al. 2017). Single-stage approaches for a posteriori decision making have been recently reviewed by Jing et al. (2019). For general multi-objective problems, the introduced ranking methods are suitable to select one solution. However, for two-stage problems, as the design of energy systems, the reviewed approaches could miss well-performing solutions as the approaches depend on pre-calculated efficient solutions. Thereby, well-performing designs which are not part of the pre-calculated Pareto front are not taken into account for final selection.

In particular, design optimization of energy systems is a two-stage optimization problem (Lin et al. 2016). Two-stage optimization problems consist of two sets of decision variables: The here-and-now variables representing the first stage which need to be fixed in the beginning, and the wait-and-see variables representing the second stage which can still be adapted later (Ben-Tal et al. 2004). In energy system optimization, the here-and-now variables correspond to the design of energy systems while the operation is determined by the wait-and-see variables on the second stage.

The approaches for solution reduction discussed so far do not take any advantage of the two-stage characteristics of energy systems. Thus, these approaches miss the opportunity to choose a first-stage solution which provides high flexibility on the second stage. Exploiting flexibility might be particular important, since future conditions are not known today. Hence, the capability to adapt operation to changing circumstances should be targeted (Shang and Kokossis 2005). Political aims might change; and thus, the importance of economical, environmental, and social aims might change. As a result, the sustainable energy system should provide flexible operation to enable an adaptation to a changing focus within the regarded criteria.

Two-stage characteristics are regarded in design selection by Mattson and Messac (2003). In their approach, the design options need to be discrete. For each design option, the corresponding Pareto front is generated separately. Afterwards, a Pareto filter is applied simultaneously to all generated fronts deleting all dominated solutions. Finally, design options lying inside a pre-defined region of interest are selected. However, with increasing number of components in the given superstructure, the design options along the Pareto front might change more frequently within the region of interest. Hence, a higher number of suitable design options needs to be taken into account during final selection. A similar approach is proposed by Carvalho et al. (2012): Based on discrete design options, the corresponding Pareto front is generated. Design options with the ability to undergo large changes in operation enable higher resilience and are thus favored. Guo et al. (2013) introduce a two-stage optimal planning and design method for combined cooling, heating, and power microgrid systems. On the first stage, the system design is optimized using a generic multi-objective optimization approach. For several obtained designs, the operational costs are minimized on the second stage. Wang et al. (2019) additionally regard a feedback from the second stage to the first stage to ensure the accuracy of the planning. However, an automatic selection of favored design options is not proposed in either approaches, e.g., by applying distance measures to assess the generated Pareto fronts.

All discussed approaches do either take advantage of the two-stage characteristic of energy systems or propose a ranking of Pareto-efficient solutions. How to select one single design exploiting the two-stage nature has not been proposed so far to the authors’ best knowledge.

In this paper, we propose the flex-hand approach to identify one single design which represents the whole Pareto front best without depending on any additional information of the decision maker. In our flex-hand approach, we use the ideal Pareto front as benchmark for evaluating Pareto fronts with fixed design options, i.e., with fixed first-stage variables. For this purpose, we minimize the distance between the Pareto front of the synthesis problem, i.e., the Pareto front with changing design options on the first stage, and the Pareto front induced by one fixed design. The fixed design with the minimal distance is selected by the proposed approach, since this design provides high flexibility regarding the considered objective functions. Thus, the second stage can be well adapted to a changing focus from one to another objective function.

Since not only future aims are uncertain but also future parameter values such as demands or costs, we extend our proposed approach by considering uncertain input data based on scenarios. Uncertainties of input data have been regarded, e.g., by Quintana et al. (2017), Tock and Maréchal (2015) and Lemos et al. (2018), using the sensitivity against uncertainties to assess Pareto-efficient solutions. Gabrielli et al. (2019) propose an approach in which Pareto-efficient designs are assessed by performance indicators measuring the robustness and the cost optimality. The final selection of one design depends on the target levels which need to be provided by the decision maker. Ide and Schöbel (2016) provide an overview of approaches for one-stage robust multi-objective problems. Robust multi-objective optimization has been applied to energy systems by Majewski et al. (2017). Sun et al. (2018) propose a multi-objective discrete robust optimization algorithm to identify a single solution by converting multiple objective functions into one unified cost function. Until now, taking uncertainties into account when automatically identifying one single design for two-stage problems has been an open research question.

For certain and uncertain two-stage problems, our approach allows automatic selection of one design regarding multiple decision criteria. While we introduce our approach in the context of energy systems, the methodology is general and can be applied to any two-stage multi-objective optimization problem.

2 The flex-hand approach for design selection in multi-objective optimization

The selection of energy system designs considering multiple criteria is complex, since the Pareto front can contain a diverse set of design options. To help the decision maker implementing one fixed design which allows flexible operation, we propose the flex-hand approach. The approach automatically identifies the best possible design looking even beyond the set of Pareto-efficient solutions. We present the flex-hand approach in Sect. 2.1 and provide an illustrative example in Sect. 2.2. In Sect. 2.3, we introduce the robust extension of the flex-hand approach.

2.1 The flexible here-and-now decision approach

The goal of the flex-hand approach is to find one fixed design which represents best the ideal Pareto front of the two-stage multi-objective problem \(\mathcal {MOO}^{{{\mathcal {T}}}{{\mathcal {S}}}}\) allowing multiple design options. In optimization of energy systems, the operation of an installed system can be adapted but changing the installed system design is not possible in the short term. The flex-hand approach chooses the design with the highest ability to approximate the ideal Pareto front of the two-stage multi-objective problem \(\mathcal {MOO}^{{{\mathcal {T}}}{{\mathcal {S}}}}\) by adapting operation. To determine such a highly flexible design, the flex-hand approach minimizes the distance between the ideal Pareto front and the Pareto front based on one fixed design but flexible operation. We provide an illustrative example of the flex-hand approach in Sect. 2.2.

The flex-hand approach is not limited to energy system optimization but can be applied to any two-stage multi-objective problem where the first-stage variables \(x^f\) need to be fixed right now and the second-stage variables \(x^s\) can be determined later.

For one fixed design, i.e., for a given first-stage solution \(x^f\), we calculate Pareto-efficient solutions:

$$\begin{aligned} \min \,&\Big (f_1(x^f,x^s),\ldots ,f_K(x^f,x^s)\Big )\\ \text {s. t. }&x^s \in {\mathcal {X}}^{s}(x^f)\,. \end{aligned}$$

We obtain a Pareto front \({\mathcal {P}}(x^f) = {\Big \{p_1(x^f),\ldots ,p_{N(x^f)}(x^f)\Big \}}\) depending on the first-stage solution \(x^f\) with \(N(x^f)\) points which we call fixed first-stage Pareto front.

Now the question arises: How to select first-stage variables \(x^f\) such that we get the “best” design? Each point on the ideal Pareto front is part of at least one fixed first-stage Pareto front. However, the flex-hand approach looks even beyond the solutions on the ideal Pareto front. To determine the quality of an arbitrary first-stage solution \(x^f\), we compare the Pareto front \({\mathcal {P}}(x^f)\) with fixed first-stage to the ideal Pareto front \({\mathcal {P}}^*\). For the comparison of two sets of multi-objective solutions, a variety of distance measures have been developed (for a review see Zitzler et al. 2003). Here, we choose a comparison metric based on an additive binary \(\varepsilon \)-indicator. As discussed by Zitzler et al. (2003), there is no single best way to compare Pareto fronts, but the \(\varepsilon \)-indicator is proposed as a good overall method. Employing other metrics would be possible in our setting.

For two sets \({\mathcal {P}}^1={\{p_1,\ldots , p_S\}} \) and \({\mathcal {P}}^2 = {\{q_1,\ldots ,q_T\}}\) in the K-dimensional objective space, the binary \(\varepsilon \)-indicator is obtained by

$$\begin{aligned} I({\mathcal {P}}^1,{\mathcal {P}}^2) = \min \Big \{ \varepsilon \ :\ \forall l\in [T]\ \exists j\in [S] \text { s. t. } p_{{ij}} -q_{{il}} \le \varepsilon \ \forall i\in [K] \Big \} \end{aligned}$$
(1)

where we use the notation \([Z] = \{1,\ldots ,Z\}\) for sets with any integer \(Z\in \mathbb {N}\). For our approach, the measure \(I\Big ({\mathcal {P}}(x^f),{\mathcal {P}}^*\Big )\) indicates the distance between a fixed first-stage Pareto front and the ideal Pareto front.

The comparison metric can be interpreted as follows: Recall that each point of the ideal Pareto front \({\mathcal {P}}^*\) may involve changing first-stage solutions \(x^f\) along the front. In contrast, the fixed first-stage Pareto front \({\mathcal {P}}(x^f)\) is based on one single first-stage solution \(x^f\) where only the second-stage decision can be adapted. Figure 1 shows the comparison of the ideal Pareto front to an arbitrary fixed first-stage Pareto front.

Fig. 1
figure 1

Comparison of ideal Pareto front to an arbitrary fixed first-stage Pareto front, to assess the quality of the fixed first-stage solutions \(x^f\); dark green dots: ideal Pareto front used as benchmark; orange circles: fixed first-stage Pareto front with distance \(\varepsilon \) to the ideal Pareto front; lines are included to guide reader’s eyes

For each point on the ideal Pareto front, a point on the fixed first-stage Pareto front can be determined such that the difference in each objective function is smaller than a value of \(\varepsilon \). By minimizing \(\varepsilon \), the distance between the Pareto fronts is minimized. In this way, for energy systems, we minimize the distance between the ideal Pareto front allowing changing designs as well as operation and the Pareto front based on one fixed design where only the operation can be adapted.

Since we consider the difference regarding each objective function separately, we normalize the objective functions based on the value range in \({\mathcal {P}}^*\) to circumvent misleading effects by different scales of objective values. Towards this end, we use the normalized objectives \({\overline{f}}_i\) with

$$\begin{aligned} {\overline{f}}_i(x^f,x^s)=\frac{ f_i(x^f,x^s)-\min _{j\in [N]}{ f_i(\chi ^f_j,\chi ^s_j)}}{\max _{j\in [N]}{ f_i(\chi ^f_{j},\chi ^s_{j})}-\min _{j\in [N]}{ f_i(\chi ^f_{j},\chi ^s_{j})}}\,. \end{aligned}$$

In the following, we write \(\overline{{\mathcal {P}}}(x^f)\) and \(\overline{{\mathcal {P}}}^*\) to denote normalized Pareto fronts.

Searching for an optimal first-stage variable \({(}x^f{)^*}\), i.e., an optimal design, we now minimize the distance between the Pareto fronts:

$$\begin{aligned} \min \left\{ I\left( \overline{{\mathcal {P}}}(x^f), \overline{{\mathcal {P}}}^*\right) : x^f \in {\mathcal {X}}^{f} \right\} \,. \end{aligned}$$

The problem formulation can also be written as:

$$\begin{aligned} \min \,&\ {\overline{\varepsilon }}\\ \text {s. t. }&{\overline{f}}_i(x^f,x^s_j) - {\overline{f}}_i(\chi ^f_j,\chi ^s_j) \le {\overline{\varepsilon }}&\forall i\in [K],j\in [N] \\&x^f \in {\mathcal {X}}^{f} \\&x^s_j \in {\mathcal {X}}^{s}(x^f)&\forall j\in [N]\,. \end{aligned}$$

Here, \({\overline{f}}_i(\chi ^f_j,\chi ^s_j)\) represents the normalized objective function value of point j on the ideal Pareto front \(\overline{{\mathcal {P}}}^*\). Note that given a first-stage solution \(x^f\), the number of points \(N(x^f)\) of the resulting fixed first-stage Pareto front \(\overline{{\mathcal {P}}}(x^f)\) might be different from the number N of points of the ideal Pareto front \(\overline{{\mathcal {P}}}^*\). However, for the purpose of identifying an optimal first-stage solution \((x^f)^*\), it is sufficient to consider exactly N points on the fixed first-stage Pareto front \(\overline{{\mathcal {P}}}(x^f)\). The key is here that we are looking for the maximal minimum distance to the N points on the ideal Pareto front \(\overline{{\mathcal {P}}}^*\). Thus, it is sufficient to identify, for each point on the ideal Pareto front \(\overline{{\mathcal {P}}}^*\), one point on the fixed first-stage Pareto front \(\overline{{\mathcal {P}}}(x^f)\) which minimizes the distance. As a result, we need the same number of points in general, \(N(x^f) = N\). Any additional points on the fixed first-stage Pareto front \(\overline{{\mathcal {P}}}(x^f)\) (i.e., \(N(x^f) > N\)) would be redundant and not be chosen by the binary \(\varepsilon \)-indicator [Eq. (1)].

The flex-hand approach yields an optimal first-stage solution \((x^f)^*\) which represents the ideal Pareto front best regarding the chosen measure. We call the optimal first-stage solution \((x^f)^*\) the flex-hand solution. In general, the flex-hand solution chosen by our approach is not necessarily part of the solutions of the calculated ideal Pareto front \({\mathcal {P}}^*\). Thus, approaches based on sorting or solution-reduction of the ideal Pareto front would not be able to identify the flex-hand solution in general.

Having found a flex-hand solution, we calculate the corresponding Pareto-efficient second-stage solution \(x^s\) in a separate post-processing optimization step. The resulting Pareto front is called the flex-hand Pareto front. The number of points on the flex-hand Pareto front might differ from the original number of points N. For energy systems, this post-processing optimization corresponds to an operational multi-objective optimization based on a fixed design.

Applying the flex-hand approach to single-stage optimization problems is also possible. For single-stage problems, the flex-hand approach reduces to an approach minimizing the objective-wise distance to the ideal point. As there is no second stage, the distance is measured only from a point instead of a whole Pareto front to the ideal Pareto front. Hence, only the anchor points are decisive when determining the minimal distance. As we measure the distance objective-wise, the distance is equivalent to the distance to the ideal point (Fig. 2).

Fig. 2
figure 2

Application of the flex-hand approach to a single-stage optimization problem; as there is no second stage, only one point is assessed; \(\varepsilon _1\), \(\varepsilon _2\), \(\varepsilon _3\), and \(\varepsilon _4\) represent the differences of objective values with \(\varepsilon _1 > \varepsilon _2\) and \(\varepsilon _3>\varepsilon _4\); lines are included to guide reader’s eyes

As there is no second stage, the fixed first-stage Pareto front degenerates to only one point. The inner points on the Pareto front always lead to smaller differences of the objective values than one of the anchor points (in Fig. 2: \(\varepsilon _1 > \varepsilon _2\) and \(\varepsilon _3>\varepsilon _4\)). Thus, only the anchor points are decisive. Since the differences of the anchor points to the assessed point are identical to the differences regarding the ideal point, the flex-hand approach reduces to an approach minimizing the objective-wise distance to the ideal point.

In contrast to single-stage problems, the anchor points are not decisive in general for two-stage problems, as the following example shows.

2.2 An illustrative example

We now describe the flex-hand approach using a small example problem. In the example, the flex-hand approach is applied on the two-stage selection problem (see Kasperski and Zieliński 2017). In the basic problem, we need to select p out of n items; that is, given a cost vector \(c=(c_1,\ldots ,c_n)\), the (trivial) one-stage, one-criterion problem is to solve:

$$\begin{aligned} \min \,&\sum _{i\in [n]} c_i x_i \\ \text {s. t. }&\sum _{i\in [n]} x_i = p \\&x_i \in \{0,1\}&\forall i\in [n]\,. \end{aligned}$$

In the two-stage problem, we can decide to buy some items now, and complete these items to a full selection of p items later. Hence, the sets of first-stage and second-stage feasible solutions \({\mathcal {X}}^f\) and \({\mathcal {X}}^s(x^f)\), respectively, are defined by:

$$\begin{aligned} {\mathcal {X}}^f&= \left\{ x\in \{0,1\}^n : \sum _{i\in [n]} x_i \le p \right\} \qquad \text {and} \\ {\mathcal {X}}^s(x^f)&= \left\{ x\in \{0,1\}^n : \sum _{i\in [n]} x_i + x^f_i = p,\ x_i + x^f_i \le 1 \ \forall i\in [n] \right\} \,. \end{aligned}$$

Given a cost vector \(C=(C_1,\ldots ,C_n)\) of first-stage costs and \(c=(c_1,\ldots ,c_n)\) of the second-stage costs, the two-stage problem becomes:

$$\begin{aligned} \min \,&\sum _{i\in [n]} C_i x^f_i + c_i x^s_i \\ \text {s. t. }&\sum _{i\in [n]} x^f_i + x^s_i = p \\&x^f_i + x^s_i \le 1&\forall i\in [n]{\,.} \\&x^f_i \in \{0,1\}&\forall i\in [n]{\,.} \\&x^s_i \in \{0,1\}&\forall i\in [n]\,. \end{aligned}$$

Now, let us assume that two objective functions are given

$$\begin{aligned} f_1\big (x^f,x^s\big )&= \sum _{i\in [n]} C_i x^f + c_i x^s_i \end{aligned}$$
(2)
$$\begin{aligned} f_2\big (x^f,x^s\big )&= \sum _{i\in [n]} C_i x^f + d_i x^s_i \end{aligned}$$
(3)

with an additional cost vector \(d = (d_1,\ldots ,d_n)\) of second-stage costs. The ideal Pareto front is the same as the Pareto front of the problem:

figure b

In the flex-hand approach, we take into account that it is usually not possible to change the first-stage solution \(x^f\), even if the preference of the decision maker changes whether criterion \(f_1\) or \(f_2\) is more important. Hence, a first-stage solution \(x^f\) is desired leading to a good approximation of the whole ideal Pareto front such that the decision maker obtains a satisfying solution even though his/her preference might change.

In this example, the task is to choose \(p=3\) items out of \(n=6\) items over the first and second stage, minimizing objective functions (2) and (3). The corresponding cost vectors providing the costs of the items are given in Table 1.

Table 1 Cost vectors for \(n=6\) items of the illustrative example

For selecting \(p=3\) elements, the ideal Pareto front of problem \(\mathcal {MOO}^{{{\mathcal {T}}}{{\mathcal {S}}}}_{{{\mathcal {E}}}{{\mathcal {X}}}}\) comprises seven points, see Table 2. Note that we allow the first-stage variables \(x^f\) to differ between solutions of the ideal Pareto front. In the following, we write \(\{i\}\) if item i is selected and \(x_i\) is equal to 1.

Table 2 Solutions and objective function values of the ideal Pareto front of the illustrative example

In the example, the flex-hand approach chooses one first-stage solution \(x^f\) and extends it to up to seven full solutions with 3 items each such that the ideal Pareto front is approximated. Here, we dispense with the normalization in order to retain comprehensibility of the example. Table 3 presents details of an optimal flex-hand solution. Note that none of the solutions found this way are actually on the ideal Pareto front in this case and thus the selected highly flexible first-stage solution with selected item 3 would not have been identified by a posteriori selection methods.

Table 3 Flex-hand solution with corresponding objective function values and objective-wise distances of the illustrative example

In Table 3 we also indicate the differences in the two objective values \(f_1\) and \(f_2\), i.e., the objective-wise distances \(\varepsilon _1\) and \(\varepsilon _2\). The maximum distance \(\varepsilon ^*\) is reached in solution number six, with a difference of 26 in the second objective with costs of 94 instead of 68. Hence, the objective value of the flex-hand approach is \(\varepsilon ^*=26\). Both Pareto fronts are visualized in Fig. 3.

Fig. 3
figure 3

Ideal and flex-hand Pareto fronts of the illustrative example

2.3 The robust flex-hand approach

In optimization of energy systems, decisions are based on input parameters which are inherently uncertain. Thus, we extend the proposed flex-hand approach for problems comprising uncertain parameters in the objective functions and constraints, and introduce the robust flex-hand approach. As the flex-hand approach, the robust flex-hand approach can also be applied to any other two-stage multi-objective problem where the first-stage needs to be determined in advance.

The robust flex-hand approach automatically selects first-stage solutions taking uncertainties into account. For this purpose, we assume multiple scenarios which are contained in the discrete uncertainty set \({\mathcal {U}}\). In each scenario, we compare the ideal Pareto front for the current scenario to a fixed first-stage Pareto front which is based on one fixed set of first-stage variables for all scenarios simultaneously. We then minimize the distance between the Pareto fronts in the worst case and thereby find the robust optimal first-stage solution.

For this purpose, we calculate the ideal Pareto front \({\mathcal {P}}^*(\xi )\) in each scenario \(\xi \in {\mathcal {U}}\) separately. Here, the number of elements in \({\mathcal {P}}^*(\xi )\) is denoted by \(N(\xi )\). The objectives are parametrized also through scenarios \(\xi \in {\mathcal {U}}\), i.e., we use \(f_i\Big (x^f,x^s(\xi ),\xi \Big )\). Again, we normalize objectives which we denote by \({\overline{f}}_i\Big (x^f,x^s(\xi ),\xi \Big )\), for each scenario \(\xi \). To minimize the worst-case distance between the ideal Pareto front and the fixed first-stage Pareto front, we minimize the maximum value of the \(\varepsilon \)-indicator [Eq. (1)] over all \(\xi \in {\mathcal {U}}\):

$$\begin{aligned} \min \,&\ {\overline{\varepsilon }}\\ \text {s. t.}&{\overline{f}}_i\Big (x^f,x^s_j(\xi ),\xi \Big ) - {\overline{f}}_i\Big (\chi ^f_j(\xi ),\chi ^s_j(\xi ),\xi \Big ) \le {\overline{\varepsilon }}&\forall \xi \in {\mathcal {U}}, i\in [K],j\in [N(\xi )] \\&x^f \in {\mathcal {X}}^{f} \\&x^s_j(\xi ) \in {\mathcal {X}}^{s}(x^f,\xi )&\forall \xi \in {\mathcal {U}}, j\in [N(\xi )]\,. \end{aligned}$$

Here, \({\mathcal {X}}^{s}(x^f,\xi )\) is the set of feasible second-stage variables given a first-stage solution \(x^f\) and a scenario \(\xi \). The optimal first-stage solution \((x^f)^*\) is the identified robust flex-hand solution.

An example is given in Fig. 4. The ideal Pareto front is calculated for each of the three scenarios \((\xi _1, \xi _2, \xi _3)\) separately. The robust fixed first-stage Pareto fronts are based on one fixed set of first-stage variables for all scenarios; however, the corresponding robust fixed first-stage Pareto fronts are calculated for each scenario separately by adapting the second-stage variables \(x^s\).

Fig. 4
figure 4

Idea of the robust flex-hand approach: For each scenario separately, the ideal Pareto front (dark green filled marks) and a robust fixed first-stage Pareto front (orange unfilled marks) are compared; triangles, circles, and squares represent scenario \(\xi _1\), \(\xi _2\), and \(\xi _3\), respectively; the distance \(\varepsilon \) is calculated regarding all scenarios; here, Pareto fronts are presented without normalization; lines are included to guide reader’s eyes

We now compare the robust flex-hand approach with other existing robust optimization approaches (see Aissi et al. 2009; Gabrel et al. 2014; Yanıkoğlu et al. 2019 for general surveys). We can rewrite the flex-hand approach as the following problem:

$$\begin{aligned} \min _{x^f \in {\mathcal {X}}^f} \max _{\xi \in {\mathcal {U}}} \max _{\begin{array}{c} y^f(\xi ) \in {\mathcal {X}}^f,\\ {y^s(\xi ) \in {\mathcal {X}}^s\left( y^f(\xi ),\xi \right) } \end{array}} \min _{x^s(\xi ) \in {\mathcal {X}}^s(x^f,\xi )} \max _{i\in [K]} \Big ( {\overline{f}}_i\big (x^f,x^s(\xi ),\xi \big ) - {\overline{f}}_i\big (y^f(\xi ),y^s(\xi ),\xi \big ) \Big ), \end{aligned}$$

that is, we first decide on a first-stage solution \(x^f\), then an adversary determines both a comparator solution \((y^f(\xi ),y^s(\xi ))\) as well as a scenario \(\xi \in {\mathcal {U}}\). We then extend \(x^f\) with a second-stage solution \(x^s(\xi )\) to get as close as possible to the comparator \({\overline{f}}_i\left( y^f(\xi ),y^s(\xi ),\xi \right) \) under scenario \(\xi \). The objective value of the flex-hand approach is then determined by the index \(i \in [K]\) leading to the largest difference between the achieved objective value \({\overline{f}}_i\left( x^f,x^s(\xi ),\xi \right) \) and the comparator \({\overline{f}}_i\left( y^f(\xi ),y^s(\xi ),\xi \right) \). Because of the min–max–min–max objective, we are not in the classical settings of strict (min–max; Soyster 1973) or adjustable robustness (min–max–min; Ben-Tal et al. 2004).

Now, we consider the case of a single objective function, i.e., \(K=1\). Then our flex-hand approach is simplified by removing the last maximum. The resulting problem has the form of a two-stage min–max regret problem. Problems of this type are challenging to analyze and the object of current research, see Poursoltani and Delage (2019) for some theoretical insights. In particular, the optimal solution of the resulting problem might change if the uncertainty set \({\mathcal {U}}\) is replaced by its extreme points.

3 Case study

In this section, we apply the flex-hand approach to design the energy system of a real-world industrial park. The case study is introduced in Sect. 3.1. The results of the flex-hand approach are presented and discussed in detail in Sect. 3.2 and in Sect. 3.3 for the robust flex-hand approach.

To compute Pareto fronts, we use the adaptive normal boundary intersection method (Das and Dennis 1998). For calculation, we employ 4 threads of a computer with 3.24 GHz and 64 GB RAM. The problem is formulated in GAMS 24.7.3 (McCarl and Rosenthal 2016) and solved by the solver CPLEX 12.6.3.0 (IBM Corporation 2015) to machine accuracy.

3.1 The real-world example

The real-world example is based on our previous work (Voll et al. 2013) on the optimization of a distributed energy supply system. We consider an industrial site with one power grid, one heating grid and two separate cooling grids (Site A and Site B). The thermal demands and their uncertainties are given in Fig. 5.

Fig. 5
figure 5

Thermal demands of the industrial site and their uncertainties represented by error bars; adopted from Majewski et al. (2017)

The design of the energy system corresponds to sizing and installing any number of components from the following types of energy conversion components: boilers B, combined heat and power engines \(\mathord { CHP }\), absorption chillers AC, and compression chillers CC. Natural gas can be used at costs of \(p^{gas}=6\,\text {ct/kWh}\) with \(\pm 40\,\%\) of uncertainty. Furthermore, we assume a connection to the electricity grid. Electricity can be purchased for \(p^{el,buy}=16\,\text {ct/kWh}\) and sold for \(p^{el,sell}=10\,\text {ct/kWh}\). For purchasing and selling, an uncertainty of \(\pm 46\,\%\) is considered. All possibly uncertain input parameters depend on the scenario \(\xi \) and are additionally marked using a tilde. The values for uncertainty are deduced from Majewski et al. (2017). To design a sustainable energy system, we employ an economical and an environmental objective function: the total annualized costs \(\mathord { TAC }\) and the global warming impact \(\mathord { GWI }\). In principle, the method could also consider social criteria (Mota et al. 2015).

The total annualized costs \(\mathord { TAC }\) are defined by:

$$\begin{aligned}&\mathord { TAC }\left( {\dot{U}},{\dot{U}}^{el,buy},{\dot{V}}^{el,sell}, \mathord { INVEST }_k; \xi \right) \nonumber \\&\quad =\sum _{t\in [T]} \Big [\varDelta \tau _t \Big ( {\widetilde{p}}^{gas}(\xi ) \cdot \sum _{k\in B \cup \mathord { CHP }}{\dot{U}}_{kt} (\xi ) + {\widetilde{p}}^{el,buy}(\xi ) \cdot {\dot{U}}^{el,buy}_t(\xi ) \nonumber \\&\qquad - {\widetilde{p}}^{el,sell}(\xi ) \cdot {\dot{V}}^{el,sell}_t(\xi )\Big )\Big ]\nonumber \\&\qquad + \sum _{{k} \in {\mathcal {K}}} \bigg (\frac{1}{\mathord { PVF }}+p_{k}^{m}\bigg ) \cdot \mathord { INVEST }_k \end{aligned}$$
(4)

Here, \(k\) represents a component in the set of all components \({\mathcal {K}}=B \cup \mathord { CHP }\cup AC \cup CC\) which might be installed. For each time step \(t\in [T]\), \(\varDelta \tau _t\) represents its length. The corresponding input energy flows of natural gas for boilers B and combined heat and power engines \(\mathord { CHP }\) are denoted by \({\dot{U}}_{kt}\). The input and the output energy flow of electricity are denoted by \({\dot{U}}^{el,buy}_t\) and \({\dot{V}}^{el,sell}_t\), respectively. For each component \({k}\), \(p_{k}^{m}\) represents the annual maintenance costs as share of the investment costs \(\mathord { INVEST }_{k}\). For annualizing the investment costs \(\mathord { INVEST }_{k}\), we use the present value factor (Broverman 2010)

$$\begin{aligned} \mathord { PVF }= \frac{(i+1)^h-1}{(i+1)^h\cdot i} \end{aligned}$$

with an interest rate \(i=8\,\%\) and a time horizon \(h=4\,\text {a}\).

In the case study, the second-stage variables \(x^s\) comprise time-dependent operational variables \({\dot{U}}_{kt}\), \({\dot{U}}^{el,buy}_t\) and \({\dot{V}}^{el,sell}_t\). The first stage consists of the design variables (see Sect. 1), besides the corresponding investment costs \(\mathord { INVEST }_{k}\).

The global warming impact is given by:

$$\begin{aligned}&\mathord { GWI }\left( {\dot{U}},{\dot{U}}^{el,buy},{\dot{V}}^{el,sell}; \xi \right) \nonumber \\&\qquad = \sum _{t \in [T]} \varDelta \tau _t \left[ \sum _{k\in B \cup \mathord { CHP }}{\dot{U}}_{kt} (\xi )\cdot \mathord { GWI }^{gas} + \left( {\dot{U}}_t^{el,buy}(\xi ) - {\dot{V}}_t^{el,sell}(\xi )\right) \cdot \widetilde{\mathord { GWI }}^{el} (\xi )\right] \,. \end{aligned}$$
(5)

We employ \(\mathord { GWI }^{gas}=244\,\hbox {g}_{\text {CO}_2\text {-eq.}}\hbox {/kWh}\) for the specific global warming impact of gas which is not subject to remarkable variation. For the specific global warming impact \(\mathord { GWI }^{el}\) of electricity purchased from the grid, we employ a value of \(561\,\hbox {g}_{\text {CO}_2\text {-eq.}}\hbox {/kWh}\). Since the future electricity mix might change significantly, we assume the specific global warming impact \(\mathord { GWI }^{el}\) to be uncertain lying within \(430\,\hbox {g}_{\text {CO}_2\text {-eq.}}\hbox {/kWh}\) and \(610\,\hbox {g}_{\text {CO}_2\text {-eq.}}\hbox {/kWh}\). When selling electricity to the grid, a credit for global warming impact is given, following the idea of the avoided burden (Baumann and Tillman 2004). Here, the global warming impact \(\mathord { GWI }\) depends only implicitly on the first-stage variables \(x^f\) due to the constraints. A direct influence would be given if the global warming impact induced by the manufacturing of the components was taken into account. However, since the global warming impact of the operation has usually a significantly higher impact (Guillén-Gosálbez 2011), we neglect this dependency. The complete flex-hand optimization model is presented in “Appendix A”.

For the design optimization, we assume a “green field” without existing energy components. However, the flex-hand approach could also be applied to retrofit an energy system.

3.2 The flex-hand design

We now employ the flex-hand approach to design the sustainable energy system in order to obtain the best solution for the first-stage variables \(x^{f}\) which determine the flex-hand design. For this purpose, we first calculate the ideal Pareto front as a benchmark. The ideal Pareto front is obtained by allowing a different design for each point on the front. The largest optimization problem for calculating a point on the ideal Pareto front consists of 1950 equations, 576 variables, and 310 binary variables after presolve. In total, the whole ideal Pareto front is calculated in \(317\,\hbox {s}\). The flex-hand problem has 5099 equations, 2023 variables, and 751 binary variables after presolve. Here, computing the flex-hand Pareto front takes \(152\,\hbox {s}\). Both the ideal Pareto front and the flex-hand Pareto front are shown in Fig. 6.

Fig. 6
figure 6

Comparison of ideal Pareto front (dark green dots) and the flex-hand Pareto front (orange circles) with minimal distance \(\varepsilon ^*\) to the ideal Pareto front; small dark green dots: fixed first-stage Pareto front of ideal designs, i.e., Pareto-efficient operation for each design of the ideal Pareto front; here, Pareto fronts are presented without normalization; lines are included to guide reader’s eyes

Compared to the fixed first-stage Pareto fronts of the ideal designs, the flex-hand Pareto front of the selected design is “stretched out”. Thus, the flex-hand design allows for flexible operation providing a high ability to adapt to changing future objectives. The flex-hand design can be operated such that the total annualized costs \(\mathord { TAC }\) are very low at \(7.8\,\text {Mio.}\)€/\(\text {a}\) or the global warming impact \(\mathord { GWI }\) is very low at \(22.6\,\hbox {kt}_{\text {CO}_2\text {-eq.}}/\text {a}\).

In this case study, the minimal distance \(\varepsilon ^*\) between the ideal and the flex-hand Pareto front is limited, e.g., by the anchor points with minimal total annualized costs limits (Fig. 6). The corresponding scaled value for the minimized distance is \({\overline{\varepsilon }}^*=0.128\). For unscaled values, the minimal total annualized costs for the ideal design are \(\mathord { TAC }^{ideal}=7.51\,\text {Mio.}\)€/\(\text {a}\) and for the flex-hand design \(\mathord { TAC }^{flex\text {-}hand}=7.78\,\text {Mio.}\)€/\(\text {a}\), respectively. Hence, the maximal deviation for total annualized costs is \(0.27\,\text {Mio.}\)€/\(\text {a}\) which corresponds to a maximal loss of only \(3.6\,\%\) compared to the ideal design with minimized total annualized costs. Regarding the minimal global warming impact, the maximal deviation is only \(2.17\,\%\). Thus, the flexibility of the flex-hand design is very high regarding both objective functions.

When having a closer look at the identified design, we cannot identify a unique reason for its higher ability to adapt operation (Fig. 7).

Fig. 7
figure 7

In dark green: designs of ideal Pareto front; in orange: flex-hand design of the flex-hand Pareto front; from left to right for each component type, the designs are ordered by decreasing minimal global warming impact; B boiler, \(\mathord { CHP }\) combined heat and power engine, \(CC_A\) and \(CC_B\) compression chillers, and \(AC_A\) and \(AC_B\) absorption chillers installed on Site A and Site B, respectively

In general, solutions with lower global warming impact prefer installing higher thermal power of combined heat and power engines, since the specific global warming impact of the electricity mix of the grid is higher than the impact of the combined heat and power engines in combination with absorption chillers. The flex-hand design does not show remarkable differences compared to the other ideal designs but provides an excellent compromise. Without the proposed approach, this highly flexible design would most likely not have been identified by the decision maker.

3.3 The robust flex-hand design

We now apply the robust flex-hand approach to the proposed case study taking uncertainties into account. The uncertainties are introduced in Sect. 3.1. Here, we consider three representative scenarios \(\xi _1\), \(\xi _2\), and \(\xi _3\). Scenario \(\xi _2\) corresponds to values of the problem without uncertainties discussed in Sect. 3.2. In scenario \(\xi _1\), we assume all uncertain values to take their smallest values within the uncertainty range and in scenario \(\xi _3\) their largest values, respectively. However, any other scenario could be chosen.

Fig. 8
figure 8

Triangles, circles, and squares represent scenario \(\xi _1\), \(\xi _2\), and \(\xi _3\), respectively; dark green filled marks: ideal Pareto front generated for each scenario separately, orange unfilled marks: robust flex-hand Pareto front in each scenario; small light blue marks: flex-hand Pareto front for separately considered scenarios; here, Pareto fronts are presented without normalization

To evaluate the robust flex-hand design, we compare the robust flex-hand Pareto fronts in all three scenarios to the flex-hand Pareto fronts generated for each scenario separately. Figure 8 shows that the flex-hand Pareto fronts generated for each scenario separately do not coincide with the robust flex-hand Pareto fronts. In scenario \(\xi _3\), the robust flex-hand design leads to smaller total annualized costs than the flex-hand design computed for scenario \(\xi _3\) but to a higher global warming impact. In total, the robust flex-hand Pareto front is less “streched out” than for the nominal case (Sect. 3.2) leading to an optimal distance \({\overline{\varepsilon }}^*\) of 0.625. The reduced adaptability to the ideal Pareto fronts is due to the fact that the robust flex-hand Pareto fronts need to approximate three ideal Pareto fronts simultaneously, instead of just one Pareto front. Thus, a good performance of a flex-hand design in one scenario might lead to a poor performance in another scenario if uncertainties are not regarded during design (Fig. 9). In contrast, the robust flex-hand design is a compromise solution performing well in all three scenarios simultaneously.

Fig. 9
figure 9

All Pareto fronts for scenario \(\xi _1\); dark green filled triangles ( ): ideal Pareto front of scenario \(\xi _1\); orange unfilled triangles ( ): robust flex-hand Pareto front in scenario \(\xi _1\); small light blue triangles ( ): flex-hand Pareto front of scenario \(\xi _1\); small light blue unfilled circles and squares ( and ): flex-hand Pareto front in scenario \(\xi _1\) based on flex-hand design computed for scenario \(\xi _2\) and \(\xi _3\), respectively; here, Pareto fronts are presented without normalization

Fig. 10
figure 10

In light blue: flex-hand designs generated for each scenario separately (from left to right: scenario \(\xi _1\), \(\xi _2\), and \(\xi _3\)); in orange: robust flex-hand design; B boiler, \(\mathord { CHP }\) combined heat and power engine, \(CC_A\) and \(CC_B\) compression chillers, and \(AC_A\) and \(AC_B\) absorption chillers installed on Site A and Site B, respectively

In Fig. 9, we take a closer look on the computed Pareto fronts in scenario \(\xi _1\). Here, the robust flex-hand design ( ) clearly performs better than the flex-hand design identified for scenario \(\xi _2\) ( ) and the flex-hand design identified for scenario \(\xi _3\) ( ). In scenario \(\xi _1\), only the flex-hand Pareto front of scenario \(\xi _1\) ( ) approximates the ideal Pareto front ( ) better than the robust flex-hand Pareto front ( ). However, the flex-hand design of scenario \(\xi _1\) is infeasible for scenario \(\xi _2\) and \(\xi _3\). In contrast, the robust flex-hand design is feasible and performs well for all scenarios.

Having a closer look at the design (Fig. 10), we observe that the total thermal power of the three flex-hand designs increases from scenario \(\xi _1\) to \(\xi _3\). This is due to the fact that values of uncertain input parameter increase as well. With increasing demands and also increasing specific global warming impact of the electricity grid, larger combined heat and power engines and boilers are installed combined with a higher thermal power of absorption chillers and smaller compression chillers. The robust flex-hand design does not differ remarkably from the three flex-hand designs. Thus, the robust flex-hand approach is necessary to identify the excellent compromise given by the robust flex-hand design.

4 Conclusions

The sustainable optimization of energy systems is inherently a two-stage optimization problem with multiple decision criteria. Applying multi-objective optimization usually generates different designs for each point on the Pareto front. We propose the flex-hand approach for identifying a single design which performs well regarding all decision criteria. The idea of the flex-hand approach is to approximate the Pareto front with changing design options (ideal Pareto front) by a Pareto front with one fixed design for the whole front. The design leading to the minimal distance between both Pareto fronts is the design which is identified by the flex-hand approach. The identified design (flex-hand design) is able to adapt to all regarded criteria well, and thus, provides high flexibility to reach future aims for which focus might change between the considered objective functions.

Our real-world case study demonstrates the resulting high adaptability with respect to the considered criteria. For designing the sustainable energy system, we choose total annualized costs and the global warming impact as economical and environmental criteria, respectively. The calculated Pareto front of the flex-hand design is “stretched out” in comparison to the Pareto fronts obtained by operational optimization of designs lying on the ideal Pareto front. The objective function values of flex-hand design differ by less than \(3.6\,\%\) from the ideal values which highlights the excellent quality of the identified flex-hand design. The flex-hand design does not show remarkable differences compared to the designs lying on the ideal Pareto front. Thus, without the flex-hand approach, the decision maker would possibly not have chosen the identified design. This effect becomes even more pronounced when considering multiple scenarios simultaneously to account for uncertainty, in which case our approach is able to find a robust solution.

To conclude, the flex-hand approach takes advantage of the two-stage nature of energy systems to automatically select one single design which provides a high flexibility to adapt operation to all considered criteria.