EconBase
← Back to paper

From prosumer to flexumer: Case study on the value of flexibility in decarbonizing the multi-energy system of a manufacturing company

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

86,263 characters · 32 sections · 65 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

From prosumer to flexumer: Case study on the value of flexibility in decarbonizing the multi-energy system of a manufacturing company

\captionsetup[figure]{labelfont={bf},labelformat={default},labelsep=period,name={Fig.}} \captionsetup[table]{labelfont={bf},labelsep=newline}

\pdfinfo{ /Author(Markus Fleschutz) /Title(wp2) /Subject(wp2) }

frontmatter\ead{[email removed]} \address[HKA]{Institute of Refrigeration, Air-Conditioning, and Environmental Engineering, University of Applied Sciences Karlsruhe, Moltkestraße 30, 76133 Karlsruhe, Germany} \address[MTU]{Department of Process, Energy and Transport Engineering, Munster Technological University, Bishopstown, Cork, Ireland} \definecolor{green}{RGB}{2, 89, 0} \begin{abstract} Digitalization and sector coupling enable companies to turn into flexumers. By using the flexibility of their multi-energy system (MES), they reduce costs and carbon emissions while stabilizing the electricity system. However, to identify the necessary investments in energy conversion and storage technologies to leverage demand response (DR) potentials, companies need to assess the value of flexibility. Therefore, this study quantifies the flexibility value of a production company's MES by optimizing the synthesis, design, and operation of a decarbonizing MES considering self-consumption optimization, peak shaving, and integrated DR based on hourly prices and carbon emission factors (CEFs). The detailed case study of a beverage company in northern Germany considers vehicle-to-X of powered industrial trucks, power-to-heat on multiple temperatures, wind turbines, photovoltaic systems, and energy storage systems (thermal energy, electricity, and hydrogen). We propose and apply novel data-driven metrics to evaluate the intensity of price-based and CEF-based DR. The results reveal that flexibility usage reduces decarbonization costs (by 19--80% depending on electricity and carbon removal prices), total annual costs, operating carbon emissions, energy-weighted average prices and CEFs, and fossil energy dependency. The results also suggest that a net-zero operational carbon emission MES requires flexibility, which, in an economic case, is provided by a combination of different flexible technologies and storage systems that complement each other. While the value of flexibility depends on various market and consumer-specific factors such as electricity or carbon removal prices, this study highlights the importance of demand flexibility for the decarbonization of MESs. \end{abstract} \begin{keyword} Energy flexibility \sep Demand response \sep Multi energy system \sep Hourly carbon emission factors \sep Distributed energy resources \sep Flexibility metrics \sep Decarbonization \end{keyword}

Highlights

itemize\setlength \itemsep{0.1em} • Detailed case study of optimal net-zero multi-energy system design using MILP. • Quantified the flexibility value of an distributed energy system for decarbonization. • Novel metrics to evaluate price-based and emission-based demand response. • Considered power-to-hydrogen, vehicle-to-X, and multi-temperature power-to-heat. • Compare the value of using existing versus new flexibility. • Flexibility of distributed energy resources reduced decarbonization costs by 19--80%.

\nomenclature[A]{BES}{Battery energy storage} \nomenclature[A]{BEV}{Battery electric vehicle} \nomenclature[A]{C&I}{Commercial and industrial} \nomenclature[A]{CapEx}{Capital expenditures} \nomenclature[A]{capx/capn}{Nominal capacity of existing/new assets} \nomenclature[A]{CE}{Carbon emission} \nomenclature[A]{CEF}{Carbon emission factor} \nomenclature[A]{CHP}{Combined heat and power} \nomenclature[A]{cond}{Condensation} \nomenclature[A]{COP}{Coefficient of performance} \nomenclature[A]{DAC}{Direct air capture} \nomenclature[A]{DR}{Demand response} \nomenclature[A]{DRAF}{Demand Response Analysis Framework} \nomenclature[A]{ECER}{Energy-based cost-emission ratio} \nomenclature[A]{EG}{Electricity grid} \nomenclature[A]{Elc}{Electrolyzer} \nomenclature[A]{elec}{Electricity} \nomenclature[A]{eva}{Evaporation} \nomenclature[A]{EWACEF}{Energy-weighted average carbon emission factor} \nomenclature[A]{EWAP}{Energy-weighted average price} \nomenclature[A]{FC}{Fuel cell} \nomenclature[A]{H\textsubscript{2}}{Hydrogen} \nomenclature[A]{H\textsubscript{2}S}{Hydrogen storage} \nomenclature[A]{HD}{Heat downgrading} \nomenclature[A]{HOB}{Heat-only boiler} \nomenclature[A]{HP}{Electrical heat pump} \nomenclature[A]{inv}{Investment} \nomenclature[A]{KPI}{Key performance indicator} \nomenclature[A]{MEF}{Marginal emission factor} \nomenclature[A]{MES}{Multi-energy system} \nomenclature[A]{MILP}{Mixed-integer linear programming} \nomenclature[A]{NF}{Network fees} \nomenclature[A]{NG}{Natural gas} \nomenclature[A]{OC}{Own-consumption} \nomenclature[A]{OpEx}{Operating expenses} \nomenclature[A]{P2H}{Power-to-heat} \nomenclature[A]{PV}{Photovoltaic} \nomenclature[A]{RMI}{Repair, maintenance, and inspection} \nomenclature[A]{TAC}{Total annualized cost} \nomenclature[A]{TCER}{Time-based cost-emission ratio} \nomenclature[A]{TES}{Thermal energy storage} \nomenclature[A]{TWACEF}{Time-weighted average carbon emission factor} \nomenclature[A]{TWAP}{Time-weighted average price} \nomenclature[A]{V2X}{Vehicle-to-everything} \nomenclature[A]{vRES}{Variable renewable energy source} \nomenclature[A]{WT}{Wind turbine} \nomenclature[A]{XEF}{Grid-mix emission factor} \nomenclature[I]{$b \in \mathcal{B}$}{Types of battery electric vehicle} \nomenclature[I]{$c \in \mathcal{C}$}{Condensing temperature levels} \nomenclature[I]{$h \in \mathcal{H}$}{Heating temperature levels} \nomenclature[I]{$i \in \mathcal{I}$}{Technology components} \nomenclature[I]{$n \in \mathcal{N}$}{Cooling temperature levels} \nomenclature[I]{$t \in \mathcal{T}$}{Time steps} \nomenclature[Y]{$\dot{Q}$}{Thermal energy flow} \nomenclature[Y]{$\eta$}{Efficiency coefficient} \nomenclature[Y]{$\gamma$}{Coefficient related to capacity} \nomenclature[Y]{$\pi_s$, $\varepsilon_s$, $\omega_s$}{Normalized flexibility metrics} \nomenclature[Y]{$\varepsilon$}{Specific carbon emissions} \nomenclature[Y]{$C, c$}{Annual/specific costs} \nomenclature[Y]{$c$}{Specific costs} \nomenclature[Y]{$E$}{Electrical energy} \nomenclature[Y]{$n$}{Economic life in years} \nomenclature[Y]{$P$}{Electrical power} \nomenclature[Y]{$R$}{Annual revenue} \nomenclature[Y]{$r$}{Discount rate} \nomenclature[Y]{$Y$, $y$}{Binary variable} \nomenclature[Y]{$z$}{Switch for flexibility or investment option}

