원시데이터 수집 시스템
선정목록으로

Planning and Operation Strategies of Microgrids in Decarbonized Multi-Energy Systems

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Mansoor, Muhammad — TU Wien
DOI
10.34726/hss.2022.71340
저널
reposiTUm (TU Wien)
발행년도
2022
발행기관
TU Wien
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.34726/hss.2022.71340
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W6927335541

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Im Bereich der erneuerbaren Energien sind Maßnahmen notwendig, um den Übergang zu sauberer Energie zu ermöglichen und den Energiesektor zu dekarbonisieren. Microgrids bieten das technisch-ökonomische Potenzial zur Dekarbonisierung beizutragen, wenn sie optimal geplant und umgesetzt werden. Das Ziel dieser Arbeit ist es, die optimalen Planungs- und Betriebsstrategien von Microgrids in dezentralen, sektorgekoppelten Energiesystemen zu bewerten, zu untersuchen und zu behandeln. Drei verschiedene Arten von Optimierungsmodellen auf Basis gemischt-ganzzahliger linearer Programmierung werden entwickelt und auf verschiedene Fallstudien in Österreich angewandt, wobei die Zielfunktionen die Minimierung der Gesamtenergiekosten und der gesamten Kohlendioxidemissionen sind. Der Hauptfokus dieser Arbeit liegt auf thermischen Energiesystemen, Wasserstoff und Mobilität, sowie auf erneuerbaren Energiegemeinschaften, die verschiedene verteilte Energieressourcen beinhalten. Es werden verschiedene Optimierungsszenarien entworfen und in Bezug auf Referenzfälle, die den aktuellen Status Quo abbilden, einzelner Energiesystemmodelle analysiert. Die Ergebnisse unterstreichen die Bedeutung von Microgrids für das Erzielen wirtschaftlicher und ökologischer Einsparungen im Vergleich zu den Referenzfällen. Außerdem wird die Rolle der saisonalen Speicherung für den Wärmesektor untersucht, wobei signifikante Einsparungen bei den Zielfunktionen im Vergleich zum nicht saisonalen Verhalten erzielt werden. Die Bedeutung der Wasserstofferzeugung, -speicherung und -nutzung auf Basis erneuerbarer Energien im Mobilitätssektor wird detailliert analysiert und mit der konventionellen, kraftstoffbasierten Mobilität verglichen. Weiters wird ein Konzept zur gemeinsamen Nutzung von erneuerbarer Energie mittels unterschiedlicher Tarifmodelle unter verschiedenen Teilnehmern einer Energiegemeinschaft entworfen und analysiert, um den Nutzen der kumulativen Einsparungen innerhalb einer Energiegemeinschaft im Vergleich zum Status Quo zu zeigen. Darüber hinaus werden die regulatorischen und politischen Rahmenbedingungen für jedes einzelne Modell identifiziert und weitere Vorschläge für die künftige Regulierung und Politikgestaltung gemacht, insbesondere im Hinblick auf die Senkung der Technologiekosten, die Einführung von Kohlenstoffpreisen zur Überbrückung der Kostenlücke zwischen Wasserstoff und Diesel und anreizbasierte Tarifsysteme, um die gemeinsame Nutzung von Energie in erneuerbaren Energiegemeinschaften zu verstärken bzw. weiter auszubauen.

본문 283,722자

