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

Deep reinforcement learning based optimization for a tightly coupled nuclear renewable integrated energy system

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Zonggen Yi — Idaho National Laboratory, Idaho Falls, ID, USA
  2. Yusheng Luo — Idaho National Laboratory, Idaho Falls, ID, USA
  3. Tyler Westover — Idaho National Laboratory, Idaho Falls, ID, USA
  4. Sravya Katikaneni — The University of Toledo, Toledo, OH, USA
  5. Binaka Ponkiya — The University of Toledo, Toledo, OH, USA
  6. Suba Sah — The University of Toledo, Toledo, OH, USA
  7. Sadab Mahmud — The University of Toledo, Toledo, OH, USA
  8. David Raker — The University of Toledo, Toledo, OH, USA
  9. Ahmad Y. Javaid — The University of Toledo, Toledo, OH, USA
  10. Michael J. Heben — The University of Toledo, Toledo, OH, USA
  11. Raghav Khanna — The University of Toledo, Toledo, OH, USA
DOI
10.1016/j.apenergy.2022.120113
저널
Applied Energy
발행년도
2022
발행기관
Elsevier BV
피인용수
62
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.apenergy.2022.120113
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4307825057

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.80
근거 용어
PEM, hydrogen production, Deep Reinforcement Learning, optimization, integrated energy system
판단 근거
본 논문은 원자력-재생에너지 통합 시스템(NR-IES) 내에서 수소 생산(PEM 및 HTSE 방식)과 전력 공급을 최적화하기 위한 심층 강화학습(DRL) 제어 프레임워크를 다룹니다. 코오롱인더스트리의 수소연료전지(PEMFC) 관련 핵심 소재 및 시스템 운영 원리와 연관성이 있습니다.
R&D 활용 포인트
PEM 수전해 및 연료전지 시스템의 효율적인 운전 제어 알고리즘 개발 및 수소 생산 공정 최적화 모델링에 활용 가능합니다.
평가 입력
본문 105,382자 중 30,032자 발췌

초록

초록이 없습니다.

본문 105,382자