table*[table* omitted — 75 chars of source]

Introduction

Motivation

In the course of the European Green Deal EUGreenDeal, the European Union is aiming for climate neutrality by 2050. As an interim target, a 55% carbon emission (CE) reduction by 2030 compared to 1990 levels was set. According to the Emissions Gap Report 2021 of the United Nations Environment Programme UnepGapReport2021, these targets are not sufficient to meet the 1.5\,\textdegree C target of the Paris Agreement. However, they are still ambitious and just one example of the global pursuit of deep decarbonization.

To meet these challenging targets and to stay within sustainable biomass limits, a high degree of electrification and hydrogen (H\textsubscript{2}) integration is needed in the energy system Mortensen2020 and the industry sector Rissman.2020. Sector coupling such as the electrification of heat and mobility enables sectors that traditionally relied on fossil fuels, to benefit from the decarbonization possibilities of the electricity sector, e.g. photovoltaic (PV) and wind power Knobloch.2020. In turn, the sector coupling allows transferring operational flexibility from other energy sectors (heat, mobility, H\textsubscript{2}) to the electricity sector Arteconi.2016. This operational flexibility is necessary to compensate for the increasing shares of fluctuating renewable energy and the decommissioning of controllable thermal power plants. Thus, carbon-free electricity systems require four times the operational flexibility of conventional systems IEA2021. Demand response (DR) programs activate demand-side flexibility through different incentive systems. Electrification gives rise to multi-energy systems (MESs) that can provide existing and newly created flexibility that can be used through DR Mancarella.2014. Besides private households and heavy industry, also the commercial and industrial (C&I) sector exhibits so far untapped flexibility potential Papadaskalopoulos.2018.

By untapping demand-side flexibility potentials, an electricity prosumer turns into a “flexumer” Jee2022. While a prosumer draws power from the grid and feeds in surpluses, a flexumer additionally controls the energy profiles through smart use of energy conversion and storage technologies. (ref) illustrates a comparison of the terms consumer, prosumer, and flexumer.

figure[figure omitted — 195 chars of source]
figure[figure omitted — 177 chars of source]
figure[figure omitted — 237 chars of source]

Background

Despite the worldwide expansion of variable renewable energy sources (vRESs), the wholesale electricity prices of the last decades offered few incentives for flexibility Mays2021. However, since the second half of the year 2021, European electricity prices skyrocketed as a result of increased carbon and fuel prices. The natural gas price were especially driven by the COVID-19 pandemic and the Russian invasion of Ukraine, but also by technical issues, longer winter, and lower wind and hydro generation Aspenia2022. Additionally, in countries with substantial vRES shares, not only the level of wholesale electricity prices has increased, but also the price fluctuation due to the merit order effect Sensfuss2008meritorder. For example, in Germany, mean daily price spreads (i.e., difference between lowest and highest price of each day) increased almost ten-fold between 2019 and 2022, see (ref). Interestingly, in 2022, on average, the daily price spread were 1.37x the price itself which means that the load shift of a unit of energy from the most expensive hour of the day to the cheapest paid for the average generation of 1.37 times that energy.

Despite the existence of fixed electricity price components such as network charges and taxes that hinder flexibility, demand-side energy flexibility can provide value for the electricity system but also for companies Fleschutz2022igu. There are several flexibility applications, e.g., ancillary service provision, energy-only market optimization, peer-to-peer energy trading, congestion management, self-consumption optimization, and peak-shaving Buhl2021,Hamwi2021. The value of demand-side flexibility for a company can be divided into three dimensions, see (ref). Dimension 1 is direct financial benefits through additional revenue streams or cost reductions. Dimension 2 represents the reduction of the company's Scope \MakeUppercase{\romannumeral 1} and \MakeUppercase{\romannumeral 2} carbon footprint by reducing the purchased energy's volume or carbon-intensity or both. Dimension 3 includes corporate image gains, since DR helps stabilize the electricity system, prevents blackouts, and integrates vRESs in the electricity system Huang2019. With increasing renewable energy shares, DR and energy flexibility in general will gain reputation as key components of the energy transition Li2022. By participating in DR, production companies provide an important overarching contribution that they can publicly communicate Lashmar2022. Note that the environmental and the financial benefits may interact, e.g., financial benefits (Dimension 1) could finance clean technologies and reduce carbon footprint. Analogously, carbon footprint reductions (Dimension 2) may reduce the need for expensive carbon removal and, therefore, imply financial benefits.

Literature review

There is a growing body of literature that evaluate the potentials from demand-side flexibility. Muche et al. Muche.2016 used mixed-integer linear programming (MILP) to analyze the revenue of participation of combined heat and power (CHP) plants in control reserve markets. In Wang.2018, an intelligent energy management framework based on MILP with DR capability was proposed for industrial facilities. Besides thermostatically controlled loads and battery electric vehicles (BEVs) also production processes and renewable generation were analyzed. However, in both studies, CEs were not considered. Kelley et al. Kelley.2018 used MILP to model DR of air separation units. They provided a novel scheduling framework that accounts for plant dynamics, however, only focussing on one DR application. Scholz et al. Scholz2022 analyzed the energy flexibility of forklift trucks within a MES but without considering investment decisions or vehicle-to-everything (V2X).

Summerbell et al. Summerbell.2017 studied the cost and CE reduction potentials of a cement plant through price-based DR using real-time pricing. The CE reduction potential was calculated from dynamic CEFs, however, investments were not considered. A scheduling simulation resulted in electricity costs and electricity-derived CE reductions of 4% each. Alabi et al. Alabi2021 proposed a multi-objective design and operation optimization model for carbon neutral MESs. In a case study, they analyzed the effects of considering energy storage aging and DR. However, the methodology was not applied to the C&I sector but to a residential district in Hong Kong. Ahmarinejad Ahmarinejad2021, presented a multi-objective planning and operation MILPs model considering DR. However, in contrast to our study, DR was not evaluated in a real-world case study. Petkov and Gabrielli Petkov2020 presented a multi-objective design optimization formulation for MESs considering H\textsubscript{2} as a seasonal energy storage. They concluded that for valid seasonal storage evaluations, optimization must be performed over at least 2,000 hourly resolved time steps. Also the results indicated that a MES can only reach net zero operational CEs using power-to-H\textsubscript{2}. Mansouri et al. Mansouri2022 proposed an investment and operation optimization framework for MES considering DR. The results indicate a 15.1% reduction of operating expenses (OpEx) through price-based load shifting. However, only Scope \MakeUppercase{\romannumeral 1} CEs were considered and with fixed carbon emission factors (CEFs). In Cremi.2020, a design and operation optimization MILP problem was formulated and applied to the data of an exhibition center in south Italy. Energy flexibility was considered through peak shaving with a BES. CEs were assessed, but only with annual CEFs, and carbon neutrality was not analyzed. Baumgärtner et al. Baumgartner.2019 proposed an optimal planning and operation model considering hourly CEFs, price-based DR and carbon neutrality. Costs and CEs were calculated comparing the use of annual versus hourly CEFs. The significant differences in resulting costs and CEs highlight the importance of hourly CEFs. The model was applied within a real-world case study of a chemical industry MES. However, the value of flexibility was not explicitly quantified. Furthermore, Jordehi Jordehi.2019 concluded a comprehensive review on DR that more research effort should be placed on the C&I sector, on more realistic optimization problems, and the analysis of environmental effects.

