A Novel Method for Analyzing Highly Renewable and Sector- coupled Sub-national Energy Systems–Case Study of Schleswig- Holstein

The energy transition requires an integration of different energy carriers, including electricity, heat, and transport sectors. Energy modeling methods and tools are essential to provide a clear insight into the energy transition. However, the methodologies often overlook the details of small-scale energy systems. The study states an innovative approach to facilitate sub-national energy systems with 100% renewable penetration and sectoral integration. An optimization model, OSeEM-SN, is developed under the Oemof framework. The model is validated using the case study of Schleswig-Holstein. The study assumes three scenarios representing 25%, 50%, and 100% of the total available biomass potentials. OSeEM-SN reaches feasible solutions without additional offshore wind investment, indicating that they can be reserved for supplying other states’ energy demand. The annual investment cost varies between 1.02 bn – 1.44 bn €/yr for the three scenarios. The electricity generation decreases by 17%, indicating that with high biomass-based combined heat and power plants, the curtailment from other renewable plants can be decreased. Ground source heat pumps dominate the heat mix; however, their installation decreases by 28% as the biomass penetrates fully into the energy mix. The validation confirms OSeEM-SN as a beneficial tool to examine different scenarios for sub-national energy systems.


Introduction
To help achieve the 1.5° C targets of the Paris Agreement [1], the European Union (EU) needs a transformation of energy systems based on the smart integration of renewable energy across different sectors.In the European Green Deal, the European Commission stated plans to integrate renewables, energy efficiency, and other sustainable solutions across sectors to achieve decarbonization at minimum cost [2].The integration of energy systems is often referred to as 'sector coupling' [3].It indicates the combination of multiple energy sectors, such as electricity, heat, and transport, so that the integrated energy system can achieve the target of overall climate-neutrality [4].
Decarbonization of heat and transport sectors depends on state-of-the-art techniques such as power-to-heat and power-to-gas.These techniques, used in a sector-coupled network, are expected to increase the energy storage capacity and provide additional flexibility to the energy system [5].The modeling of multiple energy sectors, especially power, heat, and transport, is becoming popular in the newer energy models [6].In the past decade, many researchers analyzed the feasibility of integrating other sectors, especially the heat sector, in 100% renewable energy models.These analyses often show that sector coupling decreases the overall system cost; however, the benefits should be further investigated before cross-border transmission in a sector-coupled EU network is implemented [3][4][5][6].
The North Sea (NS) region can become a pioneer in achieving the European energy transition [7].The area has enormous offshore wind potential and other renewable sources such as wave energy, ocean thermal energy conversion, carbon capture and storage, etc. [7,8].It is also possible to strategically transform the region's existing grids and networks to accommodate future sustainable solutions [9].Altogether, the NS region is in a frontrunner position in the European energy transition [10].The area can accordingly be seen as a representative region covering the critical challenges for change to a sustainable energy system and the consequences for the incumbent system.Data, models, tools, and possible solutions from the NS region will therefore constitute essential knowledge and methodologies that can be transferred to other areas in transition [11].The combined use of different modeling tools and concepts to understand and describe different actors' behavior is essential to provide a coherent picture of the necessary transition process of the energy systems over time and for different spatial levels [10,11].
Modeling methods and tools play a crucial role in providing insights into the energy transition [12].However, the modeling methodologies often ignore the details of small energy systems.More aggregated models provide more holistic pictures but cannot absorb the regional specifics and often fail to deliver meaningful results at lower spatial scales, including demand behavior.In general, models need not be necessarily larger and more complex; instead, using model collaboration, different approaches and tools are used in conjunction.Aggregated modeling should have proper parameterization and level of detail to capture the main system aspects and interactions.Similarly, disaggregated models should have proper interlinkages with potential developments and system changes across scales [13,14].The linkages between small and large-scale energy systems need to be addressed better [15].Developing a methodology for building models with provisions to represent small-scale and disaggregated energy systems will enable users to select the details based on the analysis's objective.The study develops a novel method to facilitate disaggregated sub-national energy systems with 100% renewable penetration and sectoral integration.Therefore, the following research question is formulated-How to develop methodologies for building sub-national models of highly renewable-based energy systems within the sector-coupled networks?
The Open Energy Modelling Framework (Oemof) is a useful tool for its characteristics such as flexibility, access to collaborative and interdisciplinary modeling, transparency, reliability, open-source, open data approach to enhance understanding of energy systems and accelerate the energy transition [16][17][18][19].Based on the findings of [20], this study selects Oemof for developing a novel method to answer the research question.The article describes how an hourly optimization model using the framework Oemof is developed and how to use the model to analyze a sub-national energy system.The model is validated using the case study of Schleswig-Holstein (SH) in Germany.Schleswig-Holstein, the northern-most federal state of Germany, is increasingly becoming an energy hub between Germany and the Scandinavian countries due to its geographic location and the ongoing expansion of onshore wind energy [21,22].
Section 2 briefly compares 16 open model tools, discusses Oemof's usability for developing energy models, and presents Germany's Schleswig-Holstein as a potential region to validate the sub-national energy model.Section 3 describes the architecture of the developed model using Oemof.Section 4 describes the application of the model for the case of SH.The input data and the scenarios are presented.Section 5 compares the scenarios and analyzes the results from the SH case study.Section 6 discusses the developed model's usability for a broader context and compares the tool with other Oemof-based applications.Section 7 presents the current limitations of the model, future development plans and summarizes the study.