본문 펼치기
INL/JOU-21-64881-Revision-0 # Deep reinforcement learning based optimization for a tightly coupled nuclear renewable integrated energy system December 2022 Zonggen Yi, Yusheng Luo, Tyler L Westover, Ahmad Javaid, Raghav Khanna, Michael Heben, Sravya Katikaneni, Binaka Ponkiya, Suba Sah, Sadab Mahmud, Dave Raker _INL is a U.S. Department of Energy National Laboratory operated by Battelle Energy Alliance, LLC_ DISCLAIMER This information was prepared as an account of work sponsored by an agency of the U.S. Government. Neither the U.S. Government nor any agency thereof, nor any of their employees, makes any warranty, expressed or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness, of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. References herein to any specific commercial product, process, or service by trade name, trade mark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the U.S. Government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the U.S. Government or any agency thereof. INL/JOU-21-64881-Revision-0 ## Deep reinforcement learning based optimization for a tightly coupled nuclear renewable integrated energy system Zonggen Yi, Yusheng Luo, Tyler L Westover, Ahmad Javaid, Raghav Khanna, Michael Heben, Sravya Katikaneni, Binaka Ponkiya, Suba Sah, Sadab Mahmud, Dave Raker December 2022 ### Idaho National Laboratory Idaho Falls, Idaho 83415 http://www.inl.gov Prepared for the U.S. Department of Energy Under DOE Idaho Operations Office Contract DE-AC07-05ID14517 ### Deep Reinforcement Learning Based Optimization for A Tightly Coupled Nuclear Renewable Integrated Energy System Zonggen Yi <sup>a,</sup> <sup>_∗_</sup>, Yusheng Luo <sup>a</sup>, Tyler Westover <sup>a</sup>, Sravya Katikaneni <sup>b</sup>, Binaka Ponkiya <sup>b</sup>, Suba Sah <sup>b</sup>, Sadab Mahmud <sup>b</sup>, David Raker <sup>b</sup>, Ahmad Javaid <sup>b</sup>, Michael Heben <sup>b</sup>, Raghav Khanna <sup>b</sup> _aIdaho_ _National_ _Laboratory,_ _Idaho_ _Falls,_ _ID,_ _USA_ _bThe_ _University_ _of_ _Toledo,_ _Toledo,_ _OH,_ _USA_ Abstract New ways to integrate energy systems to maximize efficiency are being sought to meet carbon emissions goals. Nuclear-renewable integrated energy system (NR-IES) concepts are a leading solution that couples a nuclear power plant, with renewable energy, hydrogen generation plants, and energy storage systems, such that thermal and electrical power are dispatchable to fulfill grid-flexibility requirements while also producing hydrogen and maximizing revenue. This paper introduces a deep reinforcement learning (DRL)-based framework to address the complex decision-making tasks for NR-IES. The objective is to maximize revenue by generating and selling hydrogen and electricity simultaneously according to their time-varying prices while keeping the energy flow in the subsystems in balance. A Python-based simulator for a NR-IES concept has been developed to integrate with OpenAI Gym and Ray/RLlib to enable an efficient and flexible computational framework for DRL research and development. Three state-of-the-art DRL algorithms have been investigated, including two-delayed deep deterministic policy gradient (TD3), soft-actor critic (SAC), proximal policy optimization (PPO), to illustrate DRL’s superiority for controlling NR-IES by comparing it with a conventional control approach, particle swarm optimization (PSO). In this effort, PPO has shown more-stable performance and also better generalization capability than SAC and TD3. Comparisons with PSO have demonstrated that, on average, PPO can achieve 13.9% more mean episode returns from the training process and 29.4% more mean episode returns from the testing process when different hydrogen-production targets are applied. _Keywords:_ Nuclear Renewable Integrated Energy System, Deep Reinforcement Learning, System Control, Operation Optimization 1. Introduction Energy demand has increased globally over the last decade, resulting in challenges that cannot be addressed merely with the use of conventional generation systems. While demand for reducing carbon emissions has simul taneously increased, certain geographic locations are still overly dependent on fossil fuels [1]. Furthermore, the _∗_ Corresponding author. _Email_ _address:_ `Zonggen.Yi@inl.gov` (Zonggen Yi) consumption of fossil fuels leads to ecological imbalance and emits greenhouse gases[2], potentially resulting in global climate change issues. This is why carbon-free energy production has become a critical factor in meeting clean-energy standards. Both nuclear and renewable energies are considered carbon-free alternatives, emerging as potential solutions to environmental deterioration. In the United States, nuclear power facilities offer baseload electricity and are designed to operate continuously at their highest-rated capacity. Conventional nuclear reactors are relatively inflexible and have limited ability to increase or decrease output power in response to demand. Mean while, the low marginal cost and intermittent production of variable renewable energy (VRE) sources, such as wind and solar, periodically drive down energy prices, adversely affecting the profitability of baseload generation, which cannot ramp up and down in response to price [3]. The uncontrolled nature of VRE sources creates imbalances between demand and supply which require the installation of peaker plants. Peaking generation, however, has a low capacity factor and drives up costs to consumers without addressing the issue of non-economic periods of operation for baseload generators [4]. A solution to these challenges is to implement a hybrid energy system that consists of nuclear power, variable sources and dispatchable industrial loads. Such hybrid or integrated energy system can have greater flexibility than any individual resource alone. Hybrid energy systems have the ability to produce multiple energy products, such as electricity and hydrogen, so that a nuclear power plant can stably operate at or near peak efficiency, while electricity supply to the power grid can be modulated in response to VRE generation. This paradigm can improve profitability by allowing the integrated system to respond to price while simultaneously providing a carbon-free alternative to fossil-fuel plants. A nuclear-renewable integrated energy system (NR-IES) comprises a nuclear power plant, renewable energy, and processes that fulfill grid-flexibility requirements while also generating alternative commodities and maximizing revenue. A NR-IES can be built and managed in a flexible manner that allows the nuclear-derived electricity to be used for other applications, particularly when electricity prices are low or renewable generation is high [5, 6]. Instead of selling surplus nuclear-derived electricity to the grid during non-peak hours when electricity prices are low, a NR-IES may generate more revenue by converting the excess energy to storable carbon-free fuels, such as hydrogen. Additionally, this system could be implemented in a manner that is economically viable for consumers. However, coordination and management between diverse subsystems is a key challenge in an integrated energy system. Energy market trends must be constantly tracked so that the NR-IES can respond to stochastic variations in supply and demand—thereby optimizing the operation of the system to ensure a return on capital investment [6]. An effective strategy to optimize the cost and operate the system as a flexible energy resource (FER) is needed in response to variable market pricing and renewable energy availability. The dynamic transactions between various actors within NR-IES require effective control and management schemes. Due to the system’s complexity, traditional control techniques often lead to inefficient operational behavior and restricted flexibility. This paper proposes deep reinforcement learning (DRL) algorithms as advanced control frameworks to address the complex sequential decision-making tasks for NR-IES. The objective is to use DRL to maximize revenues by GENERATION Renewable Energy 3-ϕ Power Conversion System Thermal Energy from Nuclear Power Plant Storage Systems Thermal Hydrogen Battery Balance of Plant Figure 1: Energy flow diagram for NR-IES. Electrolyzers HTSE PEM CONSUMPTION Electricity Hydrogen Electrical Energy Thermal Energy Hydrogen generating and selling hydrogen and electric power simultaneously while keeping energy flows in balance across subsystems. In this application, the DRL methodology has two roles. First, it can assist in designing the optimal configuration and scale of the sub-systems to maximize profitability and grid resilience. Second, it can suggest or guide decision-making during operations, although direct control of the sub-systems, such as a nuclear power plant, may not be given to the DRL controller. Figure 1 depicts the proposed NR-IES integration scheme, a concept proposed in [7],[8]. When electricity prices are low, nuclear-derived thermal and electrical energy is used to produce hydrogen via electrolysis. When electricity prices rise above a threshold value, the nuclear power plant should produce electricity. A key challenge is that the threshold electricity price must be adjusted periodically depending upon the current state of the NR-IES subsystems and predicted future power imbalances. DRL algorithms are promising technologies to create the necessary intelligent control agent that can maximize revenues by automati cally monitoring and managing the intricacies of these dynamic and stochastic system conditions—e.g., prices and uncertain renewable power. The framework presented in this paper is intended to be scalable to different sizes and classes of reactors from small modular reactors (SMRs) to full-scale Gigawatt light-water reactors (LWRs). The simulations used herein assume a reactor sized similar to the NuScale plant design - a proposed light-water, small-scale modular reactor [9]. The novelty and significant contributions of this paper include: (1) development of a scalable computational framework to facilitate the research of DRL algorithms for optimizing NR-IES operations and (2) a comprehensive study showing the superiority of DRL algorithms over conventional approaches. Specifically, a Python-based NR IES simulator that considers various subsystems and their interactions has been developed and integrated with OpenAI Gym [10] and Ray/RLlib [11] to enable an efficient and flexible computational framework for DRL’s training and validation. Benchmark performance analyses of various DRL algorithms are introduced to demonstrate the promising benefits of DRL algorithms over a conventional approach, in this case particle swarm optimization (PSO). The potential advancements of the DRL approach are also investigated and quantified under various hydrogen production conditions. The remainder of this paper is organized as follows. Section 2 presents a brief literature survey on conventional approaches to optimize IES while also discussing the challenges, opportunities, and applications related to DRL. Section 3 introduces detailed modeling and simulations of subsystems in NR-IES. Section 4 proposes the DRL computational and modeling framework for optimizing power-flow dispatch in NR-IES. Optimal and performance analysis of DRL over different scenario-based results are provided in Section 5. Advantages and disadvantages of DRL for optimization of NR-IES systems are discussed in Section 6. Finally, Section 7 summarizes conclusions of this work. 2. Background _2.1._ _Conventional_ _Approaches_ _for_ _Integrated_ _Energy_ _Systems_ In the past, model-based control strategies were used to regulate energy in residential integrated energy systems (IES). The optimal scheduling of different types of energy assets—such as controlled energy sources, loads, and storage devices—were determined by solving a centralized operating-cost-minimization problem [12, 13, 14]. Model based control strategies were shown to be effective in static conditions, but the inherent uncertainties associated with energy assets were not taken into consideration by such deterministic optimization methods. To address this, stochastic programming techniques were used to schedule various energy devices [15, 16]. The uncertainties were modeled using a scenario-based technique. However, because all involved uncertain parameters were influenced by various exogenous factors that are independent of the energy-management strategy, identifying appropriate probability distributions and constructing a representative and comprehensive set of scenarios posed significant challenges. An alternating direction method of multipliers has been used for energy-use scheduling, such as demand response with smart buildings [17]. For energy management of a combined heat and power system, a consensus based method was used [18]. However, for both techniques, convergence to the optimal solution is only guaranteed if the system has convex operating characteristics, and a large number of iterations is usually required to obtain a reasonable level of convergence. In [19], a comparison of the Markovian approach and a genetic algorithm (GA) was conducted for energy management in residential buildings. It was shown that the Markovian approach is insufficient for long planning periods, and the GA requires considering additional parameters for better performance. A mixed-integer linear programming (MILP) model has been proposed to optimize the performance of various hybrid systems—e.g., domestic energy hubs [12], combined heat and power plants [20], and microgrid management[21]. However, an effective MILP requires approaches for more-exact model parameterization via measurement data. In [22], the greatest value of the actual yearly benefit was calculated using a genetic algorithm and particle-swarm optimization (PSO). For the stochastic optimization of IES operations, the authors in [23] used unscented transformation to repre sent the uncertainties of wind and solar power. In [24], a minimax robust-optimization formulation was devised for multi-energy microgrids to reduce operating costs and emissions in the worst-case scenario of intermittent re newable energy and variable loads. In [25], an integrated electricity, gas, and district-heating system was provided with a multinetwork constrained unit-commitment problem. Wind power’s unpredictability was modeled using an information-gap decision theory (IGDT) technique. In [26], to mitigate the detrimental impact of prediction errors, a model predictive control (MPC) strategy was developed for the online dispatch of an integrated energy microgrid. This strategy was also used to optimize energy equipment outputs for a rural multi-energy microgrid in [27]. De spite the fact that MPC-based systems allow for self-correction of forecasts based on uncertainties, renewable-energy generation and energy loads have still to be forecasted [28]. Furthermore, the IES structure, scale, and capacity may change over time, which would require the MPC strategy to be modified. Developing and implementing such changes would likely introduce substantial costs and new operational risks. Conventional methods struggle to provide acceptable performance for NR-IES operation due to the complexities of explicitly modeling interactions between NR-IES components and also accurately forecasting stochastic renewable energy generation and price signals. In this paper, a DRL approach has been proposed to optimize dispatch strategies for NR-IES operations and maximize overall revenue. Various DRL-based algorithms are used in this study to show the operational flexibility of a tightly coupled NR-IES unit and its response to stochastic fluctuations. To simulate a typical complex NR-IES system, continuous state and action state spaces have been configured as described below. _2.2._ _DRL_ Deep reinforcement learning combines deep neural networks (DNN) with a reinforcement learning (RL) frame work to develop agents capable of achieving human-level performance across complex problem domains. DRL combines target optimization with function approximation by mapping states and actions to the best possible re wards. Using DNN and the RL algorithms together offers two benefits: first, DNN’s excellent feature extraction ability eliminates the need for manual feature design, so that control decisions can be obtained directly from raw inputs using an end-to-end learning technique; second, DNN improves RL’s generalization of problems involving a vast state space [29]. It is possible that the most-efficient DRL algorithm implementation also requires hundreds or thousands of iterations to converge. The offline DRL training can have convergence issues with the offline datasets, such as those not occurring in real-time [30]. This problem has been addressed in this paper by incorporating the simulation models of each of the NR-IES’s physical components and subsystems. This expands the simulation’s search space and adaptability to dynamic changes, thereby leading to improved convergence to the optimal solution. A suitable policy-gradient algorithm is used for these tasks that can handle their high-dimensional action space. Instead of learning the action-value function, the policy-gradient algorithm directly learns the policy function [31]. The policy-gradient algorithm uses weights to maintain a policy function and seeks to maximize the predicted cumulative return by optimizing the weights. DRL has found applications in different areas, such as robotics ([32], [33]), gaming ([34], [35], [36]), autonomous vehicles [37], finance [38], [39], and energy management [40]. For energy research specifically, DRL has also been applied to a wide range of fields, such as energy management, demand response, operational control, cybersecurity, economic dispatch, system optimization, edge computing, and energy routing. These applications involve various systems—e.g., residential appliances, smart grids, microgrids, and wind turbines—to achieve the energy and op erational cost optimization, revenue maximization, and security and efficiency [41]. For example, a DRL-based distributed proximal policy-optimization algorithm resolves the economic-dispatch problem of a combined heat and power system [42]. This trained agent explores optimal dynamic-dispatch strategies for various scenarios and re sponds to system emergencies efficiently. Another work focuses on energy management and strategy optimization for the double-auction market of a regional microgrid [43]. The distributed-microgrid market architecture is built around multi-agent (MA) technology. Furthermore, an MA-DQN is presented to achieve interactive learning, in which each agent performs real-time market actions independently, depending on learning outcomes. To determine the dynamic-dispatch strategy, an enhanced deep deterministic policy gradient algorithm was also developed [28]. Using this unique model-free DRL-based approach and L2 regularization, the prioritized experience-replay mech anism is employed to improve the agent. As a result, the IES dispatch-policy quality and learning efficiency have increased. The goal of dynamic dispatching is to maximize overall revenue on a daily basis [44]. Each of the subsystems illustrated in Figure 1, such as the storage and conversion units, run daily within the NR-IES. An efficient data sampling technique is required so that the DRL agent is trained with a stable policy in a reasonable amount of time for daily dispatch strategies. Multiple sample-efficient DRL policy-gradient algorithms (e.g., TD3, SAC, PPO) have been employed in this paper. These algorithms are briefly summarized in Section 4.3. 3. Modeling and Simulation on Nuclear-Renewable Integrated Energy System _3.1._ _Overview_ The tightly coupled NR-IES in Figure 1 has been simulated to study the thermal and electric power-flow dispatching strategies to improve the operational efficiency of an IES. In this paradigm, high-temperature steam electrolysis (HTSE) and polymer electrolyte membrane (PEM) electrolysis hydrogen production plants function as dispatchable electric power loads to enable adjusting the amount of electric power sent to the grid as needed. Furthermore, a small portion of the thermal energy from the nuclear reactor can be used to increase the efficiency of hydrogen production via HTSE. Thermal energy may also be stored via thermal-energy storage (TES) for potential future usage. Additional electricity may also be stored by battery energy storage (BES). Renewable energy could include wind or solar generation. Product electricity is sold to the electricity market while product hydrogen is distributed to the hydrogen market according to the required production rate and price. The objective of this work is to research and develop a DRL-based optimization framework to maximize revenue with simultaneous electricity and hydrogen production according to electricity and hydrogen pricing. For this optimization the DRL algorithm must balance thermal and electric power flows according to realistic renewable-power generation and electric and hydrogen price conditions. The focus of this work is first to investigate potential benefits of DRL-based approaches for optimizing NR-IES operation processes. This work will not cover sophisticated models and simulations for all components in the NR IES. Some models and simulations have been simplified accordingly, but the developed simulations still attempt to capture the core functionalities of high-level operations. Brief descriptions of each system component is provided below that cover minimum viable features to support and validate the functionality of DRL-based methods. _3.2._ _Nuclear_ _Reactor_ Nuclear reactor is the primary heat-generation (PHG) system in a NR-IES. In this work, the PHG system is assumed to be a small modular reactor (e.g., the NuScale plant design [9], which is considered to be the most mature. The steam produced at the PHG system is distributed to the nuclear plant turbine generator system as well as to an HTSE plant to increase the efficiency of hydrogen (H2) and oxygen (O2) production, or to be stored in the TES for future usage. The turbine generator system produces the required electricity for the HTSE and PEM plants or to sell to the electricity market to balance power from renewable sources (i.e., solar PV or wind) with transient power demand. In this case, a nuclear reactor is modeled as a constant thermal energy source with nominal capacity of 600 _MWth_ [45]. The thermal-to-electrical conversion efficiency is assumed to be 31.8% [45] for the portion of nuclear thermal energy used to generate electricity. _3.3._ _Hydrogen_ _Production_ _Processes_ Two different hydrogen production processes—i.e., HTSE and low-temperature electrolysis (LTE) (PEM elec trolysis)—are considered in this work to produce the hydrogen together to meet the target demand. LTE uses only electrical energy; while HTSE boosts overall efficiencies by using both heat and electricity to split water into H2 and O2 in solid-oxide electrolyzer cells (SOECs), which are effectively solid-oxide fuel cells (SOFCs) operating in reverse at 600–850 <sup>_◦_</sup> C. The electric power requirement for HTSE is reduced compared to PEM technology for two reasons. First, the high operating temperature enables heat to provide the heat of vaporization to the water molecules to decrease the electrical power needed to split the water molecules. Second, as temperature increases above the boiling point of water, the electric potential needed to split water molecules into hydrogen and oxygen also decreases, so that thermal energy can provide more of the power input. Utilization of thermal energy directly to support water molecule splitting increases efficiency because losses in the turbine generator system of the PHG are avoided. Simulation models that focus on sophisticated process simulations using Aspen HYSYS [46] and Modelica [47] have been developed by Idaho National Laboratory (INL) and were introduced in [48]. However, in order to use those high-fidelity models to support the DRL’s training process, many challenges to computational efficiency and software integration have yet to be solved. Therefore, following the example of previous studies, average and linear models are used to simulate the relationships between hydrogen-production rate and dispatch of thermal and electric power for different purposes. Integrating sophisticated process-simulation models with more realistic physical constraints into the DRL framework will be investigated in future work to increase simulation fidelity for improved decision-making. According to the model and flow information introduced in [48], there are several inputs for the HTSE process: i.e., electricity, thermal energy, water and air. With the focus on electric- and thermal-power dispatch, only electricity and thermal energy are considered in the proposed model; other resources are assumed to always be matched. The following mathematical model is constructed to facilitate the NR-IES simulation process: _Hp_ <sup>_htse_</sup> _p_ <sup>_htse_</sup> = _f_ ( _Pth, Pe_ ) = _Kth_ <sup>_htse_</sup> _th_ <sup>_htse_</sup> _Pth_ + _Ke_ <sup>_htse_</sup> _e_ <sup>_htse_</sup> _Pe_ (1) where _Hp_ <sup>_htse_</sup> is the hydrogen-production rate from HTSE in _kg/s_, _Pe_ is the electric-power input in _MWe_, _Pth_ is the thermal-power input in _MWth_, _Kth_ <sup>_htse_</sup> _th_ <sup>_htse_</sup> and _Ke_ <sup>_htse_</sup> _e_ <sup>_htse_</sup> are corresponding coefficients based on the relationship illustrated in Figure S1. PEM electrolysis uses only electricity to convert water to hydrogen. In [49], [50] the electricity requirement for a LTE subsystem is estimated to be 50.2 kWhe/kg H2, which results in a 66% efficient electrolyzer. The DOE Fuel Cell Technologies Office has a more-aggressive target for low-temperature PEM electrolysis in their multi-year research, development, and demonstration plan [51]. In that plan, the electricity requirement for the LTE subsystem target is 44.7 kWhe/kg H2, which corresponds to an electrolyzer efficiency of 75%. These values are used to model the following linear relationship between the electricity input and hydrogen-production output for PEM electrolysis. Mathematically, the relationship takes the form _p_ <sup>_pem_</sup> = _Ke_ <sup>_pem_</sup> _Hp_ <sup>_pem_</sup> _e_ <sup>_pem_</sup> _Pe_ (2) where _Hp_ <sup>_pem_</sup> _p_ <sup>_pem_</sup> is the hydrogen-production rate from PEM in _kg/s_, _Pe_ is the electric-power input in _MWe_, _Ke_ <sup>_pem_</sup> _e_ <sup>_pem_</sup> is coefficient that define the hydrogen production efficiency. _3.4._ _Energy-Storage_ _Components_ As shown in Figure 1, multiple energy-storage components can be deployed to support operations of a NR IES, including thermal-energy, hydrogen-energy, and battery electrical storage. Simplified models for each of these systems are presented below. _3.4.1._ _Thermal-Energy_ _Storage_ _(TES)_ Among the various thermal-storage concepts, a heat accumulator is a promising option due to its low cost and environmental friendliness [52]. This accumulator uses water as the heat-storage medium, storing and releasing heat energy based on the principle that water at different temperature stratifies into several layers [53]. A small part of the heat is lost due to energy exchange with the external environment [54] and this loss is assumed to be proportional to the amount of previously stored heat [55]. Additionally, heat charging and discharging efficiencies are considered. The stored heat at time step _t_ can be expressed as [56]: _Sth_ ( _t_ ) = _ηth,stSth_ ( _t −_ 1) + _Qch_ ( _t_ ) _ηth,ch −_ _Qdis_ ( _t_ ) _ηth,dis_ (3) where _Sth_ ( _t_ ) and _Sth_ ( _t −_ 1) are the stored heat quantities in the TES at timestep _t_ and _t −_ 1, respectively. _Qch_ ( _t_ ) and _Qdis_ ( _t_ ) are the heat charging and discharging rates at timestep _t_, respectively. _ηth,st_, _ηth,ch_ and _ηth,dis_ are the storage, heat charging, and discharging efficiencies of the TES, respectively. The capacity constraint of the TES can be expressed as: _Sth_ ( _t_ ) _≤_ _S_ <sup>_c_</sup> _th_ <sup>_c_</sup> <sup>,</sup> <sup>where</sup> <sup>_S_</sup> _th_ <sup>_c_</sup> _th_ <sup>_c_</sup> <sup>is</sup> <sup>the</sup> <sup>capacity</sup> <sup>of</sup> <sup>TES.</sup> <sup>The</sup> constraints on maximum charging and discharging rate of TES are 0 _≤_ _Qch_ ( _t_ ) _≤_ _Q_ <sup>_max_</sup> _ch_ <sup>_max_</sup> _ch_ and 0 _≤_ _Qdis_ ( _t_ ) _≤_ _Q_ <sup>_max_</sup> _dis_ <sup>_max_</sup> _dis_ <sup>,</sup> where _Q_ <sup>_max_</sup> _ch_ <sup>_max_</sup> _ch_, _Q_ <sup>_max_</sup> _dis_ <sup>_max_</sup> _dis_ represent the maximum thermal charging and discharging powers, respectively. _3.4.2._ _Hydrogen-Energy_ _Storage_ _(HES)_ A linear charging/discharging model of a hydrogen-storage system is proposed based on the model in [56, 57, 58]. _Vch_ <sup>_h_</sup> _ch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) is the the charging rate of the hydrogen-storage system.</sup> <sup>When</sup> <sup>_V_</sup> _ch_ <sup>_h_</sup> _ch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_>_</sup> <sup>0, the amount of hydrogen in storage</sup> is increasing, and when _Vch_ <sup>_h_</sup> <sup>_h_</sup> _c_ <sup>(</sup> <sup>_t_</sup> <sup>) is the power consumption</sup> _ch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_<_</sup> <sup>0, the amount of hydrogen in storage is decreasing.</sup> <sup>_P h_</sup> _c_ of the compressor in the storage system, which will be considered as a cost factor during operation of the HES. The relationship between a given state of the storage tank and its previous is expressed as: _Sh_ ( _t_ + 1) = _Sh_ ( _t_ ) + _Vch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (4) The amount of hydrogen in storage is constrained to be equal to or less than the hydrogen storage capacity: 0 _≤_ _Sh_ ( _t_ + 1) _≤_ _Sh_ <sup>_c_</sup> <sup>,</sup> <sup>where</sup> <sup>_S_</sup> _h_ <sup>_c_</sup> <sup>is</sup> <sup>the</sup> <sup>HES</sup> <sup>capacity.</sup> <sup>Hydrogen</sup> <sup>charging</sup> <sup>and</sup> <sup>discharging</sup> <sup>rates</sup> <sup>are</sup> <sup>constrained</sup> <sup>to</sup> be equal to or less than the maximum charging and discharging rates: _−V_ <sup>_h_</sup> _ch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_V_</sup> <sup>_h_</sup> _maxdis_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_≤_</sup> <sup>_V_</sup> _ch_ <sup>_h_</sup> _maxch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),</sup> <sup>where</sup> _V_ <sup>_h_</sup> _maxdis_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>and</sup> <sup>_V_</sup> <sup>_h_</sup> _maxch_ <sup>_h_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>are</sup> <sup>the</sup> <sup>maximum</sup> <sup>discharging</sup> <sup>and</sup> <sup>charging</sup> <sup>rates,</sup> <sup>respectively.</sup> _3.4.3._ _Battery_ _Energy_ _Storage_ _(BES)_ A reduced-order battery model in [59] has been used to simulate the repeated charge and discharge behavior of energy storage. Accurate prediction of the battery response to charge and discharge inputs requires models with open circuit voltage (OCV) and Butlere-Volmer kinetic nonlinearities. The model is derived from a pseudo-2D Li-ion cell model [60] by making reasonable assumptions to reduce the orders of model and computational complexities for control purposes. The model used is a single-particle model that includes electrolyte dynamics, nonlinear kinetics, and nonlinear OCVs to improve the model’s operating range. Detailed model formulations can be found in [59]. This model has been implemented in C++ with a Python interface. The model is able to simulate charging and discharging behavior for a battery pack with _Ns_ cells in serial and _Np_ cells in parallel. In total, _NsNp_ cells are employed in the battery pack. The nominal capacity of each cell is 20Ah. Each cell has a minimum voltage of 3.0V and a maximum voltage of 4.2V. The maximum allowable charge and discharge C-rate for this battery model is 3, which means the maximum charging and discharge current for each cell is 60A. In this work, _Ns_ and _Np_ have been configured as shown in Table 3 to create a suitable battery pack for the electric-energy storage system coordinated with other components in the NR-IES. _3.5._ _Electricity_ _Price_ _and_ _Hydrogen_ _Price_ _with_ _Wind-Generation_ _Power_ Historical electricity market-price and wind-generation power data are used to support the NR-IES simulation. These historical data are retrieved from the Pennsylvania-New Jersey-Maryland (PJM) Interconnection website [61, 62]. They are used to build data generators to provide stochastic conditions during the NR-IES operation process. Potential scaling factors are applied to make maximum values fit into the proposed NR-IES simulations with other system components. The scaling is applied to all historical data within the target time period, to ensure similar dynamics for electricity price variations due to randomness in wind-generation and electricity market prices. Figure S2 and Figure S3 illustrate hourly wind power and electricity market price data for the year 2020. Data generators from wind power and electricity market price built from historical data can provide correspond ing data samples according to the interested length of the control horizon or episode—for example, 1 day, 1 week, or 1 month. The analyses in this paper focus on the length-of-control time horizon or episode of 1-day—i.e., 24 hours. The DRL framework makes it easy to adapt episodes of different durations. In order to investigate the performance of DRL algorithms under different control/simulation time steps, the hourly data have been interpolated into the data with time step lengths of 5, 15, and 30 minutes. By using interpolated wind power and electricity market price data, the operational simulation of a NR-IES can be performed at different time resolutions to represent various dynamics and to validate the potential functionality of DRL algorithms for different purposes and operating paradigms. Figure S4 provides an example on this interpolation process. The hydrogen production price has been estimated in [48] using the H2A model [50], including supply-and demand balancing and also natural gas price projections for a given region. The price of natural gas impacts the demand of hydrogen and also impacts hydrogen prices. The work in [48] shows the hydrogen price patterns that contain the demand within a given region for low, medium and high natural gas price projections. The hydrogen price is determined from the potential hydrogen production rate for each natural gas price scenario. Multiple combinations of target hydrogen production rates and hydrogen prices in the low natural gas price scenario have been included in this work. For each scenario in the NR-IES simulation, the hydrogen price is kept constant while the algorithm ensures the target hydrogen production rate is met. Figure S5 illustrates the hydrogen demand/price relationship. 4. Deep Reinforcement Learning Framework for Optimizing Power-Flow Dispatching _4.1._ _Simulation_ _and_ _Training_ _Framework_ _for_ _DRL_ Figure 2 illustrates a promising computational framework based on OpenAI Gym [10] and Ray/RLlib [11] to support the simulation and training process in this work. The operations and interactions between different NR IES sub-system components in Figure 1 have been simulated using the Python-based models and are integrated into the OpenAI Gym environment. Although Gym already includes simulated environments, ranging from very simple games to complex physics-based engines, a custom environment for simulating NR-IES is needed to research DRL algorithms to optimize NR-IES operations. Sub-system NR-IES models are implemented in Python classes. A Gym-based NR-IES simulator has been implemented according to the proposed states, actions, and reward functions from the Markov decision-process model discussed in the next section. The Gym-based NR-IES simulator is further integrated with Ray/RLlib to enable designing, training, and verifying different DRL algorithms for NR-IES power flow dispatch. Ray provides a simple, universal API for building distributed applications. RLlib is an open-source library built on Ray for reinforcement learning that offers both high scalability and a unified API for a variety of applications. RLlib natively supports TensorFlow, TensorFlow Eager, and PyTorch, but most of its internals are framework agnostic. Therefore, the computational framework in Figure 2 enables flexible and highly efficient simulations and training processes for DRL algorithms to optimize NR-IES operations. DRL Agent States Actions ?(?) ?(?) Reward ?(?) Actions Reward ?(?) ?(?) Gym-Based NR-IES Simulator Python-Based NR-IES Models Figure 2: A diagram of proposed DRL computational framework based on OpenAI Gym and Ray/RLlib. _4.2._ _Markov_ _Decision-Process_ _Modeling_ _for_ _NR-IES_ _Power-Flow_ _Dispatch_ A Markov decision process (MDP) model provides the DRL theoretical framework to optimize the NR-IES power flow dispatch process. A MDP model helps to define states, actions, and rewards. In general, a RL agent interacts with an environment over time, as shown in Figure 2. At each timestep t, the agent receives a state vector _⃗st_ in a state space _S_ and selects an action vector _⃗at_ from an action space _A_ following a policy _π_ ( _⃗at|⃗st_ ). The policy governs the agent’s behavior by providing a scalar reward _rt_ for taking action _⃗at_ to transition from state _⃗st_ to the next state _s_ ( _t_ +1) according to the environment dynamics that include reward function _r_ ( _⃗s,⃗a_ ) and state transition probability <u>States</u> <u>(UC:</u> <u>uncontrollable</u> <u>state,</u> <u>C:</u> <u>controllable</u> <u>state)</u> _<u>Snnp</u>_ <u>(UC)</u> <u>Thermal</u> <u>power</u> <u>from</u> <u>nuclear</u> <u>reactor</u> _<u>Sre</u>_ <u>(UC)</u> <u>Electric</u> <u>power</u> <u>from</u> <u>renewable</u> <u>generation</u> _<u>Sep</u>_ <u>(UC)</u> <u>Electricity</u> <u>price</u> _<u>Shp</u>_ <u>(UC)</u> <u>Hydrogen</u> <u>price</u> _<u>Sbes</u>_ <u>(C)</u> <u>BES</u> <u>State</u> <u>of</u> <u>Charge(SOC)</u> _<u>Stes</u>_ <u>(C)</u> <u>TES</u> <u>SOC</u> _<u>Shes</u>_ <u>(C)</u> <u>HES</u> <u>SOC</u> _<u>Sbop</u>_ <u>(C)</u> <u>Electric</u> <u>power</u> <u>output</u> <u>from</u> <u>BOP</u> _<u>Sp</u>_ <u>2</u> _<u>grid</u>_ <u>(C)</u> <u>Electric</u> <u>power</u> <u>to</u> <u>electric</u> <u>grid</u> _<u>Shtse</u>_ <u>(C)</u> <u>Hydrogen</u> <u>production</u> <u>rate</u> <u>from</u> <u>HTSE</u> _<u>Spem</u>_ <u>(C)</u> <u>Hydrogen</u> <u>production</u> <u>rate</u> <u>from</u> <u>PEM</u> _<u>Sh</u>_ <u>2</u> _<u>m</u>_ <u>(C)</u> <u>Hydrogen</u> <u>rate</u> <u>to</u> <u>market</u> Table 1: Proposed states in MDP for DRL framework _<u>A</u>_ <sup>_<u>th</u>_</sup> <u>1</u> <sup>_<u>th</u>_</sup> <u>1</u> <u>Thermal</u> <u>power</u> <u>to</u> <u>HTSE</u> _<u>A</u>_ <sup>_<u>th</u>_</sup> <u>2</u> <sup>_<u>e</u>_</sup> <u>1</u> <u>Electric</u> <u>power</u> <u>to</u> <u>BES</u> _<u>A</u>_ <sup>_<u>e</u>_</sup> <u>2</u> _<u>A</u>_ <sup>_<u>th</u>_</sup> <u>1</u> <u>Thermal</u> <u>power</u> <u>to</u> <u>HTSE</u> _<u>A</u>_ <sup>_<u>th</u>_</sup> <u>2</u> <u>Thermal</u> <u>power</u> <u>to</u> <u>TES</u> _<u>A</u>_ <sup>_<u>e</u>_</sup> <u>1</u> <u>Electric</u> <u>power</u> <u>to</u> <u>BES</u> _<u>A</u>_ <sup>_<u>e</u>_</sup> <u>2</u> <u>Electric</u> <u>power</u> <u>to</u> <u>PEM</u> <sup>_<u>e</u>_</sup> <u>2</u> <u>Electric</u> <u>power</u> <u>to</u> <u>PEM</u> Table 2: Proposed actions in MDP for DRL framework _P_ ( _⃗st_ +1 _|⃗st,⃗at_ ). In an episodic problem, this process continues until the agent reaches a terminal state, and then restarts. The return _Rt_ = <sup>�</sup> _k_ <sup>_∞_</sup> =1 <sup>_γkrt_</sup> <sup>+</sup> <sup>_k_</sup> <sup>is</sup> <sup>a</sup> <sup>discounted,</sup> <sup>accumulated</sup> <sup>reward</sup> <sup>with</sup> <sup>discount</sup> <sup>factor</sup> <sup>_γ_</sup> <sup>_∈_</sup> <sup>(0</sup> <sup>_,_</sup> <sup>1].</sup> <sup>The</sup> agent aims to maximize the expectation of long-term return from each state. In this work, a DRL agent represents the dispatch algorithm and takes system-state information from the NR-IES simulation environment to calculate potential actions at each timestep to maximize the expected revenue while taking into account the stochastic nature of electricity price, renewable generation, etc. In order to train a DRL agent, NR-IES simulations must interact with the DRL agent at each timestep. The power-dispatch problem in a NR-IES is modeled as a finite episodic problem, which considers a given time horizon (e.g., 24 hours) divided into discrete timesteps _Ts_ . Because this is a finite episodic problem, the discount factor _γ_ could be 1. Therefore, its episode return is _Rt_ = <sup>�</sup> _k_ <sup>23</sup> =0 <sup>_rt_</sup> <sup>+</sup> <sup>_k_</sup> <sup>.</sup> Table 1 lists the states in _⃗s_ ( _t_ ) _∈_ _R_ <sup>12</sup> at each timestep, which is used to implement the DRL-based control frame work to optimized NR-IES operations. There are 12 selected states to capture the system status at each timestep, including uncontrollable and controllable states. The uncontrollable states in _S_ are mainly the uncontrollable in puts, such as electricity and hydrogen price, that are provided as inputs for the system. As discussed in Section 3, we assume the nuclear reactor is modeled as constant thermal power source, so that it is an uncontrollable state in the power dispatch process. Renewable electric power generation is assumed to be uncontrollable as well and is taken from historical data, as discussed in Section 3. The controllable states listed in Table 1 can be updated and controlled at each timestep by taking the control actions as listed in Table 2. Four control actions are selected to optimize the power dispatch process in the NR-IES, including the _A_ <sup>_th_</sup> 1 <sup>,</sup> _A_ <sup>_th_</sup> 2 <sup>,</sup> <sup>_A_</sup> 1 <sup>_e_</sup> <sup>and</sup> <sup>_A_</sup> 2 <sup>_e_</sup> <sup>,</sup> <sup>as</sup> <sup>shown</sup> <sup>in</sup> <sup>Table</sup> <sup>2.</sup> <sup>The</sup> <sup>action</sup> <sup>vector</sup> <sup>at</sup> <sup>each</sup> <sup>timestep</sup> <sup>is</sup> <sup>_⃗a_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>_R_</sup> <sup>4.</sup> <sup>The</sup> <sup>control</sup> <sup>actions</sup> <sup>are</sup> completely independent and fully capable of controlling the system with regard to power dispatch, although their number has been minimized to reduce the computational burden of training and to improve stability. Actions that are interdependent among the selected control actions are not directly used as control actions because they can be calculated using available state and action information and the corresponding simulation models. Defined control actions within a NR-IES power dispatch framework are continuous actions, which tend to require specific types of DRL algorithms for control purposes to adapt these continuous action spaces. Another important aspect of the DRL framework is the reward function, which guides how the DRL agent learns from its interactions with the simulation environment. Because the objective for power-dispatch optimization is to maximize revenue, we can use explicit rewards at each time step _t_ : (1) _re_ ( _t_ ) is revenue in dollars by selling product electricity; (2) _rh_ ( _t_ ) is revenue in dollars from selling product hydrogen. In order to regularize the behavior of the DRL agent to ensure the control process operates within a preferred operating region, multiple cost or penalty components _ci_ ( _t_ ) have been considered when the system status deviates from the preferred status. For example, penalties are imposed when BES, TES, and HES status deviate from preferred state values/ranges with regard to violations of internal physical-system constraints, costs for not meeting the target hydrogen production rate, etc. We consider these costs and penalties as implicit rewards. The total reward at time step _t_ can be modeled as: _r_ ( _t_ ) = _re_ ( _t_ ) + _rh_ ( _t_ ) _−_ where _re_ ( _t_ ) and _rh_ ( _t_ ) are calculated as follows: - _αici_ ( _t_ ) (5) _re_ ( _t_ ) = _Pe_ 2 _g_ ( _t_ ) _∗_ _Ts ∗_ _pe_ ( _t_ ) _rh_ ( _t_ ) = _Rateh_ 2 _m_ ( _t_ ) _∗_ _Ts ∗_ _ph_ ( _t_ ) where _Pe_ 2 _g_ ( _t_ ) is electric power supplied to grid in _MW_, _Ts_ is the timestep duration, and _pe_ ( _t_ ) is the electric power price in $ _/MWh_ ; _Rateh_ 2 _m_ ( _t_ ) is the hydrogen selling price in _kg/s_, and _ph_ ( _t_ ) is the hydrogen price at timestep _t_ . Potential penalty components are modeled as follows: _c_ <sup>_bes_</sup> ( _SOCbes_ ( _t_ ) _, SOCbes_ <sup>_low_</sup> _bes_ <sup>_high_</sup> <sup>)</sup> _c_ 1( _t_ ) = _α_ 1 _fc_ <sup>_bes_</sup> _c_ <sup>_tes_</sup> ( _SOCtes_ ( _t_ ) _, SOCtes_ <sup>_low_</sup> _tes_ <sup>_high_</sup> <sup>)</sup> _c_ 2( _t_ ) = _α_ 2 _fc_ <sup>_tes_</sup> _bes_ <sup>_low, SOC_</sup> _bes_ <sup>_high_</sup> _tes_ <sup>_low, SOC_</sup> _tes_ <sup>_high_</sup> _hes_ <sup>_low, SOC_</sup> _hes_ <sup>_high_</sup> _c_ <sup>_hes_</sup> ( _SOChes_ ( _t_ ) _, SOChes_ <sup>_low_</sup> _hes_ <sup>_high_</sup> <sup>)</sup> _c_ 3( _t_ ) = _α_ 3 _fc_ <sup>_hes_</sup> _c_ 4( _t_ ) = _α_ 4 _|Rateh_ 2 _m_ ( _t_ ) _−_ _Rate_ <sup>_target_</sup> _h_ 2 _m_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_|_</sup> where _SOCbes_ ( _t_ ), _SOCtes_ ( _t_ ), _SOChes_ ( _t_ ) are states of charge of the BES, TES and HES at timestep _t_ . Each storage system has its own cost function with a specific preferable operating range, i.e., [ _SOC_ <sup>_low_</sup> _, SOC_ <sup>_high_</sup> ]. A potential functional format for _fc_ <sup>_bes_</sup> _c_ <sup>_bes_</sup> _, fc_ <sup>_tes_</sup> _c_ <sup>_tes_</sup> _, fc_ <sup>_hes_</sup> _c_ <sup>_hes_</sup> is illustrated in Figure S6. _Rateh_ 2 _m_ ( _t_ ) is the hydrogen selling rate, and _Rate_ <sup>_target_</sup> _h_ 2 _m_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>specified</sup> <sup>target</sup> <sup>selling</sup> <sup>rate.</sup> Within the reward function, revenues collected by selling electricity and hydrogen are positive rewards while the costs of penalties are modeled as negative rewards to regularize the DRL agent’s behavior. _αi_ is a weighting parameter to adjust the importance of costs and penalties. Additional reward terms can be included to regularize the DRL agent’s behavior. For example, physics-based reward functions will be investigated in future research. As shown in Table 1, states in the DRL framework relate to different physical variables in a NR-IES. In physical systems, these states have potential values at very different scales. For example, _Snnp_ could be 600 _MWth_ while the state of charge (SOC) of the BES, TES, and HES could be between 0 and 1. In order to make the DRL agent’s training process more stable, these states need to be normalized before they are passed to the DRL agent for learning. In this work, these states have been normalized to either [0 _,_ 1] or [ _−_ 1 _,_ 1] based on their potential physical ranges. After normalization, the DRL agent can consider all states with similar importance so as to improve learning performance. Actions from the DRL agent are also normalized to the range of [ _−_ 1 _,_ 1] to mitigate the effects of different arbitrary scales. For example, as configured in Table 3, thermal power to HTSE ( _A_ <sup>_th_</sup> 1 <sup>) has a range between</sup> 2 and 40 _MWth_ and electric power to PEM ( _A_ <sup>_e_</sup> 2 <sup>)</sup> <sup>has</sup> <sup>a</sup> <sup>range</sup> <sup>between</sup> <sup>10</sup> <sup>and</sup> <sup>150</sup> <sup>_MWe_</sup> <sup>.</sup> <sup>The</sup> <sup>normalization</sup> <sup>process</sup> on states and actions helps the DRL learning process to be smooth and stable. States, actions, and corresponding rewards in a sampled episode are illustrated in the Figure S7-S9. _4.3._ _Deep_ _Reinforcement_ _Learning_ _Algorithms_ _for_ _NR-IES_ _Operation_ RL generally can be divided into model-based and model-free learning. Model-based RL approaches usually attempt to model the environment and then select the optimal policy based on the learned-environment model. Model-free learning approaches rely on trial-and-error experience to learn the optimal policy. This paper will focus on studies of model-free approaches. Maximizing the revenue of the NR-IES’s operation involves optimizing both thermal and electric power dispatch across different sub-system components. Based on the MDP model described above, continuous control actions include dispatching thermal power to the HTSE( _A_ <sup>_th_</sup> 1 <sup>)</sup> <sup>sub-system,</sup> <sup>thermal</sup> <sup>power</sup> <sup>to</sup> <sup>the</sup> <sup>TES(</sup> <sup>_Ath_</sup> 2 <sup>),</sup> <sup>electric</sup> <sup>power</sup> to the BES( _A_ <sup>_e_</sup> 1 <sup>),</sup> <sup>and</sup> <sup>electric</sup> <sup>power</sup> <sup>to</sup> <sup>the</sup> <sup>PEM(</sup> <sup>_Ae_</sup> 2 <sup>)</sup> <sup>sub-system.</sup> <sup>In</sup> <sup>this</sup> <sup>paper,</sup> <sup>three</sup> <sup>state-of-art</sup> <sup>DRL</sup> <sup>algorithms</sup> that can handle continuous-action space are investigated to determine their performance in this application. These three algorithms are: two-delayed deep deterministic policy gradient (TD3), soft-actor critic (SAC), and proximal policy optimization (PPO). TD3 and SAC are actor-critic algorithms, and PPO is a policy-gradient algorithm. These three algorithms have been described in detail in the open literature and are only briefly introduced here. For all three methods, the applied stochastic policies typically become less random over the course of training as the update rules encourages further exploitation of rewards that have already found. Reducing the randomness or scale of introduced Gaussian noise in the action space as the training progresses increases training precision but can cause the policies to become trapped in local optima. _4.3.1._ _Twin_ _Delayed_ _Deep_ _Deterministic_ _Policy_ _Gradient_ General procedures of the TD3 algorithm are described in [63]. TD3 trains a deterministic policy in an off-policy way. Because the policy is deterministic, if the agent were to explore on-policy in the beginning, it would likely not try a sufficiently wide variety of actions to find fully optimized learning signals. To widen the policy exploration space, uncorrelated mean-zero Gaussian noise must be added to the actions during training. To achieve high quality training data at the end, the scale of the added noise is reduced over the course of training. _4.3.2._ _Soft-Actor_ _Critic_ SAC, proposed and described in [64, 65], is another off-policy actor-critic DRL algorithm based on the maximum entropy RL framework. In this framework, the actor aims to maximize expected reward while also maximizing entropy. By combining off-policy updates with a stable stochastic actor-critic formulation, SAC achieves state-of the-art performance on a range of continuous-control benchmark tasks, outperforming prior on-policy and off-policy methods. _4.3.3._ _Proximal_ _Policy_ _Optimization_ PPO [66] is a family of policy-gradient methods for RL that alternate between sampling data through interaction with the environment and optimizing a “surrogate” objective function using stochastic gradient ascent. General procedures of PPO algorithm are described in [63]. PPO is an on-policy algorithm that can be used for environments with either discrete or continuous action spaces, and PPO methods have some of the benefits of trust-region policy optimization (TRPO) [67], which update policies by taking the largest step possible to improve performance while maintaining a constrained difference between new and old policies. PPO methods, in contrast with TRPO methods, are much simpler to implement, more general, have better sample complexity, and seem empirically to perform at least as well as TRPO. 5. Results _5.1._ _NR-IES_ _Simulator_ _Configurations_ Table 3 shows the main configurations in the NR-IES simulator, which are used to construct the simulations for the DRL training and testing process. These configurations may not exactly match a physically built NR-IES system. Some values are obtained from the literature, such as total reactor thermal power [45], hydrogen price, and hydrogen production efficiencies [48]. Other values, such as the maximum charging and discharging rate for the TES and HES units, are randomly selected just to make sure these systems have sufficient capability to adapt control actions from the DRL agent. Relationships between capital cost constraints and engineering performance are not pursued in detail in this preliminary work. Sophisticated optimization of trade-offs between capital equipment cost and the performance of minor unit operations is reserved for future work. In this regard, some of the results presented below do not represent the performance of equipment that is typically installed; however, the results do indicate opportunities for improvements in specific unit operations that could optimize the overall system. The configuration of the NR-IES is summarized in Table 3. A baseline analysis using PSO is presented in the next section, while Section 5.5 presets the performance and benefits of the selected DRL algorithms under different targeted hydrogen production rates and prices. Multiple options for simulation and control timesteps _Ts_ <u>Total</u> <u>thermal</u> <u>power</u> <u>from</u> <u>NPP</u> <u>(MWth)</u> <u>600</u> <u>Efficiency</u> <u>of</u> <u>thermal</u> <u>energy</u> <u>to</u> <u>electricity</u> <u>in</u> <u>BOP</u> <u>0.318</u> <u>Minimum</u> <u>thermal</u> <u>power</u> <u>for</u> <u>HTSE</u> <u>(MWth)</u> <u>2</u> <u>Maximum</u> <u>thermal</u> <u>power</u> <u>for</u> <u>HTSE</u> <u>(MWth)</u> <u>20</u> <u>Minimum</u> <u>electric</u> <u>power</u> <u>for</u> <u>PEM</u> <u>(MWe)</u> <u>10</u> <u>Maximum</u> <u>electric</u> <u>power</u> <u>for</u> <u>PEM</u> <u>(MWe)</u> <u>200</u> <u>HES</u> <u>capacity</u> <u>(kg)</u> <u>72000</u> <u>HES</u> <u>initial</u> <u>SOC</u> <u>0.0</u> <u>TES</u> <u>capacity</u> <u>(MWhth)</u> <u>10000</u> <u>TES</u> <u>initial</u> <u>State</u> <u>of</u> <u>Charge</u> <u>(SOC)</u> <u>0.0</u> <u>TES</u> <u>maximum</u> <u>charging/discharging</u> <u>power</u> <u>(MWth)</u> <u>1000</u> <u>HES</u> <u>maximum</u> <u>discharging/charging</u> <u>rate</u> <u>(kg/s)</u> <u>10</u> <u>Number</u> <u>of</u> <u>cells</u> <u>in</u> <u>parallel</u> <u>in</u> <u>BES</u> <u>1000</u> <u>Number</u> <u>of</u> <u>cells</u> <u>in</u> <u>serial</u> <u>in</u> <u>BES</u> <u>1000</u> <u>BES</u> <u>initial</u> <u>SOC</u> <u>0.1</u> <u>BES</u> <u>maximum</u> <u>charging</u> <u>power</u> <u>(MWe)</u> <u>100</u> <u>Required</u> <u>hydrogen</u> <u>production</u> <u>rate</u> <u>to</u> <u>market</u> <u>(kg/s)</u> <u>1.15</u> <u>Hydrogen</u> <u>price</u> <u>($/kg)</u> <u>1.8</u> Table 3: Main configurations in NR-IES Simulator are investigated, including 3600 _s_, 1800 _s_, 900 _s_, and 300 _s_ . The control performance under different timesteps is illustrated in Section 5.4. The investigated time horizon or episode is 24 _hours_ . All studies, including training and testing, were conducted on the High Performance Computing system at INL. _5.2._ _Baseline_ _Analysis—Particle-Swarm_ _Optimization_ PSO [68] was selected to provide a baseline analysis. PSO is a computational method that optimizes a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. It solves a problem by having a population of candidate solutions, here dubbed particles, and moving these particles around in the search space according to simple mathematical formulae over the particle’s position _Pi_ <sup>_n_</sup> _i_ <sup>_n_</sup> <sup>.</sup> <sup>PSO</sup> <sup>is</sup> <sup>a</sup> _i_ <sup>_n_</sup> <sup>and</sup> <sup>velocity</sup> <sup>_V_</sup> _i_ <sup>_n_</sup> black-box optimization technology and is a promising model-free method to optimize complex operation problems. It has been demonstrated that PSO can produce high quality results quickly and inexpensively and can also be parallelized. Moreover, it does not use the gradient of the problem being optimized, so it does not require the problem to be differentiable. These characteristics make PSO a promising option to integrate with the NR-IES simulator for power-dispatch optimization. However, PSO does require that the system inputs and dynamics remain unchanged during the optimization process, so that an optimal solution from PSO is limited to a specific input configuration. In this case, it is difficult for PSO to achieve a good performance when the system has stochastic inputs, and consequently, PSO has poor generalization capabilities when the inputs are changed, as illustrated below. In this work, PySwarms [69], which is an extensible research toolkit in Python, have been used in the imple mentation. PySwarms enable basic optimization with PSO and interaction with swarm optimizations. Figure 3 illustrates how we integrate PSO and a NR-IES simulator to demonstrate power dispatch optimization. This dia gram shows the optimization process at iteration _n_ out of a total number of _N_ iterations, in which _I_ is the total number of particles. In order to adapt the state action/reward architecture, the solution vector _⃗Pn_ <sup>_i_</sup> <sup>for each particle</sup> _i_ at each iteration _n_ needs to cover actions for all timesteps within the time horizon of 24 _h_, which is expressed as _⃗Pn_ <sup>_i_</sup> <sup>=</sup> <sup>[</sup> <sup>_⃗a_</sup> <sup>(1)</sup> <sup>_, ...,⃗a_</sup> <sup>(</sup> <sup>_T_</sup> <sup>)]</sup> <sup>to</sup> <sup>capture</sup> <sup>all</sup> <sup>action</sup> <sup>vectors</sup> <sup>for</sup> <sup>during</sup> <sup>the</sup> <sup>_T_</sup> <sup>timesteps.</sup> <sup>The</sup> <sup>total</sup> <sup>number</sup> <sup>of</sup> <sup>timesteps</sup> <sup>_T_</sup> depends on time horizon and the size of the control timestep _Ts_ . As proposed in Section 4, each action vector has four different actions, so the length of the solution vector is 4 _T_, which is 96 for _Ts_ = 3600 _s_, 192 for _Ts_ = 1800 _s_, 384 for _Ts_ = 900 _s_ and 1152 for _Ts_ = 300 _s_ . When the simulation horizon and control timestep are reduced, the dimension of the optimization problem becomes larger, and the problem becomes more difficult to solve. #### PSO Iteration # ? Particle #1 Particle #? <mark>?</mark> ! <sup>"</sup> <mark>= [?</mark> ⃗ <mark>1</mark> <mark>, …, ?</mark> ⃗ <mark>?]</mark> #$×" ?⃗1 ?⃗? ?⃗? Gym-Based NR-IES Simulator ?? # ?! <sup>"</sup> = # ?(?) $%" <mark>?</mark> ! <sup>&</sup> <mark>= [?</mark> ⃗ <mark>1</mark> <mark>, …, ?</mark> ⃗ <mark>?]</mark> #$×" ?⃗1 ?⃗? ?⃗? Gym-Based NR-IES Simulator ?? # ?! <sup>&</sup> = # ?(?) $%" Figure 3: Diagram of particle-swarm optimization using the Gym-based NR-IES simulator and showing the optimization with _I_ particles at iteration _n_ . _5.3._ _Optimality_ _Analysis_ _on_ _DRL’s_ _Solutions_ For this work, a deterministic simulator for the operation of the NR-IES is created by using wind power and electricity market price data from a single day that is kept constant during the entire training process. This approach facilitates investigating the basic functionality of the DRL framework for achieving an optimal solution in a controlled environment. Figure 4 illustrates the distributions of episode returns for TD3, SAC, PPO on 200 test runs after a training process with 1000 iterations using RLlib. Episode returns vary between different test runs because the learned policy is probabilistic with introduced noise or stochasticity. The best result from the baseline PSO algorithm is a return of $201 _._ 9 _K_ . The DRL algorithms achieve superior returns compared to the PSO method. Specifically, the mean episode returns from the TD3, SAC, and PPO are $207 _._ 1 _K_, $205 _._ 1 _K_, and $207 _._ 8 _K_, respectively, which represent 2.6%, 1.6%, and 2.9% increases over the return of the baseline PSO algorithm. As noted in Section 4, SAC is designed to learn stochastic policies directly, which creates more variance during the testing process than using PPO or TD3. Figure 5 and 6 provide the realization of states and actions across the entire episode when controlled using the trained DRL agents from TD3, SAC, and PPO. A group of states (i.e., total thermal power, wind power, electricity market price, hydrogen market price) are identical among the three algorithms because they use the same given inputs for all algorithms’ training and testing. Looking at the states on electricity market price and the electric power to grid, we can see more electricity will be produced and sold to the market when the electricity price rises after being relatively low, such as occurs at 7 hours. Selling more electricity to the market requires that less 200 175 150 125 100 75 50 25 0 PSO PPO SAC TD3 <u>198</u> <u>200</u> <u>202</u> <u>204</u> <u>206</u> <u>208</u> Episode Return ($1000) Figure 4: Episode return distribution of 200 tests for TD3, SAC and PPO compared with the mean return from PSO. hydrogen be produced by the HTSE and PEM systems and that hydrogen be consumed from the HES to meet hydrogen sales requirements. It is clear the trained DRL agents can automatically determine how to distribute both thermal and electric energy according to the dynamic electricity market price and available wind power. The results also show differences in the selection of controlled actions from the DRL algorithms. Due to the complexity of the example problem, it is almost infeasible to find the globally optimal solution with limited computational resources, especially when the stochastic inputs of wind power and electricity market price are applied. Current results from DRL algorithms have achieved satisfactory performance using modest computational resources for training process. The more powerful generalization capabilities of DRL algorithms will be illustrated in the following section. PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) 1.85 1.80 1.75 400 300 200 100 0 1.200 1.175 1.150 1.125 1.100 620 600 580 1.0 0.8 0.6 0.4 0.2 0.0 200 100 0 PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) 50 40 30 20 0.06 0.04 0.02 0.00 1.0 0.8 0.6 0.4 0.2 PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) 35 30 25 20 15 0.15 0.10 0.05 0.00 0.6 0.4 0.2 PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) Figure 5: System states controlled by the trained DRL agents. _5.4._ _Performance_ _Analysis_ _and_ _Generalization_ _Capability_ _with_ _Stochastic_ _Inputs_ In Section 5.3 a fixed single day wind power profile and an electricity market price profile was used for all training process simulations. In this section, the historical wind power and electricity market price data are varied 40 30 20 10 100 50 0 50 100 PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> <u>time (hour)</u> PPO SAC TD3 <u>0</u> <u>5</u> <u>10</u> <u>15</u> <u>20</u> time (hour) PPO SAC TD3 PPO SAC TD3 500 0 500 1000 120 100 80 60 40 20 Figure 6: Control actions of the trained DRL agents. to add stochastic behavior to the simulations. The historical data of an entire year, as illustrated in Figure S2 and S3, was segmented into a data set for 365 days. In order to test the generalization from the trained DRL agent, the historical data set was split into training and testing data sets, as shown in Figure 7. About 80% was allocated for training data, and 20% for testing data. The DRL’s training processes only use inputs from the wind power and electricity market price from the training data set; so that the test simulations mimic real-time decision making in a real-world environment. During the training process, Monte Carlo sampling is applied to sample the input profiles for wind power and electricity market price for instantiations of the NR-IES simulator. DRL agents interact with the simulator instance to collect trajectories with ( _st, at, rt, st_ +1) for training purpose. Once the training process is done, the trained DRL agent is tested on the simulated instances that are created using the testing data sets. This training and testing framework is necessary to investigate the generalization capability of the DRL agents when confronted with real-time stochastic conditions. During the testing process, the trained DRL agents make use of state information from the simulator to generate control actions. The rewards for control actions are collected and summarized in the total-episode return in each test. Multiple scenarios are investigated with control timesteps _Ts_ of 3600 _s_, 1800 _s_, 900 _s_, and 300 _s_ to creates different simulator instances. In general, as the size of the timestep decreases it becomes more difficult to achieve optimal control performance over the entire episode because the total number of control actions for the entire episode increases and the optimization problem becomes more difficult. DRL Agent Training using RLlib Trained DRL Agent Gym-Based NR-IES Simulator Python-Based NR-IES Models Gym-Based NR-IES Simulator Python-Based NR-IES Models ?(?) Episode Returns Wind Generation Power Historical Data Training/Testing Data Separation Electricity Market Price Historical Data ?(?) ?(?) ?(?) <u>?(?)</u> ?(?) Training Input Data Testing Input Data Monte Carlo Sampling Monte Carlo Sampling Figure 7: The proposed DRL training and testing framework in this work. The PSO algorithm has been applied to build the baseline of potential benefits from conventional optimization methods. The proposal framework in Figure 3 is used to find optimal solutions from the PSO method. Similar to the training and testing process for the DRL frameworks, PSO algorithms are investigated in the same way so that valid comparisons are made between the PSO and DRL algorithms. The wind power and electricity market price for each specific day in the historical data are applied to create each instance of the simulator, then the PSO algorithm is used to find the best return it can achieve. Figure 8 provides the best returns from PSO on each day in the training data set. The best episode returns varies because the wind power and electricity market price change daily. Larger episode returns are generally obtained using longer timesteps. Several factors can reduce the best-achievable episode return. First, short timesteps use interpolations of the wind power and electricity market-price data, such that in some cases the lower wind power prices will be used during portions of hour segments, which reduces the achievable best return. Another challenge is that shorter timesteps increase the dimension of the control problem. As discussed in the PSO framework in Figure 3, the number of decision variables can increase from 96 to 1152 when changing the length of timestep _Ts_ from 3600 _s_ to 300 _s_, which makes the optimization problem more difficult to solve. 300 250 200 150 100 50 0 300 250 200 150 100 50 0 <u>Ts: 60min</u> Mean Return: 197.94 <u>0</u> <u>100</u> <u>200</u> <u>300</u> Day Number <u>Ts: 15min</u> Mean Return: 182.41 <u>0</u> <u>100</u> <u>200</u> <u>300</u> Day Number 300 250 200 150 100 50 0 300 250 200 150 100 50 0 <u>Ts: 30min</u> Mean Return: 191.13 <u>0</u> <u>100</u> <u>200</u> <u>300</u> Day Number <u>Ts: 5min</u> Mean Return: 167.89 <u>0</u> <u>100</u> <u>200</u> <u>300</u> Day Number Figure 8: Episode returns from PSO optimization across all studied days in the training data set under four different _Ts_ . Figure 9 illustrates the historical mean-episode returns for training processes with 3000 iterations. It is important to distinguish between episodes and iterations. The number of iterations, number of timesteps in each iteration, and number of time steps in each episode all determine the number of episodes simulated in the training process as determined by the configurations in RLlib. The mean-episode returns on all days in training data from the PSO method are used as baselines to compare the mean-episode returns from the other DRL method’s training histories. Results show that PPO and SAC can surpass or approach the performance of the PSO method in all studied timestep durations. TD3 always has a poorer performance than PPO and SAC. The results also demonstrate the PPO has a more-stable training history than SAC and TD3. PPO works well across four types of simulators with different time step durations. SAC also shows a similar training performance as PPO, but it has more fluctuations. PPO is an on-policy algorithm which means that it learns its value function from observations made by the current policy exploring the environment. SAC is an off-policy algorithm which means that it can use observations made by previous policies’ exploration of the environment. The trade-off between off-policy and on-policy learning is often stability against data efficiency. On-policy algorithms tend to be more stable but data hungry, whereas off-policy algorithms tend to be the opposite. This is the reason that PPO usually perform more stably than SAC algorithm, but PPO requires more data during the training process and the training process for PPO is slower than SAC. According to the training-performance results in Figure 9, PPO is the best choice for optimizing power dispatch in this type of NR-IES, while SAC is another strong candidate. Additional results presented below reinforce that conclusion. 200 100 0 100 200 300 400 200 100 0 100 200 300 400 <u>Ts: 60min</u> PSO PPO SAC TD3 <u>0</u> <u>500</u> <u>1000</u> <u>1500</u> <u>2000</u> <u>2500</u> <u>3000</u> Number of Iterations <u>Ts: 15min</u> PSO PPO SAC TD3 <u>0</u> <u>500</u> <u>1000</u> <u>1500</u> <u>2000</u> <u>2500</u> <u>3000</u> Number of Iterations 200 100 0 100 200 300 400 200 100 0 100 200 300 400 <u>Ts: 30min</u> PSO PPO SAC TD3 <u>0</u> <u>500</u> <u>1000</u> <u>1500</u> <u>2000</u> <u>2500</u> <u>3000</u> Number of Iterations <u>Ts: 5min</u> PSO PPO SAC TD3 <u>0</u> <u>500</u> <u>1000</u> <u>1500</u> <u>2000</u> <u>2500</u> <u>3000</u> Number of Iterations Figure 9: Training trajectories on mean-episode returns from DRL (TD3, SAC, PPO) optimizations across all studied days in the training data set under four different _Ts_ . In order to test generalization capabilities, the trained DRL agents have been further tested using different NR-IES simulators, which are created by injecting wind power and electricity market price data in the testing data set. The potential dynamics in the new testing simulations have significant difference compared to those used in the training process due to changes in the inputs. Importantly, PSO requires perfect knowledge of input information to get optimized solutions. To maximize the performance of PSO during testing, the best return on training data are selected to control the simulator with the testing inputs. The histograms in Figures 10, S10 and S11 compare results from the DRL algorithms for different time steps _Ts_ durations. With each _Ts_, 200 different test inputs were randomly sampled from testing data sets to check control performance. Test results from PSO serve as baselines in each comparison. As shown in these figures, PSO cannot achieve good performance on the testing inputs, which means that pre-optimized solutions using training input data cannot provide a good generalization and acceptable performance on unknown new inputs. This failure is a serious shortcoming in conventional methodologies in applications that depend on real-time stochastic parameters, such as wind power and electricity market price. PPO, as shown in Figure 10, demonstrated noteworthy generalization capabilities. Similarly, SAC provides good performance as shown in Figure S10. However, TD3 demonstrated poorer performance compared to PPO and SAC for simulation time steps _Ts_ below 60 _minutes_, as shown in Figure S11. The testing variances from PPO and SAC also become larger when _Ts_ decreases because the increased number of time steps in one episode makes the control problem more complex and trade-offs between training control performance and testing control performance become challenging. 100 80 60 40 20 0 100 80 60 40 20 0 <u>Ts: 60min</u> PSO PPO <u>100</u> <u>125</u> <u>150</u> <u>175</u> <u>200</u> <u>225</u> Episode Return ($1000) <u>Ts: 15min</u> PSO PPO <u>100</u> <u><mark>1</mark></u> <u>25</u> <u>150</u> <u>175</u> <u>200</u> <u>225</u> Episode Return ($1000) 100 80 60 40 20 0 100 80 60 40 20 0 <u>Ts: 30min</u> PSO PPO <u>100</u> <u>125</u> <u>150</u> <u>175</u> <u>200</u> <u>22</u> <u><mark>5</mark></u> Episode Return ($1000) <u>Ts: 5min</u> PSO PPO <u>100</u> <u>12</u> <u><mark>5</mark></u> <u><mark>15</mark></u> <u>0</u> <u>175</u> <u>200</u> <u>225</u> Episode Return ($1000) Figure 10: Comparisons on mean-episode return between PPO and PSO optimization on testing data with Monte Carlo sampling. _5.5._ _Performance_ _Analysis_ _on_ _Different_ _Hydrogen_ _Production_ _Scenarios_ Realistic hydrogen pricing depends on the market supply/demand correlation. This work assumes that hydro gen market demand will be met by setting the required hydrogen production rate, which corresponds to specific hydrogen prices according to the relationship in Figure S5. All analyses described above are studied under a given combination of hydrogen-production rate (1 _._ 15 _kg/s_ ) and price ($1 _._ 8 _/kg_ ). Results in Figures 11 and 12 have stud ied the performance of DRL algorithm under multiple hydrogen-production rates from 0 _._ 4 _kg/s_ to 1 _._ 3 _kg/s_ . The corresponding hydrogen price data are obtained from Figure S5 under the case of low natural gas price. Results are obtained by following the same training and testing procedures in Figure 7. Based on the above analyses, the PPO algorithm usually has better performance than either SAC or TD3. Therefore, only the PPO algorithm has been used to go through the entire study of different conditions of hydrogen production rate and price. The same computing process has been conducted for PSO algorithm as a conventional baseline. Figure 11 illustrates the mean-episode returns under different hydrogen-production conditions for both training and testing inputs. The corresponding improvements in percent for these cases are also included, shown as a bar plot. Training performance is usually better than testing performance for each algorithm. It is clear that the PPO is always better than the PSO for both training and testing performance with regard to mean-episode returns. The mean improvement percentages are 13.9% on training and 29.4% on testing. Furthermore, the improvement of the DRL algorithm (in this case PPO) compared to PSO is not linear. PPO has the least improvement when the production rate is around 0 _._ 9 _kg/s_, which is only a 2.8% improvement in training results, and 8.2% improvement in testing results. The potential improvements become larger as the production rate increases or decreases from 0 _._ 9 _kg/s_ . For example, the potential improvement at 0 _._ 5 _kg/s_ is 23.7% for training and 37.1% for testing, and the potential improvement at 1 _._ 3 _kg/s_ is 19.5% for training and 59.6% for testing. As expected, more improvements can generally be achieved from the testing process, indicating that the DRL algorithm has superior generalization capability than the conventional optimization (e.g., PSO) method tested for this application. 250 200 150 100 50 0 <u>0.4</u> <u>0.5</u> <u>0.6</u> <u>0.7</u> <u>0.8</u> <u>0.9</u> <u>1.0</u> <u>1.15</u> <u>1.2</u> <u>1.3</u> Hydrogen Production Rate(kg/s) PPO(Train) PSO(Train) PPO(Test) PSO(Test) Train Test 100 80 60 40 20 0 Figure 11: Comparisons between PPO and PSO on average performance of both training and testing under different hydrogen production scenarios. Figure 12 further shows the detailed control variance during the testing process for both PPO and PSO algo rithms. The revenue basis from producing hydrogen is also illustrated, which is calculated as _hydrogen_ _price_ ($ _/kg_ ) _×_ _hydrogen_ _production_ _rate_ ( _kg/s_ ) _×_ _episode_ _length_ (24 _∗_ 3600 _s_ ). If the system control is adequate, the predefined hydrogen-production contract will be met at all times during each episode. The potential additional gains are received from selling electricity according to a specific electricity market price in each episode. According to the configurations in Table 3, the thermal power from the nuclear reactor is constant and the wind power has a dynamic power range from 0 to 100 _MWe_ . For each timestep, both of them comprise the total usable power resources to pro duce hydrogen and electricity. Hydrogen production requires both electricity and thermal energy when both HTSE and PEM are operated to meet the target hydrogen-production rate. In this case, when the target production rate increases, more thermal and electric power will be used to produce hydrogen; thus, there is less flexibility for the system to adapt to the dynamic electricity market price to seek more revenue gains, which is the same pattern as shown in Figure 12. Much greater revenue gains are received from selling electricity when the hydrogen production rate is 0 _._ 4 _kg/s_, compared to the production rate of 1 _._ 3 _kg/s_ . Results show that DRL-based (PPO) method has substantially better control performance and much less control variance the conventional PSO algorithm. The PSO algorithm has poor test performance most of time because the control solutions coming from previous calculations that use training data do not have good generalization capability. In reality, test solutions from the PSO algorithm cannot generally be considered as feasible solutions, especially for high hydrogen production rates that have low optimization flexibility. However, the DRL algorithm exhibits strong performance, especially at high production rates when potential gains are large and optimization flexibility is low. The trained agents and strategies from one group of data, which could be historical data in realistic situations, can be applied to new, future situations and conditions, and good performance can still be achieved, which is exactly the objective for realistic stochastic conditions. 225 200 175 150 125 100 75 50 DRL(PPO) PSO Hydrogen Revenue Basis <u>0.4</u> <u>0.5</u> <u>0.6</u> <u>0.7</u> <u>0.8</u> <u>0.9</u> <u>1.0</u> <u>1.15</u> <u>1.2</u> <u>1.3</u> Hydrogen Production Rate(kg/s) Figure 12: Uncertainty analysis of testing performance under different hydrogen production scenarios. 6. Discussion Comprehensive simulations have demonstrated the promising benefits and performance advantages from DRL based methodologies. Main observations include: (1) DRL algorithms are better suited to find optimal solutions than the conventional PSO algorithm in the dynamic and stochastic operating environment that is typical of a NR-IES; (2) DRL algorithms, such as PPO, SAC and TD3, can provide much better generalization capabilities compared to a conventional PSO algorithm when tested under different stochastic inputs and length of timesteps. Among the tested DRL algorithms, PPO has the best performance; (3) Achievable improvements would be varied under different settings of target hydrogen production rates. On average, PPO can achieve 13.9% more mean episode returns from training processes and 29.4% more mean-episode returns from testing processes compared to PSO for the same optimization process. The computational efficiency of the proposed DRL algorithms could include the computational cost from both training and testing phases. The training time of proposed DRL approaches could be varied by their specific training procedures and configurations, the selection of neural network architecture, the needs of hyper-parameter tuning, etc. The developed computational framework based on Ray/RLlib has enabled the capability of parallelized training processes and can accelerate the training process substantially using HPC clusters. In the testing phase, the trained DRL models (i.e. neural networks) conduct forward processes to calculate the control actions, which is very computationally efficient compared to the conventional PSO algorithm that requires solving the optimization problem separately for each decision step. The proposed DRL control framework focuses on the high-level power dispatch from an economic perspective with consideration of long-term planning and operation optimization. The power generation control actions by optimizing economic benefits would serve as the reference signals for low-level real-time control framework, which is not within the scope of this work. Sub-system level real-time controls consider detailed physical constraints to perform safe and reliable control actions with the guidance from DRL’s high-level optimization. In such a hierarchical control framework, DRL provides guidance to optimize high-level and long term behaviors but does not necessarily provide direct control over the sub-systems. This approach can utilize the strength of DRL methods on maximizing the long-term benefits and at the same time alleviate the safety concerns on DRL’s control actions and allow the low-level real-time control algorithms to ensure the safe and reliable operation for NR-IES. In order to maximize revenue from operating a NR-IES as described in this work, it is necessary to optimize the thermal- and electric-power dispatch strategy according to realistic dynamics from renewable-generation power and electricity market price. Achieving this objective requires energy storage systems, such as TES, BES and HES, to buffer the energy types when necessary. These energy-storage components give a NR-IES the flexibility to optimize its operations to sell electricity at a higher price while at the same time, meeting hydrogen production requirements. However, adding these energy storage components also increases capital costs, operation and maintenance costs, etc. Consideration of detailed cost optimization, including improved engineering design, is not within the scope of this work. Different configurations of the system components in a NR-IES may also limit the potential flexibility for optimization. Future research can apply the DRL framework to optimze the system configuration, including scale and engineering complexity, performance and cost of each subsystem to maximize long-term net revenue. Another interesting future topic would be studying the DRL framework’s performance under episodes with longer time horizons, such as a week or a month. As noted above, the uncertainties and optimizing challenges increase with longer time horizons. DRL with potentially continuous training using updated historical data would be a more powerful method to handle these types of situations to achieve better performance. DRL framework heavily relies on simulations for training processes before it can be deployed into a real-world physical system. Significant data are needed for training to obtain a functional DRL agent with good performance. The continuous explorations during the training process make the training process unsuitable for use directly on a real physical system. Therefore, a sophisticated simulator for NR-IES operations is crucial to train a functional DRL agent for real-world deployment. This work has developed a minimum viable simulator to research and develop DRL algorithms. Main operational logic and interactions between different system components have been implemented. In the future, high-fidelity models will be helpful to create more-comprehensive simulations to support the training DRL algorithms, such as using physics-based HTSE and PEM models or considering more physical operational limitations in the simulations. The reward function is also crucial in the DRL framework. It determines the agent’s behavior to a great extent. A promising reward function has been developed in this work that considers the direct revenues and also penalties for violating hard requirements. Improved design of the reward function and improved application of physical constraints could make the results more realistic. For example, the ramping rates of the HTSE and PEM system, their lower operating limits, and effects of performance degradation over time due to operating conditions could improve usefulness of the simulator predictions. This work provides a first attempt to investigate the potential benefits of DRL for optimizing the operation of a NR-IES. Results and performance illustrated in this paper use fully connected neural networks for a policy network or a state-value network in the DRL algorithms. However, the neural network’s structures are not yet optimized. This will be another effort that requires further investigation in future research to obtain more benefits from DRL based optimization methods. It will also be valuable to conduct deeper investigation into the design and selection of a suitable deep-learning model for policy approximation and state-value estimation in future research. Meanwhile, hyper-parameter tuning is also necessary to optimize network structure and hyper-parameters for algorithm training, such as optimizer, learning rate, or number of timesteps in each iteration. All the hyper-parameter tuning will involve time-consuming processes and require significant computational resources. The DRL training framework Ray/RLlib provides the tool Ray/Tune for an automatic hyper-parameter tuning process. This provides opportunities to further optimize the DRL structure to achieve better performance. 7. Conclusions This work aims to develop a DRL framework to maximize revenues in NR-IES. The studied NR-IES couples a nuclear reactor, wind generation, hydrogen production (including HTSE and PEM plants), and energy-storage systems (including TES, BES and HES) to generate and sell hydrogen and electricity simultaneously, according to their different prices, while keeping energy flow in subsystems in balance. Multiple types of models for subsystems have been implemented, and their energy-flow interconnections have been simulated. A Python-based simulator for a representative NR-IES has been implemented to integrate with OpenAI Gym and Ray/RLlib. This integra tion enables an efficient and flexible computational framework for research and development of DRL algorithms for NR-IES operations. A MDP model has been proposed to build the DRL framework to optimize dispatching strategies and maximize system revenues. According to control requirements from continuous-actions spaces, three promising DRL algorithms have been investigated, including TD3, SAC, and PPO, to illustrate DRL’s superiority on controlling NR-IES. The performance and benefits from DRL methods have been compared and validated with a conventional-approach (PSO), integrated with the same NR-IES simulator to realize the optimization process. Optimality analysis of DRL’s solutions were performed under the case with a specific episode of electricity market price and wind power. The training and testing processes have been proposed to investigate the DRL’s general ization capability when facing stochastic inputs. The performance of DRL algorithms has also been investigated under different lengths of control and simulation timesteps. Within all these studies, PPO has shown more sta ble performance and also better generalization capability than SAC and TD3. Furthermore, the PPO algorithm has been trained and tested in a wide range of scenarios with different targeted hydrogen production rates. In these tests, PPO consistently exhibited better performance than PSO during both training and testing. Potential achievable improvements are varied under different settings of target hydrogen production rates. On average, PPO can achieve 13.9% more mean-episode returns from training processes and 29.4% more mean-episode returns from testing processes than PSO for the same optimization process. In all, DRL-based control algorithms can provide promising performance and also much better generalization capability compared to conventional approaches for a representative NR-IES dynamic and stochastic operating environment. Acknowledgement This paper and the work described were supported through the INL Laboratory Directed Research and Devel opment (LDRD) Program under DOE Idaho Operations Office Contract DE-AC07-05ID14517. This research made use of the resources of the High Performance Computing Center at Idaho National Laboratory, which is supported by the Office of Nuclear Energy of the U.S. Department of Energy and the Nuclear Science User Facilities under Contract No. DE-AC07-05ID14517. References [1] S. Upadhyay, M. Sharma, A review on configurations, control and sizing methodologies of hybrid energy systems, Renewable and Sustainable Energy Reviews 38 (2014) 47–63. [2] A. Zecca, L. Chiari, Fossil-fuel constraints on global warming, Energy Policy 38 (2010) 1–3. [3] V. Imcharoenkul, S. Chaitusaney, Optimal variable renewable energy generation schedules considering market prices and system operational constraints, Energies 14 (2021) 5320. [4] A. Epiney, C. Rabiti, P. Talbot, A. Alfonsi, Economic analysis of a nuclear hybrid energy system in a stochastic environment including wind turbines in an electricity grid, Applied Energy 260 (2020) 114227. [5] J. Chen, H. E. Garcia, J. S. Kim, S. M. Bragg-Sitton, Operations optimization of nuclear hybrid energy systems, Nuclear Technology 195 (2016) 143–156. [6] S. Suman, Hybrid nuclear-renewable energy systems: A review, Journal of Cleaner Production 181 (2018) 166–177. [7] S. M. Bragg-Sitton, C. Rabiti, J. E. O’Brien, T. J. Morton, R. D. Boardman, S. Yoon, J. S. Yoo, K. L. Frick, M. S. Greenwood, R. Vilim, Integrated energy systems: 2020 roadmap, Technical Report, Idaho National Lab.(INL), Idaho Falls, ID (United States), 2020. [8] S. Mahmud, S. Sah, B. Ponkiya, S. Katikaneni, D. Raker, M. Heben, Z. Yi, T. Westover, Y. Luo, R. Khanna, A. Javaid, A transactive energy framework for hydrogen production with economically viable nuclear power, in: 2020 IEEE/PES Transmission and Distribution Conference and Exposition (T&D), 2022. [9] Z. Liu, J. Fan, Technology readiness assessment of small modular reactor (smr) designs, Progress in Nuclear Energy 70 (2014) 20–28. [10] G. Brockman, V. Cheung, L. Pettersson, J. Schneider, J. Schulman, J. Tang, W. Zaremba, Openai gym, arXiv preprint arXiv:1606.01540 (2016). [11] E. Liang, R. Liaw, R. Nishihara, P. Moritz, R. Fox, J. Gonzalez, K. Goldberg, I. Stoica, Ray rllib: A composable and scalable reinforcement learning library, arXiv preprint arXiv:1712.09381 (2017) 85. [12] M. C. Bozchalui, S. A. Hashmi, H. Hassen, C. A. Canizares, K. Bhattacharya, Optimal operation of residential energy hubs in smart grids, IEEE Transactions on Smart Grid 3 (2012) 1755–1766. [13] A. Basit, G. A. S. Sidhu, A. Mahmood, F. Gao, Efficient and autonomous energy management techniques for the future smart homes, IEEE Transactions on Smart Grid 8 (2015) 917–926. [14] H. Berlink, N. Kagan, A. H. R. Costa, Intelligent decision-making for smart home energy management, Journal of Intelligent & Robotic Systems 80 (2015) 331–354. [15] S. Pazouki, M.-R. Haghifam, A. Moser, Uncertainty modeling in optimal operation of energy hub in presence of wind, storage and demand response, International Journal of Electrical Power & Energy Systems 61 (2014) 335–345. [16] M. Vahid-Pakdel, S. Nojavan, B. Mohammadi-Ivatloo, K. Zare, Stochastic optimization of energy hub operation with consideration of thermal energy market and demand response, energy Conversion and Management 145 (2017) 117–128. [17] H. Zhang, Y. Li, D. W. Gao, J. Zhou, Distributed optimal energy management for energy internet, IEEE Transactions on Industrial Informatics 13 (2017) 3081–3097. [18] Y.-S. Li, H.-G. Zhang, B.-N. Huang, F. Teng, Distributed optimal economic dispatch based on multi-agent system framework in combined heat and power systems, Applied Sciences 6 (2016) 308. [19] M. Nistor, C. H. Antunes, Integrated management of energy resources in residential buildings—a markovian approach, IEEE Transactions on Smart Grid 9 (2016) 240–251. [20] T. Weber, N. Strobel, T. Kohne, J. Wolber, E. Abele, Realistic modeling of a combined heat and power plant in the context of mixed integer linear programming, Energy Informatics 1 (2018) 285–293. [21] J. Silvente, L. G. Papageorgiou, An milp formulation for the optimal management of microgrids with task interruptions, Applied energy 206 (2017) 1131–1146. [22] S. Sanaye, H. Hajabdollahi, Thermo-economic optimization of solar cchp using both genetic and particle swarm algorithms, Journal of Solar Energy Engineering 137 (2015) 011001. [23] J. Zheng, Y. Kou, M. Li, Q. Wu, Stochastic optimization of cost-risk for integrated energy system considering wind and solar power correlated, Journal of Modern Power Systems and Clean Energy 7 (2019) 1472–1483. [24] L. Wang, Q. Li, R. Ding, M. Sun, G. Wang, Integrated scheduling of energy supply and demand in microgrids under uncertainty: A robust multi-objective optimization approach, Energy 130 (2017) 1–14. [25] M. A. Mirzaei, M. Nazari-Heris, K. Zare, B. Mohammadi-Ivatloo, M. Marzband, S. Asadi, A. Anvari Moghaddam, Evaluating the impact of multi-carrier energy storage systems in optimal operation of integrated electricity, gas and district heating networks, Applied Thermal Engineering 176 (2020) 115413. [26] W. Gu, Z. Wang, Z. Wu, Z. Luo, Y. Tang, J. Wang, An online optimal dispatch schedule for cchp microgrids based on model predictive control, IEEE transactions on smart grid 8 (2016) 2332–2342. [27] X. Zhang, J. Yang, W. Wang, M. Zhang, T. Jing, Integrated optimal dispatch of a rural micro-energy-grid with multi-energy stream based on model predictive control, Energies 11 (2018) 3439. [28] T. Yang, L. Zhao, W. Li, A. Y. Zomaya, Dynamic energy dispatch strategy for integrated energy system based on improved deep reinforcement learning, Energy 235 (2021) 121377. [29] P. Hernandez-Leal, B. Kartal, M. E. Taylor, A survey and critique of multiagent deep reinforcement learning, Autonomous Agents and Multi-Agent Systems 33 (2019) 750–797. [30] S. Fujimoto, D. Meger, D. Precup, Off-policy deep reinforcement learning without exploration, in: International Conference on Machine Learning, PMLR, 2019, pp. 2052–2062. [31] D. Cao, W. Hu, J. Zhao, G. Zhang, B. Zhang, Z. Liu, Z. Chen, F. Blaabjerg, Reinforcement learning and its applications in modern power and energy systems: A review, Journal of Modern Power Systems and Clean Energy 8 (2020) 1029–1042. [32] J. Kober, J. A. Bagnell, J. Peters, Reinforcement learning in robotics: A survey, The International Journal of Robotics Research 32 (2013) 1238–1274. [33] S. Gu, E. Holly, T. Lillicrap, S. Levine, Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates, in: 2017 IEEE international conference on robotics and automation (ICRA), IEEE, 2017, pp. 3389–3396. [34] B. Belousov, H. Abdulsamad, P. Klink, S. Parisi, J. Peters, Reinforcement Learning Algorithms: Analysis and Applications, Springer, 2021. [35] OpenAI, Openai five, `[https://blog.openai.com/openai-five/](https://blog.openai.com/openai-five/)`, 2018. Accessed: 2021-10-19. [36] O. Vinyals, I. Babuschkin, W. M. Czarnecki, M. Mathieu, A. Dudzik, J. Chung, D. H. Choi, R. Powell, T. Ewalds, P. Georgiev, et al., Grandmaster level in starcraft ii using multi-agent reinforcement learning, Nature 575 (2019) 350–354. [37] S. Aradi, Survey of deep reinforcement learning for motion planning of autonomous vehicles, IEEE Transactions on Intelligent Transportation Systems 23 (2022) 740–759. [38] Y.-J. Hu, S.-J. Lin, Deep reinforcement learning for optimizing finance portfolio management, in: 2019 Amity International Conference on Artificial Intelligence (AICAI), 2019, pp. 14–20. doi: `[10.1109/AICAI.2019.](http://dx.doi.org/10.1109/AICAI.2019.8701368)` `[8701368](http://dx.doi.org/10.1109/AICAI.2019.8701368)` . [39] K. S. Zarkias, N. Passalis, A. Tsantekidis, A. Tefas, Deep reinforcement learning for financial trading using price trailing, in: ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2019, pp. 3067–3071. doi: `[10.1109/ICASSP.2019.8683161](http://dx.doi.org/10.1109/ICASSP.2019.8683161)` . [40] G. Pinto, M. S. Piscitelli, J. R. V´azquez-Canteli, Z. Nagy, A. Capozzoli, Coordinated energy management for a cluster of buildings through deep reinforcement learning, Energy 229 (2021) 120725. [41] Z. Zhang, D. Zhang, R. C. Qiu, Deep reinforcement learning for power system applications: An overview, CSEE Journal of Power and Energy Systems 6 (2019) 213–225. [42] S. Zhou, Z. Hu, W. Gu, M. Jiang, M. Chen, Q. Hong, C. Booth, Combined heat and power system intelligent economic dispatch: A deep reinforcement learning approach, International Journal of Electrical Power & Energy Systems 120 (2020) 106016. [43] X. Fang, Q. Zhao, J. Wang, Y. Han, Y. Li, Multi-agent deep reinforcement learning for distributed energy management and strategy optimization of microgrid market, Sustainable Cities and Society 74 (2021) 103163. [44] H. Khorasgani, H. Wang, C. Gupta, Challenges of applying deep reinforcement learning in dynamic dispatching, arXiv preprint arXiv:2011.05570 (2020). [45] J. S. Kim, R. D. Boardman, S. M. Bragg-Sitton, Dynamic performance analysis of a high-temperature steam electrolysis plant integrated within nuclear-renewable hybrid energy systems, Applied Energy 228 (2018) 2090– 2110. [46] AspenTech, Aspen hysys, `[https://www.aspentech.com/en/products/engineering/aspen-hysys](https://www.aspentech.com/en/products/engineering/aspen-hysys)`, 2021. Ac cessed: 2021-09-23. [47] M. Association, Modelica language, `[https://modelica.org/](https://modelica.org/)`, 2021. Accessed: 2021-09-23. [48] K. L. Frick, P. W. Talbot, D. S. Wendt, R. D. Boardman, C. Rabiti, S. M. Bragg-Sitton, M. Ruth, D. Levie, B. Frew, A. Elgowainy, et al., Evaluation of hydrogen production feasibility for a light water reactor in the midwest, Technical Report, Idaho National Lab.(INL), Idaho Falls, ID (United States), 2019. [49] M. Ruth, D. Cutler, F. Flores-Espino, G. Stark, The economic potential of nuclear-renewable hybrid energy systems producing hydrogen, Technical Report, National Renewable Energy Lab.(NREL), Golden, CO (United States), 2017. [50] DOE, Doe h2a production analysis, `[https://www.hydrogen.energy.gov/h2a_production.html](https://www.hydrogen.energy.gov/h2a_production.html)`, 2021. Ac cessed: 2021-09-23. [51] HFTO, Hydrogen and fuel cell technologies office multi-year research, develop ment, and demonstration plan, `[https://www.energy.gov/eere/fuelcells/downloads/](https://www.energy.gov/eere/fuelcells/downloads/hydrogen-and-fuel-cell-technologies-office-multi-year-research-development)` `[hydrogen-and-fuel-cell-technologies-office-multi-year-research-development](https://www.energy.gov/eere/fuelcells/downloads/hydrogen-and-fuel-cell-technologies-office-multi-year-research-development)`, 2021. Accessed: 2021-09-07. [52] Z. <sup>ˇ</sup> Bogdan, D. Kopjar, Improvement of the cogeneration plant economy by using heat accumulator, Energy 31 (2006) 2285–2292. [53] X. Chen, C. Kang, M. O’Malley, Q. Xia, J. Bai, C. Liu, R. Sun, W. Wang, H. Li, Increasing the flexibility of combined heat and power for wind power integration in china: Modeling and implications, IEEE Transactions on Power Systems 30 (2014) 1848–1857. [54] B. Rezaie, B. V. Reddy, M. A. Rosen, Energy analysis of thermal energy storages with grid configurations, Applied energy 117 (2014) 54–61. [55] H. Wang, W. Yin, E. Abdollahi, R. Lahdelma, W. Jiao, Modelling and optimization of chp based district heating system with renewable energy production and energy storage, Applied Energy 159 (2015) 401–421. [56] R. Yuan, J. Ye, J. Lei, T. Li, Integrated combined heat and power system dispatch considering electrical and thermal energy storage, Energies 9 (2016) 474. [57] M. Korpas, A. T. Holen, Operation planning of hydrogen storage connected to wind power operating in a power market, IEEE transactions on energy conversion 21 (2006) 742–749. [58] F. Garcia-Torres, C. Bordons, Optimal economical schedule of hydrogen-based microgrids with hybrid storage using model predictive control, IEEE Transactions on Industrial Electronics 62 (2015) 5195–5207. [59] T. R. Tanim, C. D. Rahn, Aging formula for lithium ion batteries with solid electrolyte interphase layer growth, Journal of Power Sources 294 (2015) 239–247. [60] D. A. Cogswell, M. Z. Bazant, Coherency strain and the kinetics of phase separation in lifepo4 nanoparticles, ACS nano 6 (2012) 2215–2225. [61] PJM, Wind generation, `[https://dataminer2.pjm.com/feed/wind_gen/definition](https://dataminer2.pjm.com/feed/wind_gen/definition)`, 2021. Accessed: 2021 09-30. [62] PJM, Settlements verified hourly lmps, `[https://dataminer2.pjm.com/feed/rt_da_monthly_lmps/](https://dataminer2.pjm.com/feed/rt_da_monthly_lmps/definition)` `[definition](https://dataminer2.pjm.com/feed/rt_da_monthly_lmps/definition)`, 2021. Accessed: 2021-09-30. [63] OpenAI, Openai spinning up, `[https://spinningup.openai.com/en/latest/index.html](https://spinningup.openai.com/en/latest/index.html)`, 2021. Accessed: 2021-09-23. [64] T. Haarnoja, A. Zhou, P. Abbeel, S. Levine, Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor, in: International conference on machine learning, PMLR, 2018, pp. 1861–1870. [65] T. Haarnoja, A. Zhou, K. Hartikainen, G. Tucker, S. Ha, J. Tan, V. Kumar, H. Zhu, A. Gupta, P. Abbeel, et al., Soft actor-critic algorithms and applications, arXiv preprint arXiv:1812.05905 (2018). [66] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, O. Klimov, Proximal policy optimization algorithms, arXiv preprint arXiv:1707.06347 (2017). [67] J. Schulman, P. Moritz, S. Levine, M. Jordan, P. Abbeel, High-dimensional continuous control using generalized advantage estimation, arXiv preprint arXiv:1506.02438 (2015). [68] M. R. Bonyadi, Z. Michalewicz, Particle swarm optimization for single objective continuous space problems: a review, Evolutionary computation 25 (2017) 1–54. [69] L. J. Miranda, Pyswarms: a research toolkit for particle swarm optimization in python, Journal of Open Source Software 3 (2018) 433.