Recently several studies proposed flexibility metrics to quantify and characterize price-based DR. In Jee2022, four metrics (price responsivity score, consistency score, flexible amount, and response time score) were proposed to identify and classify flexumers based on their electricity price and load. However, CEFs were not considered and the metrics were not designed with real-time pricing in mind but with time-of-use tariffs. Zhengyi et al. Luo2022 reviewed DR quantification indicators for residential energy flexibility and classified them into direct and indirect indicators. While direct indicators are directly related to the features of a building, indirect indicators also consider economic and environmental factors. The mentioned indirect indicators are operation cost savings, operation cost reduction ratio, cost flexibility factor and carbon emission reductions. However weighted averages based on electricity price and load are not mentioned. The carbon emission reduction indicator is based on time-independent CEFs. In Zhang2019a, several flexibility metrics are proposed, however, focusing only on incentive-based DR, so they cannot be applied to price or CEF-based DR. Very recently, this study Li reviewed 156 articles and identified 48 data-driven energy flexibility key performance indicators (KPIs) for operational buildings. The KPIs could be grouped based on whether a baseline energy demand (penalty-ignorant operation) is required. For baseline-required KPIs, building performance data in both flexible and reference scenarios are necessary, while baseline-free KPIs can be calculated without a reference scenario. Also, the development of new baseline-free KPIs and the consideration of non-engineering factors such as costs and CEs was identified as major research gaps. The energy-weighted average electricity price -- mostly referred to as load-weighted or demand-weighted average price -- is a wide-spread metric, e.g., used in Joung2013,Hirth2015b,Zappa2021. However, to the best of the authors' knowledge, it has been used in the context of large-scale electricity systems and not to evaluate the DR intensity of local MESs. Demand-weighted CEFs, in contrast, have only been used since hourly CEFs became widely available Yang2022. However, in this study, we use energy-weighted average electricity prices to evaluate the effectiveness of price-based and CEF-based DR of an industrial company's MES and to compare it between scenarios.

In summary, the inclusion and evaluation of energy flexibility are gaining interest also for the C&I sector. However, the presented studies often do not consider investments, dynamic CEFs, or carbon neutrality as we do. Others do not explicitly evaluate DR with metrics designed for this purpose. Thus, to the best of the authors' knowledge, no study evaluates the flexibility of a production company's MES in a detailed case study considering investments and evaluating price-based and CEF-based DR under carbon neutrality conditions. Also, there is a lack of studies on the development of metrics to evaluate price-based and CEF-based DR.

Study contribution

In this paper, we quantify the value of existing and new flexibility of a production company's MES in the context of decarbonization. To this end, we apply a synthesis, design, and operation optimization MILP model to the real-world data of a beverage plant in Germany for different scenarios and contexts. We propose and apply several flexibility metrics to evaluate DR based on prices and hourly CEFs. The detailed case study considers H\textsubscript{2} storage, hourly electricity CEFs and prices, power-to-mobility, power-to-heat on multiple temperature levels and more and focuses on the flexibility applications self-consumption optimization, price-based and CEF-based voluntary DR, and peak shaving.

The remainder of this paper is organized as follows. We first explain the case study in (ref). Subsequently, the optimization model is described in (ref) and the evaluation metrics defined in (ref). The scenarios and contexts are defined in (ref) before we present and discuss the results of the analysis in (ref). Finally, we conclude in (ref).

Case study

figure*[figure* omitted — 1,156 chars of source]

We consider the MES of a beverage company in northern Germany. (ref)} shows a schematic depiction of the case study. This company has already invested in renewable infrastructure and is working towards carbon neutrality.

figure[figure omitted — 671 chars of source]

Energy demands

The company has an electricity demand and three different thermal energy demands with the following flow/return temperature levels in \textdegree C: Cooling demand (7/12), space heat demand (75/55), and process heat demand (95/75). We calculated the hourly inflexible electricity demand that is independent of flexible operation and stays the same for all scenarios:

equation[equation omitted — 184 chars of source]

where $\tilde{P}_t^\mathrm{EG,buy}$, $\tilde{P}_t^\mathrm{PV,OC}$, and $\tilde{P}_t^\mathrm{BEV,drive}$ are the historic data for the purchased electricity from the electricity grid (EG), the PV energy consumed from the onsite PV system, and the electricity consumption of the BEVs, respectively. $\tilde{P}_t^\mathrm{CM}$ is an approximation of the cooling machine. (ref) presents key metrics of the three thermal demands and the inflexible electricity demand. It can be seen that the cold demand has a seasonal pattern peaking in summer, while the heat demands are more stable throughout the year. Electricity demand is slightly higher during the summer months due to the increased beverage production.

Existing technologies

The company runs an onsite 307\,kW$_\mathrm{p}$ PV system. For the analyses, we used the historic measured electricity generation of the year 2019, see (ref). Based on available roof space, an additional PV capacity of up to 2,770\,kW$_\mathrm{p}$ can be built with the same profile and efficiency. A cooling machine with 860\,kW cooling power exists on site that can recool with 10\textdegree C well water. The company owns a CHP with 410\,kW$_\mathrm{th}$ nominal heating power and a 1,620\,kW$_\mathrm{th}$ heat-only boiler (HOB). Both run on natural gas and supply heat on the 97/75 temperature level. There are 24 Li-ion industrial truck batteries with a net capacity of 81.1\,kWh each.

Optimization model

Overview

To quantify the value of flexibility for this company, we formulate a deterministic MILP using technology components of version v0.3.0 Fleschutz_draf_zenodo of the open-source Python Demand Response Analysis Framework (DRAF), a modular tool for economic and environmental evaluation of DR Fleschutz2022. An overview of the model is shown in (ref). DRAF and most used technology components are detailed in Fleschutz2022. However, model parts that are crucial (cost and carbon balances, HP, BEV) or not described in Fleschutz2022 such as wind turbine (WT), pressurized H\textsubscript{2} storage (H\textsubscript{2}S), proton exchange membrane fuel cell (FC), proton exchange membrane electrolyzer (Elc), and direct air capture (DAC) are described in this section.

figure[figure omitted — 159 chars of source]

We model one year with 8,760 hourly time steps $t \in \mathcal{T}$, so $\Delta t=1\,\mathrm{h}$. We assume perfect foresight. Optimization variables are indicated in bold and are non-negative continuous variables if not specified.

The objective function of the MILP problem is the minimization of the total annualized cost ($\bm{\mathrm{TAC}}$) in k\euro/yr and the penalty term $\bm{X}^\mathrm{penalty}$ to model conventional charging. The $\bm{\mathrm{TAC}}$ include capital expenditures ($\bm{\mathrm{CapEx}}$) and operating expenses ($\bm{\mathrm{OpEx}}$), see (ref).

align[align omitted — 245 chars of source]

The $\bm{\mathrm{CapEx}}$ represent the annualized investment costs for all technical components in the technology set $\mathcal{I}$:

align[align omitted — 118 chars of source]