Background
Modeling methods and tools play a crucial role in providing the insights mentioned above.A broad range of available state-of-the-art energy models portrays a comprehensible picture of the energy transition over different temporal and spatial levels.However, most of these tools are not 'open' or 'free for educational use,' limiting the models' quality, transparency, and credibility.In [20], the author identified 16 'open' tools based on the literature of [23,24], which can be used to model 100%-renewable and sector-coupled energy systems in Europe.The proposed list of tools is presented in  The background paper by Hilpert et al. [16] describes how Oemof can facilitate open science in energy system modeling.The article discussed the scientific contribution, concept, architecture, implementation, and usage of Oemof. Figure 1 presents a graphical representation of how to describe an arbitrary energy system using Oemof [16].There are two types of nodes in Oemof-components, and buses.Every component has to be connected with one or more buses.The connection between a component and a bus is the flow.The main components of Oemof are Sources, Sinks, and Transformers.The Sources have only outflows.For example, solar photovoltaics (PV), wind turbines, and biomass commodities are modeled as Sources.The Sinks only have inflows.Consumer demands such as electricity or heat loads are modeled as Sinks.Transformers have both inflows and outflows.For example, heat pumps can be modeled as Transformers, which receive electricity inflow and convert it to heat outflow.There are also other components, such as Ex-tractionTurbineCHP, GenericCHP, Link, GenericStorage, ElectricalLine, GenericCAES, SinkDSM, etc., which are designed in the Oemof Solph package [41].
There are three ways to create an optimization problem based on Oemof-1.The energy system describes a graph with flows on its edges by combining necessary components and buses; 2. The basic energy system is adapted by defining additional constraints on top of the aforementioned graph logic; and 3. Custom components are added to a model by subclassing from the core or creating from scratch.
The use cases can be separately or combinedly used in an energy model allowing maximum flexibility.Oemof provides existing functionalities to build energy models for varying scales.Besides, it enables the combination and adaptation of different energy models to create tools with specific research objectives.The readers are suggested to go through [16] for further details on the usefulness, usability, and applications of Oemof.

