This section introduces the details of the developed approach.
Section 4.1 summarizes the measure selection process, which is based on a hybrid MCDM approach with AHP and entropy for criteria weighting and MAUT for the prioritization of the paths. Then,
Section 4.2 outlines the process for measure classification into preventive and reactive by utilizing the categorization of energy flexibility measures in the VDI 5207 standard [
37]. Finally,
Section 4.3 integrates the selected measures in the production schedule with the help of a mixed-integer linear problem (MILP) and a branch-and-bound optimization, minimizing the cost of additionally purchased energy. The integration of measures is understood as the creation of new, risk-treated scheduling that, through preventive measures, contains less risk potential. In addition, reactive measures are integrated so that backup schedules are created that are used when faults occur.
4.2. Classification of Relevant Measures
To integrate the identified measures into the production schedule, it is first necessary to distinguish between preventive and reactive measures in order to create a catalog of categorized measures. The literature suggests that the main differentiator is the timing of the measure considering the occurring damage [
7,
25,
29].
Reactive measures are only used when damage has already occurred. The aim is to keep the resulting damage and the associated costs as low as possible. Due to the immediate implementation, short-term changes in the production schedule must be expected.
Preventive measures are used to avoid potential damage and its financial impact as well as the reduction of the likelihood of occurrence. They are implemented at an early stage before the fault occurs. This excludes the possibility of changes to the production schedule with short notice.
In addition to differentiation according to the time of implementation of a measure, economic aspects must be considered. Preventive measures should generally be preferred in the case of high expected costs for reactive measures [
53]. The advantage of taking both categories of measures into account in this approach is that the preventive measures reduce the impact and likelihood of potential faults. At the same time, the planning of reactive measures creates an information base for the reactions if faults still occur, so that a solution does not have to be sought under time pressure.
A generalized and thorough overview of relevant measures for energy-flexible production is given in VDI 5207 Part 1 [
37]. The distribution of the measures within the three implementation levels of the energy-flexible factory serves as a reference point for selecting relevant measures for operational risk management (
Figure 4).
The different implementation levels in
Figure 4 imply different time horizons that serve as orientation for dividing the measures into preventive and reactive. Still, for some measures it is not possible to assign them to only one category without knowing the specific production context. Thus, these measures are marked as preventive and reactive. At the short-term manufacturing level, all measures are considered reactive except for the adjustment of process parameters, which can also be an activity planned in advance. At the manufacturing control level, most of the measures available are preventive, as the regarded time horizon ranges from hours to days and thus implies longer advance planning. The manufacturing control’s measures further influence the measures at the lower level, and preventive planning of these should be done whenever possible. Nonetheless, in the event of severe disruption, a job may be interrupted reactively, and, if available, energy storage will be used. The enterprise control level only consists of preventive measures due to the necessary longer planning horizon of days to weeks. Finally, it should be noted that this division into preventive and reactive measures is a general orientation because in the wide variety of different industries with specific planning and production systems, the respective measures may differ.
4.3. Integration of Preventive and Reactive Measures in the Production Schedule
Once measures have been successfully divided into reactive and preventive, implementation of the measures into the production schedule needs to be planned. The rescheduling of reactive measures is considered to be segment-based rescheduling, similar to Toba [
54]. This means that for reactive measures, only the segments after the potential risk occurrence are affected and rescheduled, whereas for preventive measures, the measure execution must be prior to the expected time of disruption to be effective. Therefore, the implementation of preventive measures may affect the entire production schedule.
The production schedule needs to be modified so that the previously selected measures are integrated as well as they can be, taking into account the logistical goals of the production system and the boundary conditions for the planned energy consumption. Due to the differentiation into preventive and reactive measures, new production schedules must be generated. These are the modified production schedule with all preventive measures, which replaces the original plan. Furthermore, a backup plan is drawn up for each reactive measure implemented, as the reactive measures only come into effect when a disruption occurs.
The integration of measures is formalized as a MILP, which can be solved through branch-bound-and-cut optimization, e.g., in MATLAB
® [
54,
55]. For the present problem, it is important to aim for short computation times to ensure the applicability of the approach in operational practice. This can be achieved by reducing complexity wherever the problem setting allows it. The goal of this optimization is to integrate the measures energy optimally and thereby create a risk-treated, energy-optimal production schedule by the addition of preventive and reactive measures.
In the course of this section, the term production schedule refers to a plan that aggregates all relevant jobs on all workstations for the respective production period under consideration of resources and sequence restrictions, whereby one job contains a product’s production steps, i.e., the necessary workstations including durations, sequence restrictions, and resource consumptions. The workstations come with capacity restrictions, and not every job is necessarily processed on every workstation. The initial production schedule prior to risk treatment is assumed to be available and energy-optimal, hereinafter referred to as energy-oriented PPC.
Measures are thus either treated as jobs and are fixed in their allocation to one workstation or modify the load and time dimensions of jobs scheduled by the energy-oriented PPC. When scheduling the measures, the risk-treated energy-oriented PPC must still comply with logistical and energy-consumption target values. Consequently, two options remain for the risk treatment:
An extension of the original energy-oriented PPC by risk-specific target values and constraints leading to a detailed and comprehensive optimization problem.
Setting the results of the initial energy-oriented PPC as an input variable for an optimization problem that is limited to the implementation of measures.
Option (1) results in correspondingly higher computing times due to increased complexity. This also leads to more difficulties in understanding the solution process and thus lowers the acceptance of the approach for the end users. Option (2), on the other hand, results in a non-optimal solution, but with expected significantly shorter calculation times, thus increasing flexibility in the application of the approach. It is also advantageous that the energy-oriented PPC is not redesigned but expanded. This increases understanding and acceptance if the generated solution fulfills the end user’s standards. Due to the predominant advantages of option (2), this will be pursued further below.
Thus, the optimization problem consists of an energy-optimal production schedule as input that can be generated using different approaches, e.g., those described in
Section 2.1. In addition, the measures of the chosen risk treatment path need to be scheduled to create the risk-treated production plans.
In order to meet the logistical goals and to avoid delays, the end times of the jobs scheduled in the energy-oriented PPC are fixed and block the workstations for the scheduling of measures in these time periods.
Usually, when creating an energy-oriented production plan, a cost-optimal result is sought after the variable price forecasts. The electricity demand planned and procured in this way should be consumed within tolerances in order to avoid high penalties. As part of the risk treatment, price fluctuations in the markets are no longer of central importance, as the plan is already generated, but the time-dependent penalties for deviations from the originally purchased electricity consumption have to be focused on now.
Thus, the objective function of the optimization problem minimizes the quantity deviation cost (QDC) for each time unit t that arises from a deviation of the actual energy consumption from the forecasted load profile .
The QDC is substituted by the forecast for reBAP, which stands for “regelzonenübergreifender einheitlicher Bilanzausgleichsenergiepreis” and assigns a uniform price to the balancing energy that was necessary in the past. The reBAP is calculated in retrospect for every quarter-hour of a day. If no suitable forecasts are available for the reBAP, intra-day market forecasts can also be used, as the amount gives an impression of the energy availability and the demand and thus the level of the penalty costs caused by deviations.
The objective of the optimization is to minimize the QDC, which arises due to the deviations from the planned load profile. This is shown in the target function with the deviation
and the
at the respective point in time
t.
To ensure logistic targets are met, a job must start early enough to not miss any due dates:
where
describes the start time of job k on working station
s and
the due date of the job
k on station
s. The duration of job
k on station
s is described by
.
To calculate the actual energy consumption
, the binary
, that is, one if job k is allocated to workstation
s in time unit t and zero otherwise, is multiplied by the workstation and job-specific power consumption
:
Additionally, it must be ensured that the measure integration does not lead to the peak loads being exceeded; thus, the total consumption
must be smaller than the maximum allowed peak load
for every time unit
Finally, the deviation in energy consumption is calculated as the total consumption minus the planned consumption
.
The optimization is performed twice—once to generate the modified production schedule and once to generate the backup plan.
Figure 5 depicts schematically how the optimization improves the handling of disruptions. In the above production schedule without prior risk treatment, a disruption leads to a spontaneous decision to post-process. This leads to the annual maximum load being exceeded, as shown in the adjacent diagram of the load profile. With the risk treatment shown in the lower area of
Figure 5, the possible disruption is considered in advance with a backup plan, containing reactive measures for the case of the occurrence of the fault. The pause on station 4 enables post-processing to compensate for the disruption without exceeding the peak load. To create the risk-treated plan in the above-mentioned approach, only the affected jobs are rescheduled.