where $c^\mathrm{inv}_i$ are the specific investment costs and $\bm{P}^\mathrm{capn}_i$ the new nominal capacity of technology $i \in \mathcal{I}$. $a(r, n_i)$ is the annuity factor of component $i$ as function of the discount rate $r$ and the economic life $n_i$ in years, see (ref).

equation[equation omitted — 82 chars of source]

The $\bm{\mathrm{OpEx}}$ represent the operating costs of the first year

align[align omitted — 322 chars of source]

where $\bm{C}^\mathrm{RMI}$ are the repair, maintenance, and inspection (RMI) costs, $\bm{C}^\mathrm{EG,buy}$ are the costs of purchased electricity, $\bm{R}^\mathrm{EG,sell}$ are the revenue of sold electricity, $\bm{C}^\mathrm{EG,NF}$ and $\bm{C}^\mathrm{WT,NF}$ are the network fees of purchased electricity and self-consumed electricity from the WT, respectively, $\bm{C}^\mathrm{NG}$ are the costs of purchased natural gas, $\bm{C}^\mathrm{NG,tax}$ are the carbon tax costs due to the purchased natural gas, and $\bm{C}^\mathrm{DAC}$ are the costs for carbon removal.

The total operating CEs of the first year are calculated through:

equation[equation omitted — 412 chars of source]

where $\varepsilon^\mathrm{NG}$ is the CEF for natural gas, $\varepsilon^\mathrm{elec}_t$ denote the hourly electricity CEFs , and $\bm{\mathrm{CE}}^\mathrm{DAC}$ are the removed CEs.

Electricity grid (EG)

\paragraph{Electricity tariff} We used historic hourly day-ahead electricity prices $c^\mathrm{elec}_t$ of the year 2019 ($c^\mathrm{elec,2019}_t$), as shown in (ref) top, which were sourced from the ENTSO-E transparency platform ENTSOE_TP via the Python package elmada Fleschutz2021_elmada. The purchased electricity $P^\mathrm{EG,buy}_t$ is limited to $P^\mathrm{EG,buy,max}$ of 20\,MW and evaluated with a real-time pricing tariff consisting of $c^\mathrm{elec}_t$ and a fixed price add-on $c^\mathrm{EG,addon}$ of \euro62.28\,MWh$^{-1}$ for taxes and levies, see (ref). Additionally, \euro70 fixed network fees $\hat{c}^\mathrm{EG,buy}$ are charged per kW of the highest demand of the year $\bm{\hat{P}}^\mathrm{EG,buy}$, see (ref). The sold electricity $\bm{P}^\mathrm{EG,sell}_t$ is limited to $P^\mathrm{EG,sell,max}$ of 20\,MW and compensated with $c^\mathrm{elec}_t$, see (ref).

align[align omitted — 646 chars of source]
figure[figure omitted — 398 chars of source]

\paragraph{Electricity carbon emission factors (CEFs)} National dynamic electricity grid-mix CEFs (XEFs), shown in (ref) bottom, were calculated using the XEF_EP method of elmada Fleschutz2021_elmada. This method uses fuel type-specific generation data from the ENTSO-E transparency platform ENTSOE_TP and fuel type-specific CE intensities from Quaschning2019. Electricity purchased from the EG was evaluated with XEFs, while the negative CEs through grid feed-in from own vRESs were not compensated.

Our analysis includes short-term load shifting, for which marginal emission factors (MEFs) should be used as demonstrated in Fleschutz.2021 if the impact on CEs is explicitly examined. However, since the environmental DR potentials in this analysis are modeled implicitly and inseparable from the investment decisions we take an attributional approach, thus using XEFs for $\varepsilon_t^\mathrm{EG}$.

Natural gas grid

Natural gas can be purchased for \euro43\,MWh$^{-1}$ with 0.240\,t$_\mathrm{CO2eq}$ /MWh GEG9_2020 carbon emission intensity. Additionally, a carbon tax $c^\mathrm{NG,tax}$ of \euro55\,t$_\mathrm{CO2eq}^{-1}$ has to be paid.

Technologies

(ref) depicts the conversion and storage technologies used in our case study and an overview of their main parameters is given in (ref).

table*[table* omitted — 2,393 chars of source]

Conversion technologies

The conversion technologies CHP, Elc, FC, HOB, and P2H are modeled with a linear input-output relationship

align[align omitted — 165 chars of source]

where some technologies have multiple outputs, see also (ref).

\paragraph{Electrical heat pump (HP)} The HP has two heat sources $n \in \mathcal{N}$ (cold demand with 7\,\textdegree C and the well water with 10\,\textdegree C) and two heat sinks $c \in \mathcal{C}$ (the well water and the space heat demand with 75\,\textdegree C). This results in three possible combinations of source-sink temperature levels defining the operating mode: Cold demand to well, cold demand to heat demand, and well to heat demand. The coefficient of performance (COP) is calculated for each time step $t$ and operating mode:

align[align omitted — 306 chars of source]

The evaporation and condensation temperatures ($\vartheta^\mathrm{HP,eva}_{t,n}$, $\vartheta^\mathrm{HP,cond}_{t,c}$) were calculated assuming a 5\,\textdegree C temperature difference to consider heat exchange for both evaporator and condenser. Following Bohlayer.2018, a decision variable $\bm{Y}^\mathrm{HP}_{t,c,n}$ is used to select the operating mode. Multiple HPs are considered if $n^\mathrm{HP,modes} > 1$:

align[align omitted — 311 chars of source]
figure[figure omitted — 377 chars of source]

\paragraph{Photovoltaic (PV)} The PV electricity generation time series per kW\textsubscript{p} installed capacity is an exogenous variable. We used historic measurements of the case study company for the year 2019 in an aggregated form, see (ref) top. The capacity factor for 2019 is 0.10.

\paragraph{Wind turbine (WT)} The wind electricity generation time series per kWh\textsubscript{p} installed capacity is an exogenous variable, see (ref) bottom. The hourly profile for 2019 is aggregated from the open data of the Kelmarsh 6 KelmarshData2022, a 2.04\,MW Senvion MM92 WT located in the Kelmarsh wind farm in the United Kingdom which is used as a proxy for northern Germany. The capacity factor for 2019 is 0.33. For used WT electricity, an electricity price addon $c^\mathrm{EG,addon}$ is paid. Unused WT electricity is sold at the day-ahead market price assuming that the guarantees of origins are sold for a negligible price, so there are no negative CEs. Investment in partial WTs (shareholder) are possible.

Storage technologies

\paragraph{Battery energy storage (BES)} The constraints for the BES are:

align[align omitted — 718 chars of source]

\paragraph{Hydrogen storage (H\textsubscript{2}S) and thermal energy storage (TES)} H\textsubscript{2}S and TES are formulated analogously to BES.