Schleswig-Holstein as a Prospective Sub-national Region
For activities and successes in expanding renewable energies, the Schleswig-Holstein achieved first place in the federal state comparison 2019-2020 by the Agentur für Erneuerbare Energien (AEE) [21].In 2018, electricity generation from renewable energies in SH reached around 150%, which is almost four times Germany's national average of 38%.SH takes a leading position in the expansion of electricity generation from renewable energies.The share of renewable energies in SH was almost 15.8% in the heating sector, slightly above the Germany-wide share of 14.4%.When it comes to the percentage of renewable energies in gross final energy consumption, SH's 36.6% is well above the national average of 16.5%.SH aims to generate at least 37 terawatt-hours of electricity from renewable energies by the year 2025.Figure 2 shows the individual energy sources' shares in the total final energy supply contribution of renewable energies 2018 [22].Due to its geographical conditions, SH is predestined for the use of wind energy.In SH, wind turbines with a nominal output of around 8.2 GW were installed by the end of 2018, which means that electricity from wind energy makes up the largest proportion of SH's electricity supply from renewable energies.SH considers the expansion of wind energy to increase to at least 25 GW by 2030.Biomass represents one of the largest shares (32.5%) of renewable energies in SH's supply contribution.Wood, energy crops, straw, and biogas can sustainably generate a significant proportion of the energy requirement.SH is well suited for solar systems, as the increased amount of wind between the seas provides natural cooling.The potential of geothermal energy in SH is particularly suitable for space heating and electricity production.Due to the lack of landscape conditions, water traditionally plays a subordinate role as an energy source in Schleswig-Holstein.Since geothermal energy does not depend on the weather or the course of the day, it is ideal for covering the base and medium loads in the heating and electricity markets [21,22].
The geological subsurface is suitable for storing considerable amounts of energy carriers (e.g., hydrogen, synthetic methane), potential energy, or thermal energy.In theory, porous geological layers and cavities in the subsurface can be used for storage.The latest energy models to analyze the SH energy system should consider the compressed air energy storage capacities in geological formations.Due to the problem-free storage and the diverse and flexible application possibilities, hydrogen is a perfect link in the sector coupling.Hydrogen can make a significant contribution to the decarbonization of these areas of application and comply with the climate policy CO2 reduction targets by 2050 [22].
Two points are clear from the literature review.First, Oemof can be used to develop methodologies for building energy models ranging for varying geographical and temporal scopes for highly renewable energy integrated energy systems with interlinked sectors.Second, Schleswig-Holstein is an ideal sub-national region to validate the developed energy model for its prospects in expanding renewable energies across all sectors.Therefore, the study uses Oemof to build an open sector-coupled sub-national energy model and validates it for SH's case.

Elements and Objective Function
The study develops a unique hourly optimization tool using a hybrid approach.The technological capacities are exogenously set, and the investment capacities are endogenously resolved.Technical limits set the boundary of the system so that the solutions are realistic.The sub-national model, 'Open Sector-coupled Energy Model for Sub-national Energy Systems (OSeEM-SN)', is created using Oemof Tabular [42]. Figure 3 illustrates the OSeEM-SN energy model.The model presents SH as a self-sufficient energy system, where the demands are met using its renewable resources.In the real case, other energy systems are connected with the SH system; for example, the neighboring region's electricity bus will be connected with SH's electricity bus using a transmission line (transshipment approach), which uses the Oemof class Link.For visualizing such energy systems, the readers are suggested to look into [43] where the author connected two energy systems using Link.The model also does not consider industrial process heating because of limited data availability and model complexity of high-temperature technologies.The nodes (i.e., components and buses) of the OSeEM-SN model according to the Oemof Classes are presented in Table 2.The OSeEM-SN model follows the formulation described by Hilpert [44].The model limits the volatile generators, biomass commodities, and storage capacities by putting maximum limits.However, the limit for using heat pumps depends on the electricity availability.OSeEM-SN uses a perfect foresight approach, indicating the weather and renewable data are provided in advance.Detailed mathematical formulations for the OSeEM-SN model follow the modeling equations presented by Maruf [43].The model optimizes the operating and investment costs of all the volatile generators, CHP, heat pumps, and storages.The endogenous variables are presented using  and the exogenous parameters are presented using  as listed in Table 3. Storage capacity cost (energy) of storage unit  1 The marginal costs are calculated based on variable operation and maintenance costs, carrier costs, and the efficiency. 2 The capacity costs are calculated based on fixed operation and maintenance costs, and the annuity.
The objective function of OSeEM-SN is created from all instantiated objects which use all operating costs and investment costs arguments:

Development Methodology
OSeEM-SN considers the existing capacities of the volatile generators and PHS.The model also assumes that the current biomass and biogas capacities are converted to CHPs.The maximum potentials of the resources limit the investment capacities of additional volatile generators and CHPs.The storage capacities are expandable to their utmost limits, except PHS, where no further capacity expansion is possible.Heat pump expansion depends upon the availability of power from renewable electricity resources.The model also uses cost and demand data as inputs of the model.After investment and dispatch optimization, the model outputs such as investment capacities can be obtained.Details of the model input and output are presented in Figure 4.The OSeEM-SN model is validated using historical data for a full year.According to [45], data from 2011 are used for analyzing 2050 scenarios, except for hydro data which uses 2016 data.Table 4 shows the hourly input data sources used for validating the OSeEM-SN model.