본문 펼치기
## DISSERTATION ### Planning and Operation Strategies of Microgrids in Decarbonized Multi-Energy Systems _This thesis has been submitted in fulfillment of the requirements_ _for the degree of Doktor der Technischen Wissenschaften (Doctor of Philosophy)_ _in the study field of Electrical Engineering_ _at the_ ### Energy Economics Group Faculty of Electrical Engineering and Information Technology Technische Universität Wien _by_ ### Muhammad MANSOOR ### Supervisor: Prof. Dr. Johann AUER Technische Universität Wien, Austria ### Co-Supervisor: Dr. Michael STADLER BEST Research GmbH, Austria / XENDEE, USA ### Reviewer and Examiner: Prof. Dr. Jan KLEISSL University of California, San Diego, USA Prof. Dr. Antonello MONTI RWTH Aachen University, Aachen, Germany ### Vienna, April 2022 iii “ _What we know is a drop, what we don’t know is an ocean.”_ - Isaac Newton v # Abstract Renewable energy measures are needed to enable the clean energy transition and decarbonize the energy sector. Microgrids provide the techno-economic potential to contribute to the decarbonization when designed and imple mented optimally. The aim of this thesis is to assess, investigate, and ad dress the optimal planning and operation strategies of microgrids in decar bonized multi-energy systems. Three different kinds of mixed-integer linear programming based optimization models are developed and applied to dif ferent case studies in Austria with objective functions of minimizing the total energy costs and total carbon dioxide emissions. The main focus of this the sis are thermal energy systems, hydrogen energy systems and mobility, and electricity based renewable energy communities that involve different dis tributed energy resources. Different optimization scenarios are designed and analyzed with respect to reference cases of individual energy system models that portray the current status quo. The results emphasize the importance of microgrids in achieving economic as well as ecological savings as com pared to the reference cases. The role of seasonal storage for thermal sector is investigated and significant savings in objective functions are achieved as compared to non-seasonal behavior. The importance of renewable energy based hydrogen generation, storage and use in the mobility sector has been analyzed in detail and compared with the conventional fuel based mobility. vi The mechanism of energy sharing with multiple tariff schemes among dif ferent participants of the community is designed and analyzed to show the benefit of cumulative savings as compared to non-sharing mechanism. Ad ditionally, the regulation and policy framework for each individual model are identified and further suggestions are provided for the future regulation and policymaking, especially with respect to reducing technology costs, in troducing carbon prices for bridging the hydrogen-diesel cost gap and in centive based tariff schemes to enable energy sharing in renewable energy communities. vii # Kurzfassung Im Bereich der erneuerbaren Energien sind Maßnahmen notwendig, um den Übergang zu sauberer Energie zu ermöglichen und den Energiesektor zu dekarbonisieren. Microgrids bieten das technisch-ökonomische Potenzial zur Dekarbonisierung beizutragen, wenn sie optimal geplant und umgesetzt wer den. Das Ziel dieser Arbeit ist es, die optimalen Planungs- und Betrieb sstrategien von Microgrids in dezentralen, sektorgekoppelten Energiesys temen zu bewerten, zu untersuchen und zu behandeln. Drei verschiedene Arten von Optimierungsmodellen auf Basis gemischt-ganzzahliger linearer Programmierung werden entwickelt und auf verschiedene Fallstudien in Öster reich angewandt, wobei die Zielfunktionen die Minimierung der Gesamten ergiekosten und der gesamten Kohlendioxidemissionen sind. Der Haupt fokus dieser Arbeit liegt auf thermischen Energiesystemen, Wasserstoff und Mobilität, sowie auf erneuerbaren Energiegemeinschaften, die verschiedene verteilte Energieressourcen beinhalten. Es werden verschiedene Optimierung sszenarien entworfen und in Bezug auf Referenzfälle, die den aktuellen Sta tus Quo abbilden, einzelner Energiesystemmodelle analysiert. Die Ergeb nisse unterstreichen die Bedeutung von Microgrids für das Erzielen wirtschaf tlicher und ökologischer Einsparungen im Vergleich zu den Referenzfällen. Außerdem wird die Rolle der saisonalen Speicherung für den Wärmesek tor untersucht, wobei signifikante Einsparungen bei den Zielfunktionen im viii Vergleich zum nicht saisonalen Verhalten erzielt werden. Die Bedeutung der Wasserstofferzeugung, -speicherung und -nutzung auf Basis erneuer barer Energien im Mobilitätssektor wird detailliert analysiert und mit der konventionellen, kraftstoffbasierten Mobilität verglichen. Weiters wird ein Konzept zur gemeinsamen Nutzung von erneuerbarer Energie mittels unter schiedlicher Tarifmodelle unter verschiedenen Teilnehmern einer Energiege meinschaft entworfen und analysiert, um den Nutzen der kumulativen Eins parungen innerhalb einer Energiegemeinschaft im Vergleich zum Status Quo zu zeigen. Darüber hinaus werden die regulatorischen und politischen Rah menbedingungen für jedes einzelne Modell identifiziert und weitere Vorschl äge für die künftige Regulierung und Politikgestaltung gemacht, insbeson dere im Hinblick auf die Senkung der Technologiekosten, die Einführung von Kohlenstoffpreisen zur Überbrückung der Kostenlücke zwischen Wasser stoff und Diesel und anreizbasierte Tarifsysteme, um die gemeinsame Nutzung von Energie in erneuerbaren Energiegemeinschaften zu verstärken bzw. weiter auszubauen. ix # Acknowledgements First of all, I am thankful to Almighty God who gave me the strength and capability to complete this research work. Furthermore, I would like to thank my parents and siblings for always being there and for their endless love, support, and encouragement. It is my pleasure to express my gratitude to my supervisor Prof. Dr. Hans Auer for his kind support throughout the journey of my Ph.D. in every pos sible way at Energy Economics Group, TU Wien. I really appreciate Hans for always providing his expert opinion on the individual topics of this thesis. I would like to especially thank my mentor and co-supervisor Dr. Michael Stadler, who constantly guided and supported me during my time at Bioen ergy and Sustainable Technologies GmbH in the shape of scientific knowl edge transfer, valuable discussions, and feedback. I really admire Michael’s dedication and enthusiasm in the scientific field and I am grateful to have worked under his supervision. I would like to thank Prof. Dr. Jan Kleissl and Prof. Dr. Antonello Monti for taking their valuable time to review and examine this thesis work. Being leaders in their fields, I really appreciate their time to provide the assessment of this research work. I would like to thank all my colleagues from Bioenergy and Sustainable Tech nologies GmbH, especially Walter Haslinger, Claudia Holzleitner, Kerstin Brunbauer, Michael Zellinger, Stefan Aigenbauer, Armin Cosic, Pascal Liedtke, Christian Oberbauer, Christine Mair, Rita Sturmlechner, Doris Matschegg, x and Elisa Carlon for the wonderful time at the company. This work would not have been possible without the funding from Bioenergy and Sustainable Technologies GmbH and I am grateful to have worked there. Finally, I would like to thank all my dear friends for all the laughs, cheerful time, and being there to listen when I needed an ear. xi # Contents Abstract v Kurzfassung vii Nomenclature xv 1 Introduction 1 1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Research Questions . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 Structure of the Thesis . . . . . . . . . . . . . . . . . . . . . . . 8 2 State-of-the-Art and Contribution Beyond 11 2.1 Smart and Microgrids . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 Distributed Energy Resources (DERs) and Multi-Energy Systems 13 2.3 Investment Planning and Operational Dispatch in Microgrids 15 2.4 Thermal Energy Storage and Concept of Seasonality . . . . . . 17 2.4.1 Challenges in Modelling Thermal Energy Seasonal Stor age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4.2 Time-Horizon and Representative Periods . . . . . . . 18 2.4.3 Piecewise Affine Functions to Solve Non-Linearity . . 19 2.4.4 Modelling of Thermal Energy Seasonal Storage . . . . 20 2.5 Hydrogen Energy Systems and Hydrogen Mobility . . . . . . 22 2.5.1 Hydrogen Storage . . . . . . . . . . . . . . . . . . . . . 23 2.5.2 Carbon Prices and Policy Framework . . . . . . . . . . 26 xii 2.6 Renewable Energy Communities and Energy Transfer . . . . . 27 2.6.1 Optimization Models for Renewable Energy Commu nities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.6.2 Multiple Tariff Structures . . . . . . . . . . . . . . . . . 31 2.7 Novelty and Contribution beyond the State-of-the-Art . . . . . 32 3 Optimal Planning of Thermal Energy Systems in a Microgrid with Seasonal Storage and Piecewise Affine Cost Functions 37 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.2 Formulation of Optimization Problem . . . . . . . . . . . . . . 38 3.2.1 Opt-3D: Optimization Model with Uncoupled Repre sentative Days . . . . . . . . . . . . . . . . . . . . . . . . 38 3.2.2 Opt-8760: Optimization Model with 8760-Hours Time Horizon . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2.3 Piecewise Affine Cost Functions for Solar Thermal and Heat Storage . . . . . . . . . . . . . . . . . . . . . . . . . 43 Convex Combination Model . . . . . . . . . . . . . . . 45 Fitting Non-Linear Cost Functions . . . . . . . . . . . . 46 3.3 Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.3.1 Time Series Data Analysis and Processing . . . . . . . . 50 3.3.2 Techno-Economical Parameters . . . . . . . . . . . . . . 55 3.3.3 Optimization & Testing Framework . . . . . . . . . . . 57 3.4 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 3.5 Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4 Advanced Optimal Planning for Microgrid Technologies including Hydrogen and Mobility at a Real Microgrid Testbed 65 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 4.2 Formulation of Optimization Problem . . . . . . . . . . . . . . 66 4.3 Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 xiii 4.3.1 Extension of the Microgrid Testbed at Wieselburg . . . 71 4.3.2 Time Series Input Data Analysis and Assumptions . . 73 4.3.3 Techno-Economical Parameters . . . . . . . . . . . . . . 78 4.3.4 Optimization Framework and Strategy . . . . . . . . . 80 4.4 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 4.4.1 Sensitivity Analysis for the Diesel Basecase . . . . . . . 83 4.4.2 Sensitivity Analysis for the Utility Basecase . . . . . . . 90 4.4.3 Carbon Prices to close the H2-Diesel Cost Gap . . . . . 94 4.5 Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5 Mixed-Integer Linear Programming based Optimization Strategies for Renewable Energy Communities 99 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 5.2 Formulation of Optimization Problem . . . . . . . . . . . . . . 100 5.2.1 Objective Function . . . . . . . . . . . . . . . . . . . . . 100 5.2.2 Technology Constraints . . . . . . . . . . . . . . . . . . 103 5.2.3 Energy Balance and Constraints . . . . . . . . . . . . . 105 5.3 Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 5.3.1 Renewable Energy Community . . . . . . . . . . . . . . 107 5.3.2 Time Series Input Data Analysis and Assumptions . . 109 5.3.3 Techno-Economical Parameters . . . . . . . . . . . . . . 114 5.3.4 Optimization Framework and Strategy . . . . . . . . . 118 5.4 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 5.4.1 Current Status with Existing Technologies . . . . . . . 120 5.4.2 Greenfield Investment Scenarios . . . . . . . . . . . . . 125 5.5 Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 6 Discussion and Synthesis of the Thesis 133 6.1 Findings referring to the Research Questions . . . . . . . . . . 133 6.2 Strengths and Limitations of the Proposed Methodologies . . 140 xiv 6.3 Suggestions for Amendments in Future Regulation and Poli cymaking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 7 Conclusion and Future Outlook 147 Bibliography 151 xv # Nomenclature Abbreviations CAPEX capital expenditure CPU central processing unit DER distributed energy resources DER-CAM distributed energy resources - customer adoption model DR demand rates ESS energy storage system EV electric vehicle FCEB fuel cell electric bus FCET fuel cell electric truck FCEV fuel cell electric vehicle FDS Fuel Demand Share HH household tariff HWB hot water boiler tariff LA local authority tariff LP linear programming LOH level of hydrogen MILP mixed-integer linear programming MINLP mixed-integer nonlinear programming MPP monthly peak preservation O&M operation and maintenance OC optimization case OF objective function OPEX operational expenditure Opt-3D three daytypes based optimization model Opt-8760 8760-hours based optimization model PCC point of common coupling PEM proton exchange membrane PV photovoltaic system PWA piecewise affine P2P Peer-to-Peer RC reference case REC renewable energy community SOC state of charge TRNSYS transient systems simulation WTW well-to-wheel xvi Mathematical Symbols Chapter 3: _a_ slope of linear segment _b_ intercept of linear segment _n_ number of species _C_ total annual energy costs _DER_ invest annualized investment cost per distributed energy resource Π annuity rate of the technology _VarC_ variable capital cost of the technology _Cap_ capacity of the technology to be invested _FixC_ fixed capital cost of the technology _H_ heat variable for different technologies _A_ technology-specifc coefficient _A_ <sup>_S_</sup> <sup>th</sup> decision variable for the solar thermal area _I_ solar irradiance parameter _η_ efficiency parameter Θ loss factor _T_ temperature _φ_ charging rate of the heat storage _F_ fuel for heat _x_ technology-specific capacity variable _δ_ binary variable _λ_ non-negative, continuous variable _ϵ_ deviation error (residual) _α_ fit parameter vector Chapter 4: _C_ total annual energy costs Π annuity rate of the technology _VarC_ variable capital cost of the technology _Cap_ capacity of the technology to be invested _FixC_ fixed capital cost of the technology _γ_ cost constraint parameter _H_ variable associated with hydrogen fuel _E_ variable associated with electricity _N_ arbitrary large number _η_ efficiency parameter Θ loss factor _φ_ charging or discharging rate of storage _ρ_ parameter for the level of hydrogen Chapter 5: _η_ efficiency parameter _γ_ cost constraint parameter xvii _ζ_ energy rate associated with the electricity _C_ total annual energy costs Π annuity rate of the technology _VarC_ variable capital cost of the technology _Cap_ capacity of the technology to be invested _FixC_ fixed capital cost of the technology _E_ variable associated with the electricity _ESS_ variable associated with the energy storage system electricity _N_ arbitrary large number Θ loss factor _φ_ charging or discharging rate of storage _ρ_ parameter for the state of the charge _PV_ normalized photovoltaic performance _δ_ binary variable or parameter Superscripts Chapter 3: _S_ th solar thermal stored state of charge of the storage in input for storage out output from storage loss loss of stored energy _α_ technology-specific exponent amb ambient Chapter 4: stored state of charge of the storage in input for storage out output from storage loss loss of stored energy El electrolyzer XOR binary variable fleet hydrogen fuel cell vehicles Chapter 5: ESSin electricity input to the energy storage system ESSout electricity output of the energy storage system ESSons onsite usage of the electricity related to the energy storage system ESSRecExp exported energy storage system electricity to the renewable energy community stored state of charge of the storage in input for storage out output from storage loss loss of stored energy xviii XOR binary variable ref reference perf performance trans transfer UtExp electricity related to the utility export UtMax electricity related to the maximum utility purchase UtPur electricity related to the utility purchase UtFix fixed utility fee RecExp electricity related to the renewable energy community export RecPur electricity related to the renewable energy community purchase ps purchase or sale gc grid connection Subscripts Chapter 3: _k_ number of components in fit parameter vector _h_ hours _d_ daytypes _m_ months _t_ time tech technologies up upfront char charge rate of the storage dis discharge rate of the storage O&M operation and maintenance _i_ index for binary and decision variables HS heat storage s storage operation st storage standby operation Chapter 4: _h_ hours _d_ daytypes _m_ months _t_ time tech technologies up upfront char charge rate of the storage dis discharge rate of the storage invest annualized investment _textlim_ limit on the costs El electrolyzer press pressurizer xix Chapter 5: _h_ hours _d_ daytypes _m_ months _t_ time _n_, _n_ <sup>_′_</sup> nodes: n and _n_ <sup>_′_</sup> are aliases tech technologies up upfront char charge rate of the storage dis discharge rate of the storage invest annualized investment lim limit on the costs O&M operation and maintenance 1 # Chapter 1 Introduction ## 1.1 Motivation The growing attention to decrease the carbon dioxide emissions and at the same time to increase the penetration of renewable energy sources to meet the energy demand require to devise new strategies for the optimal use of distributed energy technologies. The decarbonization of the energy sector requires renewable energy measures to enable a clean energy transition [1]. While there are different actions and strategies undergoing, renewable en ergy based microgrids are on the rise to contribute to affordable and clean energy [2]. The renewable energy based microgrids provide extensive opportunities in terms of different perspectives. The environmental perspective of such mi crogrids has been provided by Tabar et al. [3] by proposing the sustainable planning of hybrid microgrids towards minimizing the environmental pollu tion. The economic perspective of the renewable energy based microrids has been addressed by Basu et al. [4] by providing a comprehensive survey of the microgrids. The social perspective of the renewable energy based micro grids has been highlighted by Schwaegerl and Tao [5] together with technical benefits of the microgrid operation. 2 The energy system is quite complex if classified with respect to end-user de mands such as electrical, thermal, mobility, etc. and the supplying technolo gies such as distributed energy resources. It is really important to model these individual systems and also their cross-sectoral interactions with re spect to optimal planning and operation in microgrids. In thermal energy systems, because of the mismatch between the thermal load (Space Heating and Water Heating) and supply of solar energy in sum mer, the affordable and carbon footprint-free solar energy has strong poten tial to meet the thermal energy consumption if the thermal energy storage can be designed optimally to store the heat from solar in summer and use it in winter [6]. This is achieved by using the concept of seasonal storage. The seasonal storage has more advantages in practical applications as compared to short-term storage, but it is challenging since it requires a larger storage volume [6]. The amount of available incident solar radiations on the roof of a typical home exceeds its yearly energy consumption, therefore, there is a large potential in using solar thermal technologies to convert solar radia tion into usable heat [7]. The seasonal storage systems have the capability to mitigate the seasonal offset and variation of renewable energy sources. Also, the increasing attention of decarbonizing the mobility sector in Europe and around the globe requires solutions that are technologically as well as economically viable and at the same time sustainable for the environment. The mobility sector is a major part of the ecosystem and abundantly depen dent upon the fossil fuels at the moment. This dependency upon the fossil fuels is likely to increase and ultimately can increase the carbon dioxide emis sions. The mobility sector is sought to be responsible for approximately 20% of the projected increase in the global energy demand and the greenhouse gas emissions by 2040 [8]. The mobility sector constitutes approximately a third of the total energy use and a quarter of the total greenhouse gas emissions in 3 Europe [9]. The decarbonization of the mobility sector is both urgent and an important challenge in fulfilling the European Union’s commitment towards the carbon neutrality by 2050 and for the global effort to the implementation of the Paris Agreement [10]. Thus, hydrogen is considered to be one of the solutions to achieve this challenge of decarbonization in the mobility sector [11]. The complete decarbonization of the mobility sector may not be possible solely by battery Electric Vehicles (EVs). It is because of the low specific energy, low energy density, low range and high charging times of the battery EVs as compared to the hydrogen fuel cell vehicles when the hydrogen is purely generated from renewable energy sources [12]. Therefore, the renewable hy drogen might be the missing link in the decarbonized energy transition of the mobility sector. The concept of energy sharing among different actors of microgrids to re duce carbon emissions and economic costs of infrastructure and services as compared to a business as usual case is one of the major advantages of the renewable energy based microgrids. This concept of energy sharing is de ployed through the setup of an Energy Community (EC) [13]. The energy sharing in communities makes individual consumers to be prosumers and share the surplus energy with other members of the microgrid. This thesis provides a methodological framework based on optimization mod els that can decarbonize the multi-energy system based microgrids. Three different kinds of optimization models are developed during this thesis work and are applied to different case studies in Austria that involve thermal en ergy systems, hydrogen energy systems and mobility sector, and electricity based renewable energy community. These models provide solution to three research questions outlined in section 1.2. Based on the results of these mod els applied to the specific case studies, the optimal planning and operation 4 dispatch of microgrids are analyzed and discussed. ## 1.2 Research Questions This section describes the research questions that are the focus of this thesis. A short description of each of the research question is provided together with motivation and context of answering them. As stated in previous section, the main goal of this thesis is to develop the optimization framework that can decarbonize the multi-energy system mi crogrids. This thesis is based on three peer-reviewed journal articles which touch the topic of the optimal planning and operation of microgrids with re spect to three different systems applied to three different case studies. Hence, three different research questions are associated with these journal articles and are summarized in the Figure 1.1. Mixed-Integer Linear Programming in Microgrid Environment Thermal Energy Seasonal Storage Research Question 1: Non-Linear Cost vs. Capacity Relationship and Temporal Resolution of the Model Hydrogen Energy Systems Research Question 2: Renewable Hydrogen Generation, Seasonal Storage and Use in Mobility, Carbon Prices to bridge H2 Diesel Gap Renewable Energy Communities Research Question 3: Renewable Energy Community Setup with multi-nodal microgrid structure, multiple energy tariffs and mixture of prosumers and consumers FIGURE 1.1: Summary of research questions focused in this the sis. 5 The first journal article [14] is related to the thermal energy systems in mi crogrids, the second journal article [15] is related to the hydrogen energy sys tems in microgrids and the third journal article [16] is related to the electricity based renewable energy community system in microgrids. The journal arti cles [14] and [15] have been published as first author and the journal article [16] has been published as co-author. In all three journal articles, the author of this thesis has remained the corresponding author. These three indepen dent journal articles are applied to case studies in Austria and answer three different research questions outlined below. Research question 1: _How_ _can_ _we_ _effectively_ _model_ _optimal_ _planning_ _and_ _oper-_ _ation_ _dispatch_ _of_ _a_ _thermal_ _seasonal_ _storage_ _taking_ _into_ _account_ _its_ _non-linear_ _cost_ _vs._ _capacity_ _relationship_ _using_ _the_ _linear_ _programming_ _models?_ _Also,_ _how_ _do_ _the_ _different temporal resolutions affect the system and the run-time of the optimization_ _models?_ This research question addresses the topic of thermal seasonal energy storage systems in microgrids and describe two important challenges when model ing such systems in optimization. On the one hand, there is a non-linear relationship between the cost and capacity of thermal energy storage. Since seasonal storage is comparably bigger than the non-seasonal storage systems, so modeling this non-linear relationship is a challenge using linear program ming models to reduce the complexity. On the other hand, temporal resolu tion of an optimization model plays an important role in assessing the results including the objective function savings in terms of costs and carbon dioxide emissions, investment decisions, operation dispatch and run-time of models. This research question is answered in [14] by developing two different opti mization models, one with low temporal resolution and the other with high temporal resolution, taking into account the piecewise affine methodology to convert non-linear relation of cost vs. capacity behavior of seasonal thermal 6 energy storage system into mixed-integer linear programming based model. Research question 2: _What is the impact of renewable based hydrogen energy sys-_ _tems in decarbozining the mobility sector using microgrids and how it is compared_ _with the state-of-the-art diesel fuels?_ _Also, how can we drive the paradigm shift from_ _conventional_ _to_ _renewable_ _hydrogen_ _based_ _mobility_ _using_ _carbon_ _prices_ _and_ _policy_ _framework?_ This research question addresses the topic of hydrogen generation, its sea sonal storage and use in mobility sector using renewable energy based micro grids. The main challenges encountered by the mobility sector are its increas ing carbon footprint and mobility demand across the globe and specially in Europe. The conventional fuels such as diesel results in ecological degrada tion. The shortcomings of electric vehicles such as low specific energy, low energy density, low range and high charging times of the battery are mo tivating factors to devise innovation solutions which can meet the mobility demand and the at same time decarbonize the mobility sector. This research questions is answered in [15] where it is emphasized that the renewable hydrogen might be the missing link in the decarbonized energy transition of the mobility sector. The hydrogen electrolyzer, the hydrogen storage, and the hydrogen mobility are modeled together with solar PV and wind power to assess the optimal planning and operation of such microgrid systems using mixed-integer linear programming and applied at a real test facility in Austria. The results are assessed with respect to the optimal sizing and dispatch of the technologies, the economical viability, the environmental impact, a comparison between the optimal hydrogen fuel costs and the cur rent market costs of the diesel fuel to identify the hydrogen-diesel cost gap and the calculation of the carbon prices to close the hydrogen-diesel cost gap. Research question 3: _How can renewable energy based microgrids contribute to-_ _wards the clean energy transition set by Clean Energy Package (CEP) of European_ 7 _Commission using Renewable Energy Community (REC) concept? Also, how would_ _a REC based mechanism behave in terms of renewable energy sharing, multiple en-_ _ergy_ _tariffs_ _and_ _mixture_ _of_ _prosumers_ _and_ _consumers_ _in_ _the_ _multi-nodal_ _microgrid_ _structure?_ This research question addresses the topic of renewable energy communities that can enable the clean energy transition of the energy sector especially the electrical sector. The framework for the renewable energy transfer among different participants of a community is very new for Austria. There exists some regulatory framework to enable the setup of energy transfer among prosumers and consumers but have not been applied yet in practice in Aus tria. Therefore, it is of great importance that optimal planning and operation of such REC based systems should be assessed which involve the multi-nodal structure of the participants and multiple energy tariffs for purchase/sale of energy. This research question is answered in [16] where a renewable energy com munity consisting of 9 different community participants is modeled using mixed-integer linear programming and applied to a real case study in Aus tria. Three different reference and optimization cases are analyzed and con sidered with the corresponding mixed-integer linear programming model using different electricity tariff scenarios and market signals including feed in tariffs. The results include the optimal sizing and the full-year operational dispatch of the technologies. Furthermore, the results also include the com parisons with the reference cases in terms of the energy costs and CO2 sav ings, the total annual energy costs per node and the distributed renewable energy transfer to each node for the different tariff scenarios. 8 ## 1.3 Structure of the Thesis Following the research questions described above, the rest of the thesis is structured in the following way. Chapter 2 provides state-of-the-art literature review related to the topics of the research questions in a very selected manner and includes the most rel evant and recent sources. It touches the topic of smart and microgrids from high level and dives into the investment planning and operation of micro grids using optimization techniques. Thermal energy storage systems, hy drogen energy systems and renewable energy communities are described and potential challenges are highlighted with respect to modeling such sys tems in microgrids. Finally, the novelty of this thesis work and contribution beyond the state-of-the-art are provided. Chapter 3 investigates the first research question, provides the mathematical framework to solve challenges occurred in modeling seasonal thermal en ergy storage systems in microgrids and answers the question by assessing the results obtained from a case study evaluated in Austria. Chapter 4 tackles the second research question, extends the current micro grid testbed facility in Austria for modeling the hydrogen energy system technologies including electrolyzer, seasonal storage, mobility and renew able energy sources and evaluates the technical and economical viability of such systems to decarbonize the mobility. It also provides the policy frame work to drive the use of hydrogen fuel in comparison to the conventional diesel fuel. Chapter 5 tackles the third research question, provides the mathematical framework to model the renewable energy community structure using mi crogrid technologies and assesses the renewable energy transfer among the 9 different participants of the energy community using different tariff struc tures. Chapter 6 discusses and synthesizes the findings referring to the research questions of this thesis, highlights the strengths and limitations of the pro posed methodologies and provides necessary suggestions for the amend ments in future regulations and policy framework. Finally, Chapter 7 concludes the thesis and provides future outlook for the topics tackled in the research questions. 11 # Chapter 2 State-of-the-Art and Contribution Beyond ## 2.1 Smart and Microgrids The world is facing several issues, of which, most pressing are the increasing energy demand, declining of primary energy resources, conventional and old grid infrastructure and increasing greenhouse gas emissions that are prime cause of global warming. These significant issues call for the need of new innovative solutions that can meet the growing energy demand while get ting most of the limited energy resources and also be feasible with respect to practical investments, low carbon footprints and technological evolution. The filed of smart and microgrids has this potential to solve these issues by keeping an eye on the feasibility of resources via optimization techniques. A Smart grid is a network system that uses digital technologies for improve ment of efficiency, reliability, resiliency and security of the energy system and addresses the utilization and integration of the Distributed Energy Re sources (DERs) [17]. However, there is a difference between a smart grid and a microgrid. A small scale system that is located in the vicinity of con sumers/prosumers is called a Microgrid system [18]. Microgrid plays a very important role in smart grid system concept. Micro grid is a part of the larger grid that includes most of the components of the 12 larger utility grid on smaller scale. Microgrids can operate with larger utility grid or independently from the larger utility grid. A microgrid can be defined as a local and small distribution system that in cludes certain distributed energy resources such as photovoltaic systems, mi croturbines, diesel generators, energy storage systems, fuel cells, controllable and uncontrollable loads in connection to grid i.e. grid connected mode or operating independently from the grid i.e. island mode when experiencing disturbances or in case of remote location, thus enhancing the supply quality, resiliency and security of the energy system [19]. Most importantly, micro grids have the ability to provide lower investment costs, decrease carbon dioxide emissions, enhance energy quality and decrease the energy losses in the grid [18]. There are two main challenges regarding microgrids which are given below: 1. Which distributed energy resource technologies (e.g. solar PV, solar thermal, battery energy storage system, thermal energy storage system, heat pumps, biomass based central boiler, etc.) should be installed to what extent (i.e. capacities) and where in the grid in order to guarantee economic and environmental viability? 2. How should these distributed energy resource technologies be oper ated depending on dynamic boundary conditions (e.g. weather, chang ing loads or changing energy prices with respect to time) in order to actually achieve the practical economic and environmental goals? The first challenge can be associated with the investment planning problem in microgrids and the second challenge cab be associated with the opera tional dispatch problem in microgrids. This thesis aims to contribute to the solution of the above mentioned challenges in microgrids by using mixed integer linear programming based optimization methodologies for several 13 different distributed energy resources in a multi-energy system environment. ## 2.2 Distributed Energy Resources (DERs) and Multi- Energy Systems Distributed energy resource technologies are the basic part of a microgrid that are located near or at the Point of Common Coupling (PCC). The dis tributed energy resource technologies of microgrids are getting higher at tention in recent literature due to their vast and diverse advantages such as supporting the microgrids in terms of stability, resiliency, reliability, secu rity, efficiency and reduction of energy losses [20]. A systematic approach in terms of microgrids is a better way to realize the increasing potential of distributed energy resources [21]. A microgrid based system does not necessarily depend upon just one sec tor of energy. It can include more than one energy sector as primary energy source such as electricity can be converted into heat, cooling, and fuels and stored in multiple energy formats. This potential of energy conversion calls for solutions to the microgrid problems in terms of multi-energy systems. A very detailed and comprehensive overview of multi-energy systems is pro vided in [22] which indicates that multi-energy systems are very important to demonstrate the opportunity to enhance the economic, technical and ecologi cal performance of integrated energy systems as opposed to the conventional energy systems where energy sectors are treated separately. The complexity of multi-energy system based microgrids can be seen in Fig ure 2.1 which shows different distributed energy sources, the sector coupling between multi-energy systems and the end-user demands in terms of energy flow optimization. 14 FIGURE 2.1: Sankey diagram of multi-energy system based mi crogrid showing energy flow from inputs to outputs [23]. The most common distributed energy resource technologies include solar PV and battery in electrical energy systems, solar thermal, natural gas based boilers and thermal storage in thermal energy systems, and electric chillers and cold storage in cooling energy systems. With sector coupling, the ap plications of different distributed energy resource technologies are increased such as the electricity that is generated via solar PV can be utilized to provide to end-user demand of electrical by using batteries or directly providing it, or it can be utilized to provide to end-user demand of heating by using combine heat and power technology, or it can be also utilized to generate hydrogen fuel to provide to end-user demand of mobility network. The complexity of such networks depend upon the methodology of mod eling using best practices and practical constraints and boundaries of these multi-energy systems. Therefore, optimization techniques are used to achieve these goals which are explained in further details in next sections. 15 ## 2.3 Investment Planning and Operational Dispatch in Microgrids The field of investment planning and operational dispatch in microgrids in cludes the optimization based techniques that solve the mathematical model of such systems designed according to several factors such as input data res olution, type of optimization technique used, extent of DER portfolio, sec tor coupling, etc. The model is also classified with respect to considering the practical aspects of the system such as technical boundaries, ecological boundaries and economical boundaries. While there are many studies in the state-of-the-art that focus on one or more aspects of modeling such systems individually, but they lack in other aspects, creating possibilities to explore these gaps and bridge them. This thesis aims to explore these gaps and develops optimization methodologies that go be yond the state-of-the art to bridge those gaps. The optimization techniques for the investment planning of microgrid in clude models such as mixed-integer linear programming (MILP) [24] and mixed-integer non-linear programming (MINLP) [25]. These models can be of deterministic nature where the variables are considered with certainty and can also be of stochastic nature where the variables are considered with prob ability distribution [26]. This thesis focuses on the mixed-integer linear pro gramming based optimization techniques with deterministic nature. MILP is a special class of Linear Programming (LP) that restricts all or some of the decision variables to integer values while keeping the problem linear. The basic structure of a MILP problem is illustrated in Figure 2.2 where the _f_ ( _P_, _x_ ) is a linear function of parameter _P_ and decision variable _x_ . 16 FIGURE 2.2: Basic structure of a MILP problem. MILP based optimization is better suited to determine the optimal design of a system model taking into account various input parameters, decision vari ables, system constraints and objective functions. Sensitivity analysis can also be done in optimization if more than one optimal solution has to be ob served by changing input parameters, system constraints and mathematical framework of objective functions. MILP optimization considers defining the system boundaries i.e. constraints placed on various parameters and deci sion variables to get output of the objective functions. System models based on MILP optimization are relatively complex to model and consume higher computational power as compared to simulation based models. There can also be more than one objective function which is known as multi objective optimization. The example of such kind of model can include the minimization of energy costs of an energy system and at the same time min imizing the carbon dioxide emissions of the same system having some linear relation to the energy costs. The state-of-the-art literature review of MILP based models used in invest ment planning and operation of microgrids is provided in next sections in 17 line with the topics touched by this thesis. The possible gaps of the cur rent methodologies have been identified and potential solutions have been provided by developing innovative methods, assessing practical case stud ies and contributing beyond the state-of-the art. ## 2.4 Thermal Energy Storage and Concept of Sea- sonality There is always a mismatch between the total solar availability and the ther mal demand during the summer and winter months of the year. Figure 2.3 shows the mismatch between the solar insolation and heat demand require ment. FIGURE 2.3: Mismatch between solar availability and thermal energy demand [27]. It can be seen from the Figure 2.3 that the heat requirement is significantly lower in the summer months and at the same time solar insolation is very high, creating a need for storing this potential of free solar energy. This be havior drives the concept of seasonality in thermal energy systems where the most intriguing idea is to store the surplus of solar insolation in the thermal storage during summer months and utilize this surplus during the months when the heat requirement is higher and lesser amount of solar insolation 18 is available. Although the idea of seasonal thermal energy sounds practi cal, there are two main important challenges when modeling this behaviour in microgrid optimization. These challenges are described in the following sections. ### 2.4.1 Challenges in Modelling Thermal Energy Seasonal Stor- age There are mainly two challenges for the optimal design and operation of a so lar thermal system with a large thermal seasonal storage. The first challenge is that the proper modeling techniques require higher resolution of time se ries data. This challenge of temporal resolution is far more critical when dealing with integration of renewable energy sources [28]. The second chal lenge lies in the non-linear relationship between the capacity and the cost of technologies involved in thermal energy systems [29]. These challenges are explained in the sub-sections 2.4.2 and 2.4.3 respectively. ### 2.4.2 Time-Horizon and Representative Periods The adequate and appropriate modeling of seasonal storage system requires a time series that spreads over a full year time horizon at least. However, us ing full year time horizon increases the computational time. In order to solve the issue of computational time, time series aggregation techniques are used to reduce the original full year data into typical design profiles depending upon the aggregation criteria for weekdays, months or seasons. These aggre gated design profiles must adequately preserve the significant characteristics of the full year data. Fazlollahi et al. [30] use k-means clustering technique to reduce the yearly time series data into typical periods. Nahmmacher et al. [31] use hierarchical clustering as time series aggregation methodology for solar and wind data. Lozano et al. [32] reduce the time series via averaging 19 into 24-hours based profiles defined by weekdays. Averaging into 24-hours based profiles defined by months has been studied by Mehleri et al. in [33]. Averaging into 24-hours based profiles defined by seasons has been studied by Samsatli et al. in [34]. Fahy et al. [35] present the Monthly Peak Preser vation (MPP) method to reduce the yearly time series data into three typical periods based on weekdays, weekend days and peak days. Although the time series aggregation reduces the computational time significantly, it can also change the results as compared to a full year time series optimization [36]. ### 2.4.3 Piecewise Affine Functions to Solve Non-Linearity The real life costs of thermal energy system technologies such as solar ther mal and heat storage are dependent on size and larger capacities have lower technology costs. The modeling of this non-linear relationship inside op timization problems imposes certain limits since most of the optimization problems in state-of-the-art literature are formulated as linear programming or mixed-integer linear programming problems to keep computational costs and complexity in a reasonable range. Mashayekh et al. [37] use MILP ap proach to find optimal distributed energy resources in multi-energy system microgrids. Siddiqui et al. [38] use MILP modeling for the heat and power applications. Stadler et al. [39] optimize the distributed energy resources and building retrofits using MILP approach. Steen et al. [40] model the thermal energy storage using MILP framework. Optimal design of energy conver sion units and envelopes for residential building retrofits has been studied in [41] using MILP model. Lindberg et al. [42] propose a methodology for the optimal system design of zero energy buildings using MILP approach. The short-term and long-term thermal energy storage models have been studied 20 using MILP framework in [43]. In order to solve the issue of non-linear rela tionship between the capacity and the cost of technologies, piecewise affine (PWA) cost functions can be used instead of non-linear cost functions, but these functions introduce additional decision variables, thus increasing the complexity of models. ### 2.4.4 Modelling of Thermal Energy Seasonal Storage Various studies have been carried out in the field of seasonal thermal stor age based on simulations in recent years. Böhm and Lindorfer [44] present techno-economic assessment of seasonal heat storage in district heating with different thermo-chemical materials. The socio-economic assessment of sea sonal heat storage in district heating systems with waste heat integration has been provide in [45]. A simulation-based methodology for a pit seasonal thermal storage with heat pump has been investigated in [46]. The poten tial of seasonal solar thermal energy storage using thermo-chemcial sorption for domestic application has been studied in [47]. Ciapmi et al. [48] per form thermo-economic sensitivity analysis by dynamic simulations of solar district heating system with seasonal borehole thermal energy storage. The solar seasonal storage system coupled with ground-source heat pump has been investigated using a simulation for thermal equilibrium in [49]. Xu et al. [50] demonstrate the potential and evaluate the performance of so lar heating system integrated with seasonal energy storage for greenhouse applications. Li et al. [51] present a performance analysis of an integrated energy storage system for seasonal storage and solar thermal energy appli cations. These simulation-based studies focus on very specific topics related to techno-economic assessment and performance investigation of seasonal storage systems but lack the modeling framework with respect to optimal system design. These studies also provide gaps in realizing the solutions to 21 the challenges faced while modeling the thermal energy systems such as time series aggregation and non-linear cost versus capacity behavior of thermal technologies. Therefore, it is required to focus on addressing these gaps on a system design level so that an optimal planning of thermal energy systems can be realized. Few studies have been conducted in recent years which are based on opti mization in the field of seasonal thermal storage. Launay et al. [52] propose a simplified multi-criteria optimization considering levelized cost of energy as an objective function for a residential building having inter-seasonal solar heat storage. This study does not consider the modeling of costs in terms of piecewise affine functions. Köfinger et al. [53] use a simplified MILP frame work considering the minimization of total energy costs for the optimized integration and operation of seasonal heat storage for district heating net works. The optimization problem does not consider the modeling of costs in terms of piecewise affine functions and the modeling details of the seasonal heat storage are also limited in this study. Gabrieli et al. [54] propose two MILP based optimization methods to model a seasonal storage for a multi energy system by using time series aggregation of a full year data into a set of representative design days given by k-means clustering. This study uses the piecewise affine approximate cost function only for the heat storage tech nology, but does not consider the piecewiese affine cost function for the solar thermal technology. Kotzur et al. [55] aggregate the time series into a set of representative design periods given by k-means before using them into three different design optimization models. These optimization models do not consider the solar thermal into the technology portfolio and also the non linear relationship between cost and capacity for the heat storage technology is not modeled as piecewise affine functions. Although k-means is a pop ular technique to aggregate time series into typical representative periods, 22 preserving the peak demand is critical and requires further implications to maintain the peak of the original demand profile. The model simplification in using a single linear cost function for solar ther mal and heat storage technologies can lead to a significant difference as com pared to using a piecewise affine cost function when modeling seasonal ther mal energy systems. It is because the seasonal behavior requires larger ca pacities, and the investment costs for these larger capacities need to be lower when using the correct non-linear cost versus capacity behavior. The model ing of these non-linear cost functions into piecewise affine cost functions has not been addressed in the state of the art studies combinely for solar ther mal and seasonal heat storage technologies. Also, the comparison between the investment decisions of the optimization models using the fixed linear (Non-PWA) cost functions and PWA cost functions has not been provided in the state of the art studies. Moreover, longer time horizon based opti mization problems have not been discussed extensively at a design phase of storage based thermal energy systems and maintaining the peaks of thermal demand while aggregating the time series is critical to the optimal design of these systems. ## 2.5 Hydrogen Energy Systems and Hydrogen Mo- bility About 96% of the current hydrogen production is based on the fossil fuels _i.e._ 48% from natural gas, 30% from oil, 18% from coal and only 4% is based on the electrolysis of water [56]. The life-cycle greenhouse gas emissions of the hydrogen production via fossil fuels are considerably high _i.e._ 10 tonne CO2/tonne-H2 from natural gas, 12 tonne-CO2/tonne-H2 from oil and 19 tonne-CO2/tonne-H2 from coal [57]. Even though the electrolysis is a small 23 part of the current hydrogen production chain globally, it is the only pro cess towards 100% carbon neutral production of the hydrogen fuel when it is produced completely via renewable energy sources. The solar PV and wind power technologies would constitute most of the installed power capacity in the global energy supply by 2050 [58]. Hence, grid-connected or islanded renewable energy based microgrids with the solar PV and wind power tech nologies have a high potential to decarbonize the hydrogen generation pro cess and ultimately decarbonize the mobility sector. Comprehensive reviews on water electrolysis have been provided in Ref. [59] and Ref. [60] for highlighting the advantages and disadvantages of hydro gen electrolyzer technologies including the alkaline electrolyzer and the Pro ton Exchange Membrane (PEM) electrolyzer. Although the PEM electrolyzer has higher performance and rapid system response but it has highest costs as compared to other hydrogen electrolyzer technologies, it needs noble metal catalyst for operation and it has capacity stacks below megawatt (MW) range. On the other hand, the alkaline electrolyzer is cost efficient, mature technol ogy which has been undergoing recent developments as well [61], does not require any noble metal catalyst and has capacity stacks in MW range. ### 2.5.1 Hydrogen Storage Recently, Lin et al. [62] have provided a comprehensive overview of the prominent scientific literature related to the integration of hydrogen energy in smart grids including grid-connected as well as islanded microgrids, hy drogen fuel cell electric vehicles, hydrogen economy in smart grids and dif ferent models for energy systems that include hydrogen. Nicita et al. [63] have conducted a techno-economic-financial analysis to evaluate the prof itability of green hydrogen production system by solar PV based renewable energy source. Basic research in the hydrogen production, its use and its 24 comparison with the conventional fossil fuels have been carried out by Bar tels et al. [64], Barthelemy et al. [65] and Ajanovic et al. [66]. But, these studies lack the optimization modeling framework with respect to the op timal system design for production, storage and user application levels for microgrids. The optimization models are necessary to evaluate the most ap propriate design of the technologies including renewable energy sources for achieving the economical and environmental objectives of the hydrogen en ergy systems. Recently, A Mixed-Integer Linear Programming (MILP) based microgrid so lution has been proposed in Ref. [67] that considers a solar PV based hydro gen energy system for airport electrification. The previous study highlights the importance of the hydrogen over the conventional fuel based electrifi cation of remote aircraft auxiliary power units via fuel cells. Hassanzade hFard et al. [68] use particle swarm optimization methodology to realize a hybrid microgrid system where hydrogen is produced via renewable energy sources as well as natural gas reforming process. A grid-connected solar PV and hydrogen power optimization approach has been proposed in Ref. [69] for a typical household application that considers hydrogen electrolyzer, hy drogen storage and hydrogen fuel cells. The scale of the previous study is relatively small but it is important to show the use of the hydrogen tech nology in hybrid energy systems for the grid-connected microgrids. Arlt et al. [70] investigate the cost effectiveness of a hydrogen energy system in mi crogrids through MILP approach using time-series aggregated data sets. The time-series aggregation, considered in that study, provides the representative periods over which optimization is performed but does not include the mod eling of the seasonal storage behavior of the hydrogen storage and catching the variability of the renewable energy sources correctly. Zhang et al. [71] 25 study the storage sizing and rule-based operation of the grid-connected en ergy system including solar PV, hydrogen generation, hydrogen storage and battery storage technologies through genetic algorithm optimization. The optimization objectives, considered in that study, are based on the cost func tions but do not include the carbon emission optimization and the modeling of the mobility load. An optimal design of a low carbon multi-energy sys tem including the hydrogen seasonal storage using MILP has been carried out in [72] to satisfy the thermal load demand via hydrogen fuel. The pre vious study uses the optimization to minimize the energy costs and the CO2 emissions but does not include the modeling of the mobility load. There fore, it is limited in assessing the economic viability of the hydrogen fuel in comparison with the conventional fossil fuels in the mobility sector. Few studies have been conducted in recent years in Austria which are based on optimization in the field of microgrid design. Zwickl-Bernhard and Auer [73] have recently examined a cost minimizing energy technology portfolio using an open source energy model with MILP for an energy community in Vienna, Austria. An optimization study considering two different MILP methodologies has been conducted in Ref. [14] for the optimal planning of renewable energy based microgrid in Austria to minimize the total annual energy costs and the total annual carbon dioxide emissions. Although the studies reported in Ref. [73] and Ref. [14] support the optimal energy system planning in microgrid structure in Austria but are limited in not considering the hydrogen technology and modeling of the mobility load. Caglayan et al. [74] have recently proposed a robust design of a future 100% renewable eu ropean energy supply system with a hydrogen infrastructure and have con cluded that Austria might serve as a channel for hydrogen transport in the region. Ajanovic [75] has conducted an economic analysis for different value chains of hydrogen production and its usage in mobility sector for Austria. 26 The main focus of the study in Ref. [75] is the production of hydrogen from renewable energy sources in Austria and considers simple investment calcu lation methods to evaluate the current hydrogen energy costs and projects the future energy service costs with a learning rate. Although the previ ously mentioned study is relevant to this research work but it is relatively old, lacks optimization methodology to assess the techno-economic viability and is limited in realizing the real deployment of renewable energy based hydrogen production, seasonal storage and service use in mobility sector of Austria. ### 2.5.2 Carbon Prices and Policy Framework Since hydrogen can be generated via electrolysis using renewable energy sources and stored, it has potential to be considered as zero carbon fuel. If not completely generated via renewable energy sources, it has still potential to be considered as low carbon fuel. Although the conventional fuels such as diesel and gasoline are widely used in mobility sector at the moment, these fuels are contributing significantly to the overall carbon footprint of the en vironment. Hanley et al. [76] provide extensive review perspectives for the role of hy drogen in low carbon energy futures and provide assessment for policy mak ers about various options that can be considered in moving towards decar bonized energy transition. Mansilla et al. [77] provide an overview of the key economic issues and perspectives of hydrogen applications and discuss its cost goals. It is believed that clean hydrogen still costs too much to be widely used [78]. Therefore, an assessment for the hydrogen fuel is needed in terms of trade off between the current market price of conventional fuels and the hydrogen fuel generated via cleaner production means i.e. electrolysis using renewable 27 energy sources in microgrids. The idea is that if the cost of hydrogen produc tion is higher than the conventional fuels in the market, a policy framework can be established to impose carbon dioxide prices on the conventional fu els to actually drive the market towards the extensive use of hydrogen and protect the environment. Although there is already an EU Emission Trad ing System (EU ETS) that is world’s first carbon market for setting policy to reduce the greenhouse gas emission cost effectively [79], the new policy framework is needed which should impose the carbon price or carbon tax on mobility network of ground transportation that use conventional fuel. This thesis provides a major assessment for the clean hydrogen fuel costs in comparison to the conventional diesel fuel costs, identifies the hydrogen diesel cost gap and proposes a carbon price or carbon tax as a policy frame work that can drive the extensive use of hydrogen fuel with nearly zero car bon dioxide emissions in mobility sector using microgrids. ## 2.6 Renewable Energy Communities and Energy Transfer Energy communities hold a significant role in the clean energy transition pre sented by the Clean Energy Package (CEP) [80]. There are two types of en ergy communities presented in CEP based on two different directives. The Directive 2018/2001 [81] presents the Renewable Energy Community (REC). The Directive 2019/944 [82] presents the Citizen Energy Community (CEC). This research work is focused on a real case study of a microgrid based REC in Austria. For many EU countries, the concept of energy sharing in com munities is still new from a legislative point of view [83]. In order to pro mote decentralized energy supply and strengthen regional supply concepts, RECs receive increased attention in Austria currently. Energy communities 28 are legally defined and anchored in the Erneuerbaren Ausbaugesetzes (EAG) [84]. According to EAG §74 paragraph 1, a REC can produce energy from renewable sources and consume, store or sell the produced energy. There fore, for each community member it is possible to exchange energy from renewable sources (such as PV, wind power, combined heat and power sys tems, fuel cells and energy storage systems) within the defined community. The membership is open to private individuals, small and medium-sized en terprises (SMEs), public authorities (including municipalities), climate and energy model regions, e5-communities (a community which fulfills certain rules to be more efficient) and tourism regions. To create a financial incentive for the participants, a reduced distribution grid tariff is introduced for the electricity exchanged within the REC, as well as other financial advantages such as the cancellation of all electricity taxes and green electricity fees. Energy sharing has been discussed extensively in the literature recently, with a special focus on Peer-to-Peer (P2P) local markets where energy surplus is traded. Park and Yong [85] have provided a comprehensive review on the P2P electricity trading with a focus on providing potential development and future challenges for governments and private corporations that are inter ested in energy sharing. A comprehensive review of existing P2P energy trading projects has been provided by Zhang et al. in Ref. [86] with a fo cus on their use in local energy microgrids. Recently, P2P energy sharing has also been researched using decentralized models via bilateral contracts, auction models and blockchain based models. The Brooklyn Microgrid [87] considers a blockchain based microgrid energy market to satisfy the request of the energy management. Leong et al. [88] propose an auction based P2P energy trading mechanism via a Bayesian game bidding strategy. Morstyn et al. [89] propose P2P energy trading via bilateral contracts for a new scalable 29 market design. Long et al. [90] have investigated energy sharing for differ ent Distributed Energy Resource (DER) producers in a community microgrid with PV and battery systems. Reihani et al. [91] propose a framework to con sider energy sharing that allows energy buyers to reduce their energy costs by exchanging energy with neighbouring peers and local utility. Cui et al. [92] present an efficient energy sharing mechanism for various prosumers in an energy community. A recent study by Lin et al. [93] considers the optimal energy sharing of solar PV, wind power and battery among different resi dential houses on just 24-hours of time resolution. The studies mentioned above consider the renewable and battery energy sharing among the micro grid participants based only on the operation phenomenon, neglecting the optimal investment of the DER technologies. It is completely different to op timally design a microgrid with DER investments and optimal energy shar ing than just operate the already established microgrids. It is because of the fact that the fixed sizing of the DER technologies of the already established microgrids can pose certain limitations on the energy sharing among par ticipants. Moreover, the variability of renewable energy technologies such as solar PV and wind power can affect the energy sharing among microgrid participants in different times of the year. Hence, an optimal renewable en ergy sharing mechanism can not be guaranteed. Therefore, it is important to develop certain models which consider both the optimal planning of micro grids and the optimal energy sharing from DER technologies in an energy community setup with at least a yearly time horizon. ### 2.6.1 Optimization Models for Renewable Energy Commu- nities Microgrids connect various renewable energy resources and create a dynamic and complex integrated energy system [94]. The optimal planning of such 30 microgrids within the REC infrastructure requires advanced modeling tech niques that can bring such systems into reality. It is mainly due to the large number of decision variables related to the number of community partici pants and the distributed technologies involved. Huang et al. [95] propose a Mixed-Integer Linear Programming (MILP) based peer-to-peer energy trad ing mechanism in a microgrid with a distributed PV and battery energy stor age system. The objective function considered is the minimization of total en ergy costs of all individual participants of the microgrid. The capacities of the technologies were assumed to be fixed in the case study. Although the pre viously mentioned study contributes towards renewable energy based mi crogrids, it can not be applied to the optimal planning of such microgrids in RECs. Fleischhacker et al. [96] use an open source model to perform portfolio optimization to establish an energy community in a city district. Although the complex multi-energy system proposed in Ref. [96] considers the mini mization of the costs and carbon emissions on a district level, it is limited in providing an optimal planning of RECs with different utility tariffs, demand rates and market signals including feed-in-tariffs for a microgrid. Also, dif ferent clustering techniques have been used to disaggregate the time-series input data which makes the optimization models vulnerable in terms of time series connectivity of technologies. To overcome this disadvantage, full-scale yearly optimization techniques based on 8760-hours have been used recently for the planning of renewable energy microgrids such as the optimal plan ning of a thermal energy system with a seasonal storage in Ref. [14], a per formance comparison of two different MILP based models including 8760 hours for 13 different microgrid case studies in Ref. [97] and the use of a 8760-hours modeling approach for the optimal planning of microgrid tech nologies including hydrogen electrolyzer, hydrogen seasonal storage and hy drogen mobility for a case study in Austria in Ref. [15]. Zwickl-Bernhard and 31 Auer [98] have recently examined a cost minimizing energy technology port folio using an open source energy model with MILP for an energy commu nity in Vienna, Austria. Although the study reported in Ref. [98] supports sustainable urban energy planning in community structure, it is limited in not using the full-scale optimization and also not considering the yearly op erational energy scheduling of the technology portfolio. The mechanism of renewable energy sharing within the community partici pants can be profitable if the self-consumption of renewable electricity gen erated is increased. The aggregation of the load of different prosumers can also increase the profitability. Fina et al. [99] have analyzed the sharing of rooftop PV generation in multi-apartment buildings. The maximization of the value of PV in apartment buildings with different arrangements have been studied in Ref. [100]. Fleischhacker et al. [101] have proposed a game theoretic model with a welfare maximization for the shared use of a solar PV and energy storage system in a multi-apartment building. These previously mentioned studies only consider the application of renewable energy trans fer in apartment buildings. It is necessary to diversify the application of the optimization models and include different kind of end users to have a gen uine concept of a community setup. It is also important to have a mixture of prosumers and consumers inside an energy community to realize different energy sharing mechanisms. ### 2.6.2 Multiple Tariff Structures A recent study by Perger et al. [102] considers a linear optimization model with different prosumers (apartments and businesses etc.) in an energy com munity concept for energy sharing under willingness-to-pay criteria. The en ergy tariffs considered by Perger et al. [102] for the purchase and sale of the energy to the grid and within the community are fixed retail electricity prices. 32 Another recent study by Jiang et al. [103] considers a two-stage optimization model for renewable energy sharing among prosumers and consumers of an energy community setup. The optimization model considered by Jiang et al. [103] is based on a single day _i.e._ 24-hour time horizon and considers time-of-use tariffs only. Both Perger et al. [102] and Jiang et al. [103] assume same energy prices for all participants (prosumers and consumers) and do not consider demand charges and variable market signals including feed-in tariffs. Therefore, the applications of such optimization models are limited and different electricity tariff scenarios and market signals including feed-in tariffs should be considered to realize the real-life renewable energy based community microgrid setups. ## 2.7 Novelty and Contribution beyond the State-of- the-Art This thesis has multifold contributions and novelties as compared to the state-of-the-art described in previous sections. The contributions are made in the research field of optimal planning and operation of multi-energy system based microgrids from multiple perspectives such as economical, ecological and social. In this thesis, we can distinguish three set of contributions to the literature, each related to the topics of thermal seasonal energy storage, hydrogen energy systems and renewable energy communities respectively. These contributions are described in details below. Chapter 3 addresses the gaps mentioned in the state-of-the-art literature re view of thermal seasonal energy storage as follows: - It develops two different MILP optimization models _i.e._ Opt-3D and Opt-8760 for a thermal energy system in a microgrid having central heating, solar thermal and heat storage as technologies. 33 - It also includes the essential modeling of non-linear cost functions in terms of piecewise affine (PWA) cost functions for solar thermal and heat storage technologies while keeping the optimization problem as MILP. - The Opt-3D model considers the typical profiles based optimization of the system, but preserving the load peaks by the maximum peak preser vation method in the daytypes compared to the other works which use k-means clustering. The Opt-8760 model considers the full year time horizon _i.e._ 8760-hours based optimization for the same kind of ther mal energy system. The main objective of the MILP framework is to minimize the total energy costs and the total CO2 emissions. - This work presents the application of the developed methods to the planning of a case study, quantifying the costs and CO2 emissions of a reference fuel-based heating system, and showing the cost and CO2 emission implications of transitioning to a joint solar and fuel-based heating system involving seasonal thermal storage while studying the feasibility _i.e._ solar potential of the necessary heating network for a microgrid. Chapter 4 overcomes the gaps mentioned in the state-of-the-art of hydrogen energy systems and their application in mobility sector as follows: - It designs a MILP modeling framework for the optimal planning of mi crogrid technologies. These technologies include solar PV, wind power, hydrogen electrolyzer and hydrogen storage to satisfy the mobility de mand for the decarbonization of the mobility sector. - The framework is applied to a case study for designing the renewable energy based hydrogen production and hydrogen seasonal storage for a small-scale hydrogen fueling station at a real microgrid testbed in 34 Wieselburg, Austria. In this study, the MILP framework has a multi objective setting which considers the CO2 minimization scenarios with the cost limitations. The optimization framework uses one year time series data because the adequate modeling of the optimization tech niques requires a full year time horizon at least for incorporating the renewable energy sources and seasonality of the hydrogen storage in microgrids. - This research work approaches the modeling of the mobility demand by considering a variety of hydrogen fuel cell vehicles including pas senger cars, busses and trucks. The optimization is performed relative to two different reference cases _i.e._ the diesel basecase and the utility basecase. - After setting up the reference cases, the investment optimization is per formed by minimizing the CO2 emissions and keeping a limit on the energy costs that vary in different scenarios. The results include (1) the optimal sizing and dispatch of the technologies, (2) the economical viability, (3) the environmental impact, (4) a comparison between the optimal hydrogen fuel costs and the current market costs of the diesel fuel to identify the H2-Diesel cost gap and (5) the calculation of the carbon prices to close the H2-Diesel cost gap. The uniqueness of this re search work stems from contributions toward the decarbonized energy transition in the mobility sector by addressing the five highly important points mentioned above in a single study. Chapter 5 overcomes the gaps mentioned in the state-of-the-art of renewable energy communities and goes beyond it. The main contributions of this re search work relative to the already existing studies are provided below: - A key difference to the existing literature is the development of an advanced MILP framework for the optimal planning and the optimal 35 operation dispatch with the option of transferring renewable energy between the energy community participants (nodes), combined with newly introduced node-specific time-of-use electricity rates and mar ket signals using a full-scale optimization horizon. - A real case study is analyzed for both the optimal investment and op eration dispatch planning of a renewable energy community testbed in a microgrid setup with a leading energy service provider in Aus tria. Although other technologies can be considered, this REC consid ers multiple PV and Energy Storage System (ESS) as decentralized and centralized technologies in the community. - The REC testbed considers nine diversified community participants (three households, three apartments, a government institution, a fire fighting station and a bank) connected to the utility grid. The developed MILP model considers each participant as a separate node of the microgrid system with a full-scale time horizon _i.e._ 8760-hours. Six different ref erence and optimization cases are analyzed and considered with the corresponding MILP model using different electricity tariff scenarios and market signals including feed-in tariffs. After setting up the ref erence cases, the optimization is performed relative to each reference case, where the renewable energy transfer is enabled among the com munity participants and further investment options are enabled. 37 # Chapter 3 Optimal Planning of Thermal Energy Systems in a Microgrid with Seasonal Storage and Piecewise Affine Cost Functions ## 3.1 Introduction This chapter aims to assess, investigate and solve the Research Question 1. The thermal seasonal energy storage system is effectively modeled using mixed-integer linear programming based two different models. Each of the model uses different temporal resolution and consider the Piecewiese Affine (PWA) methodology to convert the non-linear cost vs. capacity relationship of thermal energy storage into linear relationship. The importance of using each model is emphasized and the results are presented for a case study in Austria considering solar thermal, thermal energy storage, biomass based central heating technologies to supply to the thermal heating demand. The rest of this chapter is structured as follows. Section 3.2 describes the for mulation of the optimization problem for Opt-3D, Opt-8760 and PWA cost functions. Section 3.3 provides detailed information considering the case 38 study, including pre-processing and analytics of data. Section 3.4 presents the detailed results. Finally, the resume is provided in Section 3.5. ## 3.2 Formulation of Optimization Problem This work presents the comparison between two different optimization mod els using Mixed-Integer Linear Programming (MILP) for thermal energy sys tem, based on DER-CAM [37] and further developed within this research. The MILP minimizes the total annual energy costs or total annual carbon dioxide emissions as separate objective functions and balances the demand by services offered through optimized technology portfolio. The MILP frame work, which is used in this study, considers the solar thermal and heat stor age as technologies options provided that heat from fuels _i.e._ central heating grid is always available to meet the marginal heating demand when solar thermal and heat storage technologies are not available. Since the optimiza tion is based on MILP, piecewise affine functions are used to model the costs associated with the solar thermal and heat storage technologies to approxi mate the non-linear behavior. ### 3.2.1 Opt-3D: Optimization Model with Uncoupled Repre- sentative Days The first model uses time series aggregation to reduce the yearly data into 24 hours based three representative daytypes for each month by using monthly peak preservation method [35]. The daytypes include weekday, peak and weekend representative profiles. The choice of these three different daytypes in each month is considered because the thermal load has variation in the consumption pattern within weekdays and weekend days of each month. Therefore average profile of this different consumption within four weeks of 39 each month requires two representative daytypes to capture the variation of weekdays and weekend days. As averaging the consumption within week days and weekends lowers the original maximum demand, therefore peak days are required in each month which can preserve the maximum of de mand in each hour of the month so that the optimization decisions are made by keeping into account the original maximum demand within each month. The peak profiles are generated by taking the maximum of demand in ev ery hour of all days in the month. The weekday and weekend profiles are then generated by subtracting the peak demand value in the hour of week days and weekend where that maximum occurred. The subtraction of the peak demand values depends upon the occurrence of that maximum in orig inal weekday or weekend day. Finally, all the demand values of weekdays and weekends are summed up over hours and then divided by the num ber of the respective original weekdays and weekends less one (considering one peak day per month) in that particular month. It is because of the sep aration of the peak demand values from these weekdays and weekend days that average values must be adjusted downwards to maintain the monthly total consumption in reasonable range. The time horizon is disintegrated into hours _h_ _∈_ {1, 2, .. ., 24}, daytypes _d_ _∈_ {1, 2, 3} and months _m_ _∈_ {1, 2, . . ., 12}. The optimization takes every decision variable into account for each time-step _h_ within each daytype _d_ of every month _m_ . The monthly and an nual quantities are scaled up by using the number of the days _nm_, _d_ (such that ∑ <sup>12</sup> _m_ <sup>12</sup> _m_ =1 <sup>∑3</sup> _d_ <sup>3</sup> _d_ =1 <sup>_nm_</sup> <sup>,</sup> <sup>_d_</sup> <sup>= 365) for each daytype in every month.</sup> The simplified objective function related to the total annual energy costs _C_ can be represented by eq. (3.1). ## C = ∑ tech ## DER invest + ∑ _m_, _d_, _h_ ## C utility + ∑ _m_, _d_, _h_ _C_ O&M (3.1) 40 where _DER_ invest is the annualized investment cost per technology _tech_, _C_ utility is related to volumetric fuel costs and other fixed costs related to utility and _C_ O&M is related to the operation and maintenance costs. _DER_ invest can be further described as shown in eq. (3.2) and eq. (3.3). ## DER invest = ∑ tech ( _C_ up Πtech) (3.2) _C_ up = _VarC_ tech _Cap_ tech + _FixC_ tech (3.3) where _C_ up is the upfront capital cost of the technology, Πtech is the annuity rate of the technology, _VarC_ tech is the variable capital cost of the technology, _Cap_ tech is the technology capacity to be invested, _FixC_ tech are the fixed capital costs of the technology. The variable capital costs vary with the amount of capacity that is invested, while the fixed capital costs are independent on the size of the technology and cover engineering costs. The simplified objective function related to the total annual carbon dioxide emissions can be represented by eq. (3.4). It is the summation of the carbon dioxide emissions from burning different fuel types used in providing the heat. ## CO 2 = ∑ fueltype m ∑, d, h _CO_ 2fuels (3.4) The heat received from solar is given by eq. (3.5). _Hm_ <sup>_S_</sup> <sup>th</sup>, <sup>_S_</sup> <sup>th</sup> _m_, _d_, _h_ <sup>=</sup> <sup>_AS_</sup> <sup>th</sup> <sup>_Im_</sup> <sup>,</sup> <sup>_h η_</sup> _m_ <sup>_S_</sup> <sup>th</sup>, _h_ (3.5) _m_ <sup>_S_</sup> <sup>th</sup>, _h_ 41 where _A_ <sup>_S_</sup> <sup>th</sup> is the decision variable for the solar thermal area, _Im_, _h_ is the pa rameter for the solar irradiance modeled based on [104] and _η_ <sup>_S_</sup> <sup>th</sup> _m_, _h_ <sup>is</sup> <sup>the</sup> <sup>pa-</sup> rameter for the solar thermal efficiency modeled according to [105]. For Opt 3D model, the solar irradiance and solar thermal efficiency are modeled by weather data that are averaged on monthly basis over hours and the result ing heat from the solar decision variable assumes the same output for all the three daytypes in each month. The heat storage model is defined by eq. (3.6-3.9). _Hm_ <sup>stored</sup>, _d_, _h_ _m_ <sup>stored</sup>, _d_, _h_ <sup>=</sup> <sup>_H_</sup> _m_ <sup>stored</sup>, _d_, _h−_ _m_ <sup>stored</sup>, _d_, _h−_ 1 <sup>+</sup> <sup>_H_</sup> _m_ <sup>in</sup>, _m_ <sup>in</sup>, _d_, _h_ <sup>_−_</sup> <sup>_H_</sup> _m_ <sup>out</sup>, _d_ _m_ <sup>out</sup>, _d_, _h_ <sup>_−_</sup> <sup>_H_</sup> _m_ <sup>loss</sup>, _d_, (3.6) _m_ <sup>loss</sup>, _d_, _h_ _Hm_ <sup>in</sup> _m_ <sup>in</sup>, _d_, _h_ <sup>=</sup> <sup>_H_</sup> _m_ <sup>for</sup>, _d_ _m_ <sup>for</sup>, _d_, _h_ <sup>_η_</sup> <sup>char</sup> (3.7) _m_ <sup>out</sup>, _d_, _h_ <sup>=</sup> <sup>_H_</sup> _m_ <sup>from</sup>, _d_, _h_ _Hm_ <sup>out</sup>, _d_ _m_ <sup>from</sup>, _d_, _h_ <sup>1/(</sup> <sup>_η_</sup> <sup>dis)</sup> (3.8) _Hm_ <sup>loss</sup>, _d_, _m_ <sup>stored</sup>, _d_, _h−_ 1 <sup>Θs +</sup> <sup>_Cap_</sup> <sup>HS Θst</sup> _m_ <sup>loss</sup>, _d_, _h_ <sup>=</sup> <sup>_H_</sup> _m_ <sup>stored</sup>, _d_, _h−_ ( _T_ min _−_ _Tm_ <sup>amb</sup> <u>,</u> _<u>h</u>_ <sup>)</sup> (3.9) ( _T_ max _−_ _T_ min) where _Hm_ <sup>stored</sup>, _d_, _h_ _m_ <sup>stored</sup>, _d_, _h_ <sup>represents the state of the charge of the heat storage,</sup> <sup>_H_</sup> _m_ <sup>in</sup>, _m_ <sup>in</sup>, _d_, _h_ <sup>is</sup> the input for heat storage, _Hm_ <sup>for</sup>, _d_, _h_ <sup>is the heat required for storing in heat stor-</sup> age, _η_ char is the charging efficiency, _Hm_ <sup>out</sup>, _d_, _h_ <sup>is</sup> <sup>the</sup> <sup>output</sup> <sup>from</sup> <sup>heat</sup> <sup>storage,</sup> _Hm_ <sup>from</sup>, _d_, _h_ <sup>is</sup> <sup>the</sup> <sup>heat</sup> <sup>required</sup> <sup>from</sup> <sup>the</sup> <sup>heat</sup> <sup>storage,</sup> <sup>_η_</sup> <sup>dis</sup> <sup>is</sup> <sup>the</sup> <sup>discharging</sup> <sup>ef-</sup> ficiency, _Hm_ <sup>loss</sup>, _d_, _h_ <sup>is</sup> <sup>the</sup> <sup>heat</sup> <sup>lost</sup> <sup>in</sup> <sup>heat</sup> <sup>storage</sup> <sup>during</sup> <sup>working</sup> <sup>and</sup> <sup>standby</sup> conditions, Θs is the loss factor during storage operation, Θst is the loss fac tor during storage standby condition, _Cap_ HS is the capacity of the heat stor age, _T_ min is the minimum temperature of the storage, _T_ max is the maximum 42 temperature of the storage and _Tm_ <sup>amb</sup>, _h_ <sup>is</sup> <sup>the</sup> <sup>ambient</sup> <sup>temperature.</sup> <sup>The</sup> <sup>heat</sup> storage model constraints are given by eq. (3.10-3.13). _Hm_ <sup>stored</sup>, _d_,1 _m_ <sup>stored</sup>, _d_,1 <sup>=</sup> <sup>_H_</sup> _m_ <sup>stored</sup>, _d_,24 _m_ <sup>stored</sup>, _d_,24 <sup>+</sup> <sup>_H_</sup> _m_ <sup>in</sup>, _m_ <sup>in</sup>, _d_,1 <sup>_−_</sup> <sup>_H_</sup> _m_ <sup>out</sup>, _d_ _m_ <sup>out</sup>, _d_,1 <sup>_−_</sup> <sup>_H_</sup> _m_ <sup>loss</sup>, _d_ (3.10) _m_ <sup>loss</sup>, _d_,1 _Hm_ <sup>stored</sup>, _d_, _h_ <sup>_≤_</sup> <sup>_Cap_</sup> <sup>HS</sup> (3.11) <sup>in</sup> _m_, _d_, _h_ <sup>_≤_</sup> <sup>_Cap_</sup> <sup>HS</sup> <sup>_φ_</sup> char <sup>max</sup> _Hm_ <sup>in</sup> (3.12) char <sup>max</sup> <sup>out</sup> _m_, _d_, _h_ <sup>_≤_</sup> <sup>_Cap_</sup> <sup>HS</sup> <sup>_φ_</sup> dis <sup>max</sup> _Hm_ <sup>out</sup>, _d_ (3.13) dis <sup>max</sup> where eq. (3.10). represents the periodicity constraint in dynamic condition and shows that the first hour of the state of the charge of heat storage is linked with the last hour of the respective daytype _d_ in the month _m_ of the state of the charge of heat storage. _φ_ <sup>max</sup> char <sup>is</sup> <sup>the</sup> <sup>maximum</sup> <sup>charging</sup> <sup>rate</sup> <sup>of</sup> <sup>the</sup> <sup>heat</sup> storage and _φ_ <sup>max</sup> dis <sup>is the maximum discharging rate of the heat storage.</sup> <sup>The</sup> higher level energy balance can be represented in a simplified manner by eq. (3.14). _m_ <sup>from</sup>, _d_, _h_ <sup>+</sup> <sup>_H_</sup> _m_ <sup>fuels</sup>, _d_, _h_ _Hm_ <sup>load</sup>, _d_, _m_ <sup>load</sup>, _d_, _h_ <sup>+</sup> <sup>_H_</sup> _m_ <sup>for</sup>, _d_ _m_ <sup>for</sup>, _d_, _h_ <sup>=</sup> <sup>_H_</sup> _m_ <sup>_S_</sup> <sup>th</sup>, _d_ _m_ <sup>_S_</sup> <sup>th</sup>, _d_, _h_ <sup>+</sup> <sup>_H_</sup> _m_ <sup>from</sup>, _d_, _h_ (3.14) _m_ <sup>fuels</sup>, _d_, _h_ where _Hm_ <sup>load</sup>, _d_, _m_ <sup>load</sup>, _d_, _h_ <sup>is</sup> <sup>the</sup> <sup>thermal</sup> <sup>load</sup> <sup>of</sup> <sup>the</sup> <sup>system</sup> <sup>to</sup> <sup>be</sup> <sup>satisfied</sup> <sup>and</sup> <sup>_H_</sup> _m_ <sup>fuels</sup>, _d_, _h_ _m_ <sup>fuels</sup>, _d_, _h_ <sup>is</sup> associated with the fuel for heat _Fm_ <sup>heat</sup>, _d_, _h_ <sup>by an efficiency parameter represented</sup> by _η_ fuel as given in eq. (3.15). _Hm_ <sup>fuels</sup>, _d_, _h_ <sup>fuels</sup> _m_, _d_, _h_ <sup>=</sup> <sup>_η_</sup> <sup>fuel</sup> <sup>_F_</sup> _m_ <sup>heat</sup>, _d_, (3.15) _m_ <sup>heat</sup>, _d_, _h_ 43 ### 3.2.2 Opt-8760: Optimization Model with 8760-Hours Time Horizon Since the Opt-3D model considers the time series aggregation and the re sulting representative daytype profiles, it does not keep any connectivity be tween the optimization days, and thus, can not model the seasonal storage behavior directly. The Opt-8760 model uses a full scale yearly time horizon _i.e._ 8760-hours and increases the time resolution of the MILP model used in Opt-3D by replacing _m ∈_ {1, 2, . .., 12}, _d ∈_ {1, 2, 3} and _h ∈_ {1, 2, ..., 24} with _t ∈_ {1, 2, .. ., 8760} for all the demand as well as the weather input data. This full scale optimization considers connectivity between all the optimization time-steps and can therefore model seasonal storage behavior directly. ### 3.2.3 Piecewise Affine Cost Functions for Solar Thermal and Heat Storage The cost functions of the technologies that are used in thermal systems _i.e._ solar thermal and heat storage are not always justified as linear functions [29]. The costs of large hot water heat storage systems are dominated by the material for the tank since the storage capacity is proportional to the volume of the tank. A simple dimensional analysis demonstrates that for the most common type of heat storages (hot water tanks), an approximate power-law given by eq. (3.16) can be used when comparing typical costs for storage tanks [29]. Similarly, the costs of large solar thermal systems are observing non-linearities with its capacity and can be represented as given in eq. (3.16) [106]: _C_ up( _x_ ) = _A x_ <sup>_α_</sup> (3.16) 44 where _C_ up( _x_ ) is the non-linear cost function, _x_ is the capacity of the solar thermal or heat storage and _A_ and _α_ are the technology-specific parameters (e.g. _A_ = 0.661 [Million-EUR/MW] and _α_ = 0.835 for solar thermal [106] and _A_ = 141 [EUR/kWh] and _α_ = 0.667 for heat storage [29]). A Piecewise Affine (PWA) linear approximation approach is used in this study to model the non-linear cost function _C_ up( _x_ ) for both solar thermal and heat storage technologies as compared to other works which only consider heat storage technology for PWA approximations. This is in particular desir able because mixed integer non-linear programming (MINLP) problems can be translated into the MILP problems for which efficient algorithms and opti mization software packages are widely available. In general, PWA functions consist of several discrete linear segments (pieces) that are used to describe a univariate function _f_ ( _x_ ). The location where one of these linear segments ends and a new one begins are designated as breakpoints _xi_ . A PWA linear function _f_ <sup>˜</sup> ( _x_ ) can be described as the following set of linear equations: _a_ 1( _x −_ _x_ 1) + _b_ 1 _x_ 1 _<_ _x_ _≤_ _x_ 2 _a_ 2( _x −_ _x_ 2) + _b_ 2 _x_ 2 _<_ _x_ _≤_ _x_ 3 ... ... _an−_ 1( _x −_ _xn−_ 1) + _bn−_ 1 _xn−_ 1 _<_ _x_ _≤_ _xn_ _f_ ˜ ( _x_ ) =    (3.17) where _ai_ are the slopes, _bi_ are the intercepts of the different linear segments, _n_ is the number of breakpoints _xi_ and ( _n −_ 1) represents the total number of linear segments. A schematic illustration of a PWA approximation func tion _f_ <sup>˜</sup> ( _x_ ) with three linear pieces of an arbitrary non-linear function _f_ ( _x_ ) is demonstrated in Figure 3.1. A fundamental issue in modeling non-linear functions for MILP problems is how to represent the PWA approximation 45 function _f_ <sup>˜</sup> ( _x_ ) as a set of linear equations using discrete and continuous deci sion variables [107]. This issue is addressed in this study by using the Convex Combination Model [108] to represent PWA approximation functions _f_ <sup>˜</sup> ( _x_ ). FIGURE 3.1: A schematic illustration of the PWA approxima tion function _f_ <sup>˜</sup> ( _x_ ) with three linear pieces. Convex Combination Model The convex combination model represents the PWA approximation functions _C_ ˜up( _x_ ) as a linear combination of the breakpoints _xi_ as given in eq. (3.18 3.19). _C_ ˜up( _x_ ) = _x_ = _n_ ## ∑ _i_ =1 _n_ ## ∑ _i_ =1 _λi C_ up( _xi_ ) (3.18) _λi xi_ (3.19) where all coefficients _λi_ are non-negative, continuous variables between 0 and 1 and summed up to 1 as given in eq. (3.20-3.21). _λi_ _∈_ [0, 1], _i_ = 1, . . ., _n_ (3.20) 46 _n_ ## ∑ _i_ =1 _λi_ = 1 (3.21) The constraints related to _λi_ are given in eq. (3.22). _δi_ +1 for _i_ = 0 _δi_ + _δi_ +1 for _i_ = 1, . . ., _n −_ 1 _δi_ for _i_ = _n_ _λi_ _≤_    (3.22) where _δi_ are binary variables and are modeled as given in eq. (3.23-3.24). _δi_ _∈{_ 0, 1 _}_, _i_ = 1, . . ., _n_ (3.23) _n_ ## ∑ _i_ =1 _δi_ = 1 (3.24) The binary variables _δi_ and the listed constraints given by eq. (3.22) enforce the condition that at the most two weighting factors _λi_ are non-zero, in which case they must be adjacent. Therefore, if the binary variable _δi_ +1= 1 for instance, then the point ( _x_, _C_ <sup>˜</sup> up( _x_ )) = ( _λi xi_, _λi C_ up( _xi_ )) + ( _λi_ +1 _xi_ +1, _λi_ +1 _C_ up( _xi_ +1)) is given by the linear (con vex) combination of the two points ( _xi_, _C_ up( _xi_ )) and ( _xi_ +1, _C_ up( _xi_ +1)) since _λi_ + _λi_ +1 = 1 and 0 _≤_ _λi_ _≤_ ( _δi_ + _δi_ +1) = 1, _λi_ +1 _≥_ 0. Fitting Non-Linear Cost Functions The optimal positions of the breakpoints _xi_ are not always known. More over, a simple linear connection using just the convex combination model between the original cost function values _C_ up( _xi_ ) leads to a PWA approxi mation _C_ <sup>˜</sup> up( _x_ ), where the functional values are systematically smaller than that of _C_ up( _x_ ) _i.e._ _C_ ˜up( _x_ ) _≤_ _C_ up( _x_ ) : _∀x_ except at the breakpoint locations 47 _xi_ where _C_ up( _xi_ ) = _C_ <sup>˜</sup> up( _xi_ ). Therefore, performing a linear fit process before using the convex combination model minimizes the deviation errors (resid uals) _ϵi_ = _|_ _C_ up( _xi_ ) _−_ _C_ <sup>˜</sup> up( _xi_ ) _|_ . In this study, a preliminary analysis is per formed using logarithmically spaced separation which suggests that at least five linear segments are needed to cover five orders of magnitude for heat storage and solar thermal with a deviation error of less than 10%. Thus, the linear fit process is performed by considering _n_ = 6 breakpoints (five linear segments) and minimizing the sum-of-squares of the residuals _ϵi_ as given in eq. (3.25). �2 = min _α_ _n_ ## ∑ _i_ =1 _ϵi_ <sup>2</sup> (3.25) min _α_ _n_ ## ∑ _i_ =1 _C_ up( _xi_ ) _−_ _C_ <sup>˜</sup> up( _xi_ ; _⃗_ _α_ ) where the components ( _α_ 1, . . ., _αk_ ) of the vector _⃗_ _α ∈_ R <sup>_k_</sup> are the fit parameters of the linear segments. The regression analysis method is performed several times for five continuous linear pieces until the minimum deviation error is found. After performing the linear fit process, the PWA approximation functions _C_ ˜up( _x_ ) are modeled through the convex combination model as described in section 3.2.3. The resulting PWA parameters for solar thermal and heat stor age technologies are given in Table 3.1. Depending upon the capacity chosen by the optimization model, the respective linear segment of the piecewise affine function is activated and the costs are calculated using the variable cost and fixed costs of that active linear segment. The cost vs. capacity curves us ing linear cost functions, non-linear cost functions and PWA cost functions for solar thermal and heat storage technologies are illustrated in Figure 3.2 and Figure 3.3 respectively. It can be seen from Figure 3.2 and Figure 3.3 that the upfront capital costs of solar thermal as well as heat storage technologies 48 are significantly lower for the large capacities considering the resulting lin early fitted piecewise affine function as compared to just single linear cost function. #### Parameter Solar Thermal Heat Storage Min. Cap. 0 [kW] 0 [kWh] Breakpoint 12 350 [kW] 350 [kWh] Breakpoint 23 4,238 [kW] 3,500 [kWh] Breakpoint 34 11,443 [kW] 35,000 [kWh] Breakpoint 45 21,741 [kW] 350,000 [kWh] Max. Cap. 35,000 [kW] 3,500,000 [kWh] Cost Value at Min. Cap. 0 [e] 520 [e] Cost Value at Breakpoint 12 345,884.14 [e] 6,820 [e] Cost Value at Breakpoint 23 2,249,511.90 [e] 33,119.88 [e] Cost Value at Breakpoint 34 5,092,805.40 [e] 155,206.46 [e] Cost Value at Breakpoint 45 8,675,353.80 [e] 722,005.19 [e] Cost Value at Max. Cap. 12,893,566 [e] 3,350,130.58 [e] Fixed Costs of Linear Segment 1 0 [e] 520 [e] Fixed Costs of Linear Segment 2 174,511.57 [e] 3,897.79 [e] Fixed Costs of Linear Segment 3 577,170.54 [e] 19,554.70 [e] Fixed Costs of Linear Segment 4 1,112,048.18 [e] 92,228.82 [e] Fixed Costs of Linear Segment 5 1,758,462.20 [e] 429,991.26 [e] Variable Cost of Linear Segment 1 988.24 [e/kW] 18 [e/kWh] Variable Cost of Linear Segment 2 489.64 [e/kW] 8.35 [e/kWh] Variable Cost of Linear Segment 3 397.62 [e/kW] 3.88 [e/kWh] Variable Cost of Linear Segment 4 347.88 [e/kW] 1.80 [e/kWh] Variable Cost of Linear Segment 5 318.15 [e/kW] 0.83 [e/kWh] TABLE 3.1: Investment parameters for solar thermal and heat storage technologies with piecewise affine (PWA) cost functions. The non-linear cost functions are considered according to [29, 106]. 49 35 30 25 20 15 10 5 0 x45 x12 Linear Segment 1 Linear Segment 2 <u>Linear Segment 3</u> Linear Segment 4 Linear Segment 5 <u>Linear Cost Function</u> Non-Linear Cost Function x23 <u>x34</u> 0 5 10 15 20 25 30 35 x [MW] FIGURE 3.2: Cost vs. Capacity curve of solar thermal technol ogy using linear, non-linear and PWA cost functions. <u>10</u> <sup>6</sup> 3.5 3 2.5 2 1.5 1 0.5 0 ~~Linear Segment 1~~ Linear Segment 2 Linear Segment 3 ~~Linear Segment 4~~ Linear Segment 5 Linear Cost Function ~~Non-Linear Cost Function~~ x34 <u>10</u> <sup>4</sup> 3.5 <u>3</u> 2.5 ~~2~~ 1.5 ~~x~~ <u>23</u> 1 0.5 <u>x</u> ~~<u>12</u>~~ 0 0 500 1000 1500 2000 2500 3000 3500 x ~~45~~ 0 0.5 1 1.5 2 2.5 3 3.5 4 x [kWh] 10 <sup>5</sup> FIGURE 3.3: Cost vs. Capacity curve of heat storage technology using linear, non-linear and PWA cost functions. 50 ## 3.3 Case Study This section covers the general overview of the approach to the definition of the case study, data analytics and pre-processing. The case study is related to a set of community residential buildings in Austria. Only space heating load is considered for this study and it is generated using TRNSYS [109] sim ulations on hourly basis for a whole year. Central heating through biomass fuel, solar thermal and heat storage technologies are considered to satisfy the thermal load. The heat storage considered for this study is a hot water tank storage. The schematic diagram of the researched thermal system is illus trated in Figure 3.4. Solar Thermal Thermal Load Biomass Central Heating Fuel Boiler Central Heating Fuel Boiler Heat Storage FIGURE 3.4: Schematic diagram of investigated thermal sys tem. ### 3.3.1 Time Series Data Analysis and Processing The hourly load profile of the thermal load for the whole year is demon strated in Figure 3.5. The thermal load profile shown in Figure 3.5 is also used directly in the Opt-8760 model. The annual load is around 2004 MWh/a with a peak load of 2 MWp. The seasonal behavior is clearly evident from Figure 3.5 and shows no load in the summer months. 51 2000 1500 1000 500 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Time of Year [hour] FIGURE 3.5: Thermal load profile on hourly basis for all the year [109]. The yearly profile is then reduced by time series aggregation as mentioned in section 3.2.1. This results in 24-hours based three representative daytypes _i.e._ week, peak and weekend for all the 12 months. The resulting repre sentative profiles are shown in Figures 3.6-3.8 and are used for the Opt-3D model. It can be seen from Figure 3.7 that the peaks for every month are preserved and the week and weekend profiles are averaged after subtracting the peaks form the respective occurring daytypes. The number of the days for the week, peak and weekend daytypes are selected according to Table 3.2. The total annual thermal load based on these number of days associated with respective profiles results in 2003 MWh/a, a 0.05% difference relative to the original yearly thermal demand, with the same peak load of 2 MWp. This shows that the time series aggregation method captures the monthly vari ations adequately in terms of week days, weekend days and peak days so that the percentage difference between the original yearly thermal demand and the up-scaled yearly thermal demand from the reduced representative profiles in each month is almost negligible. 52 1800 1600 1400 1200 1000 800 600 400 200 0 2500 2000 1500 1000 500 0 January-Week February-Week <u>March-Week</u> April-Week <u>May-Week</u> June-Week July-Week ~~August-Week~~ September-Week October-Week ~~November-Week~~ December-Week 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.6: Week days time series aggregated representative profiles of the thermal load for all the year. January-Peak February-Peak March-Peak April-Peak ~~May-Peak~~ June-Peak July-Peak August-Peak September-Peak <u>October-Peak</u> November-Peak December-Peak 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.7: Peak days time series aggregated representative profiles of the thermal load for all the year. 53 1800 1600 1400 1200 1000 800 600 400 200 0 January-Weekend February-Weekend <u>March-Weekend</u> April-Weekend <u>May-Weekend</u> June-Weekend July-Weekend ~~August-Weekend~~ September-Weekend October-Weekend ~~November-Weekend~~ December-Weekend 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.8: Weekend days time series aggregated representa tive profiles of the thermal load for all the year. <u>Month</u> <u>Week Days</u> <u>Peak Days</u> <u>Weekend Days</u> January 21 1 9 February 19 1 8 March 22 1 8 April 20 1 9 May 22 1 8 June 21 1 8 July 21 1 9 August 22 1 8 September 20 1 9 October 21 1 9 November 21 1 8 <u>December</u> <u>21</u> <u>1</u> <u>9</u> TABLE 3.2: Number of the days for representative profiles in each month. The weather data include the global irradiance, diffuse irradiance and am bient temperature. These data are gathered through Metenorm [110] for the location of the considered case study. The weather data are available for one full year on hourly time-steps and used for the Opt-8760 model. The hourly based weather data are shown in Figure 3.9. These weather data are also reduced using time series aggregation methods to get average values per month for Opt-3D model and are shown in Figures 3.10-3.12. 54 1000 800 600 400 200 0 Global Irradiance Diffuse Irradiance Ambient Temperature 0 1000 2000 3000 4000 5000 6000 7000 8000 Time of Year [hour] 40 30 20 10 0 -10 -20 FIGURE 3.9: Weather Data: Global Irradiance, Diffuse Irradiance and Ambient Temperature on hourly basis for all the year [110]. 600 500 400 300 200 100 0 January February March ~~April~~ May June July ~~August~~ September October November <u>December</u> 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.10: Global irradiance time series aggregated repre sentative profiles of the thermal load for all the year. 55 350 January February 300 <u>MarchApril</u> May June 250 ~~July~~ August September <u>October</u> 200 November December 150 100 50 0 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.11: Diffuse irradiance time series aggregated repre sentative profiles of the thermal load for all the year. 50 January February March 40 <u>April</u> May June July 30 <u>AugustSeptember</u> October November December 20 10 0 -10 0 5 10 15 20 25 Time of Day [hour] FIGURE 3.12: Ambient temperature time series aggregated rep resentative profiles of the thermal load for all the year. ### 3.3.2 Techno-Economical Parameters The economic parameters for both Opt-3D and Opt-8760 optimization mod els are the same. These include the investment parameters such as fixed capi tal costs, variable capital costs, fixed maintenance costs, lifetime and annuity rate. The fixed and variable capital costs for solar thermal and thermal stor age are different when considering the fixed linear _i.e._ Non-PWA cost func tions and PWA cost functions. The economic parameters for central heating, 56 solar thermal and heat storage considering Non-PWA fixed cost functions are reported in Table 3.3 based on [111, 112]. The economic parameters for solar thermal and heat storage considering the PWA cost functions are given in Table 3.1. Technology Fixed Cost Variable Costs Fixed Maintenance Costs Lifetime Annuity Rate [e] [e/kW] or [e/kWh] [e/kW] or [e/kWh] per month [Years] [%] Central Heating 13,821 270 1.72 25 5.74 Solar Thermal 0 988 0 20 6.72 Heat Storage 520 18 0 25 5.74 TABLE 3.3: Investment parameters for central heating, solar thermal and heat storage technologies with fixed linear (Non PWA) cost function [111, 112]. The solar thermal collectors have horizontal orientation with a tilt angle of 20 <sup>_◦_</sup> . The technical parameters for the heat storage contain the charging and discharging efficiencies, maximum charge and discharge rates, minimum and maximum temperatures and losses. These parameters are same for the Opt-3D and the Opt-8760 models except the parameters of losses. The losses for the Opt-8760 model are assumed in accordance with [43]. Whereas, the losses for the Opt-3D model are assumed to be 8% higher than the Opt-8760 model given that the Opt-3D is a non-seasonal model and the losses for short term non-seasonal heat storage are higher than the long-term seasonal stor age [113]. These parameters are given in Table 3.4 and are based on [40, 43, 113]. <u>Parameter</u> <u>Value</u> _η_ char [%] 90 _η_ dis [%] 90 _φ_ <sup>max</sup> char <sup>[%]</sup> 75 _φ_ <sup>max</sup> char <sup>[%]</sup> 75 _φ_ <sup>max</sup> dis <sup>[%]</sup> 75 _φ_ <sup>max</sup> dis <sup>[%]</sup> 75 _T_ min [ <sup>_◦_</sup> C] 15 _T_ max [ <sup>_◦_</sup> C] 65 Θs/Θst [%] Opt-3D: 0.08 <u>Opt-8760:</u> <u>0.01</u> TABLE 3.4: Technical parameters for heat storage [40, 43, 113]. 57 The technical parameters for the central heating contain the fueltype, volu metric fuel costs, fuel to heat efficiency and marginal CO2 emissions. These parameters are based on [111] and are given in Table 3.5. The biomass based central heating technology does not consider the minimum output constraint in terms of production mode and the optimizer chooses the optimal capacity based on the maximum _Hm_ <sup>fuels</sup>, _d_, _h_ <sup>output as defined by the eq.</sup> <sup>(3.15).</sup> <u>Parameter</u> <u>Value</u> Fueltype Biomass Fuel Costs [e/kWh] 0.05 _η_ fuel [%] 78 <u>CO2 Fuel Emissions [kg CO2 / kWh]</u> <u>0.02</u> TABLE 3.5: Technical parameters for central heating [111]. ### 3.3.3 Optimization & Testing Framework For testing the case study, the Opt-3D and the Opt-8760 optimization models are tested for different scenarios reported in Table 3.6. <u>Scenario</u> <u>Optimization Model</u> <u>Minimization</u> Scenario-0 (a): Basecase Opt-3D Cost Scenario-0 (b): Basecase Opt-8760 Cost Scenario-1 (a): 0% relaxation w.r.t basecase Opt-3D Cost Scenario-1 (b): 0% relaxation w.r.t basecase Opt-3D CO2 Scenario-2 (a): 0% relaxation w.r.t basecase Opt-8760 Cost Scenario-2 (b): 0% relaxation w.r.t basecase Opt-8760 CO2 Scenario-3: 50% relaxation w.r.t basecase Opt-3D CO2 <u>Scenario-4:</u> <u>50% relaxation w.r.t basecase</u> <u>Opt-8760</u> <u>CO2</u> TABLE 3.6: Different scenarios for the optimization and testing framework. Scenario-0 is the basecase where the central heating technology is only con sidered for supplying to the load and no heat storage and solar thermal tech nologies are allowed. The optimal total energy costs and total CO2 emis sions are calculated for both models by using cost minimization. These costs and CO2 emissions are then taken as reference for the rest of scenarios and objective function savings. Costs and CO2 emissions are calculated rela tive to these references in the respective cost and CO2 optimization runs for 58 Scenario-1 to Scenario-4. Scenario-1 includes the cost and CO2 minimiza tion using the Opt-3D model with 0% relaxation to their respective reference costs and CO2 emissions. A 0% relaxation means that the objective func tion from the optimization case cannot be higher than the one from the ref erence case. Scenario-2 includes the cost and CO2 minimization using the Opt-8760 model with 0% relaxation to their respective reference costs and CO2 emissions. Scenario-3 and Scenario-4 include the CO2 minimization us ing the Opt-3D and the Opt-8760 models respectively with 50% relaxation in the reference costs, meaning that the objective functions can be 50% higher than the one in the reference cases, allowing for more progressive results. Scenario-1 to Scenario-4 are tested by considering fixed linear (Non-PWA) cost functions as well as PWA cost functions for both models. The results are compared based on the investment decisions by the optimizer, objective function savings, absolute run time, objective function difference and the run time savings between both the Opt-3D and the Opt-8760 models for all sce narios. The optimality gap of the optimization solver was set to 0.2% for all the scenarios. The MILP optimization for both models was performed on a server with a 6 core Intel Xeon E5-1650 v3 CPU @ 3.5 GHz and 192 GB of RAM. ## 3.4 Results This section provides the comparison between the results of all scenarios given in Table 3.6. The resulting investment decisions chosen by the opti mizer for all the scenarios are reported in Table 3.7. The objective function difference and the run time savings between both the Opt-3D and the Opt 8760 models relative to the Opt-8760 are reported in Table 3.8 and illustrated in Figure 3.13. The results of scenario-0 (a) and scenario-0 (b) indicate that the total energy 59 <u>Scenarios</u> <u>Model</u> <u>Min.</u> <u>OF Costs [k</u> <u>e</u> <u>]</u> <u>OF CO2 [tons]</u> <u>Central Heating [kWh]</u> <u>Solar Thermal [kW]</u> <u>Heat Storage [kWh]</u> <u>OF Savings [%]</u> <u>Run Time [s]</u> Scenario-0 (a) Opt-3D Cost 194.02 59.05 2,000 - - - 0.81 <u>Scenario-0 (b)</u> <u>Opt-8760</u> <u>Cost</u> <u>194.06</u> <u>59.07</u> <u>2,000</u> <u>-</u> <u>-</u> <u>-</u> <u>8.03</u> Non-PWA Scenario-1 (a) Opt-3D Cost 183.44 59.05 1,612 8 2,791 5.45 2.06 Scenario-1 (b) Opt-3D CO2 194.02 58.92 1,643 31 10,717 0.22 2.59 Scenario-2 (a) Opt-8760 Cost 180.01 59.07 1,411 20 5,701 7.24 81.3 Scenario-2 (b) Opt-8760 CO2 194.06 58.5 1,406 63 17,839 0.98 91.64 Scenario-3 Opt-3D CO2 291.02 58.2 1,675 262 90,045 1.44 2.11 <u>Scenario-4</u> <u>Opt-8760</u> <u>CO2</u> <u>291.08</u> <u>54.73</u> <u>1,380</u> <u>358</u> <u>101,101</u> <u>76.6</u> <u>49.52</u> PWA Scenario-1 (a) Opt-3D Cost 179.36 59.05 1,389 44 15,186 7.56 3.14 Scenario-1 (b) Opt-3D CO2 194.02 58.55 1,479 143 49,138 0.85 3.38 Scenario-2 (a) Opt-8760 Cost 173.37 59.07 1,148 70 19,655 10.66 177.47 Scenario-2 (b) Opt-8760 CO2 194.06 54.45 814 569 160,471 7.83 361.59 Scenario-3 Opt-3D CO2 291.02 57.97 2,046 497 170,875 1.83 2.11 <u>Scenario-4</u> <u>Opt-8760</u> <u>CO2</u> <u>291.08</u> <u>13.82</u> <u>191</u> <u>4,512</u> <u>1,500,870</u> <u>76.6</u> <u>224.91</u> TABLE 3.7: Results of the investment decisions of all scenarios for both the Opt-3D and the Opt-8760 models using fixed linear (Non-PWA) cost functions as well as piecewise affine (PWA) cost functions. costs and the total CO2 emissions are almost same for both the Opt-3D and the Opt-8760 models with an objective function difference of 0.02%. These two scenarios set the reference case for the next scenarios. This also indicates that the time aggregation method used is effective when reducing the data into three representative daytypes. When considering 0% relaxation in the reference case, the cost minimization in scenario-1 (a) and scenario-2 (a) invests in a small amount of solar thermal and heat storage technologies, but this reduces the capacity of central heat ing and provides almost the same objective function savings for both models and just 1.78% objective function difference using Non-PWA cost functions. With PWA cost functions, the objective function savings in scenario-1 (a) and scenario-2 (a) are higher than that of Non-PWA cost functions for both mod els but the objective function difference is also higher than that of Non-PWA. When considering 0% relaxation in the reference case, the CO2 minimization in scenario-1 (b) invests more in solar thermal and heat storage as compared to its cost minimization runs, but even this amount of solar thermal and heat storage is not effective since objective function savings are almost insignifi cant (less than 1%) using either Non-PWA or PWA cost functions. The size of heat storage is not big enough to be qualified for the seasonal storage as the volume of 849 m <sup>3</sup> related to the biggest capacity of 49138 kWh in scenario-1 (b) using PWA cost functions is less than the practical range of seasonal heat 60 storage volume [27]. This is also true for the CO2 minimization in scenario-2 (b) using Non-PWA cost functions which invests in heat storage capacity of 17839 kWh (equivalent to 308 m <sup>3</sup> of volume). Whereas, the CO2 minimiza tion in scenario-2 (b), which uses Opt-8760 model, invests in bigger capacities of solar thermal and heat storage and lower capacity of central heating using PWA cost functions as compared to its Non-PWA run which can be consid ered as seasonal storage with 7.83 % of CO2 savings. The objective function difference between scenario-1 (b) and 2 (b) using PWA for CO2 minimization run is 6.98% which is higher than that of the Non-PWA optimization run. 80 70 60 50 40 30 20 10 Scenario-0 (a) & (b) - Cost Min Scenario-1 & 2 - Non-PWA - Cost Min ~~Scenario-1 & 2 - Non-PWA - CO~~ 2 ~~Min~~ Scenario-3 & 4 - Non-PWA - CO2 Min <u>Scenario-1 & 2 - PWA - Cost Min</u> Scenario-1 & 2 - PWA - CO2 Min ~~Scenario-3 & 4 - PWA - CO~~ 2 ~~Min~~ 0 88 90 92 94 96 98 100 Run Time Savings [%] FIGURE 3.13: Comparison between the results of objective function difference and run time savings between Opt-3D and Opt-8760 models relative to Opt-8760 model for different sce narios. When considering 50% relaxation in the reference costs and Non-PWA cost functions, the CO2 minimization in scenario-3 using Opt-3D model and scenario 4 using Opt-8760 model have an objective function difference of 5.91%. The sizes of the solar thermal and heat storage are bigger than in the previous re spective scenarios as the costs are relaxed thus moving towards the expensive bigger systems for seasonal storage. Even though the size of the heat storage 61 is comparable between both two models, which is a surprising result due to the lack of connectivity between the daytypes in the Opt-3D model, the day type model is not able to transfer the energy provided by solar thermal in summer months and shift it to winter months, thus increasing the objective function difference relative to the Opt-8760 model. This result indicates that when considering the Opt-3D model, it can provide the investment decisions in a good agreement with the Opt-8760 model with reduced run time, when specific constraints and assumptions are made. Scenarios Min. OF Difference Run Time Savings <u>[%]</u> <u>[%]</u> <u>Scenario-0 (a) & Scenario-0 (b)</u> <u>Cost</u> <u>0.02</u> <u>89.91</u> Non-PWA Scenario-1 (a) & Scenario-2 (a) Cost 1.78 97.47 Scenario-1 (b) & Scenario-2 (b) CO2 0.76 97.17 <u>Scenario-3 & Scenario-4</u> <u>CO2</u> <u>5.91</u> <u>95.74</u> PWA Scenario-1 (a) & Scenario-2 (a) Cost 3.1 98.23 Scenario-1 (b) & Scenario-2 (b) CO2 6.98 99.07 <u>Scenario-3 & Scenario-4</u> <u>CO2</u> <u>74.77</u> <u>99.06</u> TABLE 3.8: Results of objective function difference and run time savings between Opt-3D and Opt-8760 models relative to Opt8760 model for different scenarios. Scenario-0 (a), Scenario-1 (a), Scenario-1 (b) and Scenario-3 consider the Opt-3D model. Scenario-0 (b), Scenario-2 (a), Scenario-2 (b) and Scenario-4 con sider the Opt-8760 model. When considering 50% relaxation in the reference costs and PWA cost func tions, the CO2 minimization in scenario-3 using Opt-3D model does invest in bigger capacities for solar thermal and heat storage, but due to the lack of connectivity between the daytypes, these bigger capacities are not able to provide significant objective function savings as compared to that of scenario 4 using Opt-8760 model. The results of scenario-4 with PWA cost functions indicate a huge reduction in central heating capacity followed by the big in vestments in solar thermal and heat storage capacities. This is because of the use of the PWA functions, which considers lower costs for higher capacities of these technologies. The objective function savings are about 76.6% with a 1.5 GWh capacity of heat storage (25,918 m <sup>3</sup> ) and a 4,512 kW capacity of 62 FIGURE 3.14: Optimal dispatch for Scenario-4: 50% relaxation w.r.t basecase considering the Opt-8760 model with CO2 mini mization using piecewise affine (PWA) cost functions. solar thermal (5,679 m <sup>2</sup> of solar collector field area). The resulting optimal dispatch of scenario-4 using the PWA cost functions is demonstrated in Fig ure 3.14. The dispatch results of scenario-4 using the PWA cost functions show the seasonal effect of the heat storage by storing the energy in summer months and using the stored heat in winter months. ## 3.5 Resume The optimal design of microgrids with thermal energy system requires opti mization techniques that can provide investment and scheduling of the tech nology portfolio involved. In the modeling of such systems with seasonal storage capability, the two main challenges include the low temporal res olution of available data and the non-linear cost versus capacity relation ship of solar thermal and heat storage technologies. This work overcomes these challenges by developing two different optimization models based on 63 mixed-integer linear programming with objectives to minimize the total en ergy costs and carbon dioxide emissions. Piecewise affine functions are used to approximate the non-linear cost versus capacity behavior. The developed methods are applied to the optimal planning of a case study in Austria. The results of the models are compared based on the accuracy and real-time per formance together with the impact of piecewise affine cost functions ver sus non-piecewise affine fixed cost functions. The results show that the in vestment decisions of both models are in good agreement with each other while the computational time for the 8760-hours based model is significantly greater than the model having three representative periods. The models with piecewise affine cost functions show larger capacities of technologies than non-piecewise affine fixed cost function based models. 65 # Chapter 4 Advanced Optimal Planning for Microgrid Technologies including Hydrogen and Mobility at a Real Microgrid Testbed ## 4.1 Introduction This chapter aims to assess, investigate and solve the Research Question 2. The impact of the renewable energy based hydrogen energy systems is quan tified for the decarbonization of the mobility sector. Also, the hydrogen is compared with the state-of-the-art diesel fuel systems. Finally, the carbon prices and policy framework to drive the paradigm shift from conventional fuel systems to renewable hydrogen mobility systems are discussed. The rest of this chapter is structured as follows. Section 4.2 describes the formulation of the optimization problem. Section 4.3 provides the detailed information of the case study and its testing, including pre-processing and analytics of data. Section 4.4 discusses the detailed results followed by the resume in Section 4.5. 66 ## 4.2 Formulation of Optimization Problem The methodology considers the optimization model using a MILP frame work based on the Distributed Energy Resources - Customer Adoption Model (DER-CAM) [37] and further developed within this research to include the hydrogen production, seasonal storage and use in the mobility sector with a yearly time horizon. A major difference to the existing literature and DER CAM is the addition of the hydrogen production via water electrolysis, hy drogen seasonal storage and use in the mobility using full-scale optimization horizon. It is because of this wider range of the time horizon and connectiv ity linkage between time steps that the seasonality can be taken into account in the optimization. Therefore, this MILP framework considers the full scale optimization _i.e._ 8760-hours by replacing the previously MILP framework (with time series in terms of 24-hours based three representative daytypes for each month) having months _m ∈_ {1, 2, ..., 12}, daytypes _d ∈_ {1, 2, 3} and hours _h ∈_ {1, 2, . .., 24} with _t ∈_ {1, 2, .. ., 8760}. The MILP optimization framework minimizes the total energy costs and the total CO2 emissions. The simplified objective function related to the total annual energy costs _C_ can be represented by eq. (4.1). ## C = ∑ tech _DER_ invest + ∑ _t_ _C_ utility + ∑ _t_ _C_ O&M (4.1) where _DER_ invest is the annualized investment cost per technology _tech_, _C_ utility is related to electrical purchase minus sales to the utility grid and other fixed costs related to utility _i.e._ time-of-use tariffs and daily and monthly demand charges of the electricity purchased and _C_ O&M is related to the operation and maintenance costs. _DER_ invest can be further described as shown in eq. (4.2) and eq. (4.3). ## DER invest = ∑ tech 67 ( _C_ up Πtech) (4.2) _C_ up = _VarC_ tech _Cap_ tech + _FixC_ tech (4.3) where _C_ up are the upfront capital costs of the technology, Πtech is the annu ity rate of the technology, _VarC_ tech are the variable capital costs of the tech nology, _Cap_ tech is the technology capacity to be invested, _FixC_ tech are the fixed capital costs of the technology. The variable capital costs vary with the amount of capacity that is invested, while the fixed capital costs are indepen dent on the size of the technology and can cover engineering costs. The total annual energy costs _C_ can also be limited in the optimization by the cost constraint of _C_ lim according to the eq. (4.4) and eq. (4.5). _C_ lim = (1 + _γ_ ) _C_ reference (4.4) _C_ _≤_ _C_ lim (4.5) where _C_ reference are the input costs associated with the reference case and _γ_ is the cost constraint parameter responsible for limiting the total annual en ergy costs. This is particularly very important to conduct sensitivity analysis where CO2 optimizations are performed by keeping the limit on the total annual energy costs and effectively establish a multi-objective frontier. The simplified objective function related to the total annual carbon dioxide emissions can be represented by eq. (4.6). It is the summation of the car bon dioxide emissions occurred in providing the electricity from the grid. The carbon dioxide emissions can also be considered form other technologies 68 such as a combined heat and power system running on natural gas, but only electricity from grid is considered as a source of carbon dioxide emissions in this study. _CO_ 2 = ∑ _t_ _CO_ 2grid (4.6) The hydrogen produced by the electrolyzer can be represented by eq. (4.7) and the electrolyzer capacity constraint can be represented by eq. (4.8). _H_ 2 <sup>in</sup> _t_ <sup>in</sup> _t_ <sup>=</sup> <sup>_E_</sup> _t_ <sup>El</sup> _t_ <sup>El</sup> <sup>_η_</sup> El <sup>_η_</sup> <sup>press</sup> (4.7) _Et_ <sup>El</sup> <sup>_≤_</sup> <sup>_Cap_</sup> El (4.8) where _H_ 2 <sup>in</sup> _t_ <sup>is</sup> <sup>the</sup> <sup>hydrogen</sup> <sup>produced</sup> <sup>by</sup> <sup>the</sup> <sup>electrolyzer</sup> <sup>and</sup> <sup>the</sup> <sup>input</sup> <sup>to</sup> hydrogen storage system, _Et_ <sup>El</sup> is the electricity required by the electrolyzer, _η_ El is the electrolyzer efficiency, _η_ press is the pressurizing efficiency for the hydrogen and _Cap_ El is the capacity of hydrogen electrolyzer. The hydrogen stored can be represented by eq. (4.9). <sup>stored</sup> _t_ = _H_ 2 <sup>stored</sup> _t−_ 1 <sup>in</sup> _t_ <sup>_−_</sup> <sup>_H_</sup> <sup>2out</sup> _t_ <sup>2out</sup> _t_ _−_ _H_ 2 <sup>loss</sup> _t_ _H_ 2 <sup>stored</sup> _t_ <sup>stored</sup> _t−_ 1 + _H_ 2 <sup>in</sup> _t_ <sup>loss</sup> _t_ (4.9) where _H_ 2 <sup>stored</sup> _t_ represents the state of the charge or the Level of Hydrogen (LOH), _H_ 2 <sup>in</sup> _t_ <sup>in</sup> _t_ <sup>is</sup> <sup>the</sup> <sup>input</sup> <sup>for</sup> <sup>hydrogen</sup> <sup>storage,</sup> <sup>_H_</sup> <sup>2out</sup> _t_ <sup>2out</sup> _t_ is the output from hy drogen storage, _H_ 2 <sup>loss</sup> _t_ is the hydrogen lost in hydrogen storage. The hydro gen losses can be represented by eq. (4.10). _H_ 2 <sup>loss</sup> _t_ <sup>loss</sup> _t_ = _H_ 2 <sup>stored</sup> _t_ <sup>stored</sup> _t_ ΘH (4.10) 69 where ΘH is the co-efficient of loss for hydrogen storage. The hydrogen stor age model constraints are given by eq. (4.11-4.16). _H_ 2 <sup>stored</sup> _t_ _≤_ _Cap_ H (4.11) _H_ 2 <sup>stored</sup> _t_ <sup>stored</sup> _t_ _≥_ _Cap_ H _ρ_ <sup>min</sup> LOH <sup>min</sup> LOH (4.12) _H_ 2 <sup>in</sup> _t_ <sup>in</sup> _t_ <sup>_≤_</sup> <sup>_Cap_</sup> H <sup>_φ_</sup> char <sup>max</sup> (4.13) char <sup>max</sup> _H_ 2 <sup>out</sup> _t_ <sup>out</sup> _t_ _≤_ _Cap_ H _φ_ <sup>max</sup> dis <sup>max</sup> dis (4.14) <sup>in</sup> _t_ <sup>_≤_</sup> <sup>_H_</sup> <sup>2XOR</sup> _t_ _H_ 2 <sup>in</sup> _t_ <sup>2XOR</sup> _t_ _N_ (4.15) _H_ 2 <sup>out</sup> _t_ <sup>out</sup> _t_ _≤_ (1 _−_ _H_ 2 <sup>XOR</sup> _t_ <sup>XOR</sup> _t_ ) _N_ (4.16) where _Cap_ H is the capacity of the hydrogen storage, _ρ_ <sup>min</sup> LOH <sup>is</sup> <sup>the</sup> <sup>minimum</sup> level of hydrogen, _φ_ <sup>max</sup> char <sup>is the maximum charging rate of the hydrogen stor-</sup> <sup>max</sup> dis <sup>is the maximum discharging rate of the hydrogen storage,</sup> <sup>_H_</sup> <sup>2XOR</sup> _t_ age, _φ_ <sup>max</sup> dis _t_ is the binary input for avoiding simultaneous charging and discharging of hydrogen and _N_ is an arbitrary large number. The hydrogen storage output can be used by the hydrogen fuel station to be supplied to the hydrogen fleet vehicles. _H_ 2 <sup>out</sup> _t_ can be represented by eq. (4.17). 70 _H_ 2 <sup>out</sup> _t_ <sup>out</sup> _t_ = _H_ 2 <sup>fleet</sup> _t_ <sup>fleet</sup> _t_ (4.17) where _H_ 2 <sup>fleet</sup> _t_ is the hydrogen fuel demand required by the hydrogen fleet. The electricity provided by the solar PV technology is given by eq. (4.18). _t_ <sup>solar</sup> = _Cap_ PV _PVt_ <sup>performance</sup> _Et_ <sup>solar</sup> _t_ <sup>performance</sup> (4.18) where _Et_ <sup>solar</sup> is the electricity provided by solar PV technology, _Cap_ PV is the capacity of solar PV technology and _PVt_ <sup>performance</sup> is the normalized solar PV performance at the location. The wind power is modeled as discrete technology unlike the hydrogen elec trolyzer, hydrogen storage and solar PV technologies, which are modeled as continuous technologies. It is due to the fact that wind power units are avail able in specific unit capacities with specific dimensions commercially, thus it requires to model wind power technology in discrete steps of its unit ca pacity. Therefore, the optimal wind power capacity is a discrete function of a wind power unit available commercially. The electricity provided by wind power can be represented by eq. (4.19). _t_ <sup>wind</sup> = _Wind_ PQ _Wind_ <sup>potential</sup> _t_ _Et_ <sup>wind</sup> <sup>potential</sup> _t_ (4.19) where _Et_ <sup>wind</sup> is the electricity provided by the wind power technology, _Wind_ PQ is the wind power unit purchase quantity and _Wind_ <sup>potential</sup> _t_ is the wind power unit potential. The higher level energy balance equation for the overall model is given by eq. (4.20). 71 _Et_ <sup>load</sup> _t_ <sup>load</sup> + _Et_ <sup>El</sup> _t_ <sup>El</sup> <sup>=</sup> <sup>_E_</sup> _t_ <sup>grid</sup> _t_ <sup>grid</sup> + _Et_ <sup>solar</sup> _t_ <sup>solar</sup> + _Et_ <sup>wind</sup> _t_ <sup>wind</sup> (4.20) where _Et_ <sup>load</sup> is the electrical load demand associated with the hydrogen dis pensing pumps and _Et_ <sup>grid</sup> is the electricity purchased from electric grid. ## 4.3 Case Study This section includes the details and the approach of designing the real case study for a small-scale hydrogen filling station as part of extending the exist ing microgrid testbed in Wieselburg, Austria. It also includes the time series data analysis, the technical and economical details of the technologies, as sumptions and the optimization strategy. ### 4.3.1 Extension of the Microgrid Testbed at Wieselburg The microgrid testbed at Wieselburg is the first microgrid research lab in Austria that integrates renewable energy, utility electricity, heat technologies, biomass technologies, electro-mobility, storage technologies, building con trol as well as smart network communication that allows for multiple MILP based model predictive control strategies. The existing infrastructure at the microgrid testbed mainly consists of solar PV, battery storage, electric vehicle charging station, emergency diesel gener ator, point of common coupling for utility electricity import/export, biomass boilers, heat storage, absorption cooling and compression cooling technolo gies distributed in the three main buildings of the site. These technologies are responsible for achieving a balance of sources and loads in the multi energy system concept (electricity, heating and cooling) of a microgrid. The 72 new infrastructure required for the production, storage and use of the hy drogen fuel contains more solar PV, wind power, water electrolyzer, hydro gen seasonal storage tank and hydrogen fuel dispensers with fuel pumps. These technologies are optimized with the optimization framework given in section 4.2. This research work chooses alkaline electrolyzer for the current case study but modeling of PEM electrolyzer is also present in our MILP optimization framework and can also be used as an alternative to alkaline electrolyzer if different case study requires to choose PEM electrolyzer. The existing and optimized additional infrastructure of the microgrid testbed is shown in Figure 4.1. The production mode of the solar PV is DC followed by a DC-to-AC inverter and the production mode of the wind power is AC fol lowed by an AC-to-AC converter. The DC-to-AC inverter efficiency for the solar PV and AC-to-AC converter efficiency for the wind power are already considered in the optimal planning methodology. The transmission mode of the complete electrical power flow is AC. However, the inverter and con verter which make the power flow to be AC are not shown in the Figure 4.1, but as already mentioned, the conversion efficiencies are considered in the optimal planning methodology. 73 Existing Infrastructure New Infrastructure Renewable Energy Sources Solar PV Wind Power Electrolyzer Hydrogen Storage H2 Hydrogen Fuel Dispensers Hydrogen Fuel Cell Vehicles H2 Technology Research Center Heat Transfer Fire Fighting Department Solar PV Battery Storage Emergency DG Point of Common Coupling Building A Biomass Boiler Heat Storage Absorption Cooling Electric Vehicles Electric Vehicle Charging Station Building B Biomass Boiler Heat Storage Compression Cooling Electric Utility Grid H2 H2 H2 Hydrogen Fuel Station FIGURE 4.1: The extension of the microgrid testbed at Wiesel burg, Austria. ### 4.3.2 Time Series Input Data Analysis and Assumptions The hydrogen fleet consists of Fuel Cell Electric Vehicles (FCEVs), Fuel Cell Electric Busses (FCEBs) and Fuel Cell Electric Trucks (FCETs). The FCEBs are based on the real schedule of the conventional fuel busses in the region [114]. The FCEVs and the FCETs are based on the average annual mileage of the conventional fuel passenger cars and trucks in the region [115]. The FCETs are further divided into three sub groups based on the distance covered as small, medium and large FCETs. The corresponding single trip distance ra dius showing the reach of the hydrogen fleet is shown in Figure 4.2. 74 Radius of the Fleet (One-way Distance) FCEVs – 23 km FCEBs – 33 km FCETs-Small – 50 km FCETs-Medium – 100 km FCETs-Large – 150 km Germany Lower Austria Czech Republic Slovakia Hungary Upper Austria Wieselburg Vienna Vorarlberg L. Switzerland 50 km 30 mi Croatia FIGURE 4.2: The reach of the entire hydrogen fleet for the case study. Salzburg Styria Tyrol Tyrol Carinthia Italy Slovenia The fleet covers most of the major cities in the center of Austria for transport ing the goods via FCETs while the regional passenger transport demand of lower Austria is satisfied by the FCEVs and FCEBs. The design parameters of the already available hydrogen FCEVs [116], FCEBs [117] and FCETs [118] in the European market are given in Table 4.1. Fleet Fuel Output Consumption Max. Tank Capacity Max. Range Average Speed Approx. Unit Cost Manufacturer <u>[kW]</u> <u>[kgH2/100 km]</u> <u>[kg]</u> <u>[km]</u> <u>[km/h]</u> <u>[e]</u> FCEV Hydrogen (700 bar) 114 0.76 5 500 100 78,600 TOYOTA FCEB Hydrogen (350 bar) 180 6 37.5 400 40 620,000 CAETANOBUS <u>FCET</u> <u>Hydrogen (350 bar)</u> <u>250</u> <u>8</u> <u>31</u> <u>400</u> <u>70</u> <u>302,000-334,000</u> <u>ESORO</u> TABLE 4.1: The design parameters of the entire hydrogen fleet [116, 117, 118]. The trip distance and the weekly frequency for the FCEBs is according to the real weekly schedules of the busses in the Wieselburg region. The trip dis tance and the weekly frequency of the FCEVs and FCETs is taken as assump tion so that the annual average mileage per vehicle remains in the range of the actual annual average mileage. The trip distance and the weekly fueling frequency of the entire hydrogen fleet are given in the Table 4.2. The hourly schedules of the week and weekend days for FCEBs are adopted according to 75 the real schedule of the busses. The hourly schedules of the week and week end days for FCEVs and FCETs are taken as assumption by not violating the annual average mileage limit. The hourly schedules for FCEVs, FCEBs and FCETs are multiplied with the respective round trip distance to obtain the total annual distance demand of the hydrogen fleet. The percentage share of the total annual distance demand by each fleet type is such that FCEVs, FCEBs and FCETs constitute 7%, 31% and 62% of the total annual distance demand respectively. Fleet Type Fleet Details Single Trip Round Trip Fueling Frequency <u>[km]</u> <u>[km]</u> <u>Mon</u> <u>Tue</u> <u>Wed</u> <u>Thu</u> <u>Fri</u> <u>Sat</u> <u>Sun</u> FCEVs Passenger Cars 23 46 8 8 8 8 8 4 0 FCEBs Wieselburg-Petzenkirchen-Ybbs/Donau (Route-5) 7.3 14.6 12 12 12 12 12 0 0 Wieselburg-Gresten (Route-667) 25.5 51 10 10 10 10 10 5 0 Wieselburg-Erlauf-Poechlarn (Route-670) 14.5 29 3 3 3 3 3 0 0 Wieselburg-Gumprechtsfelden (Route-674) 5.3 10.6 6 6 6 6 6 0 0 Wieselburg-St Georgen/Leys (Route-675) 20 40 7 7 7 7 7 0 0 Wieselburg-Ruprechtshofen-Kilb (Route-685) 33 66 8 8 8 8 8 0 0 FCETs Small Distance Trucks 50 100 3 3 3 3 3 0 0 Medium Distance Trucks 100 200 5 5 5 5 5 0 0 <u>Large Distance Trucks</u> <u>150</u> <u>300</u> <u>7</u> <u>7</u> <u>7</u> <u>7</u> <u>7</u> <u>0</u> <u>0</u> TABLE 4.2: The trip distance and the weekly fueling frequency of the entire hydrogen fleet. The hydrogen fuel consumption is obtained by multiplying the mileage con sumption in kgH2/km as given in Table 4.1 with the distance demand for each fleet type. This is done in accordance with not violating the maximum tank capacity and maximum range of each fleet type. The hourly hydrogen demand of the entire hydrogen fleet on working and weekend days is shown in Figure 4.3. This hydrogen fuel consumption in kgH2 is then converted into hydrogen energy demand in kWh (1 kgH2 is equivalent to 33.33 kWh of en ergy content [119]) and is treated as the final hydrogen energy demand for the optimization problem. Together with the hydrogen fuel, it is also important to consider the electric consumption of the hydrogen fuel pumps required for dispensing the fuel. This electric consumption is considered as 1.1 kWh per kgH2 dispensed as given in [120]. The yearly profiles of the hydrogen energy demand in kWh and the electric energy consumption of hydrogen dispens ing pumps in kWh are constructed by extrapolating the respective hourly 76 demand profiles of the week and weekend days. The maximum energy de mand in an hour for the hydrogen fuel and hydrogen dispensing pumps is around 2034 kWh and 67 kWh respectively in the whole year. 70 60 50 40 30 20 10 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Hour Week Weekend FIGURE 4.3: The hourly hydrogen demand of the entire fleet. The required time series input data also includes the hourly solar PV per formance and the wind power potential at the site. As discussed in the sec tion 4.2 that the wind power is modeled as a discrete technology so it is re quired to select a wind power unit with a specific power output and hourly wind potential profile. After conducting a preliminary analysis by taking into account the location constraints of the microgrid lab, the Enercon E48 800 Model [121] has been selected for this case study as the wind power unit in the optimization. The technological and economical parameters of the so lar PV and wind power unit are addressed in sub-section 4.3.3. The solar PV performance is retrieved from the Meteonorm [110] while the wind power potential is retrieved from the Renewable Ninja [122] for the same Enercon E48 800 Model with hourly time horizon. These data are shown in Figure 4.4 and Figure 4.5 for solar PV and wind power respectively. 77 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 4.4: The solar PV performance on hourly basis at Wieselburg site [110]. 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 4.5: The wind power potential on hourly basis at Wieselburg site [122]. 78 ### 4.3.3 Techno-Economical Parameters The economical parameters for the solar PV, wind power, alkaline electrolyzer and hydrogen storage tank include the investment parameters like fixed cap ital costs, variable capital costs, operation & maintenance costs and lifetime. These parameters are given in Table 4.3 [70, 123, 124, 125]. In the Table 4.3, the fixed costs represent the fixed capital expenditure (Fixed CAPEX), the variable costs represent the variable capital expenditure (Variable CAPEX) and the operation & maintenance costs represent the operation expenditure (OPEX) of the technologies. The variable capital costs vary with the amount of capacity that is invested, while the fixed capital costs are independent on the size of the technology and can cover engineering costs. The fixed capi tal costs of the considered technologies are zero as per the cited sources [70, 123, 124, 125] because these costs are almost negligible as compared to the variable capacity investment costs of the technologies. The additional equip ment such as inverter, converter, control and monitoring devices are consid ered in the optimal planning of this case study through the costs (CAPEX and OPEX) associated with the main technologies as well as their efficien cies and conversion curves where needed. The interest rate is considered as 3% which is needed for the calculation of the annuity rate for each technol ogy. The electricity rate for the microgrid in Wieselburg is 11.5 centse/kWh and is constant for the entire year. There are no monthly or daily demand rates currently enforced by the utility grid side in the region so these are not considered in this study for the purchase of utility electricity. Technology Fixed Capital Costs Variable Capital Costs O&M Costs Lifetime (Fixed CAPEX) (Variable CAPEX) (OPEX) <u>[e]</u> <u>[e/kW or kWh]</u> <u>[e/kW or kWh] per year</u> <u>[Years]</u> Solar PV 0 842 9 25 Wind Power 0 1,247 48 15 Alkaline Electrolyzer 0 920 19 25 <u>Hydrogen Storage</u> <u>0</u> <u>14</u> <u>0</u> <u>30</u> TABLE 4.3: The economic parameters of the microgrid tech nologies [70, 123, 124, 125]. 79 The technical parameters for the alkaline electrolyzer and hydrogen storage include the efficiency of the electrolyzer, the efficiency of the pressurizer, the maximum charge and discharge rates of the hydrogen storage and the de cay/losses in the hydrogen storage tank. The efficiency of the pressurizer for compressing the output of the electrolyzer to 350 bar and 700 bar is assumed to be the same. These parameters are given in Table 4.4 [70, 126, 127]. <u>Parameter</u> <u>Value</u> Efficiency of Electrolyzer [%] 70 Efficiency of Pressurizer [%] 90 Minimum Level of Hydrogen [%] 0 Maximum Charge Rate [%] 100 Maximum Discharge Rate [%] 100 <u>Losses in Hydrogen Storage [% per hour]</u> <u>0.04</u> TABLE 4.4: The technical parameters of the the microgrid tech nologies [70, 126, 127]. To assess the CO2 emissions correctly, the CO2 content of the purchased util ity electricity also needs to be considered. The marginal CO2 emissions rate in kg/kWh of the utility electricity purchased is considered in this study and and is shown in Figure 4.6 [128] on hourly basis for the whole year. The marginal CO2 emissions rate is based on the Austrian-mix and import-mix electricity sources. The marginal CO2 emissions only consider the direct emissions of the fuel while generating the electricity and do not include the indirect emissions related to the fuel production and transportation. 80 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 4.6: The hourly marginal CO2 emissions of the utility electricity [128]. ### 4.3.4 Optimization Framework and Strategy The case study considers two reference cases _i.e._ the diesel basecase and the utility basecase. The diesel basecase satisfies the mobility demand by the diesel fuel. The total annual energy costs and the total annual CO2 emis sions are calculated using the Well-to-Wheel (WTW) carbon emissions, fuel mileage and WTW fuel costs given in Table 4.5 [129, 130]. Fleet Type WTW Carbon Emissions Fuel Mileage WTW Fuel Costs Annual Equivalent Distance of Fleet <u>[kgCO2/km]</u> <u>[litre/100 km]</u> <u>[e/litre]</u> <u>[km]</u> Passenger Cars 0.2445 7 1.22 105,248 Busses 1.0425 33 1.22 440,648 <u>Trucks</u> <u>0.5972</u> <u>19.6</u> <u>1.22</u> <u>884,000</u> TABLE 4.5: The design parameters for the calculation of the total annual energy costs and the total annual CO2 emissions for the diesel basecase [129, 130]. The utility basecase satisfies the mobility demand by only considering the electricity purchase from the grid using the technical and economical param eters reported in sub-section 4.3.3. In the utility basecase, the hydrogen is 81 produced through electrolysis, stored and used to satisfy the mobility de mand. For the utility basecase, the total annual energy costs and the total annual CO2 emissions are calculated through the cost minimization of the optimization model. Therefore, the annual energy costs for the utility base case include the investment costs related to the electrolyzer and hydrogen storage together with the electricity purchase costs. The annual CO2 emis sions for the utility basecase include the total marginal carbon emissions of the electricity purchase from the utility. After setting up the reference cases, the investment optimization is performed relative to each reference case through sensitivity analyses. In each optimiza tion scenario of the investment case, the total annual CO2 emissions are min imized by keeping the limit on the total annual energy costs given by the cost constraint parameter _γ_ . The results include the optimal sizing and the full-year operational dispatch of the technologies. The results also include the comparisons with the reference cases in terms of the CO2 savings, the to tal annual energy costs, the total annual carbon dioxide emissions, H2-Diesel cost gap and carbon prices to close that H2-Diesel cost gap. The optimization framework and strategy is shown in Figure 4.7. The optimality gap of the optimization solver was set to 0.2% for all scenarios. The MILP optimization was performed on a server with a Common KVM processor CPU 3.7 GHz and 224 GB of RAM. 82 Input Data MILP Optimization Results and Comparisons Cost Constraint Hydrogen Fuel Demand Hydrogen Dispensing Pump Demand Utility Electricity Parameters Solar PV Parameters Wind Power Parameters Hydrogen Electrolyzer Parameters Hydrogen Storage Parameters Variation Diesel Basecase Utility Basecase ⋱ Comparison with Basecase Technology Sizing Full-Year Dispatch CO2 Savings Costs vs. Carbon Emissions H2-Diesel Cost Gap Carbon Prices FIGURE 4.7: Overview of the optimization framework and strategy. ## 4.4 Results This section provides the results of the reference cases and the correspond ing investment optimization scenarios based on the variation in the cost con straint. The variation in the cost constraint is introduced by changing the _γ_ parameter in the steps of _±_ 10% and _±_ 25% for the costs of each reference case. The plus sign indicates a percentage increase in the reference costs and negative sign indicates a percentage decrease in the reference costs. The total annual energy costs and the total annual CO2 emissions of the diesel basecase and the utility basecase are given in Table 4.6. For the diesel basecase, these are calculated based on Table 4.5 given in sub-section 4.3.4 and for the util ity basecase, these are calculated through minimization of the cost objective function. The utility basecase has 65% higher total annual energy costs and 17% higher total annual carbon dioxide emissions as compared to the diesel basecase. 83 Reference Case Total Annual Energy Costs Total Annual CO 2 Emissions <u>[ke]</u> <u>[tonne-CO2]</u> Diesel Basecase 397.78 1,013.03 <u>Utility Basecase</u> <u>656.10</u> <u>1,181.64</u> TABLE 4.6: The total annual energy costs and the total annual CO2 emissions of the reference cases. Therefore, the diesel basecase is much cheaper and generate less CO2 emis sions than that of the utility electricity-based hydrogen. The results of the investment optimization scenarios are provided in the next sub-sections for each of the reference case. ### 4.4.1 Sensitivity Analysis for the Diesel Basecase The investment optimization scenarios compared to the diesel basecase are infeasible for all the negative cost constraint variations and also for the pos itive cost constraint variations of +10%, +20% and +25%. The investment optimization becomes feasible for the cost constraint variation greater than or equal to +30%. Thus, an optimization solution is not possible unless the costs are increased at least 30% relative to the diesel basecase costs. The total annual energy costs and the total annual CO2 emissions of the investment op timization scenarios compared to the diesel basecase are shown in Figure 4.8. The CO2 savings of the investment optimization scenarios compared to the diesel basecase are shown in Figure 4.9. 84 900 800 700 600 500 400 300 200 100 0 400 350 300 250 200 150 100 50 0 30% 40% 50% 60% 70% 75% 80% 90% 100% Variation in Cost Constraint [%] Costs Carbon Emissions FIGURE 4.8: The total annual energy costs and the total annual CO2 emissions of the investment optimization scenarios com pared to the diesel basecase. 100% 95% 90% 85% 80% 75% 70% 65% 30% 40% 50% 60% 70% 75% 80% 90% 100% Variation in Cost Constraint [%] FIGURE 4.9: The CO2 savings of the investment optimization scenarios compared to the diesel basecase. These results show that with 30% more annual energy costs, the CO2 emis sions are reduced by 66.32%. As the cost constraint is relaxed further, the CO2 emissions are drastically reduced by 86.28% at 50% more annual energy costs and then slowly reduced when reaching more than 90% CO2 savings. The 85 maximum CO2 savings of almost 100% are achieved at twice the costs of the diesel basecase. The optimal capacity decisions for the solar PV, wind power, hydrogen electrolyzer and hydrogen seasonal storage are given in Table 4.7 together with the total annual energy costs, the total annual CO2 emissions and the CO2 savings for the investment optimization scenarios compared to the diesel basecase. The capacities are increasing with the increasing invest ment costs and also the CO2 savings are increasing with larger capacities of the technologies. The evident increase in the investment of the technologies ultimately increases the on-site production of the renewable energy and the seasonal hydrogen storage. _γ_ Solar PV Wind Power Electrolyzer Hydrogen Storage Total Annual Energy Costs Total Annual CO 2 Emissions CO 2 Savings <u>[%]</u> <u>[kW]</u> <u>[kW]</u> <u>[kW]</u> <u>[kWh]</u> <u>[ke]</u> <u>[tonne-CO2]</u> <u>[%]</u> _−_ 10% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible 0% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible +10% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible +20% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible +25% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible +30% 1,876 800 1,524 40,890 517.11 341.16 66.32% +40% 2,207 800 1,734 97,556 556.89 274.47 72.91% +50% 1,330 1,600 1,638 115,093 585.43 138.99 86.28% +60% 1,643 1,600 1,814 169,001 629.14 93.41 90.78% +70% 1,882 1,600 1,948 215,763 672.00 63.67 93.71% +75% 1,983 1,600 2,005 238,742 693.24 51.69 94.90% +80% 2,081 1,600 2,060 261,432 714.43 40.76 95.98% +90% 2,265 1,600 2,164 304,729 755.77 22.36 97.79% <u>+100%</u> <u>2,421</u> <u>1,600</u> <u>2,251</u> <u>347,141</u> <u>795.55</u> <u>7.99</u> <u>99.21%</u> TABLE 4.7: The capacity decisions together with the total annual energy costs, the total annual CO2 emissions and the CO2 savings for the investment optimization scenarios compared to the diesel basecase. The optimal costs of the hydrogen fuel consumption (e/kgH2) and the hy drogen energy (e/kWh) are shown in Figure 4.10 and Figure 4.11 respec tively. The hydrogen fuel consumption costs in Figure 4.10 are compared with the current market costs of the hydrogen fuel in Austria (9 e/kgH2 [131]). The current market costs of the hydrogen fuel are mainly based on the centralized hydrogen production via fossil fuels. The hydrogen energy costs in Figure 4.11 are compared with the current market costs of the diesel fuel energy in Austria (0.12 e/kWh [130]). 86 9.5 9 8.5 8 7.5 7 6.5 6 5.5 5 -10% -14% <u>-19%</u> -21% <u>-24%</u> <u>-29%</u> <u>-34%</u> -37% -41% 30% 40% 50% 60% 70% 75% 80% 90% 100% Variation in Cost Constraint [%] Hydrogen Fuel Costs (Optimization) Hydrogen Fuel Costs (Current Market) FIGURE 4.10: Hydrogen fuel consumption with the current market costs of hydrogen (red dotted lines) in Austria for the investment optimization scenarios as compared to the diesel basecase. 0.275 0.25 0.225 0.2 0.175 0.15 0.125 0.1 0.075 0.05 0.025 0 <u>103%</u> 93% <u>82%</u> 72% <u>77%</u> <u>61%</u> 49% <u>42%</u> 32% 30% 40% 50% 60% 70% 75% 80% 90% 100% Variation in Cost Constraint [%] Hydrogen Energy Costs (Optimization) Diesel Energy Costs (Current Market) FIGURE 4.11: Hydrogen energy costs with the current market costs of diesel fuel (red dotted lines) in Austria for the investment optimization scenarios as compared to the diesel base case. Figure 4.10 shows that the optimized hydrogen fuel costs can be 41% lower as 87 compared to the current market costs of the hydrogen fuel. As the cost con straint is relaxed further, the gap between the optimal hydrogen fuel costs and the market costs of the hydrogen fuel is decreased. This gap is just 10% when the total annual energy costs of the optimization are double as com pared to the reference costs of the diesel basecase, but still lower than the current hydrogen costs. On the other hand, Figure 4.11 shows that the optimized hydrogen energy costs are always higher than the current market costs of the diesel fuel in all investment optimization scenarios. The optimized hydrogen energy costs are at least 32% higher as compared to the market costs of the diesel fuel. The difference between the optimized hydrogen energy costs and the market costs of the diesel fuel increases as the cost constraint is relaxed further. The optimized hydrogen energy costs are slightly more than double as compared to the market costs of the diesel fuel when the total annual energy costs of the optimization are increased by 100% as compared to the reference costs of the diesel basecase. Even though the optimal costs of the hydrogen fuel consumption are lower than the current hydrogen fuel costs in all investment scenarios, the optimal hydrogen energy costs are always higher than the current diesel energy costs. These costs would be much larger if the hydrogen production and storage are not considered close to the point of delivery of the fuel due to the transporta tion and other delivery related costs of the system. This shows the benefit of using renewable energy based microgrids and distributed hydrogen en ergy systems over the conventional fossil fuel based centralized hydrogen energy systems. The difference between the optimal hydrogen energy costs and the current diesel energy costs can be compensated by introducing car bon prices, subsidies and cheaper costs of the solar PV, wind power, hydro gen electrolyzer and hydrogen storage technologies. The introduction of the 88 carbon price as an emission tax for the diesel fuel is considered in this study to close the H2-Diesel cost gap shown in the Figure 4.11. The carbon price increases the diesel fuel costs and reduces the current difference of the costs between hydrogen fuel and diesel fuel. This can enable the transition of shift ing the high energy costs of the hydrogen fuel to the same energy costs as the diesel fuel but with a system that can decarbonize the mobility sector. The sub-section 4.4.3 provides further details on how the H2-Diesel cost gap can be closed by the introduction of carbon prices. The detailed dispatch graphs of the hydrogen storage together with the monthly energy shares of the solar PV, wind power and utility electricity are shown in Figure 4.12 for the investment optimization scenarios compared to the diesel basecase. Figure 4.12 shows that as the variation in the cost constraint pa rameter increases from +30% to +100%, the share of the renewable energy sources increases because of the increase in the investment decisions and also the size of the hydrogen seasonal storage increases. Thus, making it desirable for catching the seasonality of the solar PV and wind power technologies. This seasonal behaviour of the hydrogen storage is evident from its dispatch throughout the year. The corresponding share of the utility electricity de creases and the CO2 savings increase. 89 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 γ = +100% CO2 Savings = 99.21% January February March April May June July August September October November December Hour Solar PV Wind Power Utility Electricity Level of Hydrogen FIGURE 4.12: Detailed dispatch graphs of the investment opti mization scenarios as compared to the diesel basecase. γ = +30% CO2 Savings = 66.32% Hour γ = +50% CO2 Savings = 86.28% Hour γ = +70% CO2 Savings = 93.71% Hour γ = +80% CO2 Savings = 95.98% Hour 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 γ = +40% CO2 Savings = 72.91% Hour γ = +60% CO2 Savings = 90.78% Hour γ = +75% CO2 Savings = 94.90% Hour γ = +90% CO2 Savings = 97.79% Hour 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 90 ### 4.4.2 Sensitivity Analysis for the Utility Basecase The investment optimization scenarios compared to the utility basecase can be considered as a subset of the diesel basecase optimization scenarios be cause the utility basecase costs are higher than that of the diesel basecase costs. Therefore, the variation in the cost constraint parameter can be con sidered in both positive and negative directions. The optimization scenarios for the negative cost constraint variations are feasible until the utility base case costs are lowered by more than 20% and the investments are infeasible below that point. The total annual energy costs and the total annual CO2 emissions of the investment optimization scenarios compared to the utility basecase are shown in Figure 4.13. The CO2 savings of the investment opti mization scenarios compared to the utility basecase are shown in Figure 4.14. The optimal capacity decisions for the solar PV, wind power, hydrogen elec trolyzer and hydrogen storage are reported in Table 4.8 together with the to tal annual energy costs, the total annual CO2 emissions and the CO2 savings for the investment optimization scenarios compared to the utility basecase. _γ_ Solar PV Wind Power Electrolyzer Hydrogen Storage Total Annual Energy Costs Total Annual CO 2 Emissions CO 2 Savings <u>[%]</u> <u>[kW]</u> <u>[kW]</u> <u>[kW]</u> <u>[kWh]</u> <u>[ke]</u> <u>[tonne-CO2]</u> <u>[%]</u> _−_ 25% Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible Infeasible _−_ 20% 2,002 800 1,604 54,363 524.88 312.77 73.53% _−_ 10% 2,371 800 1,838 140,485 590.49 245.56 79.22% 0% 1,765 1,600 1,882 192,823 650.37 78.09 93.39% +10% 2,108 1,600 2,075 267,884 720.52 37.79 96.80% +20% 2,389 1,600 2,233 338,458 787.32 10.85 99.08% <u>+25%</u> <u>2,514</u> <u>1,600</u> <u>2,304</u> <u>372,972</u> <u>820.13</u> <u>0.23</u> <u>99.98%</u> TABLE 4.8: The capacity decisions together with the total annual energy costs, the total annual CO2 emissions and the CO2 savings for the investment optimization scenarios compared to the utility basecase. 91 900 800 700 600 500 400 300 200 100 0 350 300 250 200 150 100 50 0 -20% -10% 0% 10% 20% 25% Variation in Cost Constraint [%] Costs Carbon Emissions FIGURE 4.13: The total annual energy costs and the total annual CO2 emissions of the investment optimization scenarios compared to the utility basecase. 100% 95% 90% 85% 80% 75% 70% -20% -10% 0% 10% 20% 25% Variation in Cost Constraint [%] FIGURE 4.14: The CO2 savings of the investment optimization scenarios compared to the utility basecase. Without any further relaxation or limitation in the reference costs of the util ity basecase (0% point in Table 4.8), the investment decisions consider the renewable energy sources which significantly reduce the share of the utility electricity and achieve the CO2 savings of around 94%. Before touching the 92 infeasibility boundary, the investment decisions still provide around 74% of the CO2 savings at 20% lower annual energy costs relative to the utility base case costs. This use case validates that at least 74% decarbonization of the mobility sector can be achieved by microgrids at costs lower than that of the utility electricity based hydrogen energy systems which do not consider mi crogrids. The results also show that with just 25% more annual energy costs than the utility basecase costs, a 100% decarbonization of the mobility sector is possible by the renewable energy based microgrid solution. The optimal costs of the hydrogen fuel consumption (e/kgH2) and the hy drogen energy (e/kWh) are shown in Figure 4.15 and Figure 4.16 respec tively. In this sensitivity analysis, the results of the hydrogen fuel costs and hydrogen energy costs show the similar behavior to the sensitivity analy sis for the diesel basecase. Also in this case, carbon prices, subsidies and cheaper costs of the technologies are required to make the hydrogen energy costs competitive with the current market costs of the diesel fuel. The sub section 4.4.3 provides further details to close the H2-Diesel cost gap shown in the Figure 4.16 by the introduction of carbon prices. 93 9.5 9 8.5 8 7.5 7 6.5 6 5.5 5 <u>-7%</u> -11% <u>-18%</u> -26% -33% <u>-40%</u> -20% -10% 0% 10% 20% 25% Variation in Cost Constraint [%] Hydrogen Fuel Costs (Optimization) Hydrogen Fuel Costs (Current Market) FIGURE 4.15: Hydrogen fuel consumption with the current market costs of hydrogen (red dotted lines) in Austria for the investment optimization scenarios as compared to the utility basecase. 0.275 0.25 0.225 0.2 0.175 0.15 0.125 0.1 0.075 0.05 0.025 0 109% <u>101%</u> <u>84%</u> <u>66%</u> 51% 34% -20% -10% 0% 10% 20% 25% Variation in Cost Constraint [%] Hydrogen Energy Costs (Optimization) Diesel Energy Costs (Current Market) FIGURE 4.16: Hydrogen energy costs with the current market costs of diesel fuel (red dotted lines) in Austria for the investment optimization scenarios as compared to the utility base case. The detailed dispatch graphs of the hydrogen storage together with the monthly energy shares of the solar PV, wind power and utility electricity are shown in 94 Figure 4.17 for the investment optimization scenarios compared to the utility basecase. Figure 4.17 shows that the seasonal behavior of the hydrogen stor age becomes evident as the share of the renewable energy sources increases. 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% Hour Solar PV Wind Power Utility Electricity Level Of Hydrogen γ = -10% CO2 Savings = 79.22% Hour γ = +10% CO2 Savings = 96.80% Hour γ = +25% CO2 Savings = 99.98% 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 γ = -20% CO2 Savings = 73.53% Hour γ = 0% CO2 Savings = 93.39% Hour γ = +20% CO2 Savings = 99.08% Hour 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 FIGURE 4.17: Detailed dispatch graphs of the investment opti mization scenarios as compared to the utility basecase. ### 4.4.3 Carbon Prices to close the H 2 -Diesel Cost Gap This sub-section provides a detailed methodology and results of the carbon prices that can vary the diesel fuel costs and close the H2-Diesel cost gap. By using the design parameters given in Table 4.5, the carbon emissions per unit diesel fuel consumption (kg-CO2/litre) and the diesel fuel demand share (%) for each fleet type are calculated and are given in Table 4.9. 95 Fleet Type Carbon Emissions Fuel Demand Share (FDS) <u>[kg-CO2/litre]</u> <u>[%]</u> Passenger Cars 3.49 7% Busses 3.16 31% <u>Trucks</u> <u>3.05</u> <u>62%</u> TABLE 4.9: The carbon emissions per unit diesel fuel consump tion and fuel demand share for each fleet type. The H2-Diesel cost gap is shown in Figure 4.11 and Figure 4.16 for each in vestment optimization scenario in e/kWh. This H2-Diesel cost gap is con verted into e/litre for diesel fuel. The H2-Diesel cost gap is given cumula tively for all the fleet types by each investment optimization scenario. There fore, it is necessary to take into account the carbon emissions and the fuel de mand share of each fleet type given in Table 4.9 to calculate the carbon price (e/kg-CO2) in each investment optimization scenario by using eq. (4.21). _CarbonPriceγ_ = _H_ 2 _DieselCostGapγ_ ( _CO_ 2cars _FDS_ cars) + ( _CO_ 2busses _FDS_ busses) + ( _CO_ 2trucks _FDS_ trucks) (4.21) The resulting carbon prices for all the investment optimization scenarios rel ative to the diesel basecase and utility basecase are given in Table 4.10 and Table 4.11 respectively. As the cost constraint parameter is relaxed, the H2-Diesel cost gap is increas ing and the resulting carbon price is also increasing. With a CO2 saving of around 66%, the carbon price on the diesel fuel is estimated to be around 124 e/tonne-CO2 to close the H2-Diesel cost gap. These results show that the carbon price is estimated to be more than 400 e/tonne-CO2 to make the hy drogen costs competitive with the diesel costs and achieve almost 100% CO2 savings. 96 _γ_ H 2 -Diesel Cost Gap Carbon Price CO 2 Savings <u>[%]</u> <u>[e/kWh]</u> <u>[e/litre]</u> <u>[e/kg-CO2]</u> <u>[e/tonne-CO2]</u> <u>[%]</u> +30% 0.0384 0.384 0.1233 123.3 66.32% +40% 0.0506 0.506 0.1624 162.4 72.91% +50% 0.0593 0.593 0.1905 190.5 86.28% +60% 0.0727 0.727 0.2335 233.5 90.78% +70% 0.0858 0.858 0.2757 275.7 93.71% +75% 0.0923 0.923 0.2966 296.6 94.90% +80% 0.0988 0.988 0.3174 317.4 95.98% +90% 0.1115 1.115 0.3581 358.1 97.79% <u>+100%</u> <u>0.1237</u> <u>1.237</u> <u>0.3973</u> <u>397.3</u> <u>99.21%</u> TABLE 4.10: Carbon prices to close the H2-Diesel cost gap for the investment optimization scenarios compared to the diesel basecase. _γ_ H 2 -Diesel Cost Gap Carbon Price CO 2 Savings <u>[%]</u> <u>[e/kWh]</u> <u>[e/litre]</u> <u>[e/kg-CO2]</u> <u>[e/tonne-CO2]</u> <u>[%]</u> _−_ 20% 0.0408 0.408 0.1309 130.9 73.53% _−_ 10% 0.0609 0.609 0.1955 195.5 79.22% 0% 0.0792 0.792 0.2544 254.4 93.39% +10% 0.1007 1.007 0.3234 323.4 96.80% +20% 0.1211 1.211 0.3892 389.2 99.08% <u>+25%</u> <u>0.1312</u> <u>1.312</u> <u>0.4214</u> <u>421.4</u> <u>99.98%</u> TABLE 4.11: Carbon prices to close the H2-Diesel cost gap for the investment optimization scenarios compared to the utility basecase. ## 4.5 Resume This chapter investigates the optimal planning of microgrids including the hydrogen energy system through mixed-integer linear programming model. A real case study is analyzed by extending the only microgrid lab facility in Austria. The case study considers the hydrogen production via electrolysis, seasonal storage and fueling station for meeting the hydrogen fuel demand of fuel cell vehicles, busses and trucks. The optimization is performed rel ative to two different reference cases which satisfy the mobility demand by diesel fuel and utility electricity based hydrogen fuel production respectively. The key results indicate that the low emission hydrogen mobility framework 97 is achieved by high share of renewable energy sources and seasonal hydro gen storage in the microgrid. The investment optimization scenarios provide at least 66% and at most 99% carbon emission savings at increased costs of 30% and 100% respectively relative to the costs of the diesel reference case. 99 # Chapter 5 Mixed-Integer Linear Programming based Optimization Strategies for Renewable Energy Communities ## 5.1 Introduction This chapter aims to assess, investigate and solve the Research Question 3. A renewable energy community is modeled using mixed-integer linear pro gramming methodology for contributing towards the clean energy transition set by the Clean Energy Package (CEP) of the European Commission. The be havior of the renewable energy community based mechanism is quantified in terms of renewable energy sharing among community participants which consider multiple energy tariffs and mixture of prosumers and consumers in the multi-nodal microgrid structure. The rest of this chapter is structured as follows. Section 5.2 describes the formulation of the optimization problem. Section 5.3 provides the detailed information of the case study and its testing, including pre-processing and analytics of data. Section 5.4 discusses the detailed results followed by the resume in Section 5.5. 100 ## 5.2 Formulation of Optimization Problem The methodology considers an optimization model using a MILP framework based on the Distributed Energy Resources - Customer Adoption Model (DER CAM) [37] and further developed within this research to include the addi tional decision variables for the surplus energy at a single node, the energy transfer between multiple nodes with the corresponding financial constraints and different electricity tariff scenarios with a yearly time horizon. A major difference to the existing literature is the new option for the renewable en ergy transfer between the nodes (community members) combined with the newly introduced node-specific time-of-use electricity rates using a full-scale optimization horizon (i.e. a full linked year). With this time horizon, volatile energy supply systems as well as seasonal energy transfer can be considered directly and hourly based electricity rates can be considered in the optimiza tion. Therefore, this MILP framework considers the full-scale optimization _i.e._ 8760-hours by extending the previously MILP framework (with time se ries in terms of 24-hours based three representative daytypes for each month) having months _m_ _∈_ {1, 2, . .., 12}, daytypes _d_ _∈_ {1, 2, 3} and hours _h_ _∈_ {1, 2, . . ., 24} [35] with _t ∈_ {1, 2, . .., 8760}. ### 5.2.1 Objective Function The MILP optimization framework minimizes the total energy costs, the to tal CO2 emissions of a REC and it can consider different utility rates of the individual participants. In this case, the optimization is performed from the perspective of the operator of a REC and thus according to the community to tal costs. The simplified objective function related to the total annual energy costs _C_ can be represented by eq. (5.1). 101 (5.1) _C_ = ∑ n _C_ n = ∑ n ## ∑ tech _DER_ invest + ∑ _t_ _C_ utility + ∑ _t_ _C_ O&M where _C_ n is the annual energy cost per node, _DER_ invest is the annualized in vestment cost per technology _tech_ and _C_ utility is related to the electrical pur chase minus sales to the utility grid or to the community members. The _C_ O&M variable is related to the operation and maintenance costs. _DER_ invest can be further described as shown in eq. (5.2) and eq. (5.3). ## DER invest = ∑ tech ( _C_ up Πtech) (5.2) _C_ up = _VarC_ tech _Cap_ tech + _FixC_ tech (5.3) where _C_ up are the upfront capital costs of the technology, Πtech is the annu ity rate of the technology, which gives the present value of the technology in terms of the annuity, the interest rate, and the number of annuities _i.e._ lifetime of the technology, _VarC_ tech are the variable capital costs of the tech nology, _Cap_ tech is the technology capacity to be invested and _FixC_ tech are the fixed capital costs of the technology. The variable capital costs vary with the amount of capacity that is invested, while the fixed capital costs are indepen dent on the size of the technology and can cover engineering costs. To accurately reflect the additional cost possibilities for the renewable energy transfer within a REC, two new cost variables have been added to the total _C_ utility costs, which are further described in eq. (5.4). Furthermore, all elec tricity rates related to the utility purchase are node-specific in this model, so that different tariff scenarios for each node and customer can be tracked explicitly. 102 t n,t ## n,t UtPur − ∑ ## ∑ n,t ## C utility = ∑ n,t _En_ <sup>UtPur</sup>, _t_ _n_ <sup>UtPur</sup>, _t_ _ζ_ n,t <sup>UtPur</sup> _En_ <sup>UtExp</sup>, _t_ _n_ <sup>UtExp</sup>, _t_ _ζ_ t <sup>UtExp</sup> + ∑ n n <sup>UtFix</sup> + ∑ n,t _C_ n <sup>UtFix</sup> _E_ n,t <sup>UtMax</sup> n,t <sup>UtMax</sup> _ζ_ n,t <sup>UtMax</sup> n,t (5.4) + ∑ n,t ## n RecPur, t ζ RecPur − ∑ n,t _En_ <sup>RecPur</sup>, _t_ _En_ <sup>RecExp</sup>, _t_ _ζ_ <sup>RecExp</sup> where _En_ <sup>UtPur</sup>, _t_ _n_ <sup>UtPur</sup>, _t_ is the purchased electricity from the utility at node _n_, _ζ_ n,t <sup>UtPur</sup> n,t <sup>UtPur</sup> is the node-specific TOU-rate for the electricity purchase from the utility, _En_ <sup>UtExp</sup>, _t_ the node-specific TOU-rate for the electricity purchase from the utility, _En_ <sup>UtExp</sup>, _t_ is the exported electricity to the utility at node _n_ and _ζ_ t <sup>UtExp</sup> is the rate for the is the exported electricity to the utility at node _n_ and _ζ_ t <sup>UtExp</sup> electricity export. _C_ n <sup>UtFix</sup> n <sup>UtFix</sup> is the yearly utility fee at node _n_, _E_ n,t <sup>UtMax</sup> n,t <sup>UtMax</sup> is the max imum purchased electricity from the utility during the whole year at node _n_ and _ζ_ n,t <sup>UtMax</sup> is the node-specific yearly power demand rate. Note that the REC-based electricity purchase and export prices are different as described in the case study addressed in sub-section 5.3. _En_ <sup>RecPur</sup>, _t_ is the newly introduced purchased electricity from other REC mem bers at node _n_, _ζ_ <sup>RecPur</sup> is the energy community rate for the REC-based elec tricity purchase defined by the community operator, _En_ <sup>RecExp</sup>, _t_ is the exported electricity to the REC at node _n_ and _ζ_ <sup>RecExp</sup> is the defined rate for the electric ity export to the REC. Furthermore, in order to avoid higher individual costs for each participant (node) in a community setup, the total annual energy costs per node _C_ n can also be limited in the optimization by the cost constraint of _C_ n <sup>_lim_</sup> according to the eq. (5.5) and eq. (5.6) so that the individual costs per node/client in the REC are not exceeding the individual reference costs. _C_ n <sup>lim</sup> n <sup>lim</sup> = (1 + _γ_ ) _C_ n <sup>ref</sup> n <sup>ref</sup> (5.5) _C_ n _≤_ _C_ n <sup>lim</sup> (5.6) 103 where _C_ n <sup>ref</sup> <sup>are the costs associated with the reference case at node</sup> <sup>_n_</sup> <sup>and</sup> <sup>_γ_</sup> <sup>is</sup> the cost constraint parameter responsible for limiting the total annual energy costs per node. The simplified objective function related to the total annual carbon dioxide emissions can be represented by eq. (5.7). It is the summation of the carbon dioxide emissions occurred in providing the electricity from the grid at each node _n_ . Carbon dioxide emissions from other technologies such as a com bined heat and power system running on natural gas can be considered in principle, but only electricity from grid is considered as a source of carbon dioxide emissions in this study. _CO_ 2 = ∑ _n_, _t_ ### 5.2.2 Technology Constraints _CO_ 2grid (5.7) The case study addressed in sub-section 5.3 considers mainly two distributed energy technologies for the production and storage of renewable energy shared within the REC, including the photovoltaic (PV) technology and the energy storage system (ESS), since this is the major focus of the current legislation. The electricity provided by the PV technology is given by eq. (5.8). _En_ <sup>solar</sup>, _t_ _n_ <sup>solar</sup>, _t_ = _Cap_ <sup>PV</sup> n <sup>PV</sup> n <sup>_PV_</sup> _n_ <sup>perf</sup>, _t_ _n_ <sup>perf</sup>, _t_ (5.8) where _En_ <sup>solar</sup>, _t_ is the electricity provided by the solar PV technology at node <sup>PV</sup> n is the capacity of the solar PV technology at node _n_ and _PVn_ <sup>perf</sup>, _t_ _n_, _Cap_ <sup>PV</sup> n _n_ <sup>perf</sup>, _t_ is the normalized solar PV performance at the corresponding location, which depends on the location, orientation, temperature and panel types. The energy storage system (ESS) can be represented by eq. (5.9). 104 _ESSn_ <sup>stored</sup>, _t_ _n_ <sup>stored</sup>, _t_ = _ESSn_ <sup>stored</sup>, _t−_ 1 _n_ <sup>stored</sup>, _t−_ 1 <sup>+</sup> <sup>_ESS_</sup> _n_ <sup>in</sup>, _n_ <sup>in</sup>, _t_ <sup>_−_</sup> <sup>_ESS_</sup> _n_ <sup>out</sup>, _t_ _n_ <sup>out</sup>, _t_ <sup>_−_</sup> <sup>_ESS_</sup> _n_ <sup>loss</sup>, _t_ _n_ <sup>loss</sup>, _t_ (5.9) where _ESSn_ <sup>stored</sup>, _t_ represents the State of Charge (SoC) of the ESS at node _n_, _n_ <sup>in</sup>, _t_ <sup>is</sup> <sup>the</sup> <sup>input</sup> <sup>for</sup> <sup>ESS,</sup> <sup>_ESS_</sup> _n_ <sup>out</sup>, _t_ _ESSn_ <sup>in</sup>, _n_ <sup>out</sup>, _t_ <sup>is</sup> <sup>the</sup> <sup>output</sup> <sup>from</sup> <sup>the</sup> <sup>energy</sup> <sup>storage,</sup> _ESSn_ <sup>loss</sup>, _t_ <sup>is the energy lost in the ESS. The energy losses can be represented by</sup> eq. (5.10). _n_ <sup>loss</sup>, _t_ <sup>=</sup> <sup>_ESS_</sup> _n_ <sup>stored</sup>, _t_ _ESSn_ <sup>loss</sup>, _t_ _n_ <sup>stored</sup>, _t_ ΘESS (5.10) where ΘESS is the co-efficient of loss for the ESS. The energy storage con straints are given by eq. (5.11-5.16). _ESS_ <sup>stored</sup> _n_, _t_ <sup>ESS</sup> n (5.11) <sup>stored</sup> _n_, _t_ _≤_ _Cap_ <sup>ESS</sup> n <sup>max</sup> SoC (5.12) _Cap_ <sup>ESS</sup> n <sup>ESS</sup> n _ρ_ <sup>min</sup> SoC <sup>min</sup> SoC <sup>_≤_</sup> <sup>_ESS_</sup> <sup>stored</sup> _n_, _t_ <sup>stored</sup> _n_, _t_ _≤_ _Cap_ <sup>ESS</sup> n <sup>ESS</sup> n _ρ_ <sup>max</sup> SoC _ESS_ <sup>in</sup> _n_, _n_ <sup>ESSin</sup>, _t_ _η_ char _≤_ _Cap_ n <sup>ESS</sup> <sup>in</sup> _n_, _t_ <sup>=</sup> <sup>_E_</sup> _n_ <sup>ESSin</sup>, _t_ n <sup>ESS</sup> _φ_ <sup>max</sup> char <sup>max</sup> (5.13) char _ESS_ <sup>out</sup> _n_, _t_ _n_ <sup>ESSout</sup>, _t_ 1/( _η_ dis) _≤_ _Cap_ <sup>ESS</sup> n _φ_ <sup>max</sup> dis <sup>max</sup> (5.14) dis <sup>out</sup> _n_, _t_ <sup>=</sup> <sup>_E_</sup> _n_ <sup>ESSout</sup>, _t_ _ESS_ <sup>in</sup> _n_, <sup>in</sup> _n_, _t_ <sup>_≤_</sup> <sup>_ESS_</sup> <sup>XOR</sup> _n_, _t_ <sup>XOR</sup> _n_, _t_ _N_ (5.15) _ESS_ <sup>out</sup> _n_, _t_ <sup>out</sup> _n_, _t_ <sup>_≤_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ESS_</sup> <sup>XOR</sup> _n_, _t_ <sup>XOR</sup> _n_, _t_ <sup>)</sup> <sup>_N_</sup> (5.16) 105 where _Cap_ <sup>ESS</sup> n <sup>ESS</sup> n is the capacity of the ESS at node _n_, _ρ_ <sup>min</sup> SoC <sup>min</sup> SoC <sup>and</sup> <sup>_ρ_</sup> <sup>max</sup> SoC <sup>max</sup> SoC <sup>are</sup> <sup>the</sup> minimum and maximum SOCs of the ESS, _η_ char and _η_ dis are the charging and discharging efficiencies of the ESS, _φ_ <sup>max</sup> char <sup>max</sup> char <sup>and</sup> <sup>_φ_</sup> <sup>max</sup> dis <sup>max</sup> dis <sup>are the maximum charging</sup> and discharging rates of the ESS, _ESS_ <sup>XOR</sup> _n_, _t_ is the binary input for avoiding simultaneous charging and discharging of the ESS at node _n_ and _N_ is an arbitrary large number. ### 5.2.3 Energy Balance and Constraints In a REC constellation the electricity provided by the solar PV technology at node _n_ _En_ <sup>solar</sup>, _t_ can be divided into three PV electricity components, corre sponding to three decision variables given by eq. (5.17) _n_ <sup>RecExp</sup>, _t_ (5.17) _En_ <sup>solar</sup>, _t_ _n_ <sup>onsite</sup>, _t_ + _En_ <sup>UtExp</sup>, _t_ _n_ <sup>solar</sup>, _t_ = _En_ <sup>onsite</sup>, _t_ _n_ <sup>UtExp</sup>, _t_ + _En_ <sup>RecExp</sup>, _t_ where _En_ <sup>onsite</sup>, _t_ is the onsite usage of the electricity provided by the PV technol ogy at node _n_, which can be used to satisfy the demand or charge the onsite battery at node _n_ if one exists. _En_ <sup>ExpUt</sup>, _t_ is the exported PV electricity to the utility and _En_ <sup>RecExp</sup>, _t_ is the exported PV electricity to the REC participants at node _n_ when there is a demand for electricity. The constraints given by eq. (5.18) and (5.19) serve to prevent simultaneous import and export to/from the utility if a grid connection exists, i.e. binary parameter _δ_ <sup>gc</sup> <sup>_̸_</sup> = 0, otherwise both _En_ <sup>UtPur</sup>, _t_ _n_ <sup>UtExp</sup>, _t_ will be fixed at zero. <sup>_̸_</sup> _n_ <sup>UtPur</sup>, _t_ and _En_ <sup>UtExp</sup>, _t_ _En_ <sup>UtPur</sup>, _t_ _≤_ _δ_ <sup>ps</sup> _n_, _t_ <sup>_δ_</sup> <sup>gc �</sup> _N_ (5.18) - _δ_ <sup>gc �</sup> _N_ (5.19) _En_ <sup>UtExp</sup>, _t_ _≤_ �� 1 _−_ _δn_ <sup>ps</sup>, _t_ 106 where _δ_ <sup>ps</sup> _n_, _t_ <sup>is related to the binary electricity purchase or sell decision variable</sup> at node _n_ and _N_ is an arbitrary large number. Moreover, the electricity which is stored and provided by the ESS technology at node _n_ can also be divided into two ESS components, corresponding to two decision variables given by eq. (5.20) _En_ <sup>ESSout</sup>, _t_ _n_ <sup>ESSout</sup>, _t_ = _En_ <sup>ESSons</sup>, _t_ _n_ <sup>ESSons</sup>, _t_ + _En_ <sup>ESSRecExp</sup>, _t_ _n_ <sup>ESSRecExp</sup>, _t_ (5.20) where _En_ <sup>ESSons</sup>, _t_ is the onsite usage of the electricity provided by the ESS at node _n_ and _En_ <sup>ESSRecExp</sup>, _t_ is the exported ESS electricity to the REC. Note that in this REC model also centralized community PV and ESS technologies are possible as long as a node _n_ for a "centralized" technology location has been specified. Thus, the model can make decisions on decentralized individual PV and ESS technologies at each node/building and also provide electricity from PV and ESS for the entire REC in one location. For the renewable energy transfer option within the REC a new transfer vari able has been introduced given by eq. (5.21) _n_ <sup>RecExp</sup>, _t_ + _En_ <sup>ESSRecExp</sup>, _t_ _n_ <sup>ESSRecExp</sup>, _t_ (5.21) ## ∑ _n_ <sup>_′_</sup> _En_ <sup>trans</sup>, _n_ <sup>_′_</sup>, _t_ _n_ <sup>trans</sup>, _n_ <sup>_′_</sup>, _t_ <sup>=</sup> <sup>_E_</sup> _n_ <sup>RecExp</sup>, _t_ where _En_ <sup>trans</sup>, _n_ <sup>_′_</sup>, _t_ <sup>is related to the renewable energy transfer from node</sup> <sup>_n_</sup> <sup>to node</sup> _n_ <sup>_′_</sup> and is given by the sum of the total exported electricity from the PV and ESS technology within the REC. This is also the total electricity amount that can be purchased by other community members from a node _n_ . The higher level energy balance equation for the overall model is given by eq. (5.22). 107 (5.22) _n_ <sup>UtPur</sup>, _t_ + ∑ _n_ <sup>trans</sup>, _n_ <sup>_′_</sup>, _t_ <sup>+</sup> <sup>_E_</sup> _n_ <sup>onsite</sup>, _t_ _En_ <sup>UtPur</sup>, _t_ _En_ <sup>trans</sup>, _n_ <sup>_′_</sup>, _t_ _n_ <sup>onsite</sup>, _t_ + _En_ <sup>ESSons</sup>, _t_ _n_ <sup>ESSons</sup>, _t_ + _En_ <sup>UtExp</sup>, _t_ _n_, _t_ _n_ <sup>_′_</sup> = _En_ <sup>load</sup>, _t_ _n_ <sup>load</sup>, _t_ + _En_ <sup>ESSin</sup>, _t_ _n_ <sup>ESSin</sup>, _t_ + _En_ <sup>sales</sup>, _t_ _n_, _t_ where _En_ <sup>load</sup>, _t_ _n_ <sup>load</sup>, _t_ is the electrical load demand at node _n_ and _En_ <sup>sales</sup>, _t_ _n_ <sup>sales</sup>, _t_ are the total remaining electricity sales to the utility at node _n_ . ## 5.3 Case Study This section includes the details and the approach of designing the real case study for a small-scale REC testbed with nine community participants in a village in Carinthia, Austria of which six are consumers and three are pro sumers with an existing PV system. It also includes the time series data anal ysis, the technical and economical details of the technologies, assumptions and the optimization strategy. ### 5.3.1 Renewable Energy Community The setup of the testbed is based on the characteristics of a typical REC aim ing to share the renewable energy produced within the community at a local level. In addition to the necessary technical setup of the REC, the project fo cuses on the active participation of citizens, community and local initiatives in order to create a solution that fully exploits the positive effects of a REC. In the municipality of this village in Carinthia, a total of nine project partic ipants have agreed to participate in a REC consisting of the local authority, a fire department, a bank, a residential building (two households and one electrical hot water boiler profile) and three single-family households. In ad dition, the fire department has an existing PV system with a peak power of 17.68 kWp and two of the single-family households have already a PV system with a peak power of 4.2 kWp and 2.6 kWp, where the surplus PV electricity 108 is sold to the utility at a certain feed-in tariff in the reference case. By trans ferring to an REC, the surplus PV electricity produced by the individual par ticipants can be distributed to the community members (nodes) at a reduced network tariff, which means that less electricity has to be purchased from the public grid, thus saving costs and carbon emissions. Moreover, green field scenarios without existing PV technologies are also considered in or der to find the optimal investment decisions for this REC and whether the total energy costs can be further reduced through the expansion of renew able energies. Furthermore, all participants are located on one network level (low voltage distribution network). The current network topology of the REC testbed with the existing technologies is shown in Figure 5.1. Although the investments in PV and ESS are considered in a centralized approach in this topology, further decentralized investments in PV and ESS are also possible in each individual node together with the existing decentralized technolo gies. Utility Grid Node 9 Household Node 8 Household Node 7 Bank Node 6 Household PV + ESS (Investment Options) Node 5 Apartment (Hot Water Boiler) Node 1 Local Authority Node 2 Fire Fighting Station Node 3 Apartment Node 4 Apartment FIGURE 5.1: The network topology of the renewable energy community testbed at a village in Carinthia (Austria) with cen tral investment options and other existing technologies. 109 ### 5.3.2 Time Series Input Data Analysis and Assumptions The responsible Distribution System Operator (DSO) in this region is the KNG-Kärnten Netz GmbH, who are co-initiators of this REC project and pro vided the electrical load profile data of the community. The electrical load profiles of the individual participants are synthetically generated load pro files based on real smart-meter measurements in a 15 min time interval for a whole year. The hourly based electric load data are shown in Figures 5.2-5.3. 12 10 8 6 4 2 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour Node 1 Node 2 Node 3 Node 4 FIGURE 5.2: The hourly electrical demand profile of node 1-4. 110 6 5 4 3 2 1 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour Node 5 Node 6 Node 7 Node 8 Node 9 FIGURE 5.3: The hourly electrical demand profile of node 5-9. Moreover, the corresponding histograms for each demand are shown in Fig ure 5.4 to provide a visual representation of the electrical load data distribu tions in relation to the number of hours. 111 (A) Node 1 (B) Node 2 (C) Node 3 (D) Node 4 (E) Node 5 (F) Node 6 (G) Node 7 (H) Node 8 (I) Node 9 FIGURE 5.4: The corresponding histograms for each electrical demand. Furthermore, the maximum power and yearly electricity consumption for each community participant (node) and type are reported in Table 5.1. The to tal annual consumption of the whole REC amounts to approximately 63,902 kWh/a with a hourly peak load of 18.32 kWp when the individual electricity consumptions are aggregated to a total load. 112 Node Type Maximum Hourly Power Annual Energy [kW] [kWh] per year 1 Local Authority 10.52 19,972.69 2 Fire Fighting Station 1.98 5,171.55 3 Apartment 1.26 378.10 4 Apartment 1.65 1,395.14 5 Apartment (Hot Water Boiler) 2.84 1,816.81 6 Household 5.03 14,093.83 7 Bank 3.13 9,452.83 8 Household 2.23 1,803.63 9 Household 3.25 9,817.13 TABLE 5.1: The maximum hourly power and annual electrical load of each community participant. For the determination of the electricity provided by the existing PV technolo gies at the location, the solar PV performance is required at the site. The solar PV performance is retrieved from Meteonorm [110] with an hourly time hori zon. Meteonorm explicitly provides the hourly values of the PV performance of a typical medium sized plant with crystalline silicon modules and an effi cient inverter for a whole year. These data are shown in Figure 5.5. The tech nological and economical parameters of the PV technology are addressed in sub-section 5.3.3. 113 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 5.5: The solar PV performance data on hourly basis at the site [110]. In order to assess the CO2 emissions correctly, the CO2 content of the pur chased electricity from the utility also needs to be considered. The marginal CO2 emissions rate of the purchased electricity is considered in kg/kWh in this study and is shown in Figure 5.6 [128] on hourly basis for the whole year. The marginal CO2 emissions rate is based on the Austrian-mix and import mix electricity sources. The marginal CO2 emissions only consider the direct emissions of the fuel while generating the electricity and do not include the indirect emissions related to the fuel production and transportation. 114 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 5.6: The hourly marginal CO2 emissions of the utility electricity [128]. ### 5.3.3 Techno-Economical Parameters The economical parameters for the solar PV and ESS include the investment parameters like fixed capital costs, variable capital costs, fixed maintenance costs and lifetime. These parameters are given in Table 5.2 [58, 132]. For the ESS, a Lithium-ion based battery is considered. The lifetime of such Lithium based batteries results from the stated manufacturer’s warranty of ten years at a discharge depth of 100% [133]. In order to minimize battery degrada tion and prolong the usage of the stored renewable energy, the ESS is only operated in a SOC range of 20-100%, which according to [134] can increase the lifetime (more precisely the number of charge cycles) by 50%. Therefore a lifetime of 15 years is assumed for the ESS in this study. The interest rate is considered as 2% which is needed for the calculation of the annuity rate for each technology. 115 Technology Fixed Costs Variable Costs Fixed Maintenance Costs Lifetime [e] [e/kW or kWh for ESS] [e/kW or kWh for ESS] per year [Years] PV 0 842 9 25 ESS 0 434 0 15 TABLE 5.2: The economic parameters of the microgrid tech nologies [58, 132]. The technical parameters for the energy storage system includes the charging and discharging efficiencies, the maximum charge and discharge rates, the minimum and maximum SOC and the self-discharge rate (losses) of a typical Lithium-Ion ESS. These parameters are given in Table 5.3 [133, 135]. Parameter Value Charging Efficiency of ESS [%] 95 Discharging Efficiency of ESS [%] 95 Maximum Charge Rate [% per hour] 34 Maximum Discharge Rate [% per hour] 34 Minimum SOC of ESS [%] 20 Maximum SOC of ESS [%] 100 Self-Discharge Rate of ESS [% per hour] 0.2 TABLE 5.3: The technical parameters of the Li-ion based ESS [133, 135]. In Austria, the total electricity tariff is divided into three main components consisting of an energy, a grid and a fees component with the last two com ponents regulated by law and dependent on the respective region [136, 137, 138]. Furthermore, the Austrian sales tax of 20% must also be taken into ac count. The energy component of the electricity tariff for the utility purchase is based on the KELAG Home Basic tariff [139], which is commonly used for households (HH) at this site, and a special tariff for the local authority (LA) and the electrical hot water boiler (HWB) defined by the local energy 116 supplier. Furthermore, in this case study a distinction is made between two different tariff scenarios. The first scenario refers to a pure consumption tariff without variable power demand rates for all REC members and is therefore called "Scenario Without-DR" in this study. In the second scenario there is a variable power demand rate in the grid tariff component, which refers to the yearly peak load of each REC participant, and thus is called "Scenario With DR". The tariffs are summarized into a variable (ec/kWh), a fixed (e/a) and a peak load-related (e/kWp/a) cost component for the optimization, which results in the following cost breakdown for the different tariff scenarios and participant types given in Table 5.4. Without-DR With-DR Tariff Component Unit HH LA HWB HH LA HWB Energy e/a 39 8 0 39 8 0 ec/kWh 6.79 4.53 6.25 6.79 4.53 6.25 Grid e/a 65.21 65.21 65.21 27.96 27.96 27.96 e/kWp/a 0 0 0 13.79 13.79 13.79 ec/kWh 6.53 6.53 6.53 6.07 6.07 6.07 Fees e/a 37.35 37.35 37.35 37.35 37.35 37.35 ec/kWh 3.49 3.49 3.49 3.49 3.49 3.49 Sales Tax % 20 20 20 20 20 20 _ζ_ n,t <sup>UtPur</sup> - Variable Cost Incl. Tax ec/kWh 20.17 17.46 19.52 19.62 16.91 18.97 _ζ_ n,t <sup>UtMax</sup> - Peak Load Cost Incl. Tax e/kWp/a 0 0 0 16.55 16.55 16.55 _Cn_ <sup>UtFix</sup> - Fixed Cost Incl. Tax e/a 169.87 131.17 121.57 125.17 87.97 78.37 TABLE 5.4: The individual and summarized electricity tariff components in the REC. According to the current status of the negotiations surrounding the EAG, it can be assumed that the variable part of the grid component for the shared electricity within the REC will be reduced by at least 60% in order to create additional financial incentives for community members in Austria. In addi tion, the variable part of the fees cost component is also to be abolished. The energy price is determined by the operator of the REC or by the community 117 participants. In this study energy rates of 4 ec/kWh are considered, which is equal to the fixed feed-in tariff to the utility of 4 ec/kWh and corresponds to the current community situation with the existing PV technologies. For the greenfield investment scenarios it is assumed that no energy rates have to be paid and are therefore considered to be 0 ec/kWh. The cost structure and the summarized variable energy community tariff for the purchased electric ity from the REC is given in Table 5.5. Without-DR With-DR REC Tariff Component Unit HH, LA, HWB HH, LA, HWB Energy ec/kWh 0 or 4 0 or 4 Grid ec/kWh 2.61 2.43 Fees ec/kWh 0 0 Sales Tax % 20 20 _ζ_ <sup>RECPur</sup> - Variable Cost Incl. Tax ec/kWh 3.13 or 7.93 2.92 or 7.72 TABLE 5.5: The energy community tariff components and the summarized variable cost for the purchased electricity from the REC. In addition to the fixed feed-in tariff _ζ_ t <sup>UtExp</sup> of 4 ec/kWh, also time-variable rates for the PV surplus electricity sales to the utility are considered in other greenfield optimization scenarios. This is significantly important to show how the REC reacts with different market signals. For this the Austrian spot market prices on an hourly basis are used. This market price history is shown in Figure 5.7 [140]. 118 0.14 0.12 0.1 0.08 0.06 0.04 0.02 0 -0.02 -0.04 -0.06 -0.08 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 5.7: The hourly EPEX spot market prices for the year 2019 in Austria [140]. ### 5.3.4 Optimization Framework and Strategy The case study considers three different reference cases (RC) and three dif ferent optimization cases (OC) in a REC constellation related to the corre sponding reference case and where the renewable energy transfer among the community participants is enabled. The different scenarios are reported in Table 5.6. For all cases, the total annual energy costs and the total annual CO2 emissions are calculated through a cost minimization of the optimiza tion model. The energy costs include the investment costs related to the PV and ESS technologies together with the electricity purchase or sales from the utility or the REC. The CO2 emissions include the total marginal carbon emis sions of the electricity purchase from the utility. 119 Scenario Description RC-Without-DR-PV Reference case: existing PV and without demand rates RC-Without-DR Reference case: no existing PV; only utility purchase and without demand rates RC-With-DR Reference case: no existing PV; only utility purchase and with demand rates OC-Without-DR-PV Optimization: existing PV and without demand rates; no additional investments OC-Without-DR Optimization: enabled investments and without demand rates OC-With-DR Optimization: enabled investments and with demand rates TABLE 5.6: Different scenarios for the optimization and testing framework. The first reference case RC-Without-DR-PV represents the current status of the participants and considers the three existing PV systems using the tech nical and economical parameters reported in sub-section 5.3.3. In this ref erence case the tariff scenario without demand rates is considered for the utility purchase, which is given in Table 5.4. Furthermore, in this reference case, the PV surplus can only be fed into the grid at a fixed feed-in tariff of 4 ec/kWh. The associated optimization case OC-Without-DR-PV determines by how much the total PV self-consumption of the REC can be increased and thus how much total annual energy costs and total annual CO2 emissions can be saved with the prevailing tariff scenario, when the renewable energy transfer between the participants is enabled. The second and third reference case RC-Without-DR and RC-With-DR are so-called greenfield scenarios with different tariff schemes in each case (one without and one with demand rates), where no existing PV technologies are considered. The corresponding investment and optimization cases OC Without-DR and OC-With-DR determine how much is invested in new PV and ESS technologies and thus how much energy costs and CO2 emissions can be saved in a REC with the optimally chosen technology capacities and enabling the renewable energy transfer. In both greenfield investment opti mization cases, the spot market prices given in Figure 5.7 are used for the PV 120 surplus sales to the utility. The assumptions for all optimization scenarios are summarized in Table 5.7. Scenario _ζ_ <sup>RECPur</sup> - REC-Purchase _ζ_ <sup>RECExp</sup> - REC-Export _ζ_ t <sup>UtExp</sup> - Utility Sales [ec/kWh] [ec/kWh] [ec/kWh] OC-Without-DR-PV 7.93 4 4 OC-Without-DR 3.13 0 Market Prices OC-With-DR 2.92 0 Market Prices TABLE 5.7: The assumptions made regarding the RECPurchase and Utility Sales for all optimization scenarios. For all cases, the total annual energy costs and the total annual CO2 emis sions are calculated through a cost minimization of the optimization model. The results include the optimal sizing and the full-year operational dispatch of the technologies. Furthermore, the results also include the comparisons with the reference cases in terms of the energy cost and CO2 savings, the total annual energy costs per node and the distributed renewable energy to each node for the different tariff scenarios. The optimality gap of the opti mization solver was set to 0.2% for all scenarios. The MILP optimization was performed on a server with a Common KVM processor CPU 3.7 GHz and 224 GB of RAM. ## 5.4 Results This section provides the results of the reference cases and the corresponding optimization scenarios for each node based on the different electricity tariff scenarios. ### 5.4.1 Current Status with Existing Technologies First, the current status of the community participants is determined with the reference case scenario RC-Without-DR-PV. For this, the total electricity 121 purchase from the grid, the produced PV electricity provided by the existing PV technologies and the respective share of the onsite PV usage, the total annual energy costs and the total annual CO2 emissions are calculated for each node through a cost minimization using the time series input data and techno-economical parameters given in sub-section 5.3.2-5.3.3. The calculated total energy costs per node of the RC-Without-DR-PV refer ence case scenario are used as node-specific cost constraints for the optimiza tion scenario OC-Without-DR-PV, where the renewable electricity transfer between the participants is possible. The REC participants who provide the renewable electricity to the REC ( _ζ_ <sup>RECExp</sup> ) get the same energy rate as if they sold the electricity to the grid ( _ζ_ <sup>UtExp</sup> ), i.e. 4 ec/kWh. This means that the participants who sell the electricity to the other community members are not economically disadvantaged in the new REC setup. The results for the whole REC obtained from the reference (RC-Without-DR-PV) and optimization sce nario (OC-Without-DR-PV) are given in Table 5.8. The node-specific results are also given in Tables 5.9-5.10. Scenario PV PV-Onsite REC-Purchase Community Energy Costs Cost Savings Community CO 2 Emissions CO 2 Savings [kW] [kWh/a] [kWh/a] [e/a] [%] [kg-CO2/a] [%] RC-Without-DR-PV 24.48 6,648.19 - 12,976.25 - 13,879.25 OC-Without-DR-PV 24.48 6,648.19 9,694.71 11,843.70 8.73 11,839.45 14.70 TABLE 5.8: The results of the reference and optimization scenario (RC-Without-DR-PV and OC-Without-DR-PV) calculated through a cost minimization. 122 Node Grid-Purchase PV-Production PV-Onsite Total Energy Cost Total CO2 Emissions [kWh/a] [kWh/a] [kWh/a] [e/a] [kg-CO2/a] 1 19,972.69 0 0 3,618.40 4,707.04 2 2,651.8 18,115.65 2,519.75 (13.9%) 1,002.63 656.19 3 378.09 0 0 246.24 88.51 4 1,395.14 0 0 451.38 326.11 5 1,816.81 0 0 476.21 437.94 6 10,736.24 4,303.49 3,357.59 (78%) 2,516.58 2,729.55 7 9,452.83 0 0 2,076.61 2,300.86 8 1,032.78 2,664.07 770.85 (28.9%) 438.09 256.31 9 9,817.13 0 0 2,150.10 2,376.74 Total 57,253.51 25,083.21 6,648.19 (26.5%) 12,976.25 13,879.25 TABLE 5.9: RC-Without-DR-PV results of each node. Node Grid-Purchase REC-Purchase PV-REC-Export Total Energy Cost Cost Savings Total CO 2 Emissions CO 2 Savings [kWh/a] [kWh/a] [kWh/a] [e/a] [%] [kg-CO2/a] [%] 1 18,085.91 1,886.77 0 3,438.59 4.97 4,351.51 7.55 2 2,651.66 0.14 7528.05 1,002.61 0 656.16 0 3 280.49 97.61 0 2,234.29 4.85 69.46 21.52 4 1,035.99 359.15 0 407.42 9.74 257.77 20.96 5 1,362.07 454.74 0 423.51 11.07 338.53 22.70 6 9,232.4 1,503.84 632.24 2,332.51 7.31 2,362.8 13.44 7 6,985.86 2,466.96 0 1,774.66 14.54 1,785.57 22.40 8 986.87 45.91 1534.42 432.48 1.28 244.64 4.55 9 6,937.54 2,879.59 0 1,797.63 16.39 1,773.01 25.40 Total 47,558.79 9,694.71 9,694.71 11,843.70 8.73 11,839.45 14.70 TABLE 5.10: OC-Without-DR-PV results of each node. In total, an average annual PV generation of 25,083.21 kWh/a is available for the entire REC, where the existing PV systems have an aggregated peak power of 24.48 kWp. In the reference scenario, only 6,648.19 kWh/a of the to tal PV generation is used for own demand (PV-Onsite), which corresponds to an average, percentage own demand coverage of approx. 26.5%. This means that the majority of the produced PV electricity is available as surplus and in this case must be fed into the grid. Through a transition to a REC, the PV own use of the community can be further increased, since in this case, the re newable electricity transfer between the community participants is enabled. 123 Figure 5.8 shows how the renewable energy is optimally distributed within the REC according to the cost minimization and how much each participant can purchase from the REC with the corresponding cost savings. 20000 18000 16000 14000 12000 10000 8000 6000 4000 2000 0 18% 16% 14% 12% 10% 8% 6% 4% 2% 0% Grid-Purchase PV-Onsite REC-Purchase PV-REC-Export Cost Savings FIGURE 5.8: The annual electricity demand of each REC participant satisfied by the calculated Grid-Purchase, PV-Onsite usage and the REC-Purchase together with the cost savings for the optimization scenario OC-Without-DR-PV. The dashed bars show how much renewable PV electricity was exported to the other community participants. The optimization results show that the total PV own use of the REC can be increased from 6,648.19 kWh/a (26.5%) to 16,342.9 kWh/a (65.2%) as a result of the additional REC-Purchase within the community. This is due to the in troduced possibility of the renewable electricity transfer between nodes, so that the electricity demand of each community participant can be satisfied with the provided renewable electricity of the PV surplus. Through this ad ditional possibility to purchase renewable electricity from the REC the total annual energy costs can be reduced by 8.73% as the renewable electricity is 124 purchased at a reduced energy community tariff rate (see Table 5.5). More over, since renewable electricity is purchased, the total annual CO2 emissions can be reduced by 14.7% within the REC at the same time. Note that this only applies to CO2 emissions within the local network, and not the wider distribution grid. Furthermore, it can be seen from Figure 5.8 that node 2 is exporting more PV electricity than any other node since it has the biggest PV capacity installed and, accordingly, the largest PV surplus is generated on this node, which is exported and distributed to the participants in the most cost-optimal way. Therefore, the total electricity transfer from node 2 to other nodes can be analyzed in terms of an operational dispatch through Figure 5.9. 10 9 8 7 6 5 4 3 2 1 0 0 1000 2000 3000 4000 5000 6000 7000 8000 Hour FIGURE 5.9: The total electricity transfer form the Node 2 to all other nodes for the optimization scenario OC-Without-DR-PV. 125 ### 5.4.2 Greenfield Investment Scenarios In addition to the current community status, reference cases without exist ing PV technologies are also considered, i.e. RC-Without-DR and RC-With DR. These scenarios correspond to green field scenarios, where the whole electricity demand is satisfied by the purchase from the grid with the differ ent tariff scenarios given in Table 5.4. The calculated total energy costs per node of both RC-Without-DR and RC-With-DR reference case scenarios are again used as cost constraints for the investment scenarios OC-Without-DR and OC-With-DR, where the renewable electricity transfer among the par ticipants is enabled if a renewable generation system is selected through the performed cost optimizations. In these optimization scenarios, investments in PV generation systems and ESS are considered in a centralized node. All the community nodes are connected with each other, also with this central investment node and utility grid for electricity sharing. The centralized in vestment node provides advantage over enabling the decentralized invest ments because the community can avoid the building retrofit costs and re duce the technology installation costs. Moreover, the centralized PV and ESS are much easier to maintain and monitor on the community level. The pro duced surplus electricity is sold to the utility at time-variable market prices on an hourly basis, which are shown in Figure 5.7. The total results of the reference cases (RC-Without-DR and RC-With-DR) together with the invest ment decisions and objective function savings obtained from the optimiza tion scenarios (OC-Without-DR and OC-With-DR) are given in Table 5.11. The node-specific results are also given in Tables 5.12-5.14. 126 Scenario PV ESS REC-Purchase Community Energy Costs Cost Savings Community CO 2 Emissions CO 2 Savings [kW] [kWh] [kWh/a] [e/a] [%] [kg-CO2/a] [%] RC-Without-DR - - - 13,778.50 - 15,281.18 RC-With-DR - - - 13,554.91 - 15,281.18 OC-Without-DR 46.37 - 20,129.30 11,831.10 14.13 10,899.84 28.67 OC-With-DR 52.22 14.15 23,929.76 11,481.03 15.30 10,076.12 34.06 TABLE 5.11: The results of the greenfield reference (RCWithout-DR and RC-With-DR) and investment scenarios (OCWithout-DR and OC-With-DR) calculated through a cost mini mization. Without-DR With-DR Node Grid-Purchase Total CO2 Emissions Total Energy Cost Total Energy Cost [kWh/a] [kg-CO2/a] [e/a] [e/a] 1 19,972.69 4,707.04 3,618.40 3,639.43 2 5,171.55 1,205.9 1,213.08 1,172.61 3 378.10 88.51 246.24 220.23 4 1,395.14 326.11 451.38 426.28 5 1,816.81 437.94 476.21 470.09 6 14,093.83 3,416.54 3,012.70 2,973.57 7 9,452.83 2,300.86 2,076.61 2,031.58 8 1,803.63 421.54 533.77 516.00 9 9,817.13 2,376.74 2,150.10 2,105.11 Total 63,901.69 15,281.18 13,778.50 13,554.91 TABLE 5.12: RC-Without-DR and RC-With-DR results of each node. 127 Node Grid-Purchase REC-Purchase Total Energy Cost Cost Savings Total CO 2 Emissions CO 2 Savings [kWh/a] [kWh/a] [e/a] [%] [kg-CO2/a] [%] 1 17,038.1 2,934.58 3,401.74 5.99 4,109.12 12.70 2 2,953.54 2,218.01 989.22 18.45 733.25 39.19 3 222.59 155.50 230.55 6.37 55.42 37.39 4 816.95 578.20 393.02 12.93 203.41 37.63 5 1,087.75 729.06 407.37 14.46 261.69 40.25 6 8,614.12 5,479.71 2,459.63 18.36 2,203.69 35.50 7 5,897.95 3,554.88 1,717.82 17.28 1,512.07 34.28 8 1,050.26 753.37 457.73 14.25 261.25 38.02 9 6,091.13 3,726.00 1,774.03 17.49 1,559.94 34.37 Total 43,772.39 20,129.30 11,831.10 14.13 10,899.84 28.67 TABLE 5.13: OC-Without-DR results of each node. Node Grid-Purchase REC-Purchase Total Energy Cost Cost Savings Total CO 2 Emissions CO 2 Savings [kWh/a] [kWh/a] [e/a] [%] [kg-CO2/a] [%] 1 16,939.24 3,033.44 3,403.20 6.49 4,090.04 13.11 2 2,374.73 2,796.82 934.93 20.27 606.58 49.70 3 128.04 250.05 180.60 18.00 31.77 64.11 4 598.89 796.26 340.76 20.06 151.78 53.46 5 425.97 1,390.84 328.56 30.11 101.61 76.80 6 8,211.39 5,882.44 2,475.52 16.75 2,145.4 37.21 7 5,217.33 4,235.49 1,680.29 17.29 1,366.73 40.60 8 859.62 944.01 415.86 19.41 219.35 47.96 9 5,216.71 4,600.42 1,721.31 18.23 1,362.86 42.66 Total 39,971.92 23,929.76 11,481.03 15.30 10,076.12 34.06 TABLE 5.14: OC-With-DR results of each node. Based on the obtained results given in Table 5.11, it can be seen that for both optimization scenarios, the cost minimization invests in PV technologies. In the OC-With-DR scenario the PV capacity is being selected even larger than in the OC-Without-DR scenario. This is due to the fact that in this OC-With DR scenario, investments are also made in a ESS technology, which means that additional PV electricity can be stored, resulting in a larger PV capacity investment and allowing more renewable electricity to be shared within the REC. Moreover, the reason for also investing in an additional ESS in the OC With-DR scenario is that power demand rates are considered in this scenario 128 and that power peaks can be absorbed by the use of ESS (peak-shaving) re sulting in lower peak load-related costs for each community participant. This is illustrated in Figure 5.10, where the optimized electricity purchase of the first 10 days is shown. Figure 5.10 shows that the Grid-Purchase is cut off by the REC-Purchase and thus flattened. 2 1.6 1.2 0.8 0.4 0 Node 2 1 25 49 73 97 121 145 169 193 217 Hour Grid-Purchase REC-Purchase FIGURE 5.10: The calculated electricity purchase from the grid and the REC of Node 2 determined via the optimization sce nario OC-With-DR. In this study, the annualized investment and maintenance costs are allocated to the community participants weighted by the amount of electricity pur chased from the REC per node. This means that if a participant purchases more electricity relative to the total REC-Purchase, its investment and main tenance cost share in the technologies will also be correspondingly higher. The optimization results of each node together with the objective function savings obtained from the investment scenarios OC-Without-DR and OC With-DR are shown in Figure 5.11 and Figure 5.12 respectively. 129 20000 18000 16000 14000 12000 10000 8000 6000 4000 2000 0 20% 18% 16% 14% 12% 10% 8% 6% 4% 2% 0% Grid-Purchase REC-Purchase PV-REC-Export Cost Savings FIGURE 5.11: The annual electricity demand of each REC participant satisfied by the calculated Grid-Purchase and the RECPurchase together with the cost savings for the optimization scenario OC-Without-DR. 130 24000 22000 20000 18000 16000 14000 12000 10000 8000 6000 4000 2000 0 35% 30% 25% 20% 15% 10% 5% 0% Grid-Purchase REC-Purchase PV-REC-Export ESS-REC-Export Cost Savings FIGURE 5.12: The annual electricity demand of each REC participant satisfied by the calculated Grid-Purchase and the RECPurchase together with the cost savings for the optimization scenario OC-With-DR. The calculated results show that with the invested technologies, the total an nual community energy costs can be reduced by 14.13% and the total annual CO2 emissions can be reduced by 28.67% within the REC in the OC-Without DR investment scenario. Moreover, they show that each participant in a REC constellation can benefit with a significant cost reduction of at least approx. 6% to a maximum of over 18%. In the OC-With-DR scenario with demand tariffs, the optimization results show an even higher total energy cost reduc tion of 15.3% and total annual CO2 reduction of 34.06% within the commu nity. This is due to the larger capacity of the invested PV technology and the additional ESS where the PV electricity can be stored, allowing more renew able electricity to be shared within the REC. This ESS allows to reduce the peak load-related costs in a targeted manner through the additional, time limited renewable power supply of the community participants from the ESS 131 (peak-shaving), when demand rates are used. Furthermore, this additionally increases the total renewable share in the overall electricity supply of the REC, which leads to even lower CO2 emissions, when investing in a ESS. Thus, the results show that renewable energy communities can significantly reduce both energy costs and CO2 emissions with the presented MILP-based planning approach, especially when demand-based tariffs are used for the utility purchase. ## 5.5 Resume Local and renewable energy communities show a high potential for the ef ficient use of distributed energy technologies at regional levels according to the Clean Energy Package of the European Union. However, until now there are only limited possibilities to bring such energy communities into reality because of several limitation factors. Challenges are already encoun tered during the planning phase since a large number of decision variables have to be considered depending on the number and type of community par ticipants and distributed technologies. This research overcomes these chal lenges by establishing a mixed-integer linear programming based optimal planning approach for renewable energy communities. A real case study is analyzed by creating an energy community testbed with a leading energy service provider in Austria. The case study considers nine energy commu nity members of a municipality in Austria, distributed photovoltaic systems, energy storage systems, different electricity tariff scenarios and market sig nals including feed-in tariffs. The key results indicate that renewable energy communities can significantly reduce the total energy costs by 15% and total carbon dioxide emissions by 34% through an optimal selection and operation of the energy technologies. In all the optimization scenarios considered, each community participant can benefit both economically and ecologically. 133 # Chapter 6 Discussion and Synthesis of the Thesis This chapter provides the discussion and synthesis of the results obtained in this thesis work. In particular, Section 6.1 elaborates on the findings referring to the research questions defined in Section 1.2. Furthermore, Section 6.2 presents the strengths and the limitations of proposed methodology. Finally, Section 6.3 provides suggestions for amendments in future regulation and policymaking based on the results of Chapters 3-5. ## 6.1 Findings referring to the Research Questions The main objective of this thesis work is to develop the optimization frame work that can decarbonize the multi-energy system microgrids, addressing the research questions defined in Section 1.2. The investigations and results in Chapter 3, Chapter 4 and Chapter 5 provide answers to three research questions respectively and these findings are presented as follows. Research question 1: _How_ _can_ _we_ _effectively_ _model_ _optimal_ _planning_ _and_ _oper-_ _ation_ _dispatch_ _of_ _a_ _thermal_ _seasonal_ _storage_ _taking_ _into_ _account_ _its_ _non-linear_ _cost_ _vs._ _capacity_ _relationship_ _using_ _the_ _linear_ _programming_ _models?_ _Also,_ _how_ _do_ _the_ _different temporal resolutions affect the system and the run-time of the optimization_ _models?_ 134 Chapter 3 considers the development of two different optimization models _i.e._ Opt-3D and Opt-8760 with a different time horizon using MILP model ing framework. The first model uses the time series aggregation methods to reduce the yearly data into three different representative daytypes. The second model considers the full scale time horizon for the same data. The MILP framework considers the minimization of the total annual energy costs and the total annual CO2 emissions of a thermal energy system having cen tral heating, solar thermal and heat storage as technologies for a case study comprising of eight different scenarios. The non-linear costs related to the technology investments for solar thermal and heat storage technologies are linearized into piecewise affine (PWA) cost functions by using linear fit pro cess and convex combination model. Both of the optimization models con sider the fixed linear (Non-PWA) cost functions as well as PWA cost functions for solar thermal and heat storage technologies in all scenarios. A detailed testing and validation of the Opt-3D and the Opt-8760 models have been pre sented by assessing the accuracy of the time series aggregation methodology and comparing the investment decisions, the objective function savings, the objective function difference and the run time of both models in all scenarios using fixed linear (Non-PWA) cost functions as well as PWA cost functions. In summary, the Opt-3D and the Opt-8760 models provide comparable re sults in cost minimization by both using Non-PWA and PWA cost functions for Scenario-1 and Scenario-2 respectively. The investment decision results for CO2 minimization using Non-PWA cost functions for the Opt-3D model in scenario-1 and scenario-3 are well aligned with the investment decision re sults for CO2 minimization using Non-PWA cost functions for the Opt-8760 model in scenario-2 and scenario-4 respectively. However, these investment decisions vary significantly when considering the CO2 minimization using 135 PWA cost functions in scenario-1 to scenario-4 with Opt-8760 model perform ing better than the Opt-3D model by providing bigger investments in solar thermal and heat storage technologies, thus contributing to a maximum of 76.6% CO2 savings. In all the scenarios, the Opt-3D model has significant run time savings as compared to the Opt-8760 model because of its lower time resolution. This can be considered a positive result for the cost mini mization in scenario-1 and scenario-2 and also in the CO2 minimization in scenario-1 to scenario-4 using Non-PWA cost functions, since the results do not deviate significantly in terms of objective function difference. But, for scenario-3 and scenario-4, better results are observable at the cost of bigger run time by using the Opt-8760 model. Furthermore, the run time is higher for the optimization runs in all scenarios using PWA cost functions as com pared to that of using Non-PWA cost functions due to additional decision variables in both optimization models. Research question 2: _What is the impact of renewable based hydrogen energy sys-_ _tems in decarbozining the mobility sector using microgrids and how it is compared_ _with the state-of-the-art diesel fuels?_ _Also, how can we drive the paradigm shift from_ _conventional_ _to_ _renewable_ _hydrogen_ _based_ _mobility_ _using_ _carbon_ _prices_ _and_ _policy_ _framework?_ Chapter 4 helps in addressing the urgent and vital issue of the decarboniza tion in the mobility sector. It considers a regional case study having a real microgrid testbed in Wieselburg, Austria. The main emphasis is to high light the importance of the renewable energy based hydrogen production, hydrogen seasonal storage and its use by considering a MILP based opti mization framework in a microgrid perspective. The investment optimiza tion has a multi-objective setting which considers the CO2 minimization sce narios with the cost limitations. The case study considers sensitivity analyses relative to two different reference cases _i.e._ the diesel basecase and the utility 136 basecase. The diesel basecase considers the conventional diesel fuel and the utility basecase considers the utility electricity based hydrogen fuel. The re sults include the optimal investment decisions and the operational dispatch of the technologies. A comparison is made between the economic viability, assessed in terms of costs per unit hydrogen fuel consumption and the en vironmental impact, assessed in terms of CO2 savings. An economic assess ment is performed by comparing the optimization results with the current market costs of the diesel fuel as well as hydrogen fuel in Austria. The H2 Diesel cost gaps are identified for all the investment optimization scenarios and the carbon prices are calculated to close the H2-Diesel cost gaps. With respect to the diesel basecase, the investment optimization results of the energy system are infeasible unless the investment costs are increased by at least 30% relative to the diesel basecase costs. From 30% to 100% increase in the diesel basecase costs, the investment optimization provides a minimum CO2 savings of 66.32% and a maximum CO2 savings of 99.21%. These re sults show that the renewable energy sources, if penetrated highly into the microgrids, can significantly reduce the carbon footprint and make use of the renewable hydrogen fuel to enable the decarbonized energy transition in the mobility sector. Evidently, the seasonal hydrogen storage has an important role in this decarbonized energy transition as it captures the seasonal vari ability of the renewable energy sources. With respect to the utility basecase, the investment optimization results can be considered as a subset to that of the diesel basecase. The variation in the cost constraint also provides feasi ble results if the costs are decreased by 20% relative to the utility basecase costs. The most interesting outcome in the utility basecase is that at no fur ther costs, the renewable energy based sources and the hydrogen seasonal storage in the microgrid can provide CO2 savings of around 94%. At 20% re duced costs, the microgrid still constitutes a large share of renewable energy 137 that provides significant CO2 savings of around 74%. Thus, renewable en ergy based microgrids are highly desirable as compared to the utility based hydrogen energy systems for the decarbonization of the mobility sector. From an economic point of view relative to both reference cases, the opti mal hydrogen fuel costs (e/kgH2) are lower than the current market costs of the hydrogen fuel. This difference could be due to not considering the costs related to the delivery of the hydrogen fuel since the hydrogen production, storage and distribution are assumed to be close to the fueling station in this microgrid. Therefore, the hydrogen fuel is considered to be cheaper if it is produced by renewable energy based microgrids close to the point of deliv ery of the fuel. The optimal hydrogen energy costs (e/kWh) are higher than the current diesel fuel costs in all investment optimization scenarios. These costs would be much larger if the hydrogen production and storage are not considered close to the point of delivery of the fuel due to the transporta tion and other delivery related costs of the system. This shows the benefit of using renewable energy based microgrids and distributed hydrogen energy systems over the conventional fossil fuel based centralized hydrogen energy systems. This work provides a trade-off between mitigating the environmental impact by the CO2 savings and assessing the economical viability in terms of the energy system costs. The trade-off indicates that if the mobility sector has to be decarbonized completely by hydrogen, the current costs of this decar bonization are doubled as compared to the current diesel fuel based mobility framework. Surprisingly, this decarbonization can still provide at least a CO2 saving of around 66% if the difference of the costs between hydrogen fuel and diesel fuel is only 32%. This draws an attention to make the hydrogen energy price competitive with the diesel fuel price. The introduction of the carbon price as an emission tax for the diesel fuel is considered in this study to close 138 the H2-Diesel cost gaps. The carbon price increases the diesel fuel costs and reduces the current difference of the costs between the hydrogen fuel and the diesel fuel if applied in the policy framework. For achieving a CO2 saving of around 66%, a carbon price of around 124 e/tonne-CO2 is estimated on the diesel fuel to make the hydrogen and the diesel fuel costs competitive with each other. For achieving almost 100% CO2 savings, a carbon price of more than 400 e/tonne-CO2 is estimated on the diesel fuel to close the H2-Diesel cost gap. Research question 3: _How can renewable energy based microgrids contribute to-_ _wards the clean energy transition set by Clean Energy Package (CEP) of European_ _Commission using Renewable Energy Community (REC) concept? Also, how would_ _a REC based mechanism behave in terms of renewable energy sharing, multiple en-_ _ergy_ _tariffs_ _and_ _mixture_ _of_ _prosumers_ _and_ _consumers_ _in_ _the_ _multi-nodal_ _microgrid_ _structure?_ Chapter 5 addresses the decarbonization of the regional sector via targeted, MILP based optimal planning of renewable energy communities in a micro grid constellation, where the renewable energy can be transferred between nine community participants. It examines and analyzes a real case study, where an energy community testbed was created by a leading Austrian en ergy service provider in a village in Carinthia, Austria. The study consid ers the development of a MILP-based optimization framework, where dis tributed PV generation systems, energy storage systems, different electricity tariff scenarios and market signals are taken into account, so that a real REC setup can be mapped mathematically accurately and optimally planned. The case study considers in total three different reference cases and three corre sponding optimization and investment scenarios in a REC setup, where the renewable energy transfer between the participants is enabled. The first reference case RC-Without-DR-PV represents the current status of 139 the participants and considers the three existing PV systems where the PV surplus can only be fed into the grid. The associated optimization case OC Without-DR-PV determines by how much the total PV self-consumption of the REC can be increased and thus how much total annual energy costs and total annual CO2 emissions can be saved with the prevailing tariff scenario, when the renewable energy transfer between the participants is enabled. The second and third reference case RC-Without-DR and RC-With-DR are green field scenarios with different tariff schemes in each case (one without and one with demand rates), where no existing PV technologies are considered. The corresponding investment and optimization cases OC-Without-DR and OC-With-DR determine how much is invested in new PV and ESS technolo gies and thus how much energy costs and CO2 emissions can be saved with the optimally chosen technology capacities. For all cases, the total annual en ergy costs and the total annual CO2 emissions are calculated through a cost minimization of the optimization model. In summary, the optimization results of the first OC-Without-DR-PV case show that the total PV own use of the REC can be increased from 26.5% to 65.2% only by enabling the renewable electricity transfer between the partic ipants. Through the additional possibility to purchase renewable electricity from the REC at a lower tariff, the total annual energy costs can be reduced by 8.73% and the total annual CO2 emissions can be reduced by 14.7% within the REC at the same time. For the greenfield optimization scenario OC-Without DR, the cost minimization only invests in central PV technologies, resulting in total annual energy cost savings of 14.13% and total annual CO2 savings of 28.67%. However, the greatest savings are achieved in the greenfield opti mization scenario OC-With-DR with demand rates. In this case, investments are also made in central ESS technologies, which are primarily used for peak 140 shaving and thus further reducing the peak load-related costs for each com munity participant. Here the optimization results show a total energy cost reduction of 15.3% and total annual CO2 reduction of 34.06% within the com munity. Overall, the key results of this work indicate that REC can significantly re duce the total energy costs and CO2 emissions through an optimal selection and operation of the distributed energy technologies if the renewable energy is transferred and shared between the community participants. Moreover, all optimization scenarios performed via the presented MILP-based plan ning approach show that each community participant can benefit both eco nomically and ecologically with the optimal sizing and full-year operational dispatch of the corresponding technologies, regardless of the electricity tar iff scenario selected. However, the greatest cost benefit can be achieved if investments in additional technologies or energy storage systems are en abled. This allows to reduce the peak load-related costs in a targeted manner through the additional, time-limited renewable power supply of the commu nity participants from the ESS (peak-shaving), when demand rates are used. ## 6.2 Strengths and Limitations of the Proposed Method- ologies The field of modeling a microgrid based energy system is actually complex and depends upon various factors such as quality of data, detail of the model, assumptions and their impact on the real-world examples. Like any other re search work, the modeling framework proposed in this thesis to address the research questions has some strengths and limitations which are summarized below. 141 Overall, all of the three models that are developed in Chapter 3 to 5 are mixed-integer linear programming based. These models have been devel oped using practical assumptions and have been applied to different case studies having real-world applications. Even though, there exists non-linear relationships between different variables of the considered technologies in real-world, the models are linearized and complexity as well as computa tional effort are reduced. From the system perspective, these models can be adapted and used for a case study in any other country. Therefore the transferability of the modeling framework across different countries is also a strength of the proposed methodologies. The time-series data for the electrical and thermal loads, mobility demand, production from DER technologies, utility tariffs and marginal CO2 emis sions from the utility are considered to be perfect foresight based on authen tic references. This perfectly foresighted time-series data is deterministic in nature and does not involve uncertainties. This is a limitation of the devel oped models which can be avoided by considering the stochastic parameters using probabilities to model uncertainties. In Chapter 3, the model uses the PWA technique to convert the non-linear cost vs. capacity relationship of thermal storage and solar thermal. Although the linear segments are fitting over non-linear relationship with minimal residual errors, this methodology uses binary variables which increase the computational run time as compared to not using the binary variables in a mixed-integer linear programming models. Even though the Opt-3D model does not consider the connectivity between different daytypes, its optimiza tion results are aligned with those of Opt-8760 model for cost minimization runs and significantly lower computational time is observed as compared to that of Opt-8760. But, the CO2 minimization runs of Opt-8760 with PWA are better than that of Opt-3D because of the connectivity throughout the year 142 and at the same time the computational time is significantly higher as com pared to Opt-3D. This is a limitation of Opt-3D model where connectivity can be considered at the cost of model complexity and higher computation run time. In Chapter 4, the hydrogen demand for the overall fleet is designed based on the weekly fueling frequency and then extrapolated to the yearly time series data. This extrapolation to the yearly time-series is a limitation because the demand can change based on the monthly and seasonal variation. The hydrogen production, storage and distribution are assumed to be close to the fueling station in this microgrid. This neglects the cost of hydrogen delivery which can impact the overall hydrogen optimal costs and its comparison to diesel fuel costs. In Chapter 5, the model considers energy transfer among multiple nodes of the microgrid in a community setting. Even though the model is quite complex considering various decision variables for solar PV and ESS trans fer between nodes, it is limited in not considering the losses incurred during energy transfer and the infrastructure of distribution network such as cables and transformers etc. Also, the power flow can be considered for the energy transfer among nodes of the community. This can impact on the total energy being transferred in the community and change the total objective function savings. Additionally, The model does not consider any distribution algo rithm by which the total annual energy cost savings and total annual carbon dioxide emission savings of the community can be distributed among all par ticipants as a result of their participation. 143 ## 6.3 Suggestions for Amendments in Future Regu- lation and Policymaking The energy storage technologies play an important role in the renewable en ergy based microgrids. Energy storage technologies including battery stor age, thermal storage and hydrogen storage provide flexibility when used in the renewable energy based microgrids. In heating sector, the thermal energy storage can make use of the seasonality behavior and significantly reduce the total energy costs and total annual carbon emissions if deployed correctly. It is crucial and important to realize for policy makers to pursue a path of mov ing away from fossil fuels while still satisfying the heating demand across the EU to achieve the goals of the "Clean Energy for All Europeans" package [80]. The regulation and policy should emphasize on the initial potential assess ment of thermal seasonal storage demonstration projects across the EU coun tries and communicate the potential benefits to the prosumers as well as commercial end-users. The current barriers for the thermal energy storage are the high upfront capital costs and gradual uptake of the renewable heat ing technologies. These barriers need to be overcome by regulating the costs of the thermal storage technologies and making a policy for awareness in the society to drive the use of it. One possible way to show the benefits of the seasonal thermal storage is to increase the number of demonstration projects and provide deployment support in terms of incentives for the new customers in terms of subsidized technology costs and time-of-use or price signals for the use of district heating which can cause the time shifting usage and most likely drive the use of renewable energy based heating sources to gether with both the short-term and the long-term seasonal thermal energy storage. 144 The production, storage and use of hydrogen fuel can decarbonize the mo bility sector when it is produced via renewable energy based electrolysis pro cess, but only 4% of the current global production of hydrogen is electrolysis based, and not all of its production is via renewable energy at the moment. This imposes a need to create a policy that can drive the use of electrolysis using renewable energy sources. This will also drive to achieve the targets of the "Net Zero by 2050" roadmap [141] not only in the mobility sector but also in other sectors where electricity can not meet the end-user demand. Currently, the manufacturing capacity of electrolyzers is one of the key barri ers that needs to be addressed. The technology costs of electrolyzers need to lowered down by the introduction of regulation and rolling-out of electrolyz ers and successful deployment has to be managed by strong policymaking strategies. The most important barrier for the hydrogen fuel in the mobility sector is its overall cost of usage at the demand side. It is significantly higher than the conventional fossil fuels and the regulation needs to be introduced to make it competitive with the market prices of fossil fuels for its successful deploy ment. This thesis provides the necessary policy framework to introduce the carbon prices or carbon tax on the use of fossil fuels to drive the usage of hy drogen over the conventional fossil fuels in order to decarbonize the mobility sector. This policymaking strategy needs to be implemented and regulated throughout the EU countries in order to give boost to the process of achiev ing net zero by 2050 targets. Also, the standards of hydrogen production, storage and usage need to be harmonized across the sectors and countries. This can reduce the complexity of using hydrogen based energy systems in microgrids if regulated using harmonized standards. Although the Directive 2018/2001 [81] defines the renewable energy commu nities for the EU, different countries have different strategies and timelines to 145 actually implement the aspects of renewable energy communities in their leg islation due to different national regulation and policymaking. This is caus ing delay in the deployment of the renewable energy sharing concept among different participants of the community and therefore, facing potential chal lenges from system implementation aspects. For Austria, the energy com munities framework is defined by the Erneuerbaren Ausbaugesetzes (EAG) [84] and is in the process of legal implementation. The regulation needs to be introduced in making it possible for the pro sumers to share the energy with other participants of the community with transparent and legally binding energy contracts, either in terms of peer-to peer transactions or incentives from the utility companies. Furthermore, the demonstration projects need to be established for analyzing the potential of energy communities using renewable energy sources and the outcomes need to communicated with potential prosumers with transparency. Policymakers need to define different tariff schemes for energy sharing among participants. These tariffs can be classified into different types based on the technologies used to transfer the energy and the amount of energy sharing. Finally, the social welfare or the overall savings in terms of energy costs and emissions needs to be distributed in fair, transparent and systematic ways in order to keep the competition of energy sharing among different participants. 147 # Chapter 7 Conclusion and Future Outlook The increasing global energy demand, increasing carbon footprint, depletion of conventional energy sources and the conventional grid infrastructure call for the need of urgent and strong actions to provide solutions to the world’s energy problem. While there are many other strategies to contribute to the so lution of these problems, renewable energy based microgrids are on the rise. The main goal of this thesis is to provide the optimal planning and operation strategies that can decarbonize the multi-energy system based microgrids. Microgrids have the capability to provide the flexibility to the grid by using distributed energy resources close to the end-user demand and increase the reliability of the energy supply as well as the efficiency of the overall system if designed and implemented correctly. Therefore, optimization techniques are required to design the microgrids with respect to planning and operation. This thesis uses mixed-integer linear programming framework to develop three different optimization models that consider various distributed energy resources in different energy sectors and are applied to different case studies in Austria. The modularity of the models developed in this research work enables them to be used for similar case studies across other countries and possibly extend them by including new technologies and sector coupling for future implications. 148 The modelling of thermal energy storage system with seasonal behavior is important for microgrids as it can provide significant flexibility and utilize maximum surplus of the solar thermal energy. This thesis develops two different optimization models, Opt-8769 model has full scale yearly time resolution of 8760-hours and Opt-3D model has lower time resolution based on 3 representative days in each month of the year. These models investi gate the challenges of seasonal thermal energy storage in microgrids. More over, the non-linear cost vs. capacity behavior of thermal energy storage is linearized using piecewise affine functions to correctly reflect the costs of the storage relative to its size. The results show that the seasonal behavior of thermal energy storage in a microgrid can have a significant effect when considering the full scale optimization modeling using piecewise affine cost functions, but the computational run time for solving the optimization model can be significantly larger. Therefore, further work is necessary to develop an understanding on how the optimal seasonal storage planning and operation can be achieved by using models like the Opt-3D, but with connected day types, and present a comparison between the optimal sizing and dispatch of technology portfolio, objective function accuracy and computational re sources. Also, the water heating demand can be considered together with space heating demand depending upon the application of the system under study. Furthermore, the uncertainties can be introduced to the load and the weather input data and modeled using stochastic techniques to realize the dynamic effect of the inputs on the results. This can increase the computa tional effort for both models because of the additional model variables and equations. The real deployment of the hydrogen electrolyzer, hydrogen seasonal stor age, and hydrogen use in the mobility sector have been modeled, inves tigated and analyzed in this thesis work by possible extension of the only 149 microgrid test facility in Lower Austria. The model is based on the mixed integer linear programming based optimization technique that considers so lar PV and wind power as renewable energy sources in combination with utility electricity. The end-user demand of the hydrogen fleet consisting on three different types of mobility is created from the combination of real schedules and the yearly statistics of the transport sector in the region. The framework considers multi-objective optimization where total annual CO2 emissions are minimized by keeping a limit on the total annual energy costs of the microgrid system. The main goal is to investigate the scenarios for the decarbonization of mobility sector using the developed model and analyze the hydrogen fuel costs as compared to conventional diesel fuel costs. The results indicate that current costs of the complete decarbonization of the mo bility sector by developed hydrogen energy system model in the microgrid are double as compared to the current diesel fuel based mobility network. This draws an attention to introduce a policy framework in terms of carbon prices or carbon tax over conventional diesel fuels to make the hydrogen fuel costs competitive with conventional diesel fuel costs if decarbonization of the mobility sector has to be achieved. Otherwise, it is not cost efficient as compared to current market situation. Therefore, carbon prices need to be introduced using future regulation and policymaking. In this context, the future work may include to explore more ways to generate hydrogen such as from biomass and compare it with conventional fuels. Also, the comparison can be made with the electric vehicles to satisfy the same mobility demand and investigate their feasibility in comparison to both electrolysis based hy drogen fuels and conventional fuels. The concept of renewable energy sharing among community members of a microgrid shows promising potential and effective use of distributed energy 150 resources. The setup of energy community with multi-nodal structure of mi crogrid is much more complex than a single node based microgrid system. The mechanism of energy sharing, the design of tariffs for energy sharing and overall objective function need to be modeled correctly in order to draw practical analysis for successful deployment of renewable energy communi ties. This thesis develops a mixed-integer linear programming model for the optimal planning and operation dispatch of renewable energy community testbed in Austria having nine different participants. The distributed energy resources include solar PV and battery energy storage system. Different elec tricity tariff scenarios are considered together with market signals. The re sults of the optimization scenarios indicate that each community participant can significantly benefit form the energy sharing mechanism in terms of both cumulative annual energy costs and annual carbon dioxide emissions sav ings. The future work may include the distribution of these savings among different community participants based on their extent of participation and cooperation via game-theoretic techniques having fair, transparent and regu lated scheme. This will also help energy system planners to consider various energy sharing strategies in the field of cooperative optimization. 151 # Bibliography [1] International Renewable Energy Agency (IRENA). _Renewable_ _Energy_ _and Climate Pledges: Five Years After the Paris Agreement_ . 2019. [2] Richard Wang et al. “Renewable energy microgrids: Economic eval uation and decision making for government policies to contribute to affordable and clean energy”. In: _Applied Energy_ 274 (2020), p. 115287. [3] Vahid Sohrabi Tabar, Mehdi Ahmadi Jirdehi, and Reza Hemmati. “Sus tainable planning of hybrid microgrid towards minimizing environ mental pollution, operational cost and frequency fluctuations”. In: _Journal of Cleaner Production_ 203 (2018), pp. 1187–1200. [4] Ashoke Kumar Basu et al. “Microgrids: Energy management by strate gic deployment of DERs—A comprehensive survey”. In: _Renewable_ _and Sustainable Energy Reviews_ 15.9 (2011), pp. 4348–4356. [5] Christine Schwaegerl and Liang Tao. “Quantification of Technical, Eco nomic, Environmental and Social Benefits of Microgrid Operation”. In: _Microgrids_ (2013), pp. 275–313. [6] Jing Xu, RZ Wang, and Yong Li. “A review of available technolo gies for seasonal thermal energy storage”. In: _Solar energy_ 103 (2014), pp. 610–638. [7] Patrice Pinel et al. “A review of available methods for seasonal storage of solar thermal energy in residential applications”. In: _Renewable and_ _Sustainable Energy Reviews_ 15.7 (2011), pp. 3341–3359. 152 [8] Michael Ball and Marcel Weeda. “The hydrogen economy–vision or reality?” In: _International Journal of Hydrogen Energy_ 40.25 (2015), pp. 7903– 7919. [9] A Ajanovic and R Haas. “Economic and environmental prospects for battery electric-and fuel cell vehicles: a review”. In: _Fuel cells_ 19.5 (2019), pp. 515–529. [10] Paris Agreement. “Decision 1/CP. 21”. In: _Adoption of the Paris Agree-_ _ment’, FCCC/CP/2015/10/Add. a_ (2015), pp. 12–13. [11] EU Commission et al. _A_ _hydrogen_ _strategy_ _for_ _a_ _climate-neutral_ _Europe_ _(2020)._ _Communication_ _from_ _the_ _commission_ _to_ _the_ _European_ _parliament,_ _the council, the European economic and social committee and the committee_ _of the regions_ . 2020. URL: `[https://ec.europa.eu/energy/sites/ener/](https://ec.europa.eu/energy/sites/ener/files/hydrogen_strategy.pdf)` `[files/hydrogen_strategy.pdf](https://ec.europa.eu/energy/sites/ener/files/hydrogen_strategy.pdf)` . [12] Zachary P Cano et al. “Batteries and fuel cells for emerging electric vehicle markets”. In: _Nature Energy_ 3.4 (2018), pp. 279–289. [13] Chao Long et al. “Peer-to-peer energy trading in a community micro grid”. In: _2017 IEEE power & energy society general meeting_ . IEEE. 2017, pp. 1–5. [14] Muhammad Mansoor et al. “Optimal planning of thermal energy sys tems in a microgrid with seasonal storage and piecewise affine cost functions”. In: _Energy_ 215 (2021), p. 119095. [15] Muhammad Mansoor et al. “Advanced optimal planning for micro grid technologies including hydrogen and mobility at a real micro grid testbed”. In: _international_ _journal_ _of_ _hydrogen_ _energy_ 46.37 (2021), pp. 19285–19302. [16] Armin Cosic et al. “Mixed-integer linear programming based opti mization strategies for renewable energy communities”. In: _Energy_ 237 (2021), p. 121559. 153 [17] United States Department of Energy. _Smart Grid System Report—2018_ _Report to Congress_ . 2018. [18] Ambarnath Banerji et al. “Microgrid: A review”. In: _2013 IEEE Global_ _Humanitarian_ _Technology_ _Conference:_ _South_ _Asia_ _Satellite_ _(GHTC-SAS)_ . IEEE. 2013, pp. 27–35. [19] Yeliz Yolda¸s et al. “Enhancing smart grid with microgrids: Challenges and opportunities”. In: _Renewable_ _and_ _Sustainable_ _Energy_ _Reviews_ 72 (2017), pp. 205–214. [20] Prasenjit Basak et al. “A literature review on integration of distributed energy resources in the perspective of control, protection and stability of microgrid”. In: _Renewable and Sustainable Energy Reviews_ 16.8 (2012), pp. 5545–5556. [21] Sina Parhizi et al. “State of the art in research on microgrids: A re view”. In: _Ieee Access_ 3 (2015), pp. 890–925. [22] Pierluigi Mancarella. “MES (multi-energy systems): An overview of concepts and evaluation models”. In: _Energy_ 65 (2014), pp. 1–17. [23] Armin Cosic et al. _OptEnGrid: Optimal integration of heat, electricity and_ _gas systems to increase efficiency and reliability_ . 2021. [24] Moein Borghei and Mona Ghassemi. “Optimal planning of micro grids for resilient distribution networks”. In: _International_ _Journal_ _of_ _Electrical Power & Energy Systems_ 128 (2021), p. 106682. [25] Jinhui Liu et al. “Optimal planning of distributed hydrogen-based multi-energy systems”. In: _Applied Energy_ 281 (2021), p. 116107. [26] Hisham Alharbi and Kankar Bhattacharya. “Stochastic optimal plan ning of battery energy storage systems for isolated microgrids”. In: _IEEE Transactions on Sustainable Energy_ 9.1 (2017), pp. 211–227. [27] D Mangold et al. “Guideline for seasonal thermal Energy Storage sys tems to built environment”. In: _Solites,_ _Steinbeis_ _Research_ _Institute_ _for_ _Solar and Sustainable Thermal Energy Systems, EU-FP7 project_ (2016). 154 [28] Stefan Pfenninger. “Dealing with multiple decades of hourly wind and PV time series in energy models: A comparison of methods to reduce time resolution and the planning implications of inter-annual variability”. In: _Applied energy_ 197 (2017), pp. 1–13. [29] Klaus Lichtenegger and Viktor Unterberger. _Thermal trouble: challenges_ _in optimization and evaluation of thermal energy systems_ . 2019. [30] Samira Fazlollahi et al. “Multi-objectives, multi-period optimization of district energy systems: I. Selection of typical operating periods”. In: _Computers & Chemical Engineering_ 65 (2014), pp. 54–66. [31] Paul Nahmmacher et al. “Carpe diem: A novel approach to select rep resentative days for long-term power system modeling”. In: _Energy_ 112 (2016), pp. 430–442. [32] Miguel A Lozano et al. “Structure optimization of energy supply sys tems in tertiary sector buildings”. In: _Energy and Buildings_ 41.10 (2009), pp. 1063–1075. [33] Eugenia D Mehleri et al. “Optimal design and operation of distributed energy systems: Application to Greek residential sector”. In: _Renew-_ _able Energy_ 51 (2013), pp. 331–342. [34] Sheila Samsatli, Iain Staffell, and Nouri J Samsatli. “Optimal design and operation of integrated wind-hydrogen-electricity networks for decarbonising the domestic transport sector in Great Britain”. In: _In-_ _ternational journal of hydrogen energy_ 41.1 (2016), pp. 447–475. [35] Kelsey Fahy et al. “Input data reduction for microgrid sizing and en ergy cost modeling: Representative days and demand charges”. In: _Journal of Renewable and Sustainable Energy_ 11.6 (2019), p. 065301. [36] Leander Kotzur et al. “Impact of different time series aggregation methods on optimal energy system design”. In: _Renewable energy_ 117 (2018), pp. 474–487. 155 [37] Salman Mashayekh et al. “A mixed integer linear programming ap proach for optimal DER portfolio, sizing, and placement in multi energy microgrids”. In: _Applied Energy_ 187 (2017), pp. 154–168. [38] Afzal S Siddiqui et al. “Distributed energy resources customer adop tion modeling with combined heat and power applications”. In: (2003). [39] Michael Stadler et al. “Optimizing Distributed Energy Resources and building retrofits with the strategic DER-CAModel”. In: _Applied_ _En-_ _ergy_ 132 (2014), pp. 557–567. [40] David Steen et al. “Modeling of thermal storage systems in MILP distributed energy resource models”. In: _Applied_ _Energy_ 137 (2015), pp. 782–792. [41] Thomas Schütz et al. “Optimal design of energy conversion units and envelopes for residential building retrofits using a comprehensive MILP model”. In: _Applied Energy_ 185 (2017), pp. 1–15. [42] Karen Byskov Lindberg et al. “Methodology for optimal energy sys tem design of Zero Energy Buildings using mixed-integer linear pro gramming”. In: _Energy and Buildings_ 127 (2016), pp. 194–205. [43] Renaldi Renaldi and Daniel Friedrich. “Multiple time grids in opera tional optimisation of energy systems with short-and long-term ther mal energy storage”. In: _Energy_ 133 (2017), pp. 784–795. [44] Hans Böhm and Johannes Lindorfer. “Techno-economic assessment of seasonal heat storage in district heating with thermochemical materi als”. In: _Energy_ 179 (2019), pp. 1246–1264. [45] Simon Moser et al. “Socioeconomic cost-benefit-analysis of seasonal heat storages in district heating systems with industrial waste heat integration”. In: _Energy_ 160 (2018), pp. 868–874. [46] Peter Sorknæs. “Simulation method for a pit seasonal thermal energy storage system with a heat pump in a district heating system”. In: _Energy_ 152 (2018), pp. 533–538. 156 [47] Zhiwei Ma, Huashan Bao, and Anthony Paul Roskilly. “Seasonal solar thermal energy storage using thermochemical sorption in domestic dwellings in the UK”. In: _Energy_ 166 (2019), pp. 213–222. [48] Giovanni Ciampi, Antonio Rosato, and Sergio Sibilio. “Thermo-economic sensitivity analysis by dynamic simulations of a small Italian solar district heating system with a seasonal borehole thermal energy stor age”. In: _Energy_ 143 (2018), pp. 757–771. [49] Long Liu, Neng Zhu, and Jing Zhao. “Thermal equilibrium research of solar seasonal storage system coupling with ground-source heat pump”. In: _Energy_ 99 (2016), pp. 83–90. [50] J Xu et al. “Performance investigation of a solar heating system with underground seasonal energy storage for greenhouse application”. In: _Energy_ 67 (2014), pp. 63–73. [51] Tingxian Li et al. “Performance analysis of an integrated energy stor age and energy upgrade thermochemical solid–gas sorption system for seasonal storage of solar thermal energy”. In: _Energy_ 50 (2013), pp. 454–467. [52] S Launay et al. “Analysis strategy for multi-criteria optimization: Ap plication to inter-seasonal solar heat storage for residential building needs”. In: _Energy_ 171 (2019), pp. 419–434. [53] M Köfinger et al. “Simulation based evaluation of large scale waste heat utilization in urban district heating networks: Optimized inte gration and operation of a seasonal storage”. In: _Energy_ 159 (2018), pp. 1161–1174. [54] Paolo Gabrielli et al. “Optimal design of multi-energy systems with seasonal storage”. In: _Applied Energy_ 219 (2018), pp. 408–424. [55] Leander Kotzur et al. “Time series aggregation for energy system de sign: Modeling seasonal storage”. In: _Applied Energy_ 213 (2018), pp. 123– 135. 157 [56] International Renewable Energy Agency (IRENA). _Hydrogen_ _from_ _re-_ _newable_ _power:_ _Technology_ _outlook_ _for_ _the_ _energy_ _transition_ . 2018. URL: ``` https://www.irena.org/publications/2018/sep/hydrogen-from ``` `[renewable-power](https://www.irena.org/publications/2018/sep/hydrogen-from-renewable-power)` . [57] International Energy Agency (IEA). _The Future of Hydrogen_ . 2019. URL: `[https://www.iea.org/reports/the-future-of-hydrogen](https://www.iea.org/reports/the-future-of-hydrogen)` . [58] International Renewable Energy Agency (IRENA). _Global Energy Trans-_ _formation:_ _A_ _Roadmap_ _to_ _2050_ . 2018. URL: `[https://www.irena.org/](https://www.irena.org/publications/2018/Apr/Global-Energy-Transition-A-Roadmap-to-2050)` ``` publications/2018/Apr/Global-Energy-Transition-A-Roadmap ``` `[to-2050](https://www.irena.org/publications/2018/Apr/Global-Energy-Transition-A-Roadmap-to-2050)` . [59] Marcelo Carmo et al. “A comprehensive review on PEM water elec trolysis”. In: _International Journal of Hydrogen Energy_ 38.12 (2013), pp. 4901– 4934. ISSN: 0360-3199. DOI: `[https://doi.org/10.1016/j.ijhydene.](https://doi.org/https://doi.org/10.1016/j.ijhydene.2013.01.151)` `[2013 . 01 . 151](https://doi.org/https://doi.org/10.1016/j.ijhydene.2013.01.151)` . URL: `[https : / / www . sciencedirect . com / science /](https://www.sciencedirect.com/science/article/pii/S0360319913002607)` `[article/pii/S0360319913002607](https://www.sciencedirect.com/science/article/pii/S0360319913002607)` . [60] Immanuel Vincent and Dmitri Bessarabov. “Low cost hydrogen pro duction by anion exchange membrane electrolysis: A review”. In: _Re-_ _newable and Sustainable Energy Reviews_ 81 (2018), pp. 1690–1704. [61] Maximilian Schalenbach, Olga Kasian, and Karl JJ Mayrhofer. “An al kaline water electrolyzer with nickel electrodes enables efficient high current density operation”. In: _International_ _journal of hydrogen energy_ 43.27 (2018), pp. 11932–11938. [62] Rong-Heng Lin, Ying-Ying Zhao, and Bu-Dan Wu. “Toward a hydro gen society: Hydrogen and smart grid integration”. In: _International_ _Journal of Hydrogen Energy_ 45.39 (2020), pp. 20164–20175. [63] A Nicita et al. “Green hydrogen as feedstock: Financial analysis of a photovoltaic-powered electrolysis plant”. In: _International Journal of_ _Hydrogen Energy_ 45.20 (2020), pp. 11395–11408. 158 [64] Jeffrey R Bartels, Michael B Pate, and Norman K Olson. “An economic survey of hydrogen production from conventional and alternative en ergy sources”. In: _International_ _journal_ _of_ _hydrogen_ _energy_ 35.16 (2010), pp. 8371–8384. [65] Hervé Barthélémy, Mathilde Weber, and Françoise Barbier. “Hydro gen storage: Recent improvements and industrial perspectives”. In: _International Journal of Hydrogen Energy_ 42.11 (2017), pp. 7254–7262. [66] Amela Ajanovic and Reinhard Haas. “Prospects and impediments for hydrogen and fuel cell vehicles in the transport sector”. In: _Interna-_ _tional journal of hydrogen energy_ 46.16 (2021), pp. 10049–10058. [67] Yue Xiang et al. “Techno-economic design of energy systems for air port electrification: A hydrogen-solar-storage integrated microgrid so lution”. In: _Applied energy_ 283 (2021), p. 116374. [68] Hamid HassanzadehFard et al. “Design and optimum energy man agement of a hybrid renewable energy system based on efficient vari ous hydrogen production”. In: _International Journal of Hydrogen Energy_ 45.55 (2020), pp. 30113–30128. [69] Qusay Hassan. “Optimisation of solar-hydrogen power system for household applications”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 45.58 (2020), pp. 33111–33127. [70] Marie-Louise Arlt, Gonçalo Ferreira Cardoso, and Dean Weng. “Hy drogen storage applications in industrial microgrids”. In: _2017_ _IEEE_ _Green Energy and Smart Systems Conference (IGESSC)_ . IEEE. 2017, pp. 1– 6. [71] Yang Zhang et al. “Comparative study of hydrogen storage and bat tery storage in grid connected photovoltaic system: Storage sizing and rule-based operation”. In: _Applied energy_ 201 (2017), pp. 397–411. 159 [72] Ivalin Petkov and Paolo Gabrielli. “Power-to-hydrogen as seasonal energy storage: an uncertainty analysis for optimal design of low carbon multi-energy systems”. In: _Applied Energy_ 274 (2020), p. 115197. [73] Sebastian Zwickl-Bernhard and Hans Auer. “Open-source modeling of a low-carbon urban neighborhood with high shares of local renew able generation”. In: _Applied Energy_ 282 (2021), p. 116166. ISSN: 0306 2619. DOI: `[https://doi.org/10.1016/j.apenergy.2020.116166](https://doi.org/https://doi.org/10.1016/j.apenergy.2020.116166)` . URL: `[https : / / www . sciencedirect . com / science / article / pii /](https://www.sciencedirect.com/science/article/pii/S0306261920315683)` `[S0306261920315683](https://www.sciencedirect.com/science/article/pii/S0306261920315683)` . [74] Dilara Gulcin Caglayan et al. “Robust design of a future 100% renew able european energy supply system with hydrogen infrastructure”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 46.57 (2021), pp. 29376– 29390. [75] Amela Ajanovic. “On the economics of hydrogen from renewable en ergy sources as an alternative fuel in transport sector in Austria”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 33.16 (2008), pp. 4223–4234. ISSN: 0360-3199. DOI: `[https://doi.org/10.1016/j.ijhydene.2008.](https://doi.org/https://doi.org/10.1016/j.ijhydene.2008.06.041)` `[06.041](https://doi.org/https://doi.org/10.1016/j.ijhydene.2008.06.041)` . URL: `[https://www.sciencedirect.com/science/article/](https://www.sciencedirect.com/science/article/pii/S0360319908007349)` `[pii/S0360319908007349](https://www.sciencedirect.com/science/article/pii/S0360319908007349)` . [76] Emma S. Hanley, JP Deane, and BP Ó Gallachóir. “The role of hydro gen in low carbon energy futures–A review of existing perspectives”. In: _Renewable and Sustainable Energy Reviews_ 82 (2018), pp. 3027–3045. ISSN: 1364-0321. DOI: `[https://doi.org/10.1016/j.rser.2017.10.](https://doi.org/https://doi.org/10.1016/j.rser.2017.10.034)` `[034](https://doi.org/https://doi.org/10.1016/j.rser.2017.10.034)` . URL: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S1364032117314089)` `[S1364032117314089](https://www.sciencedirect.com/science/article/pii/S1364032117314089)` . [77] Christine Mansilla et al. “Chapter 7 - Hydrogen Applications: Overview of the Key Economic Issues and Perspectives”. In: _Hydrogen_ _Supply_ _Chains_ . Ed. by Catherine Azzaro-Pantel. Academic Press, 2018, pp. 271– 292. ISBN: 978-0-12-811197-0. DOI: `[https://doi.org/10.1016/B978-](https://doi.org/https://doi.org/10.1016/B978-0-12-811197-0.00007-5)` 160 `[0-12-811197-0.00007-5](https://doi.org/https://doi.org/10.1016/B978-0-12-811197-0.00007-5)` . URL: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/B9780128111970000075)` `[science/article/pii/B9780128111970000075](https://www.sciencedirect.com/science/article/pii/B9780128111970000075)` . [78] Noé van Hulst. “The clean hydrogen future has already begun”. In: (2019). [79] European Commission. _EU_ _Emissions_ _Trading_ _System_ _(EU_ _ETS)_ . 2022. URL: `[https://ec.europa.eu/clima/eu- action/eu- emissions-](https://ec.europa.eu/clima/eu-action/eu-emissions-trading-system-eu-ets_en)` `[trading-system-eu-ets_en](https://ec.europa.eu/clima/eu-action/eu-emissions-trading-system-eu-ets_en)` . [80] European Commission and Directorate-General for Energy. _Clean en-_ _ergy_ _for_ _all_ _Europeans_ . Publications Office, 2019. DOI: `[doi/10.2833/](https://doi.org/doi/10.2833/21366)` `[21366](https://doi.org/doi/10.2833/21366)` . [81] European Parliament. “Directive (EU) 2018/2001 of the European Par liament and of the Council of 11 December 2018 on the Promotion of the Use of Energy from Renewable Sources”. In: _Off. J. Eur. Union_ 61 (2018), pp. 82–209. [82] European Parliament and Council of the EU. “Directive (EU) 2019/944 on Common Rules for the Internal Market for Electricity and Amend ing DIRECTIVE 2012/27/EU”. In: (). [83] Campos Inês et al. “Regulatory challenges and opportunities for col lective renewable energy prosumers in the EU”. In: _Energy Policy_ 138 (2020), p. 111212. [84] Austrian Government. _58/ME (XXVII. GP) - Erneuerbaren-Ausbau-Gesetz_ _– EAG; Erneuerbaren-Ausbau-Gesetzespaket – EAG-Paket._ 2021. URL: `[https:](https://www.parlament.gv.at/PAKT/VHG/XXVII/ME/ME_00058/index.shtml)` ``` //www.parlament.gv.at/PAKT/VHG/XXVII/ME/ME_00058/index. ``` `[shtml](https://www.parlament.gv.at/PAKT/VHG/XXVII/ME/ME_00058/index.shtml)` . [85] Chankook Park and Taeseok Yong. “Comparative review and discus sion on P2P electricity trading”. In: _Energy Procedia_ 128 (2017), pp. 3– 9. [86] Chenghua Zhang et al. “Review of existing peer-to-peer energy trad ing projects”. In: _Energy Procedia_ 105 (2017), pp. 2563–2568. 161 [87] Esther Mengelkamp et al. “Designing microgrid energy markets: A case study: The Brooklyn Microgrid”. In: _Applied_ _Energy_ 210 (2018), pp. 870–880. [88] Chou Hon Leong, Chenghong Gu, and Furong Li. “Auction mecha nism for P2P local energy trading considering physical constraints”. In: _Energy Procedia_ 158 (2019), pp. 6613–6618. [89] Thomas Morstyn, Alexander Teytelboym, and Malcolm D McCulloch. “Bilateral contract networks for peer-to-peer energy trading”. In: _IEEE_ _Transactions on Smart Grid_ 10.2 (2018), pp. 2026–2035. [90] Chao Long et al. “Aggregated battery control for peer-to-peer energy sharing in a community Microgrid with PV battery systems”. In: _En-_ _ergy Procedia_ 145 (2018), pp. 522–527. [91] Ehsan Reihani, Pierluigi Siano, and Michael Genova. “A new method for peer-to-peer energy exchange in distribution grids”. In: _Energies_ 13.4 (2020), p. 799. [92] Shichang Cui et al. “An efficient peer-to-peer energy-sharing frame work for numerous community prosumers”. In: _IEEE Transactions on_ _Industrial Informatics_ 16.12 (2019), pp. 7402–7412. [93] Chun-Cheng Lin, Yi-Fang Wu, and Wan-Yu Liu. “Optimal sharing en ergy of a complex of houses through energy trading in the Internet of energy”. In: _Energy_ 220 (2021), p. 119613. [94] Magdi S Mahmoud, Mohamed Saif Ur Rahman, and MAL-Sunni Fouad. “Review of microgrid architectures–a system of systems perspective”. In: _IET Renewable Power Generation_ 9.8 (2015), pp. 1064–1078. [95] Hui Huang et al. “Optimization of peer-to-peer power trading in a microgrid with distributed PV and battery energy storage systems”. In: _Sustainability_ 12.3 (2020), p. 923. 162 [96] Andreas Fleischhacker et al. “Portfolio optimization of energy com munities to meet reductions in costs and emissions”. In: _Energy_ 173 (2019), pp. 1092–1105. [97] Michael Stadler et al. “Performance comparison between two estab lished microgrid planning MILP methodologies tested on 13 micro grid projects”. In: _Energies_ 13.17 (2020), p. 4460. [98] Sebastian Zwickl-Bernhard and Hans Auer. “Open-source modeling of a low-carbon urban neighborhood with high shares of local renew able generation”. In: _Applied Energy_ 282 (2021), p. 116166. [99] Bernadette Fina et al. “Economic assessment and business models of rooftop photovoltaic systems in multiapartment buildings: case stud ies for Austria and Germany”. In: _Journal_ _of_ _Renewable_ _Energy_ 2018 (2018). [100] Mike B Roberts, Anna Bruce, and Iain MacGill. “Impact of shared battery energy storage systems on photovoltaic self-consumption and electricity bills in apartment buildings”. In: _Applied energy_ 245 (2019), pp. 78–95. [101] Andreas Fleischhacker et al. “Sharing solar PV and energy storage in apartment buildings: resource allocation and pricing”. In: _IEEE Trans-_ _actions on Smart Grid_ 10.4 (2018), pp. 3963–3973. [102] Theresia Perger et al. “PV sharing in local communities: Peer-to-peer trading under consideration of the prosumers’ willingness-to-pay”. In: _Sustainable Cities and Society_ 66 (2021), p. 102634. [103] Aihua Jiang, Huihong Yuan, and Delong Li. “A two-stage optimiza tion approach on the decisions for prosumers and consumers within a community in the Peer-to-peer energy sharing trading”. In: _Interna-_ _tional Journal of Electrical Power & Energy Systems_ 125 (2021), p. 106527. [104] John A Duffie and William A Beckman. _Solar_ _engineering_ _of_ _thermal_ _processes_ . Wiley New York, 1980. 163 [105] European solar Thermal Industry Federation (ESTIF). _Simple_ _calcula-_ _tion_ _of_ _energy_ _delivery_ _of_ _(small)_ _ST_ _systems_ _(Report)_ . 2007. URL: `[http:](http://www.estif.org/fileadmin/estif/content/policies/downloads/SimpleCalculation.pdf)` ``` //www.estif.org/fileadmin/estif/content/policies/downloads/ ``` `[SimpleCalculation.pdf](http://www.estif.org/fileadmin/estif/content/policies/downloads/SimpleCalculation.pdf)` . [106] R Grosse et al. “Long term (2050) projections of techno-economic per formance of large-scale heating and cooling in the EU”. In: _Luxemburg:_ _Publications Office of the European Union_ (2017). [107] Eduardo Camponogara, Katia Campos de Almeida, and Rubens Hardt. “Piecewise-linear approximations for a non-linear transmission ex pansion planning problem”. In: _IET_ _Generation,_ _Transmission_ _&_ _Dis-_ _tribution_ 9.12 (2015), pp. 1235–1244. [108] George L Nemhauser and Laurence A Wolsey. _Integer_ _programming_ _and combinatorial optimization_ . Vol. 191. Springer, 1988. [109] S.A. Klein et al. “TRNSYS 18: A Transient System Simulation Pro gram”. In: _Solar_ _Energy_ _Laboratory,_ _University_ _of_ _Wisconsin,_ _Madison,_ _USA_ (2017). URL: `[https://sel.me.wisc.edu/trnsys/](https://sel.me.wisc.edu/trnsys/)` . [110] J. Remund et al. _METEONORM: Global meteorological database for solar_ _energy and applied climatology_ . Meteotest, 2007. [111] H. Hartmann et al. _Handbuch Bioenergie-Kleinanlagen_ . 2013. [112] F. Samweber and C. Schifflechner. _Kostenanalyse Wärmespeicher bis 10.000_ _l Speichergröße - Stand Dezember 2016_ . 2017. [113] D Mangold and L Deschaintre. “Task 45 Large Systems-Seasonal ther mal energy storage Report on state of the art and necessary further R+ D”. In: (2015). [114] VOR. _VOR-Persönlicher_ _Fahrplan_ . 2020. URL: `[https://www.vor.at/](https://www.vor.at/fahrplan/fahrplanservices/persoenlicher-fahrplan/)` `[fahrplan/fahrplanservices/persoenlicher-fahrplan/](https://www.vor.at/fahrplan/fahrplanservices/persoenlicher-fahrplan/)` . [115] Umweltbundesamt. _Beschreibung der Verkehrsmittel Österreich_ . 2020. URL: ``` https://www.umweltbundesamt.at/fileadmin/site/themen/mobilitaet/ ``` `[daten/ekz_doku_verkehrsmittel.pdf](https://www.umweltbundesamt.at/fileadmin/site/themen/mobilitaet/daten/ekz_doku_verkehrsmittel.pdf)` . 164 [116] H2.LIVE. _H2.LIVE:_ _Hydrogen_ _cars_ . 2020. URL: `[https://h2.live/en/](https://h2.live/en/wasserstoffautos)` `[wasserstoffautos](https://h2.live/en/wasserstoffautos)` . [117] H2.City Gold. _H2.City_ _Gold:_ _CAETANO_ _Bus_ . 2020. URL: `[https : / /](https://caetanobus.pt/en/buses/h2-city-gold/)` `[caetanobus.pt/en/buses/h2-city-gold/](https://caetanobus.pt/en/buses/h2-city-gold/)` . [118] ESORO. _ESORO:_ _heavy-duty_ _fuel_ _cell_ _truck_ . 2020. URL: `fromhttps://` `fuelcelltrucks.eu/project/esoro/` . [119] The Linde Group. _Rechnen_ _Sie_ _mit_ _Wasserstoff:_ _Die_ _Datentabelle_ . 2020. URL: `[https://www.linde-gas.at/de/images/1007_rechnen_sie_](https://www.linde-gas.at/de/images/1007_rechnen_sie_mit_wasserstoff_v110_tcm550-169419.pdf)` `[mit_wasserstoff_v110_tcm550-169419.pdf](https://www.linde-gas.at/de/images/1007_rechnen_sie_mit_wasserstoff_v110_tcm550-169419.pdf)` . [120] Guillaume Petitpas and Salvador M Aceves. “Liquid hydrogen pump performance and durability testing through repeated cryogenic vessel filling to 700 bar”. In: _International_ _Journal_ _of_ _Hydrogen_ _Energy_ 43.39 (2018), pp. 18403–18420. [121] Enercon GmbH. _Enercon E-48_ . 2020. URL: `[https://www.enercon.de/](https://www.enercon.de/en/products/ep-1/e-48/)` `[en/products/ep-1/e-48/](https://www.enercon.de/en/products/ep-1/e-48/)` . [122] Stefan Pfenninger and Iain Staffell. “Long-term patterns of European PV output using 30 years of validated hourly reanalysis and satellite data”. In: _Energy_ 114 (2016), pp. 1251–1265. [123] M Taylor et al. “IRENA renewable power generation costs in 2019”. In: _International Renewable Energy Agency: Abu Dhabi, UAE_ (2020). [124] NOW GmbH. _Studie_ _IndWEDe_ _Industrialisierung_ _der_ _Wasserelektrolyse_ _in Deutschland: Chancen und Herausforderungen für nachhaltigen Wasser-_ _stoff für Verkehr, Strom und Wärme_ . 2018. URL: `[https://www.now-gmbh.](https://www.now-gmbh.de/content/service/3-publikationen/1-nip-wasserstoff-und-brennstoffzellentechnologie/indwede-studie_v04.1.pdf)` ``` de/content/service/3-publikationen/1-nip-wasserstoff-und ``` `[brennstoffzellentechnologie/indwede-studie_v04.1.pdf](https://www.now-gmbh.de/content/service/3-publikationen/1-nip-wasserstoff-und-brennstoffzellentechnologie/indwede-studie_v04.1.pdf)` . [125] George Parks et al. _Hydrogen_ _station_ _compression,_ _storage,_ _and_ _dispens-_ _ing_ _technical_ _status_ _and_ _costs:_ _Systems_ _integration_ . Tech. rep. National Renewable Energy Lab.(NREL), Golden, CO (United States), 2014. 165 [126] Alexander Körner et al. “Technology roadmap-hydrogen and fuel cells”. In: _International Energy Agency (IEA): Paris, France_ (2015). [127] WA Amos. “Costs of storing and transporting hydrogen (No. NREL/TP 570-25106; ON: DE00006574)”. In: _Golden, CO (US): National Renewable_ _Energy Lab_ (1999). [128] OIB-RL 6. _Energieeinsparung_ _und_ _Wärmeschutz,_ _OIB-Leitfaden_ _Energi-_ _etechnisches Verhalten von Gebäuden, OIB-330.6-027/19_ . 2019. URL: `[https:](https://www.oib.or.at/sites/default/files/erlaeuternde_bemerkungen_richtlinie_6_12.04.19_0.pdf)` ``` //www.oib.or.at/sites/default/files/erlaeuternde_bemerkungen_ ``` `[richtlinie_6_12.04.19_0.pdf](https://www.oib.or.at/sites/default/files/erlaeuternde_bemerkungen_richtlinie_6_12.04.19_0.pdf)` . [129] Umweltbundesamt. _Emissionskennzahlen_ _Datenbasis_ _2018_ . 2018. URL: ``` https://www.umweltbundesamt.at/fileadmin/site/themen/mobilitaet/ ``` `[daten/ekz_fzkm_verkehrsmittel.pdf](https://www.umweltbundesamt.at/fileadmin/site/themen/mobilitaet/daten/ekz_fzkm_verkehrsmittel.pdf)` . [130] BMWI. _Average_ _prices_ _of_ _diesel_ _fuel_ _in_ _Austria_ _from_ _2000_ _to_ _2020_ _(in_ _eu-_ _ros)[Graph]. In Statista_ . 2020. URL: `[https://www.statista.com/statistics/](https://www.statista.com/statistics/603723/diesel0fuel-prices-austria/)` `[603723/diesel0fuel-prices-austria/](https://www.statista.com/statistics/603723/diesel0fuel-prices-austria/)` . [131] OMV. _Tankstellenfinder_ . 2020. URL: `[https://www.omv.at/de- at/](https://www.omv.at/de-at/tankstellen/tankstellenfinder)` `[tankstellen/tankstellenfinder](https://www.omv.at/de-at/tankstellen/tankstellenfinder)` . [132] International Renewable Energy Agency (IRENA). _Electricity_ _Storage_ _and_ _Renewables:_ _Costs_ _and_ _Markets_ _to_ _2030_ . 2017. URL: `[https://www.](https://www.irena.org/publications/2017/oct/electricity-storage-and-renewables-costs-and-markets)` ``` irena.org/publications/2017/oct/electricity-storage-and ``` `[renewables-costs-and-markets](https://www.irena.org/publications/2017/oct/electricity-storage-and-renewables-costs-and-markets)` . [133] Tesla. _Tesla Powerwall 2_ . 2020. URL: `[https://www.tesla.com/sites/](https://www.tesla.com/sites/default/files/pdfs/powerwall/Powerwall\%202_AC_Datasheet_de_DE.pdf)` ``` default/files/pdfs/powerwall/Powerwall\%202_AC_Datasheet_ ``` `[de_DE.pdf](https://www.tesla.com/sites/default/files/pdfs/powerwall/Powerwall\%202_AC_Datasheet_de_DE.pdf)` . [134] Battery University. _How_ _to_ _Prolong_ _Lithium-based_ _Batteries_ . 2020. URL: ``` https://batteryuniversity.com/learn/article/how_to_prolong_ ``` `[lithium_based_batteries](https://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries)` . [135] Battery University. _Elevating Self-Discharge_ . 2018. URL: `[https://batteryuniversity.](https://batteryuniversity.com/learn/article/elevating_self_discharge)` `[com/learn/article/elevating_self_discharge](https://batteryuniversity.com/learn/article/elevating_self_discharge)` . 166 [136] E-Control. _Decreed Grid Usage Rates for 2020_ . 2020. URL: `[https://www.](https://www.e-control.at/industrie/strom/strompreis/netzentgelte)` `[e-control.at/industrie/strom/strompreis/netzentgelte](https://www.e-control.at/industrie/strom/strompreis/netzentgelte)` . [137] E-Control. _Taxes_ _and_ _Charges_ . 2020. URL: `[https://www.e- control.](https://www.e-control.at/marktteilnehmer/strom/strommarkt/preise/steuern-und-abgaben)` ``` at / marktteilnehmer / strom / strommarkt / preise / steuern - und ``` `[abgaben](https://www.e-control.at/marktteilnehmer/strom/strommarkt/preise/steuern-und-abgaben)` . [138] RIS. _Ordinance of E-Control’s Regulatory Commission determining the fees_ _for grid use_ . 2020. URL: `[https://www.ris.bka.gv.at/GeltendeFassung.](https://www.ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=Bundesnormen\&Gesetzesnummer=20010107)` `[wxe?Abfrage=Bundesnormen\&Gesetzesnummer=20010107](https://www.ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=Bundesnormen\&Gesetzesnummer=20010107)` . [139] KELAG. _Kelag_ _Home_ _Basic_ _Energy_ _Rate_ . 2020. URL: `[https : / / www .](https://www.kelag.at/files/folder/Produktfolder/Privatkunden/Strom/Tarifblatt_Kelag_Home_Basic.pdf)` ``` kelag . at / files / folder / Produktfolder / Privatkunden / Strom / ``` `[Tarifblatt_Kelag_Home_Basic.pdf](https://www.kelag.at/files/folder/Produktfolder/Privatkunden/Strom/Tarifblatt_Kelag_Home_Basic.pdf)` . [140] EPEX Spot. _EPEX_ _Spot_ _Market_ _Auction_ _Prices_ _for_ _2019_ _-_ _Austria_ . 2019. URL: `[https://www.epexspot.com/en/market-data](https://www.epexspot.com/en/market-data)` . [141] International Energy Agency (IEA). _Net_ _Zero_ _by_ _2050:_ _A_ _Roadmap_ _for_ _the Global Energy Sector_ . 2021. URL: `[https://iea.blob.core.windows.](https://iea.blob.core.windows.net/assets/deebef5d-0c34-4539-9d0c-10b13d840027/NetZeroby2050-ARoadmapfortheGlobalEnergySector_CORR.pdf)` ``` net/assets/deebef5d-0c34-4539-9d0c-10b13d840027/NetZeroby2050 ``` `[ARoadmapfortheGlobalEnergySector_CORR.pdf](https://iea.blob.core.windows.net/assets/deebef5d-0c34-4539-9d0c-10b13d840027/NetZeroby2050-ARoadmapfortheGlobalEnergySector_CORR.pdf)` .

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.