\paragraph{Battery electric vehicle (BEV)} In our case study we model multiple powered industrial trucks as special form of BEVs. BEVs are modeled as multiple energy storage systems $b \in \mathcal{B}$ similar to BESs but with restricted availability and two types of discharging: $P^\mathrm{drive}_t$ and $\bm{P}^\mathrm{V2X}_t$. While $P^\mathrm{drive}_t$ is given exogenously through historic measurements, $\bm{P}^\mathrm{V2X}_t$ can be activated ($z^\mathrm{V2X}$=1) to allow V2X, i.e., smart discharging for non-driving purposes. Smart charging can be deactivated ($z^\mathrm{smart}$=0) by penalizing the sum of charges weighted by the according time steps, see (ref) and the objective function (ref). Battery degradation was limited by constraining the minimum and maximum state of charge ($k^\mathrm{empty}_{b}$=0.15, $k^\mathrm{full}_{b}$=0.85) and the C rate ($\lambda^\mathrm{in}_{b}$ = $\lambda^\mathrm{out}_{b}$ = 0.7). Please see Leippi.2022 for a recent review regarding battery degradation in DR scenarios. The BEV constraints are:

align[align omitted — 1,169 chars of source]

To reduce model complexity, we aggregated the capacity of 12 batteries that had similar availability patterns resulting in two batteries with 973.2\,kWh capacity each and used two representative availability time series based on the real empirical data from the battery energy management system. (ref) indicates the number of available batteries for charging across the year.

figure[figure omitted — 383 chars of source]

Limitations

The flexibility potentials of the applications spot market optimization, self-consumption optimization, and peak shaving in this paper are overestimated due to the following simplifications: (1) Perfect foresight is assumed for all input time series. (2) Battery degradation is limited by constraining the minimum and maximum state of charge but not explicitly modeled. (3) Batteries of powered industrial trucks are aggregated.

Evaluation metrics

Evaluation of DR based on prices and CEFs

Through penalizing or constraining operating CEs in a MES model considering price-based DR, CEFs can work as an additional DR incentive. E.g., if Scope \MakeUppercase{\romannumeral 1} CEs are forced to be zero and Scope \MakeUppercase{\romannumeral 2} CEs are penalized with a carbon price of \euro222\,t$_\mathrm{CO2eq}^{-1}$, the effective DR incentive is the sum of electricity prices and carbon price-weighted CEFs, presented in (ref).

figure[figure omitted — 334 chars of source]

To evaluate DR based on prices and CEFs, we define multiple related metrics. The energy-weighted average price (EWAP$_s$) and energy-weighted average CEF (EWACEF$_s$) are defined in (ref). For a scenario $s$, they measure the price and CEF of the average unit of purchased electricity respectively. While the EWAP is the total purchased electricity costs (excluding taxes and levies) divided by the total purchased electrical energy, the EWACEF is the quotient of the total CEs due to purchased electricity and the total purchased electrical energy. EWAP and EWACEF can be interpreted as the inability of the MES to react to the electricity prices and CEFs, respectively.

align[align omitted — 492 chars of source]

For comparison, we define the time-weighted average price (TWAP) and the time-weighted average CEF (TWACEF):

align[align omitted — 370 chars of source]

In simple terms, TWAP is the average price, EWAP is the average paid price, TWACEF is the average CEF, and EWACEF is the average accounted CEF. While TWAP and TWACEF only look at the electricity market results $c^\mathrm{elec}_t$ and $\varepsilon^\mathrm{elec}_t$, EWAP and EWACEF also look at the profile of the demand-side electricity purchase $\bm{P}^\mathrm{EG,buy}_t$.

Next, we define the $\pi_s$-rate and the $\varepsilon_s$-rate of scenario $s$ by normalizing EWAP$_s$ with TWAP and EWACEF$_s$ with TWACEF:

align[align omitted — 157 chars of source]

The $\pi$-rate has three advantages over EWAP. Firstly, it considers the price profile $c^\mathrm{elec}_t$ independently of the units, i.e., a European case study using \euro\,can be compared to an American using \$. Secondly, it is relative to the average price allowing comparison between time frames of different price levels, e.g., the years 2019 and 2021. Thirdly, it tells if the EWAP$_s$ is over the TWAP ($\pi_s$>100%) or under ($\pi_s$<100%). The same advantages apply analogously to the $\varepsilon$-rate.

The time-based cost–emission ratio (TCER), is the scenario-independent ratio of the average electricity prices to the average CEF:

equation[equation omitted — 130 chars of source]

A TCER of \euro100\,t$_\mathrm{CO2eq}^{-1}$, e.g., means that if a load is reduced equally over all time steps, \euro100 is saved for each reduced ton of CEs. On an energy-specific price-emission diagram with flexibility metrics (ref), TCER is the gradient of the line between the origin and the intersection between the TWAP and the TWACEF.

figure[figure omitted — 191 chars of source]

In contrast, the energy-based cost-emission ratio (ECER) of scenario $s$ is the ratio of EWAP$_s$ to EWACEF$_s$:

equation[equation omitted — 136 chars of source]

On an EWAP-EWACEF plot, the ECER$_\mathrm{s}$ is the gradient of the line between the origin and the scenario $s$, see (ref).

Next, we define the ECER for two scenarios, $s$ and $s_b$, where $s_b$ is the baseline scenario without flexibility:

equation[equation omitted — 186 chars of source]

ECER$_{s,s_b}$ can be also interpreted as the ratio of electrical energy cost savings to CE savings of scenario $s$ compared to the baseline scenario $s_b$. E.g., an ECER$_\mathrm{a,b}$ of \euro150\,t$_\mathrm{CO2eq}^{-1}$ means that on average \euro150 is saved for each reduced ton of CEs. On the EWAP-EWACEF plot, ECER$_{s,s_b}$ represents the gradient of the line between $s$ and $s_b$, see (ref). When assessing DR, i.e., the modification of $\bm{P}^\mathrm{EG,buy}_t$, ECER$_{s,s_b}$ can be interpreted as how strongly cost reduction is weighted relative to CE reduction.

Finally, based on the previous metrics, we define the normalized gradients $\omega_s$ and $\omega_{s,s_b}$:

align[align omitted — 208 chars of source]

They have the same advantages over ECER$_s$ then the $\pi$-rate has over EWAP.

The metrics defined in (ref) can be applied to any price and load data set. Also, they can be applied to a subset of data, e.g., months or weekdays. It is worth mentioning that while the EG feed-in also impacts the stability of the EG and the electricity markets, the evaluation of EG feed-in is beyond the scope of this paper.

Evaluation of decarbonization costs

To evaluate the additional cost of achieving net-zero CEs, we calculate the decarbonization costs $C^\mathrm{decarb}_s$:

equation[equation omitted — 78 chars of source]

where the scenarios $s_d$ and $s$ represent the cost optimal MES with and without enforcing net-zero CEs, respectively.

Scenario and context definition

Scenario definition

figure[figure omitted — 1,315 chars of source]

We model seven scenarios: One unoptimized reference scenario ({REF}), three optimized non-decarbonization scenarios ({noFlex}, {someFlex}, {fullFlex}), and three optimized decarbonization scenarios ({noFlex_d}, {someFlex_d}, {\texttt{fullFlex_d}}). The scenario definition is summarized in (ref) and described in the following:

itemize• {REF}: The reference scenario represents the unoptimized status quo, also described in (ref). Electricity demand is covered by the EG, the PV, and the CHP. BEVs are charged unidirectionally with full power until full. Heat demands are met by the CHP and the HOB. The cold demand is served by the cooling machine which was modeled as a HP with 1,147\,kW on the hot side and in a restricted mode so that heat in the condenser is only transferred to the well water. We assume that the cooling machine only exists in the REF scenario and must be replaced in other scenarios, to make the results comparable between them. There are no energy storage systems. Investments are deactivated. • {noFlex}: Investments in the conversion technologies WT, PV, HP, P2H are allowed. According capacities are optimally designed. The smart HP mode selection is deactivated by disallowing heat transfer from cold to heat demand. Fuel switching is deactivated by fixing the CHP operation to the CHP operation in {REF}. Smart/bidirectional BEV charging and investments in storage systems are deactivated. • {someFlex}: Additionally to {noFlex}, some flexibility sour\-ces can be used: BEVs can be charged smartly/\-bidirection\-ally. For each time step heat supply can be chosen to be gas-based (HOB, CHP) and/or electricity-based (HP, P2H), since the restriction to the CHP operation is removed. However, storage investments are still deactivated. • {fullFlex}: Additionally, investments in the following storage technologies are allowed: BES, TES (on all three temperature levels), and H\textsubscript{2}S including Elc and FC with waste heat utilization on the 75/55 temperature level. • {\texttt{noFlex_d}}, {\texttt{someFlex_d}}, {\texttt{fullFlex_d}}: Decarbonization scenarios based on {\texttt{noFlex}}, {\texttt{someFlex}}, and {\texttt{fullFlex}}, respectively. Scope 1 and 2 carbon neutrality is enforced. Natural gas is strictly forbidden to prevent investments in and operation of fossil-based infrastructure. Electricity-based CEs must be removed with the specific carbon removal costs $c^\mathrm{DAC}$.
figure[figure omitted — 454 chars of source]

Context definition

table[table omitted — 523 chars of source]

We model all scenarios for the three contexts defined in (ref). {c_base} is the base context with electricity price data of 2019 and specific carbon removal costs $c^\mathrm{DAC}$ of \euro222\,t\,$_\mathrm{CO2eq}^{-1}$ -- the specific costs of direct air capturing Fasihi2019. In {c_strict}, electricity price data of 2019 is used but $c^\mathrm{DAC}$ is set to \euro10k\,t\,$_\mathrm{CO2eq}^{-1}$. If this high price is paid, the onsite decarbonization is not viable. This context applies when a company does not plan to rely on carbon removal or on the carbon reductions of the electricity grid. In {c_scaled}, $c^\mathrm{DAC}$ is \euro222\,t\,$_\mathrm{CO2eq}^{-1}$ but the electricity prices are scaled to 2021 levels. By picking the year 2019 as base year, the quantified value of flexibility is underestimated due to the relatively low price spreads on the day-ahead market, see (ref), however, energy demands don't feature anomalies from the COVID-19 crisis. Therefore, in {c_scaled}, we scaled the day-ahead market prices of the year 2019 to roughly match the mean, the standard deviation, and the extreme points of the prices of 2021, see (ref). All other time series such as energy demands, vRES profiles, and electricity grid CEFs are kept unchanged. By avoiding the combination of time series from different years, correlations between day-ahead market prices, thermal loads, and renewable energy generation are maintained. Also we do not use the 2022 price distribution since we assume that they are overestimating the potential due to short-term consequences of the Russian invasion of Ukraine.

Results

In this section, the results of the three contexts are described sequentially and discussed at the end. The MILP models were solved to global optimality (MIP gap=0) using Gurobi 9.5.1. The calculation time for one optimization run with seven scenarios was between 10 and 80 minutes depending on the context. The discount rate $r$ was assumed to be 10% for all calculations.

Results of the base context {c_base}

(ref) show the results of the base context {c_base}.

The Sankey plots in (ref) provide an overview of the resulting annual energy sums of the MES for each scenario. It can be seen that the heat demands were partly electrified in the non-decarbonization scenarios and fully electrified in the decarbonization scenarios.

table[table omitted — 760 chars of source]

(ref) shows the resulting new capacities. Additional PV capacity was installed in all non-REF scenarios. In contrast to the decarbonization scenarios, in the non-decarbonization scenarios the upper limit of 3,077\,kW$_\mathrm{p}$ was not chosen. WTs were only selected in the decarbonization scenarios ranging from 2,140\,kW$_\mathrm{p}$ to 2,344\,kW$_\mathrm{p}$. HPs were built in all non-REF scenarios ranging from 760\,kW\textsubscript{th} in {fullFlex} to 1,723\,kW\textsubscript{th} in {noFlex_d}. P2Hs were built in all non-REF scenarios increasing from 105\,kW\textsubscript{th} in {noFlex} to 1,082\,kW\textsubscript{th} in {fullFlex_d}. TESs were optimal in {fullFlex} (3,216\,kWh\textsubscript{th}) and {fullFlex_d} (14,675\,kWh$_\mathrm{th}$). Whereas in {\texttt{full\allowbreak Flex}}, the largest TES was built on the cooling temperature level, in {\texttt{fullFlex_d}} the largest was built on the process heat temperature level. No BES or H\textsubscript{2}S was selected.

figure[figure omitted — 369 chars of source]
figure[figure omitted — 394 chars of source]
figure[figure omitted — 1,053 chars of source]
figure[figure omitted — 423 chars of source]
figure[figure omitted — 1,457 chars of source]

(ref) displays the annual balances for costs, CEs, peak power, and energy streams and of all scenarios and its deviations compared to {noFlex} and {noFlex_d}, respectively. It can be seen in a) and b) that adding flexibility reduces TACs and CEs. {someFlex} has 10.4% less TACs and 17.1% less CEs than {noFlex}. {fullFlex} has 11.7% less TACs and 20.1% less CEs than {noFlex}. In the decarbonization case ({\texttt{\dots_d}}), the TAC reductions were even more pronounced. {\texttt{someFlex_d}} has 6.5% and {\texttt{fullFlex_d}} 15.0% less TACs than {\texttt{noFlex_d}}. c) and d) show that {\texttt{someFlex}} has 67,4% higher CapEx but 19% lower OpEx than {\texttt{noFlex}}. Similarly, {\texttt{someFlex_d}} has 78% higher CapEx but 21.8% lower OpEx than {\texttt{noFlex}}. Interestingly, {\texttt{someFlex_d}} has both lower CapEx and OpEx while {\texttt{fullFlex_d}} has 6.5% higher CapEx and 26.7% lower OpEx than {\texttt{noFlex_d}}. From e) and f), we can see that while the purchased electricity $W^\mathrm{EG,buy}$ were comparable for all scenarios, the electricity purchase peak $\hat{P}^\mathrm{EG,buy}$ in {\texttt{someFlex}} and {\texttt{fullFlex}} were reduced by over 50% compared to {\texttt{noFlex}} and in {\texttt{some\allowbreak Flex_d}} and {\texttt{fullFlex_d}} by 24.2% and 54.9% reduced compared to {\texttt{noFlex_d}}, respectively. From g) we see that while in {\texttt{REF}}, as expected, the HP was only used in cooling mode, in the {\texttt{noFlex}} scenarios, the HP was also used for heating. In {\texttt{someFlex}} and {\texttt{someFlex_d}} already most of the cooling energy being used for heating and going to the {\texttt{fullFlex}} scenarios, this share was increased, so only a small fraction of the cooling energy is lost to well water.