Data Source Remarks
Wind profiles Renewables Ninja project [46] Based on the MERRA-2 dataset.
Space heat demand OPSD project [48] Based on the When2Heat dataset [50] The onshore wind profile is obtained from the MERRA-2, current fleet dataset for the NUTS-2 region (SH: DEF0).The offshore wind profile represents the offshore profile of Germany based on the MERRA-2 database.The solar PV profile is also obtained for SH (NUTS2, DEF0).The hydro ROR and PHS scaled inflows are obtained from Dispa-SET's 2016 data.The Inflows are defined as the contribution of exogenous sources to the level (or state of charge) or the reservoir.Scaled inflows are normalized values of the inflow concerning the nominal power of the storage unit.The PHS inflows are scaled down to match SH's inflow profile (in MWh).Germany's demand data (electricity, space heat, DHW) are downscaled based on population to represent SH's hourly demand profiles.The wind, solar, and hydro normalized profiles do not change in the scenarios and can be visualized as shown in Figure 5. Figure 6 shows the normalized demand profiles of SH in 2050.The total electricity demand for SH in 2050, based on the representative year, is 18.6 TWhel.Total space heat demand is 18.6 TWhth, and the DHW demand is 4 TWhth.The amount of available biomass is calculated from the Hotmaps project [51].The study assumes that the existing biomass and biogas power plants are converted to CHP plants by 2050.CHP's electrical and thermal efficiencies are assumed 45%, and the condensing efficiency is assumed 50%.The COP of ASHP and GSHP are assumed 2.3 and 3.9 [52].

Capacity and Available Potential
The existing capacities and available potentials for the volatile generators and the storage investments are taken from different sources, namely Hotmaps project [51], AN-GUS II project [52], Deutsche WindGuard [53], AEE [54], LIMES-EU project [55], as listed in Table 5.The available potentials are calculated from the maximum potentials and the existing capacities.The Li-ion, Redox, and H2 potentials are assumed to be 5% of Germany's available potentials, as stated in the project databases.The ACAES potential is assumed to be 50% of Germany's total potential because of its availability in only Northern Germany. 1 The maximum offshore wind potential according to the LIMES-EU project is 83.6 GWel.The available potential of SH assumes the equal distribution of remaining capacities in the three Northern states of Germany.
2 Own assumption

Cost Data
Table 6 presents the cost data taken from various resources as described in [43].

Scenarios
The study assumes three scenarios for validating the OSeEM-SN model for Schleswig-Holstein-BM-25, BM-50, and BM-100.The scenarios represent 25%, 50%, and 100% of the total available biomass potentials, respectively.The study aims to investigate how the results change upon varying one parameter of the model.However, the model does not account for all the parametric variations for the input data; rather, it focuses on the model's usability to create different scenarios and examine different possible pathways.

Supply-Demand Matching
The OSeEM-SN model reached feasible solutions for all three scenario assumptions.Figure 7 shows the supply-demand matching of electricity and heat demands for the three different scenarios over the year 2050.The energy generation from onshore wind in BM-25 is 26.6 TWhel, which drops to 20.9 TWhel in BM-50 and BM-100 scenarios.Similarly, solar PV generation drops from 8.7 TWhel in the BM-25 scenario to 6.8 TWhel in the BM-50 scenario and 4.6 TWhel in the BM-100 scenario.Offshore wind generation remains the same, 5.5 TWhel, in all three scenarios.The CHP generation for electricity and heat increases with increasing biomass availability in the scenarios, from 1.5 TWh in the BM-25 to 3 TWh in the BM-50 scenario and 3.8 TWh in the BM-100 scenario.In contrast, heat pump (GSHP and ASHP) generation reduce from 21.5 TWhth in BM-25 to 18.9 TWhth in the BM-100 scenario.Therefore, it is obvious from the scenarios that-with increasing biomass penetration in the energy mix, the CHP plant capacities are expanded, increasing electricity and heat generation.This, in turn, reduces the expansion of other power plants and heat pumps to meet the demands.