섹션 본문

섹션 본문이 없습니다.

참고문헌 56건

  1. High-Dimensional Continuous Control Using Generalized Advantage Estimation arXiv (Cornell University) · Cornell University · 2015
  2. Modelling and optimization of CHP based district heating system with renewable energy production and energy storage Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.09.020
  3. Intelligent Decision-Making for Smart Home Energy Management Journal of Intelligent & Robotic Systems · Springer Science+Business Media · 2014 10.1007/s10846-014-0169-8
  4. Improvement of the cogeneration plant economy by using heat accumulator Energy · Elsevier BV · 2006 10.1016/j.energy.2006.01.012
  5. Reinforcement learning in robotics: A survey The International Journal of Robotics Research · SAGE Publishing · 2013 10.1177/0278364913495721
  6. Energy analysis of thermal energy storages with grid configurations Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2013.11.042
  7. Fossil-fuel constraints on global warming Energy Policy · Elsevier BV · 2009 10.1016/j.enpol.2009.06.068
  8. Uncertainty modeling in optimal operation of energy hub in presence of wind, storage and demand response International Journal of Electrical Power & Energy Systems · Elsevier BV · 2014 10.1016/j.ijepes.2014.03.038
  9. A review on configurations, control and sizing methodologies of hybrid energy systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2014 10.1016/j.rser.2014.05.057
  10. Technology readiness assessment of Small Modular Reactor (SMR) designs Progress in Nuclear Energy · Elsevier BV · 2013 10.1016/j.pnucene.2013.07.005
  11. Thermo-Economic Optimization of Solar CCHP Using Both Genetic and Particle Swarm Algorithms Journal of Solar Energy Engineering · ASM International · 2014 10.1115/1.4027932
  12. Optimal Operation of Residential Energy Hubs in Smart Grids IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2012 10.1109/tsg.2012.2212032
  13. Optimal Economical Schedule of Hydrogen-Based Microgrids With Hybrid Storage Using Model Predictive Control IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2412524
  14. Operation Planning of Hydrogen Storage Connected to Wind Power Operating in a Power Market IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2006 10.1109/tec.2006.878245
  15. Increasing the Flexibility of Combined Heat and Power for Wind Power Integration in China: Modeling and Implications IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tpwrs.2014.2356723
  16. Particle Swarm Optimization for Single Objective Continuous Space Problems: A Review Evolutionary Computation · The MIT Press · 2016 10.1162/evco_r_00180
  17. Integrated Management of Energy Resources in Residential Buildings—A Markovian Approach IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsg.2016.2549939
  18. Efficient and Autonomous Energy Management Techniques for the Future Smart Homes IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsg.2015.2504560
  19. An Online Optimal Dispatch Schedule for CCHP Microgrids Based on Model Predictive Control IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsg.2016.2523504
  20. Integrated Combined Heat and Power System Dispatch Considering Electrical and Thermal Energy Storage Energies · Multidisciplinary Digital Publishing Institute · 2016 10.3390/en9060474
  21. Operations Optimization of Nuclear Hybrid Energy Systems Nuclear Technology · Taylor & Francis · 2016 10.13182/nt15-130
  22. Distributed Optimal Economic Dispatch Based on Multi-Agent System Framework in Combined Heat and Power Systems Applied Sciences · Multidisciplinary Digital Publishing Institute · 2016 10.3390/app6100308
  23. 2016 IEEE International Conference on Robotics and Automation (ICRA) 2016 10.1109/icra33126.2016
  24. Integrated scheduling of energy supply and demand in microgrids under uncertainty: A robust multi-objective optimization approach Energy · Elsevier BV · 2017 10.1016/j.energy.2017.04.115
  25. Stochastic optimization of energy hub operation with consideration of thermal energy market and demand response Energy Conversion and Management · Elsevier BV · 2017 10.1016/j.enconman.2017.04.074
  26. Distributed Optimal Energy Management for Energy Internet IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tii.2017.2714199
  27. Diagnosing Non-Intermittent Anomalies in Reinforcement Learning Policy Executions (Short Paper) arXiv (Cornell University) · Cornell University · 2017 10.4230/oasics.dx.2024.16
  28. An MILP formulation for the optimal management of microgrids with task interruptions Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.08.147
  29. Ray RLLib: A Composable and Scalable Reinforcement Learning Library arXiv (Cornell University) · Cornell University · 2017
  30. PySwarms: a research toolkit for Particle Swarm Optimization in Python The Journal of Open Source Software · Open Journals · 2018 10.21105/joss.00433
  31. Hybrid nuclear-renewable energy systems: A review Journal of Cleaner Production · Elsevier BV · 2018 10.1016/j.jclepro.2018.01.262
  32. Dynamic performance analysis of a high-temperature steam electrolysis plant integrated within nuclear-renewable hybrid energy systems Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.07.060
  33. Realistic modeling of a combined heat and power plant in the context of mixed integer linear programming Energy Informatics · Springer Nature · 2018 10.1186/s42162-018-0037-z
  34. The Economic Potential of Nuclear-Renewable Hybrid Energy Systems Producing Hydrogen 2017 10.2172/1351061
  35. Soft Actor-Critic Algorithms and Applications arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1812.05905
  36. Integrated Optimal Dispatch of a Rural Micro-Energy-Grid with Multi-Energy Stream Based on Model Predictive Control Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11123439
  37. Stochastic optimization of cost-risk for integrated energy system considering wind and solar power correlated Journal of Modern Power Systems and Clean Energy · Springer Nature · 2019 10.1007/s40565-019-0519-4
  38. Evaluation of Hydrogen Production Feasibility for a Light Water Reactor in the Midwest 2019 10.2172/1569271
  39. A survey and critique of multiagent deep reinforcement learning Autonomous Agents and Multi-Agent Systems · Springer Science+Business Media · 2019 10.1007/s10458-019-09421-1
  40. Grandmaster level in StarCraft II using multi-agent reinforcement learning Nature · Nature Portfolio · 2019 10.1038/s41586-019-1724-z
  41. Economic analysis of a nuclear hybrid energy system in a stochastic environment including wind turbines in an electricity grid Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.114227
  42. Combined heat and power system intelligent economic dispatch: A deep reinforcement learning approach International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106016
  43. Evaluating the impact of multi-carrier energy storage systems in optimal operation of integrated electricity, gas and district heating networks Applied Thermal Engineering · Elsevier BV · 2020 10.1016/j.applthermaleng.2020.115413
  44. Survey of Deep Reinforcement Learning for Motion Planning of Autonomous Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tits.2020.3024655
  45. Integrated Energy Systems: 2020 Roadmap 2020 10.2172/1670434
  46. Challenges of Applying Deep Reinforcement Learning in Dynamic Dispatching arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2011.05570
  47. Coherency Strain and the Kinetics of Phase Separation in LiFePO [subscript 4] Nanoparticles DSpace@MIT (Massachusetts Institute of Technology) · Massachusetts Institute of Technology · 2011
  48. Reinforcement Learning and Its Applications in Modern Power and Energy Systems: A Review Journal of Modern Power Systems and Clean Energy · Springer Nature · 2020 10.35833/mpce.2020.000552
  49. Coordinated energy management for a cluster of buildings through deep reinforcement learning Energy · Elsevier BV · 2021 10.1016/j.energy.2021.120725
  50. Multi-agent Deep Reinforcement Learning for Distributed Energy Management and Strategy Optimization of Microgrid Market Sustainable Cities and Society · Elsevier BV · 2021 10.1016/j.scs.2021.103163
  51. Dynamic energy dispatch strategy for integrated energy system based on improved deep reinforcement learning Energy · Elsevier BV · 2021 10.1016/j.energy.2021.121377
  52. Optimal Variable Renewable Energy Generation Schedules Considering Market Prices and System Operational Constraints Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14175320
  53. 2019 Amity International Conference on Artificial Intelligence (AICAI) 2019 10.1109/aicai45948.2019
  54. Reinforcement Learning Algorithms: Analysis and Applications Studies in computational intelligence · Springer Nature · 2021 10.1007/978-3-030-41188-6
  55. ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · 2020 10.1109/icassp40776.2020
  56. Aging formula for lithium ion batteries with solid electrolyte interphase layer growth Journal of Power Sources · Elsevier BV · 2015 10.1016/j.jpowsour.2015.06.014