(ref) indicates the electricity balance of one week in May for all scenarios of {c_base} and the day-ahead electricity price $c^\mathrm{elec}_t$. In {someFlex} and {fullFlex}, fuel switches from natural gas (CHP) to electricity (P2H) are observable during times of high PV supply. In all scenarios with flexibility, V2X activity can be seen in times of low PV and WT energy supply and/or high electricity prices. High activities of flexible loads (HP, P2H, BEV) can be seen in times of high PV and WT energy supply and/or low electricity prices. In {fullFlex_d}, own renewable energy is almost entirely used and not fed-in. By comparing {fullFlex} with {noFlex}, it can be seen how the EG purchase profile is shaved.

(ref) presents the number of full V2X discharges per year. Interestingly, the {fullFlex} scenarios feature less discharges than the {someFlex} scenarios.

(ref) a) depicts the pareto plot and the decarbonization costs $C^\mathrm{decarb}_s$ for the {c_base} context. It can be seen that $C^\mathrm{decarb}_{\texttt{someFlex}}$ were 2% and $C^\mathrm{decarb}_{\texttt{fullFlex}}$ 19% lower than $C^\mathrm{decarb}_{\texttt{noFlex}}$.

The added flexibility is also used for price-based and CEF-based DR, i.e., to optimize the electricity purchase against electricity prices and CEFs, respectively. The EWAP and EWACEF are good indicators for this. They are shown in (ref) a) for all scenarios together with the annual sum and the peak of the electricity purchase. It can be seen that with increasing flexibility, electricity purchase decreases in volume ($W^\mathrm{EG,buy}$), peak ($\hat{P}^\mathrm{EG,buy}$), carbon intensity (EWACEF), and price (EWAP). In other words, the flexibility allows for greener and cheaper purchases of less electricity. It can also be seen that the dark blue arrow (indicating non-decarbonization scenarios) crosses the TWAP line since in {someFlex} and {fullFlex}, the EWAP is lower than the TWAP while in {noFlex}, the EWAP is higher than the TWAP. This shows that flexibility reduced the average paid price (EWAP) to below the average price (TWAP).

(ref) shows the gradients of line\textsubscript{TCER} and line\textsubscript{ECER} in (ref). As expected, the gradient in the decarbonization case is lower than in the non-decarbonization case.

figure[figure omitted — 534 chars of source]
figure[figure omitted — 1,474 chars of source]

Results of the strict decarbonization context {c_strict}

The results of the {c_strict} context are shown in (ref). In {c_strict}, $C^\mathrm{decarb}_{\texttt{someFlex}}$ were 12% and $C^\mathrm{decarb}_{\texttt{fullFlex}}$ 80% lower than $C^\mathrm{decarb}_{\texttt{noFlex}}$, see (ref) b). Even with a carbon removal price of \euro10k\,t\,$_\mathrm{CO2eq}^{-1}$ in {noFlex_d} and {someFlex_d} significant amounts of electricity-based CEs were removed to reach carbon neutrality, while in {full\allowbreak Flex_d} carbon removal was not necessary, see (ref) b). This demonstrates that strict decarbonization without energy flexibility is infeasible, at least when the 2019 power plant mix is assumed. In {fullFlex_d}, strict decarbonization was possible without carbon removal by investing in BES, TES, and H\textsubscript{2}S technologies, see (ref), (ref) b), and (ref). While the BES stored (mainly solar) energy for a few hours, the TES stored energy for a few days, and the H\textsubscript{2}S stored energy for multiple days or weeks, see (ref). The reason for this is that H\textsubscript{2} storage chains (Elc, H\textsubscript{2}S, FC) feature higher kW-costs and lower kWh-costs than BESs. By comparing (ref) bottom and (ref), it can be seen that the H\textsubscript{2}S is completely discharged to cover several days of low solar and wind generation in the mid of July. Through storage technologies (BES, TES, H\textsubscript{2}S) the WT capacity of {\texttt{noFlex_d}} and {\texttt{someFlex_d}} can be reduced from over 19\,MW$_\mathrm{p}$ to 5.3\,MW$_\mathrm{p}$, see (ref).

The long blue arrow in (ref) b) indicates a wide range of EWAP and EWACEF for the decarbonization scenarios. Whereas in {noFlex_d} and {someFlex_d}, the metrics (EWAP, EWACEF, $\hat{P}^\mathrm{EG,buy}$, and W$^\mathrm{EG,buy}$) differed only slightly compared to {c_base}, in {fullFlex_d}, they were very low compared to the other scenarios. This reveals that in {fullFlex_d}, the flexibility was not only used to optimize self-consumption and buy less electricity but also to buy in hours of lower prices and CEFs.

The {fullFlex_d} scenario features 71.9% less TACs than {noFlex_d}. What is striking is that through the flexibility, the CapEx could be lowered by 54.6% mainly due to less WT capacity and the OpEx could be lowered by 86.5% mainly due to avoiding carbon removal costs.

Results of the scaled electricity price context {c_scaled}

The results of the {c_scaled} context are shown in (ref). In {c_scaled}, $C^\mathrm{decarb}_{\texttt{someFlex}}$ were 2% and $C^\mathrm{decarb}_{\texttt{fullFlex}}$ 37% lower than $C^\mathrm{decarb}_{\texttt{noFlex}}$, see (ref) c). In contrast to {c_base}, in {c_scaled} a (small) BES was selected in {fullFlex} and the maximum possible PV capacity of 3.077\,MW$_\mathrm{p}$ was chosen in the non-decarbonization scenarios ({noFlex}, {\texttt{someFlex}}, and {\texttt{fullFlex}}), see (ref). TACs of the non-decarbonization scenarios were significantly reduced compared to the other contexts, showing even negative TAC values for {\texttt{someFlex}} and {\texttt{fullFlex}}, see (ref) c). I.e., assuming the level and fluctuation of the electricity prices of the year 2021, the company's MES (together with offshore WTs) can be seen as a business model with an above 10% internal return rate, provided that the WT installation is feasible. However, WT capacity is limited by the maximum feed-in of 20\,MWh/h, which can be seen in (ref). As a result, WT capacities of 19--22\,MW$_\mathrm{p}$ were selected (see (ref)) even though most of it was sold on the day-ahead market. (ref) c) shows that adding flexibility reduced EWAP, EWACEF, $\hat{P}^\mathrm{EG,buy}$, and W$^\mathrm{EG,buy}$. Due to the high WT capacities, the level of W$^\mathrm{EG,buy}$ for all optimized scenarios was low compared to {\texttt{REF}}. From (ref) we can see that, for {\texttt{c_scaled}}, both $\omega$ values are over 300%, i.e, in the decarbonization and non-decarbonization case, ECER were more than three times the TCER, or in other words, the modification of $\bm{P}^\mathrm{EG,buy}_t$ in {\texttt{c_scaled}} proportionately reduced significantly more costs than CEs.

figure[figure omitted — 1,474 chars of source]

Discussion of the results

When comparing all scenarios and contexts, the following results are striking:

enumerate• In all analyzed contexts, adding flexibility significantly reduced TACs and CEs. TAC reductions were between 10.4 and 189.6%. However, the high reduction of 189.6% was based on the already very low TAC of \euro0.10M/yr in the {c_scaled} {noFlex} scenario. The second-highest relative TAC decrease appeared in the decarbonization case of {c_strict} with 71.9%. This was because {c_strict} {fullFlex_d} was the only scenario reaching carbon neutrality without carbon removal since flexibility increased the self-consumption which eliminated the need for expensive carbon removal. While the {someFlex} scenarios showed 7.9--17.1% CE reductions compared to {\texttt{noFlex}}, the {\texttt{fullFlex}} scenarios showed 17.1--20.1%. • Through storage investments and the smart/bidirectional charging of existing powered industrial trucks ({\texttt{fullFlex}}), decarbonization costs decreased by 19% in {\texttt{c_base}} (assuming $c^\mathrm{DAC}$=\allowbreak\euro222\,t\,$_\mathrm{CO2eq}^{-1}$ and 2019 electricity prices). This number increased to 37% in {\texttt{c_scaled}} (assuming $c^\mathrm{DAC}$=\allowbreak\euro222\,t\,$_\mathrm{CO2eq}^{-1}$ and 2019 electricity prices scaled to 2021 levels), and further increased to 80% in {\texttt{c_\allowbreak strict}} (assuming $c^\mathrm{DAC}$=\allowbreak\euro10k\,t\,$_\mathrm{CO2eq}^{-1}$ and 2019 electricity prices). • With current CEFs, the MES could technically only achieve strict Scope \MakeUppercase{\romannumeral 1} and \MakeUppercase{\romannumeral 2} net-zero CEs ({\texttt{c_strict}}) when using the full flexibility potential ({\texttt{full\allowbreak Flex_d}}) of different mutually complementary energy storage technologies, one of them being H$_2$S which aligns with the results of Petkov and Gabrielli Petkov2020. However, due to the high CapEx, it seems rather unrealistic, even if the full flexibility potential is considered. In contrast, if assuming electricity grid decarbonization, which we indirectly did in {\texttt{c_base}} and {\texttt{c_scaled}} with a considerable price of \euro222\,t$^{-1}_\mathrm{CO2eq}$ on electricity-based CEs, full decarbonization is realistic, especially when considering the full flexibility potential. When comparing {\texttt{fullFlex_d}} to {\texttt{REF}}, TACs increased by 55% in {\texttt{c_base}} and decreased by 65% in {\texttt{c_scaled}}. However, the economic benefits of {\texttt{c_scaled}} mainly stem from wind power feed-in, see (ref). In any circumstance, the results showed that both the existing and the added flexibility through storage and sector coupling is highly valuable especially for the decarbonization and can be used for multiple purposes including price and CEF-based DR, peak shaving, and self-consumption optimization. • In all cases, $\hat{P}^\mathrm{EG,buy}$, W$^\mathrm{EG,buy}$, $\pi$-rate, and $\varepsilon$-rate reduced with increasing flexibility (see (ref)), i.e, price and CEF-based DR is used together with peak shaving and self-consumption optimization. All scenarios except the {\texttt{c_strict}} {\texttt{fullFlex_d}} feature an $\varepsilon$-rate above 100%, i.e., the average accounted CEF (i.e., EWACEF) was above the average CEF (i.e., TWACEF). In the case of {\texttt{REF}}, the reason for this was the high electrical and thermal energy demand at business hours, where CEFs tend to be above average. {\texttt{REF}} and {\texttt{noFlex(_d)}} of all contexts featured $\pi$ and $\varepsilon$-rates of above 100%, i.e., without flexibility use, their electricity purchase profiles are less market-serving than a flat load profile. All dark blue arrows in (ref) crossed the TWAP line from above, i.e., by using flexibility in the non-decarbonization case, the $\pi$-rate declined from above 100% to below 100%, or, put differently, the average paid price (i.e., EWAP) fell below the average price (i.e., TWAP). • The results in (ref) show that the DR evaluation metrics proposed in (ref) are simple, tangible and useful to compare and visualize the intensity of price and CEF-based DR in a meaningful way. The metrics EWAP and EWACEF are especially tangible since they have the same unit as the prices and CEFs, and can be compared to the TWAP and TWACEF, respectively. The metrics $\pi$-rate and $\varepsilon$-rate stand out when comparing scenarios under different contexts. Due to the normalization with TWAP and TWACEF, they are independent from the level of prices and CEFs, respectively. However, when evaluating price-based and CEF-based DR, $\hat{P}^\mathrm{EG,buy}$ and W$^\mathrm{EG,buy}$ should also be considered to account for interactions with peak shaving and self-consumption optimization. The metrics TCER and ECER measure the dominance of prices versus CEFs as signal for DR and can be interpreted as gradients in a price-CEF diagram. • As expected, the results of {\texttt{c_scaled}} demonstrate that high and highly fluctuating electricity prices incentivize the activation of existing flexibility as well as investments in vRES and energy storage systems. E.g., while the V2X activity was similar in {\texttt{c_base}} and {\texttt{c_\allowbreak strict}}, it was up to 2.7x higher in {\texttt{c_scaled}} with 498 full V2X discharges per year (=1.36 per day) in {\texttt{some\allowbreak Flex_d}}, see (ref). Since energy shock scenarios, like in the year 2022, might not be a once-in-a-century event in a time of political instability, it might be interesting to quantify the value of being a flexumer in such a price shock scenario.

Conclusions

This study quantified the value of flexibility for decarbonizing a production company's MES within a detailed optimal design and operation case study considering and evaluating price-based and CEF-based DR. Based on the case study results discussed in (ref), the following conclusions can be drawn:

itemize• Production companies can significantly reduce TACs, CEs, and decarbonization costs by using the energy flexibility of their MES ((ref)). • A strict net-zero CE MES is only achieved using energy flexibility. To achieve net-zero CEs in a cost-effective manner, comparative advantages of energy storage systems are used ((ref)). • Independently from electricity prices and decarbonization ambitions, less, greener, and cheaper electricity is purchased when using energy flexibility ((ref)). • The flexibility metrics defined in (ref) are simple, tangible, and effective to evaluate the intensity of DR based on prices and CEFs ((ref)). • High electricity prices encourage vRES investments and are, due to market mechanisms, typically accompanied by increased price volatility which incentivizes operational flexibility through energy storage investments and price-based DR ((ref)).

The findings of this study underline the significant potential of energy flexibility to reduce costs, CEs, and fossil fuel dependency for manufacturing companies. They illustrate the importance of considering future electricity price fluctuations, decarbonization goals, and the company's assessment of future carbon removal within the planning of sustainable MESs. Also, they demonstrate the multifaceted techno-economic interactions of modern sustainable MESs and, therefore, highlight the importance of integrated models for planning and flexibility potential evaluation.

Acknowledgments

This research was performed as part of the MeSSO Research Group at the Munster Technological University (MTU) and in relation to the project WIN4climate as part of the National Climate Initiative financed by the Federal Ministry for Economic Affairs and Climate Action (BMWK) on the basis of a decision by the German Bundestag (No. 03KF0094A). It was additionally funded by the MTU Risam scholarship scheme.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

CRediT authorship contribution statement

Markus Fleschutz: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Data Curation, Writing - original draft, Writing - review & editing, Visualization. Markus Bohlayer: Methodology, Writing - review & editing. Marco Braun: Supervision, Project administration, Funding acquisition. \textbf{Michael D. Murphy:} Supervision, Conceptualization, Writing - review & editing, Funding acquisition.