Capacity Expansion
According to the optimization from OSeEM-SN, the required investment of different technologies can be obtained.Table 7 compares the required investments on top of the existing capacities of Table 5 for the three scenarios.The results show no need for additional investment in offshore wind plants to meet SH's energy demand.As a result, the offshore capacities can be reserved for supplying other states' energy demand, especially those in Southern Germany.CHP investment rises because of the higher availability of biomass over the three scenarios and the high overall efficiency due to the combined production of electricity and heat.This impacts the investment in onshore wind and solar PV capacities and reduces investments in volatile generators.GSHP investment also decreases with increasing CHPs; however, ASHP investment increases to complement the heating demand.For storage, Li-ion, Redox, and ACAES are used to their maximum investment capacities for all three scenarios.Hydrogen storage is used only in the BM-25 scenario, indicating its use only in low biomass availability cases.The need for TES storage decreases over the scenarios with more biomass availability.Therefore, with limited biomass, it is possible to meet the heat demand with a heat storage option.

Investment Cost
The study calculates the annual investment cost (AIV) by multiplying the Annuity with the model's optimized capacity, as shown by (2).The Annuity calculation is shown in (3) which considers the capital expenditure (Capex), weighted average cost of capital (WACC), and the lifetime ().The total investment cost (TIV) is obtained by multiplying the Capex and the model's optimized capacity, as shown by (4).In the case of storage, the investment cost considers both power and energy costs.
Figure 8 compares the volatile generators' investment cost, i.e., wind, solar PV, and hydro ROR plants.We see that the total investment cost for the volatile generators in SH decreases by 76% (4.9 bn € vs. 1.1 bn €) over the scenarios.The annual investment cost decreases from 262.7 mn €/yr to 61.5 mn €/yr with the increasing biomass availability.The total investment in volatile generators, CHPs, and storages is 20.1 bn € in the BM-25 scenario.The investment decreases by 22% in the BM-50 scenario (15.6 bn €) and 30% in the BM-100 scenario (13.9 bn €).The annual investment cost decreases accordingly, from 1.44 bn €/yr in the BM-25 scenario to 1.02 bn €/yr in the BM-100 scenario.Figure 11 illustrates the total investments for different scenarios from OSeEM-SN optimization results.The onshore wind generation dominates the energy mix because of high wind availability in SH.The onshore wind electricity generation varies between 20.9 TWhel and 26.6 TWhel for the three scenarios.The model does not suggest installing new offshore capacities because of two reasons-(i) the cost of offshore is higher, and (ii) the demand is already met using other resources.However, this is only valid for SH's sub-national case, where plenty of renewable resources are available.The scenario will be different for a larger case with a lack of adequate renewable resources.The offshore electricity generation from the existing capacities is the same for the three scenarios, 5.5 TWhel.The hydro ROR electricity generation also remains the same, 0.016 TWhel for all three scenarios.Solar PV-based electricity varies from 8.7 TWhel in the BM-25 scenario to 4.6 TWhel in the BM-100 scenario.Overall, the electricity generation decreases by 17% (42.4 TWhel vs. 34.9TWhel) from the BM-25 scenario to the BM-100 scenario.Therefore, with high biomass-based CHPs in the energy mix, the curtailment from other variable renewable energy plants can be decreased.Figure 12 (b) compares the heat generation from the combined CHP capacities and new heat pump capacities.GSHPs dominate the heat mix; however, the installation of GSHP decreases as the biomass penetrates more into the energy mix.The analysis based on OSeEM-SN model results is summarized below-1.
SH has adequate renewable resources to meet its electricity and building heat demands.

2.
The onshore wind dominates electricity generation.
The batteries offer short-term storage solutions for electricity storage. 5.
ACAES, H2, and TES are promising storage solutions, especially when renewable energy availability is limited.6.
Power-to-heat devices, such as GSHP and ASHP, stand out as prominent heating options besides traditional CHPs.7.
TES plays an important role in integrating the power and heat sectors.8.
Increasing biomass in the system impacts other technologies' investment costs and can reduce the overall system cost.9.
The optimization reached feasible solutions without utilizing the full potential of many resources.Therefore, the high amount of available potential, especially offshore wind resources, emerges as a promising alternative for powering up other parts of the country, especially Germany's high energy-consuming industrial southern states.

Discussion
The increasing penetration of the energy system with predominantly volatile generation units leads to a far-reaching techno-economic and social transformation process.The advancement of the energy transition leads to the fact that power generation plants, instead of being located in the consumer centers' immediate vicinity, are increasingly located in places with the best site conditions for the respective plants.With the increasing feed-in of supply-dependent renewable energy, consumption and generation are falling apart in time, placing new demands on the system.Due to its special location situation, Schleswig-Holstein already represents a system that can be considered exemplary for future energy systems with shares of 100% renewable energies.Analyses of future energy systems with a very high share of renewable energies, in which consumption and generation must be coordinated, can already be carried out today using Schleswig-Holstein as an example.Schleswig-Holstein can thus already act as a blueprint for future renewable energy systems.
Model-based analyses play a central role in the analysis of such increasingly complex energy systems.In addition to purely technical modeling, open science approaches for the reproducibility of scientific results have become increasingly important in recent years.Therefore, models must address the diverse issues in the field of energy system analysis and at the same time meet high scientific standards in the sense of open science.To accompany the energy transition's progress and transfer it to the heating sector, an energy model is needed to map the complex interdependencies between the individual sectors.Besides, it makes sense to make the model and its databases freely accessible to enable scientists, political decision-makers, entrepreneurs, and citizens alike to use and further develop it.
The project aims to develop a source-rich and flexible tool for modeling highly renewable and sector-coupled sub-national energy systems and validate it in the context of the Schleswig-Holstein system.The OSeEM-SN model consisting of scripts and tabular database concepts was developed to achieve the outlined requirements.The basic concept serves the general description of sector-coupled energy systems.It is based on a graphtheoretical approach, which provides a generic basis for different simulation and optimization models.This concept was implemented within the Oemof framework, using the optimization library Oemof Solph.Comprehensive applications using Oemof are renpass [63], openMod.sh[64], and reegis hp [65].However, their usabilities are limited, such as renpass is an electricity market model, openMod.shfocuses on one region, and reegis hp evaluates district heating and CHP [16].In contrast, the scope and upgradability of OSeEM-SN are broader and simpler.The model's openness allows other users to actively develop the tool and modification for specific purposes to answer research questions within a subregional framework.The tool is also useful for investigating island energy systems using only renewables.Therefore, the OSeEM-SN model is unique for analyzing power and heat sector-coupled energy systems at the regional level.With the gradual integration of more sectors and upgradation of the model, the tool can be useful for researchers and policymakers to answer energy transition-related questions using a straightforward approach.The development of the OSeEM-SN model confirms the findings by Hilpert et al. [16], i.e., the flexibility in a new tool development using Oemof allows adjustments and changing research objectives avoiding lock-in effects.

Limitations of the Model
The model is in its early stage of development, and therefore the analysis conducted in this study is subject to certain limitations.Since the results highly depend on the inclusion of different technologies and demands, the results may change based on the newer version of the model with more components and demands.This will also broaden the scope of the model to use it for different geographical contexts.The current version of the OSeEM-SN model does not consider-1.Geothermal, ocean and wave energy, concentrated solar power plants, etc.; 2. Industrial process heating demands; 3. Transmission line modeling; 4. Latent and thermo-chemical heat storages as TES options; 5. Interconnection with neighboring regions; 6. Modeling of electric vehicles, coupling of the transport sector, and provision of vehicle-to-grid charging; 7. Renewable heating options, such as using solar thermal collectors; and 8. Demand response management.
Nevertheless, as a continuous development of the model, future versions will gradually include different technologies, demands, and other components into the model.

Future Plans and Summary of the Study
The upgradation of OSeEM-SN can be outlined as below-1.Grid modeling between sub-national regions; 2. Modeling of process heating components in industries; 3. Modeling of district heating components; 4. Inclusion of concentrated solar, geothermal, ocean, and wave energy plants; 5. Inclusion of latent heat and thermo-chemical heat storage plants; 6. Modeling of the transport sector; 7. Modeling of demand response activities; and 8. Development of a graphical user interface The following research questions, among others, can be investigated with the upgraded version of the OSeEM-SN model-1.Which combination of plants is suitable for economic operation?2. What added value does sector-coupling of the energy sources bring?3. Which inconsistencies exist in the sub-regional energy systems? 4. What role may dispatchable loads or CHPs play as flexibility options? 5. How can regional energy markets be designed?6.Where do key bottlenecks arise in the power grid of a sub-national system? 7. How can the industry sector be decarbonized?8. What role will storage play in a highly renewable and sector-coupled sub-national energy model?This study's main objective is to develop methodologies for building sub-national models of 100% renewable and sector-coupled energy systems.The model used Oemof Tabular to develop a state-of-the-art tool, to analyze sub-national energy systems.The model consists of the basic renewable resources and storage options to meet the electricity and building heat demands.Oemof Solph's functionalities are used for the core part of the model.Simple Python scripts and tabular data files allow the user to change the model's input details and analyze energy systems for different scenarios.
The study validates the model for Schleswig-Holstein's energy system analysis.The OSeEM-SN model optimized three different scenarios for different available biomass potentials.The model could reach feasible solutions for all three scenarios, indicating the feasibility of a 100% renewable and power-building heat coupled energy system for Schleswig-Holstein.Analysis of the results shows that, with increasing biomass availability, volatile generator investment decreases.The increasing amount of biomass-based CHP plants impacts both the electricity and heat generation mix.
The study also identifies the current limitations of the model.Since the model is based on Oemof, the model's upgradation is possible using different functionalities under the Oemof framework.The model has been validated with SH's case study, and the results have been analyzed in detail in the study.Therefore, the OSeEM-SN model is presented as a beneficial tool to create different scenarios and examine different possible pathways for sub-national energy systems of similar contexts.
Data Availability Statement: Data, source codes, and results of the model is available in the following Github repository [66]: https://github.com/znes/OSeEM-SN.

Figure 2 .
Figure 2. Shares of the renewable sources in the total renewable energy supply in Schleswig-Holstein (2018)

Figure 3 .
Figure 3. Simplified block diagram of the OSeEM-SN model

Figure 5 .
Figure 5. Normalized input profiles of volatile generators of OSeEM-SN model (a) offshore wind (b) onshore wind (c) solar PV (d) hydro ROR

PreprintsFigure 8 .
Figure 8.Comparison of volatile generator investments in SH

Figure 9 .
Figure 9.Comparison of CHP and heat pump investments in SH

Figure 10 .
Figure 10.Comparison of storage investments in SH

Figure 11 .
Figure 11.Comparison of total investments (volatile generators, CHPs, and storages) in SH

Figure 12 .
Figure12compares the energy mix results of the OSeEM-SN model.Figure12(a) compares the electricity generation from the combined (i.e., existing, and new) capacities.The onshore wind generation dominates the energy mix because of high wind availability in SH.The onshore wind electricity generation varies between 20.9 TWhel and 26.6 TWhel for the three scenarios.The model does not suggest installing new offshore capacities because of two reasons-(i) the cost of offshore is higher, and (ii) the demand is already met using other resources.However, this is only valid for SH's sub-national case, where plenty of renewable resources are available.The scenario will be different for a larger case with a lack of adequate renewable resources.The offshore electricity generation from the existing capacities is the same for the three scenarios, 5.5 TWhel.The hydro ROR electricity generation also remains the same, 0.016 TWhel for all three scenarios.Solar PV-based electricity varies from 8.7 TWhel in the BM-25 scenario to 4.6 TWhel in the BM-100 scenario.Overall, the electricity generation decreases by 17% (42.4 TWhel vs. 34.9TWhel) from the BM-25 scenario to the BM-100 scenario.Therefore, with high biomass-based CHPs in the energy mix, the curtailment from other variable renewable energy plants can be decreased.Figure12(b) compares the heat generation from the combined CHP capacities and new heat pump capacities.GSHPs dominate the heat mix; however, the installation of GSHP decreases as the biomass penetrates more into the energy mix.From BM-25 to BM-100 scenario, while the CHP-based heat generation increases by 154% (1.51 TWhth vs. 3.84 TWhth), the GSHP installation decreases by 28% (19.8 TWhth vs. 14.1 TWhth).However, the demand is also complemented by ASHPs, which increase from 1.69 TWhth in the BM-25 scenario to 4.79 TWhth in the BM-100 scenario.

Table 2 .
List of all components and buses of the OSeEM-SN model Preprints (www.preprints.org)| NOT PEER-REVIEWED | Posted:

Table 3 .
Variables and parameters for cost optimization of OSeEM-SN

Table 4 .
Hourly input data sources for the OSeEM-SN model

Table 5 .
Capacity and available potential for volatile generators and storage in SH in 2050

Table 7 .
Comparison of capacity expansion for three scenarios.