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

Adaptive control paradigm for photovoltaic and solid oxide fuel cell in a grid-integrated hybrid renewable energy system

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

기본 정보

저자
  1. Sidra Mumtaz — Department of Electrical Engineering, COMSATS Institute of Information Technology, Abbottabad, Khyber Pakhtunkhwa, Pakistan
  2. Laiq Khan — Department of Electrical Engineering, COMSATS Institute of Information Technology, Abbottabad, Khyber Pakhtunkhwa, Pakistan
DOI
10.1371/journal.pone.0173966
저널
PLoS ONE
발행년도
2017
발행기관
Public Library of Science
피인용수
20
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0173966
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W2598725288

평가 내용

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

초록

The hybrid power system (HPS) is an emerging power generation scheme due to the plentiful availability of renewable energy sources. Renewable energy sources are characterized as highly intermittent in nature due to meteorological conditions, while the domestic load also behaves in a quite uncertain manner. In this scenario, to maintain the balance between generation and load, the development of an intelligent and adaptive control algorithm has preoccupied power engineers and researchers. This paper proposes a Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT (maximum power point tracking) control of photovoltaic (PV) systems to extract maximum power and a Hermite wavelet incorporated NeuroFuzzy indirect adaptive control of Solid Oxide Fuel Cells (SOFC) to obtain a swift response in a grid-connected hybrid power system. A comprehensive simulation testbed for a grid-connected hybrid power system (wind turbine, PV cells, SOFC, electrolyzer, battery storage system, supercapacitor (SC), micro-turbine (MT) and domestic load) is developed in Matlab/Simulink. The robustness and superiority of the proposed indirect adaptive control paradigm are evaluated through simulation results in a grid-connected hybrid power system testbed by comparison with a conventional PI (proportional and integral) control system. The simulation results verify the effectiveness of the proposed control paradigm.

본문 82,735자

본문 펼치기
~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0173966&domain=pdf&date_stamp=2017-03-22)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0173966&domain=pdf&date_stamp=2017-03-22)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0173966&domain=pdf&date_stamp=2017-03-22)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0173966&domain=pdf&date_stamp=2017-03-22)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0173966&domain=pdf&date_stamp=2017-03-22)</u>~~ OPEN ACCESS Citation: Mumtaz S, Khan L (2017) Adaptive control paradigm for photovoltaic and solid oxide fuel cell in a grid-integrated hybrid renewable energy system. PLoS ONE 12(3): e0173966. [https://doi.org/10.1371/journal.pone.0173966](https://doi.org/10.1371/journal.pone.0173966) Editor: Xiaosong Hu, Chongqing University, CHINA Received: September 19, 2016 Accepted: March 1, 2017 Published: March 22, 2017 Copyright: © 2017 Mumtaz, Khan. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are within the manuscript. Funding: The author(s) received no specific funding for this work. Competing interests: The authors have declared that no competing interests exist. RESEARCH ARTICLE # Adaptive control paradigm for photovoltaic and solid oxide fuel cell in a grid-integrated hybrid renewable energy system Sidra Mumtaz*, Laiq Khan Department of Electrical Engineering, COMSATS Institute of Information Technology, Abbottabad, Khyber Pakhtunkhwa, Pakistan - sidramumtaz@ciit.net.pk ## Abstract The hybrid power system (HPS) is an emerging power generation scheme due to the plenti ful availability of renewable energy sources. Renewable energy sources are characterized as highly intermittent in nature due to meteorological conditions, while the domestic load also behaves in a quite uncertain manner. In this scenario, to maintain the balance between generation and load, the development of an intelligent and adaptive control algorithm has preoccupied power engineers and researchers. This paper proposes a Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT (maximum power point tracking) control of photovoltaic (PV) systems to extract maximum power and a Hermite wavelet incorporated NeuroFuzzy indirect adaptive control of Solid Oxide Fuel Cells (SOFC) to obtain a swift response in a grid-connected hybrid power system. A comprehensive simulation testbed for a grid-connected hybrid power system (wind turbine, PV cells, SOFC, electrolyzer, battery storage system, supercapacitor (SC), micro-turbine (MT) and domestic load) is developed in Matlab/Simulink. The robustness and superiority of the proposed indirect adaptive control paradigm are evaluated through simulation results in a grid-connected hybrid power system testbed by comparison with a conventional PI (proportional and integral) control system. The simulation results verify the effectiveness of the proposed control paradigm. 1. Introduction The global electricity demand is expected to increase 49% from 2007 to 2035 [1]. At present, most of the electricity demand is met by fossil fuels. These fossil fuels have caused adverse environmental effects, and their reserves are declining with the passage of time. Moreover, the rapid increase in electricity demand and scarcity of fossil fuels increase the cost of electricity. Thus, it is essential to endeavor to decrease greenhouse gas emissions and obtain affordable long-term sustainable energy sources. Recently, renewable energy has gained much more attention as an alternative energy. Renewable energy is clean, is sustainable, is economical and never runs out. The power from renewable energy is at the mercy of meteorological conditions. Thus, any standalone renewable energy source is unable to supply reliable and [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 1 / 33 Adaptive control for PV and SOFC sustainable power. Therefore, multiple renewable and non-renewable power sources are incorporated to form a hybrid power system. Currently, in the energy market, hybrid power systems based on renewable energy have paved an attractive approach to produce electricity [2]. A PV power based stochastic optimization framework is used to manage the energy of a smart home with plug-in electric vehicle (PEV) storage [3]. Moreover, to achieve the accuracy, PV power and home load demand are also forecasted using a radial basis function neural network (RBF-NN). A wind/PV/fuel cell generation-based HPS is presented for a typical home in the US Pacific Northwest [4]. A standalone application of HPS contains wind, PV cells, fuel cells (FC), an electrolyzer and a battery, which are integrated through an AC link bus [5]. To obtain the maximum advantage from renewable energy, wind and PV cells are considered as primary sources of the HPS. The FC/electrolyzer and battery are used as a backup system. However, the stated HPS operates as a standalone system. A PV, FC and ultra-capacitor (UC)-based standalone HPS is used to supply sustained power [6]. During adequate irradiance, the excess power generated by the PV system is fed to the electrolyzer. Conversely, when the PV system is unable to meet the load, the FC tries to satisfy the load, but if load power deficiency still exists, then UC supplies the auxiliary power. However, the standalone application makes the HPS operate off-grid—i.e., not connected to any distribution grid. Thus, standalone application limits the scope of the stated HPS. A PV/electrolyzer coupled with a SOFC based on energy and exergy is developed to supply the electricity to a residential load, but the maximum obtained efficiencies for energy and exergy are 55.7% and 49%, respectively [7]. In the mutable environment, to increase the output efficiency of the PV system, a maximum power point tracking (MPPT) algorithm is required to search the optimal operating voltage and/or current of the PV system. The nonlinear behavior of the current—voltage curve of the PV system makes MPPT a more challenging issue. In the literature, various techniques have been proposed depending upon complexity, convergence speed, control, stability and cost. The most commonly used techniques are perturb and observe (P&O), incremental conductance (IC), constant voltage (CV) and constant current (CC) algorithms [8], [9], [10], [11]. Among them, P&O is widely adopted due to its simplicity and easy hardware implementation, but once the maximum power point is achieved, the system keeps oscillating around this power point. SOFC is an alternative versatile energy source, because it converts chemical energy into electrical energy with negligible emissions. However, SOFC presents a challenging control issue during load following due to its sluggish dynamics, nonlinearity and strict operating constraints. A sudden change in load power causes hydrogen starvation in the SOFC, i.e., the partial pressure of oxygen drops significantly, which lowers the cell voltage rapidly and hence shortens the life of the SOFC. Moreover, this fuel starvation also permanently damages the SOFC. Thus, an efficient control system is needed to ensure that the SOFC satisfies the dynamic load with high operating efficiency. Two types of control strategies exist for SOFC. One is to control the input hydrogen in proportion to the stack current, and the other is to maintain a constant voltage at the SOFC terminals [12]. In the literature, several control strategies are used for SOFC, which include a multi-loop feedback control, a master control, PID feedback control and model predictive control, but these techniques are computationally slow, complex and difficult to implement [13], [14], [15], [16], [17]. Similarly, numerous intelligent and modern soft computing techniques are widely used to obtain the PV MPPT and swift response of SOFC, which include evolutionary algorithms, artificial neural network (ANN), fuzzy logic and their hybrids. Evolutionary algorithms (DE, GA, PSO, etc.) are stochastic processes that are quite efficient to optimize real-valued, nonlinear and multi-objective problems [18], [19], [20]. However, evolutionary algorithms need more research and technological development for the appropriate selection of control parameters, initial values, solution archive and locality of the search space. ANN is a non-parametric and [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 2 / 33 Adaptive control for PV and SOFC nonlinear regression soft computing technique. The learning capability of ANN provides “implicit knowledge” in the form of hidden neurons [21]. However, in ANN, the selection of optimal initial values of the weights, centers and spreads of the hidden unit is a crucial issue. The fuzzy logic control system is robust and somewhat simple to design, because no precise mathematical model is needed. However, the appropriate selection of the fuzzy inference system is quite important for accurate performance of the fuzzy logic control system [22]. However, the synergy of two paradigms—i.e., ANN and fuzzy logic—offers another prevailing artificial intelligence technique called NeuroFuzzy. This control scheme has good generalization capability, has low complexity and is easy to implement [23]. NeuroFuzzy amalgamates the explicit knowledge of fuzzy logic with the implicit knowledge of ANN [24]. However, the inherent drawback of the NeuroFuzzy system is that it not only becomes trapped in local minima of the search space but also has long computational time. Moreover, due to the linear consequent part, the classical NeuroFuzzy network becomes inefficient to handle system nonlinearities. These inherent issues are mitigated by introducing wavelets into the NeuroFuzzy network. Wavelet inclusion significantly improves the computational speed of the NeuroFuzzy network. The wavelet-based network is considered as an optimal approximator, because it explores a small number of data chunks to achieve precision [25], [26]. However, when a nonlinear system such as the PV system has unknown and uncertain parameters due to the fluctuating environment, the abovementioned control systems are no longer applicable. The adaptive control paradigm is suitable to sustain the reliable performance of a nonlinear system in real time even in the occurrence of unknown and uncertain variation [27]. There are two different classes of adaptive control: direct and indirect [28]. A direct adaptive control system directly updates the controller parameters without involving the explicit identification of the unknown plant. However, direct adaptive control fails to capture the instantaneous dynamics of the nonlinear system [29], [30], [31]. The indirect adaptive control (or self-tuning regulator) is more appropriate to work with a fluctuating environment, because it adaptively identifies the model of the plant used to calculate the controller parameters [32], [33], [34]. To address all the afore mentioned hitches, an efficient Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT control scheme for PV systems and an effective Hermite wavelet incorporated NeuroFuzzy indirect adaptive control scheme for SOFC systems integrated with HPS is proposed. In the stated HPS, tracking the maximum power point (MPP) for the PV system and obtaining the swift response of the SOFC are quite perplexing issues, because this system is greatly characterized by nonlinearity. The nonlinearity arises due to the erratic load, dynamic solar radiation and inconsistent temperature. Given the above interpretation, it is observed that the proposed adaptive control paradigm possesses the following characteristics: - The Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT control of PV is characterized by nonlinearity, which operates on the instantaneously captured nonlinear dynamics of the system. - The Hermite wavelet incorporated NeuroFuzzy indirect adaptive control of SOFC is embodied to respond swiftly to the nonlinear identified dynamics of the system due of sudden load changes. - The Hermite wavelet has strong identification capability, which is exploited by the adaptive controllers for PV maximum power point tracking and SOFC output power control. - The NeuroFuzzy algorithm is characterized by “explicit knowledge” by virtue of fuzzy logic and “implicit knowledge” by virtue of the neural network, which makes the adaptive control paradigm transparent and evolvable. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 3 / 33 Adaptive control for PV and SOFC The rest of the paper is organized in six main sections. Section 2 presents the mathematical modeling of the proposed hybrid power system. Section 3 gives the detailed mathematical description of the proposed control strategies. Simulation results are discussed in section 4. Section 5 concludes the outcomes of this research work. 2. System overview and model description The configuration of the stated HPS is shown in Fig 1, which consists of wind turbine, PV cells, SOFC, electrolyzer, battery, SC, MT and residential load connected to the utility grid. Two buses are connected through the main inverter in the suggested HPS—i.e., DC bus and AC bus. HPS contains multiple power generation sources to compensate for the components’ respective strengths and weaknesses. A permanent magnet synchronous generator (PMSG)based wind turbine is connected to the DC bus via a rectifier. The PV system is connected to the DC bus via a boost converter, which boosts the PV output voltage to the DC bus voltage. The electrolyzer utilizes surplus power to produce the hydrogen, which is used by the SOFC, so the electrolyzer acts as an energy buffer. The battery is used as a backup in the HPS and is connected to the DC bus via a bidirectional buck/boost converter. The battery is quite efficient when low and steady power levels are needed. The SC is also used as a backup source and is connected to the DC bus via a bidirectional buck/boost converter. SC can process several <u>Fig 1.</u> <u>Hybrid power system.</u> [https://doi.org/10.1371/journal.pone.0173966.g001](https://doi.org/10.1371/journal.pone.0173966.g001) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 4 / 33 Adaptive control for PV and SOFC <u>Fig 2.</u> <u>Wind generation system with PMSG.</u> [https://doi.org/10.1371/journal.pone.0173966.g002](https://doi.org/10.1371/journal.pone.0173966.g002) hundred thousand charge/discharge cycles compared to only a few thousand charge/discharge cycles for the battery. The MT is operated as a standby source in HPS, which is connected to the AC bus through back-to-back AC/DC and then DC/AC converters. 2.1 Mathematical modeling of hybrid power system components 2.1.1 Wind generation system. The PMSG-based wind generation system is shown in Fig 2. The wind turbine model is shown in Fig 3. The wind turbine produces mechanical energy, which is used to run a PMSG to obtain the electrical energy [35]. The output power captured by the wind turbine is given as _Pm_ ¼ _cp_ ðl _;_ bÞ <sup><u>r</u></sup> <sup>_<u>A</u>_</sup> ð1Þ 2 <sup>_v_</sup> <sup>3</sup> where _Pm_ is the mechanical output power, _cp_ is the performance coefficient, _ρ_ is the air density (kg/m <sup>3</sup> ), _A_ is the swept area of blades, _v_ is the wind speed, _λ_ is the tip speed ratio (TSR), and _β_ is the blade pitch angle. TSR is the ratio between the linear speed of the blade tips and the rotational speed of the turbine and can be calculated as l ¼ <sup>o</sup> <sup>_<u>mR</u>_</sup> ð2Þ _v_ where _R_ is rotor radius, and _ωm_ is the mechanical speed of the generator. The performance <u>Fig 3.</u> <u>Simulink model wind turbine.</u> [https://doi.org/10.1371/journal.pone.0173966.g003](https://doi.org/10.1371/journal.pone.0173966.g003) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 5 / 33 Adaptive control for PV and SOFC coefficient is the nonlinear function of the TSR and blade pitch angle, which determines the power captured efficiency of the turbine and can be measured as follows: _cp_ ðl _;_ bÞ ¼ c1ðc2 _=_ l _i_ - c3b � c4Þe <sup>�</sup> <sup>c5</sup> <sup>_=_</sup> <sup>l</sup> <sup>_i_</sup> þ _c_ 6l ð3Þ with <u>1</u> l _i_ <u>1</u> <u>0</u> _<u>:</u>_ <u>035</u> ¼ l þ 0 _:_ 08b <sup>�</sup> b <sup>3</sup> þ 1 ð4Þ where the coefficients are c1 = 0.5176, c2 = 116, c3 = 0.4, c4 = 5, c5 = 21 and c6 = 0.0068. The maximum value of _cp_ ( _λ_, _β_ ) is obtained at _β_ = 0˚ and _λ_ = 8.1. The electrical torque produced by the PMSG rotor is calculated as �� ��3 _<u>p</u>_ 2 2 3 _Te_ ¼ 2 �� _<u>p</u>_ ½ð _Ld_ - _Lq_ Þ _iqid_ - l _miq_ - ð5Þ 2 where _Te_ is the electrical torque, _p_ is the number of poles, _Ld_ is the inductance of the d-axis, _Lq_ is the inductance of the q-axis, _id_ is the current produced by the d-axis, _iq_ is the current produced by the q-axis, and _λm_ is the amplitude of flux linkages. The important parameters of the wind turbine are listed in Table 1. 2.1.2 Photovoltaic array. The PV cell voltage and current vary with changing solar radiation and atmospheric temperature. The PV array current can be calculated as follows: _<u>Vd</u>_ _Ipv_ ¼ _Ilight_ - _Id_ _Rshunt_ ð6Þ where _Ipv_ is the PV array generated current, _Ilight_ is the incident light current, _Id_ is the diode current, _Vd_ is the diode voltage, and _Rshunt_ is the shunt resistance, which represents the leakage current. The voltage of the PV array is calculated as ( ) - <sup>_<u>ns</u>_</sup> _np_ _IpvR_ ð7Þ _Vpv_ ¼ _ns_ ( - a t _<u>T</u>_ ln <sup>_<u>Is</u>_</sup> <sup>�</sup> <sup>_<u>Ipv</u>_</sup> <sup>þ</sup> <sup>_<u>np</u>_</sup> a t _<u>T</u>_ _q_ _np_ <sup>~</sup> _I_ where _Vpv_ is the PV array voltage, _ns_ is the number of series-connected cells, _np_ is the number of parallel connected cells, _T_ is the cell temperature, _α_ is the temperature coefficient, _τ_ is Boltzmann’s constant, _q_ is the charge of an electron, _Is_ is the short-circuit current, <sup>~</sup> _I_ is the diode saturation current, and _R_ is a series-connected resistance. The Simulink model of the PV array is shown in Fig 4. All parameters of the PV array are given in Table 2. 2.1.3 Solid oxide fuel cell. SOFC is an electrochemical conversion source that directly generates electricity by oxidizing the fuel. The fuel most commonly used by SOFC is hydrogen. Table 1. Parameters of wind turbine. <u>Wind turbine</u> <u>Type</u> <u>nED-100</u> <u>Base wind speed</u> <u>10 m/s</u> <u>Rotor speed</u> <u>33–67 rpm</u> <u>Drive train</u> <u>2-mass model</u> <u>Pitch angle</u> <u>0˚</u> <u>Rated power</u> <u>100 kW</u> [https://doi.org/10.1371/journal.pone.0173966.t001](https://doi.org/10.1371/journal.pone.0173966.t001) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 6 / 33 Adaptive control for PV and SOFC <u>Fig 4.</u> <u>Simulink model of PV array.</u> [https://doi.org/10.1371/journal.pone.0173966.g004](https://doi.org/10.1371/journal.pone.0173966.g004) The molar flow of hydrogen is calculated as _refH_ 2 <sup>¼</sup> _<u>nsIsofc</u>_ 2 _F_ _m_ - _<u>nsIsofc</u>_ ¼ 2 _kIsofc_ ð8Þ 2 _F_ where _mrefH_ 2 <sup>is the molar flow of hydrogen,</sup> <sup>_n_</sup> _s_ <sup>is the number of series cells,</sup> <sup>_I_</sup> _sofc_ <sup>is the SOFC cur-</sup> rent, _F_ is Faraday’s constant, and _k_ is constant. The output voltage of SOFC is given as _Vsofc_ ¼ _VN_ - _VA_ - _VO_ - _VC_ ð9Þ where _Vsofc_ is the SOFC output voltage, _VN_ is the Nernst potential, _VA_ is the activation polarization, _Vo_ is the ohmic polarization, and _VC_ is the concentration polarization. The Nernst potential is given as ( ) pf f i f f i f f ( pf f i f f i f f <sup>_<u>gT</u>_</sup> r _<u>H</u>_ <u>2</u> - r _<u>O</u>_ <u>2</u> 2 _F_ <sup>ln</sup> r _H_ 2 _O_ _VN_ ¼ _E_ 0 þ <sup>_<u>gT</u>_</sup> 2 _F_ r _H_ 2 _O_ ð10Þ where _g_ is the gas constant, _T_ is the cell temperature, r _H_ 2 is the partial pressure of hydrogen, r _O_ 2 is the partial pressure of oxygen, r _H_ 2 _O_ is the partial pressure of water, and _E_ 0 is the reversible voltage. The Simulink model of SOFC is shown in Fig 5. Important SOFC parameters are listed in Table 3. 2.1.4 Electrolyzer. The electrolyzer dissociates water by using electrical energy to produce hydrogen and oxygen. The electrolyzer stack has several series-connected cells. The electrical Table 2. Parameters of PV array. <u>PV Array</u> <u>Type</u> <u>SunPower SPR-305-WHT</u> <u>Module unit</u> <u>305 W @ 1 kW/m</u> <sup>2</sup> <u>, 25˚C</u> <u>‘Number of series string</u> <u>13</u> <u>Number of parallel string</u> <u>66</u> <u>Power rating</u> <u>305 × 13 × 66 �</u> <u>262 kW</u> [https://doi.org/10.1371/journal.pone.0173966.t002](https://doi.org/10.1371/journal.pone.0173966.t002) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 7 / 33 Adaptive control for PV and SOFC <u>Fig 5.</u> <u>Simulink model of SOFC.</u> [https://doi.org/10.1371/journal.pone.0173966.g005](https://doi.org/10.1371/journal.pone.0173966.g005) efficiency of the electrolyzer is calculated as Z _elect_ ¼ Z _Ielect_ - Z _Velect_ ð11Þ where _ηelect_ is the efficiency of the electrolyzer, Z _Ielect_ is the current efficiency, and Z _Velect_ is the voltage efficiency. The amount of hydrogen produced (in mol) by the electrolyzer is given as ð12Þ _mH_ 2 ¼ <sup>_<u>nsIelect</u>_</sup> 2 _F_ <sup>Z</sup> <sup>_electc_</sup> where _mH_ 2 is the amount of hydrogen produced, _ns_ is the number of series cells, _F_ is Faraday’s constant, _Ielect_ is the electrolyzer current, and _c_ is a constant. The Simulink model of the electrolyzer is shown in Fig 6. The parameters of the electrolyzer are listed in Table 4. 2.1.5 Battery. Lithium-ion batteries have high energy density; therefore, they are widely used to store energy in many industrial fields [36]. Battery voltage and state-of-charge (SOC) Table 3. Parameters of SOFC. <u>SOFC Array</u> <u>Type</u> <u>Bloom Energy USA ES-5700</u> <u>Number of series cells</u> <u>768</u> <u>SOFC stack</u> <u>4 kW</u> <u>SOFC array</u> <u>5 × 10 = 50</u> <u>SOFC array power</u> <u>50 × 4 kW = 200 kW</u> [https://doi.org/10.1371/journal.pone.0173966.t003](https://doi.org/10.1371/journal.pone.0173966.t003) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 8 / 33 Adaptive control for PV and SOFC <u>Fig 6.</u> <u>Simulink model of electrolyzer.</u> [https://doi.org/10.1371/journal.pone.0173966.g006](https://doi.org/10.1371/journal.pone.0173966.g006) are the two most important parameters of a battery. Battery voltage is given as _Vbat_ ¼ _Voc_ - _R_ i _Ibat_ ð13Þ where _Vbat_ is the battery terminal voltage, _Voc_ is the open-circuit voltage, _Ri_ is the internal resistance, and _Ibat_ is the battery output current, which can be calculated as _Ibat_ ¼ <sup>_<u>Voc</u>_</sup> <sup>�</sup> pf f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi _<u>Voc</u>_ <sup>2</sup> <sup>�</sup> <sup>4</sup> <sup>_<u>R</u>_</sup> <u>i</u> <sup>_<u>P</u>_</sup> f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi _<u>Voc</u>_ <sup>2</sup> <sup>�</sup> <sup>4</sup> <sup>_<u>R</u>_</sup> <u>i</u> <sup>_<u>P</u>_</sup> ð14Þ 2 _R_ i The SOC of a battery is calculated by the Coulomb counting method [35]: _SOCbat_ ¼ _SOCbat_ <sup>_ini_</sup> <sup>�</sup> ð Z _<u>Ibat</u>_ _q_ <sup>_~~d~~_</sup> <sup>_t_</sup> ð15Þ where _SOCbat_ is the SOC of the battery, _SOCbat_ <sup>_ini_</sup> <sup>is the initial SOC of the battery,</sup> <sup>_η_</sup> <sup>represents the</sup> charge or discharge mode, and _q_ is the battery capacity (ampere hour). The estimation of SOC, capacity and internal resistance ensures the safe, reliable and efficient operation of lithium-ion batteries [36]. The Simulink model of the battery is shown in Fig 7. The battery parameters are given in Table 5. 2.1.6 Supercapacitor. Supercapacitors are short-term energy storage devices with excellent power density and energy efficiency [37]. The SC has two important parameters, capacitance and resistance, which are assumed to be constant during charge/discharge cycles. The energy stored in the SC has a linear relationship with the square of the capacitor voltage as follows: _sc_ <sup>2</sup> <sup>¼ 0</sup> <sup>_:_</sup> <sup>5</sup> <sup>_C_</sup> <sup>_<u>Psc</u>_</sup> _Esc_ ¼ 0 _:_ 5 _CVsc_ <sup>2</sup> - <sup>_<u>Psc</u>_</sup> ð16Þ _Isc_ where _Esc_ is the energy stored in the SC, _C_ is the capacitance, _Vsc_ is the voltage of the SC, _Psc_ is Table 4. Parameters of electrolyzer. <u>Electrolyzer</u> <u>Type</u> <u>QualeanQL-85000</u> <u>Rated power</u> <u>150 kW</u> <u>Rated voltage</u> <u>380 V</u> <u>Number of cells in stack</u> <u>30</u> <u>Number of electrolyzers</u> <u>6</u> [https://doi.org/10.1371/journal.pone.0173966.t004](https://doi.org/10.1371/journal.pone.0173966.t004) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 9 / 33 Adaptive control for PV and SOFC <u>Fig 7.</u> <u>Simulink model of battery.</u> [https://doi.org/10.1371/journal.pone.0173966.g007](https://doi.org/10.1371/journal.pone.0173966.g007) the power of the SC, and _Isc_ is the current of the SC. The SOC of the SC can be calculated as follows: _SOCsc_ ¼ <sup>_<u>Esc</u>_</sup> _Esc_ <sup>max</sup> ð17Þ _sc_ where _SOCsc_ is the SOC of the SC, and _Esc_ <sup>max</sup> is the maximum energy of the SC. The SOC and residual capacity of the SC can be estimated for reliable, resilient and safe operation [38], [39]. The voltage of the SC is given as _Isc_ - <sup>_<u>Esc</u>_</sup> _Rp_ ! _Vsc_ ¼ _RsIsc_ þ <sup>1</sup> _C_ ð _dt_ þ _Vsc_ <sup>_ini_</sup> ð18Þ where _Rs_ and _Rp_ are equivalent series and parallel resistances, respectively, and _Vsc_ <sup>_ini_</sup> <sup>is the initial</sup> SC voltage. The Simulink model of the SC is shown in Fig 8. The use of both a battery (high energy density) and an SC (high power density) achieve a satisfactory driving range while meeting transient power demands at a suitable cost [40]. The SC reduces the battery stress by delivering power to the transients during harsh accelerations and stores regenerative energy in aggressive decelerations [39]. Important SC parameters are given in Table 6. Table 5. Parameters of battery. <u>Battery</u> <u>Type</u> <u>CINCO FM/BB12100T</u> <u>Capacity</u> <u>200 Ah</u> <u>Voltage/string</u> <u>12 V</u> <u>Number of parallel strings</u> <u>3</u> <u>Number of series strings</u> <u>34</u> <u>Rated voltage</u> <u>12 × 34 �</u> <u>400 V</u> [https://doi.org/10.1371/journal.pone.0173966.t005](https://doi.org/10.1371/journal.pone.0173966.t005) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 10 / 33 Adaptive control for PV and SOFC <u>Fig 8.</u> <u>Simulink model of SC.</u> [https://doi.org/10.1371/journal.pone.0173966.g008](https://doi.org/10.1371/journal.pone.0173966.g008) 2.1.7 Micro-turbine. The MT is basically a smaller version of a heavy-duty gas turbine, deploying a radial compressor, combustor and turbine rotor with 25–300 kW installed capacity. The speed and power of the MT under dynamic load conditions are controlled using PI controllers, which work on the error signals. The fuel system involves the valve positioner and actuator. The temperature is controlled to obtain the mechanical power at a predetermined firing temperature. The MT generates electrical power though the synchronous generator. The turbine torque can be calculated as follows: t _turbine_ ¼ 1 _:_ 3ð _fd_ - 0 _:_ 23Þ þ 0 _:_ 5ð1 � oÞ ð19Þ where _τturbine_ is the torque of the turbine, _fd_ is the fuel demand, and _ω_ is the per unit speed of the turbine. The net mechanical power generated by the MT is _Pmt_ ð _t_ Þ ¼ _Pturbine_ ð _t_ Þ � _Pcompressor_ ðtÞ ð20Þ where _Pmt_ is the net mechanical power produced by the MT, _Pturbine_ is the power produced by the turbine, and _Pcompressor_ is the power consumed by the compressor. _Pmt_ is exerted on the Table 6. Parameters of SC. <u>Supercapacitor</u> <u>Type</u> <u>Maxwell Boost Cap BMOD0165-48.6 VUC</u> <u>Capacitance</u> <u>165 F</u> <u>Number of series capacitors</u> <u>50</u> <u>Number of parallel capacitors</u> <u>20</u> <u>Number of module</u> <u>12</u> <u>Rated voltage</u> <u>12 × 48:6 �</u> <u>584 V</u> [https://doi.org/10.1371/journal.pone.0173966.t006](https://doi.org/10.1371/journal.pone.0173966.t006) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 11 / 33 Adaptive control for PV and SOFC <u>Fig 9.</u> <u>Simulink model of split-shaft MT with synchronous generator.</u> [https://doi.org/10.1371/journal.pone.0173966.g009](https://doi.org/10.1371/journal.pone.0173966.g009) turbine shaft to obtain the net electrical power at the output terminals of the MT as follows: _Pmt_ <sup>_gen_</sup> <sup>ð</sup> <sup>_t_</sup> <sup>Þ ¼</sup> <sup>_P_</sup> _mt_ <sup>ð</sup> <sup>_t_</sup> <sup>ÞZ</sup> _m_ <sup>Z</sup> _g_ <sup>Z</sup> _e_ ð21Þ where _Pmtgen_ <sup>is the generated electrical power of the MT,</sup> <sup>_η_</sup> _m_ <sup>is the mechanical efficiency,</sup> <sup>_η_</sup> _g_ <sup>is the</sup> generator efficiency, and _ηe_ is the electrical efficiency for interfacing. A split-shaft MT system with a two-pole synchronous generator is shown in Fig 9. The details of the MT model are shown in Fig 10. The parameters of the MT are listed in Table 7. 3. Proposed adaptive control paradigm 3.1 Indirect adaptive MPPT control of PV system The PV MPPT is used to move the operating voltage under varying atmospheric conditions to maintain its position at the MPP. When the change of PV power with respect to the operating <u>Fig 10.</u> <u>Simulink model of micro-turbine.</u> [https://doi.org/10.1371/journal.pone.0173966.g010](https://doi.org/10.1371/journal.pone.0173966.g010) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 12 / 33 Adaptive control for PV and SOFC Table 7. Parameters of micro-turbine. <u>Micro-turbine</u> <u>Type</u> <u>Ingersoll Rand MT250</u> <u>Rated power</u> <u>200 kVA, 160 kW</u> <u>Rated voltage</u> <u>440 V</u> <u>Rated frequency</u> <u>50 Hz</u> [https://doi.org/10.1371/journal.pone.0173966.t007](https://doi.org/10.1371/journal.pone.0173966.t007) voltage is zero, the MPP is achieved as follows: _s_ ¼ <sup>_@Ppv_</sup> _@Vpv_ ¼ <sup>_<u>Ipv</u>_</sup> _Vpv_ þ <sup>_@Ipv_</sup> _@Vpv_ ¼ 0 ð22Þ where _s_ is the slope of PV power with respect to the operating voltage. Eq 22 is solved to calculate the MPP voltage at each instant of time using the MPPT algorithm. A Hermite wavelet embedded NeuroFuzzy indirect adaptive controller (HWNFIAC) is used to extract the maximum PV power. In the proposed control system, the incorporation of the Hermite wavelet embedded NeuroFuzzy identifier (HWNFI) makes it indirect. Both the controller and identifier are based on the same NeuroFuzzy structure. 3.1.1 Hermite wavelet embedded NeuroFuzzy identifier for PV. The Hermite wavelet has a restriction-free input range, which makes it more appropriate for solving highly nonlinear problems with a wide search space [41], [42]. Moreover, the series expansion of sufficient Hermite polynomials is used to represent any signal with a high degree of accuracy. The recursive relationships of Hermite polynomials and their first-order derivatives are efficiently used in the constructive network design. The Hermite polynomial _Hm_ ( _x_ ) of order _m_ is defined on the interval [−1, 1] and is given as _H_ 0ðxÞ ¼ 1 _;_ _H_ 1ðxÞ ¼ 2 _x_ and _Hm_ þ1ðxÞ ¼ 2 _xHm_ ðxÞ � 2 _mHm_ - 1ðxÞ ð23Þ where _Hm_ ( _x_ ) is orthogonal with respect to the weight function as 0 _;_ _n_ !2 <sup>_n_</sup> pfp f iffi _;_ ð1 _e_ <sup>�</sup> <sup>_x_</sup> <sup>2</sup> _Hm_ ðxÞ _Hn_ ðxÞ ¼ �1 ( _m_ 6¼ _n_ _m_ ¼ _n_ Hermite wavelet _ψn_, _m_ ( _x_ ) is defined on the interval [0,1) by 8 >< >: 0 _;_ 8 rf f i f f i f f i f f i f f i f f i f f iffi >< 1 c _n;m_ ð _x_ Þ ¼ 2 <sup>_k=_</sup> <sup>2</sup> _n_ !2 <sup>_n_</sup> ~~pf~~ p f i ~~f~~ fi ð24Þ ð25Þ _~~H~~_ _m_ ð2 <sup>_k_</sup> _x_ - <sup>___</sup> nÞ _;_ f i ~~f~~ fi ___ <u>n �</u> 1 - 1 ___ <u>n �</u> 1 - _x_ 2 <sup>_k_</sup> 2 <sup>_k_</sup> 2 <sup>_k_</sup> Otherwise where _k_ = 1, 2, ���, is the level of resolution, _n_ = 1, 2, ���, 2 <sup>_k_</sup> <sup>-1</sup>, <sup>___</sup> _n_ ¼ 2 _n_ - 1, is the translation parameter, and _m_ = 1, 2, ���, _M_ −1 is the order of the polynomial, _M >_ 0. The NeuroFuzzy network is based on a five-layer feedforward connectionist network as shown in Fig 11. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 13 / 33 Adaptive control for PV and SOFC <u>Fig 11.</u> <u>NeuroFuzzy network.</u> [https://doi.org/10.1371/journal.pone.0173966.g011](https://doi.org/10.1371/journal.pone.0173966.g011) 1. _Layer 1_ is the input layer, which directly transmits the inputs to the second layer. The input _x_ <sup>ð</sup> _i_ <sup>1Þ</sup> <sup>ð</sup> _i_ <sup>1Þ</sup> and the output _y_ <sup>ð</sup> _i;_ <sup>1</sup> _j_ <sup>Þ</sup> <sup>ð</sup> _i;_ <sup>1</sup> _j_ <sup>Þ</sup> <sup>for this layer are given as</sup> ( _xi_ ð1Þ ¼ _xi;_ _i_ ð _;_ 1 _j_ Þ <sup>¼</sup> <sup>_x_</sup> _i_ ¼ 1 _;_ 2 _;_ ��� _;_ n _j_ ¼ 1 _;_ 2 _;_ ��� _;_ _m_ ð26Þ _y_ _i_ ð1Þ <sup>_;_</sup> 2. _Layer 2_ is the fuzzification layer, which uses a Gaussian membership function to fuzzify the inputs of the antecedent part as follows: 8 >>< >>: _y_ _i_ ð _;_ 2 _j_ Þ <sup>¼ expð</sup> <sup>_x_</sup> 2 _xi_ ð _;_ 2 _j_ Þ <sup>¼ �ð</sup> <sup>_<u>y</u>_</sup> _i_ ð _;_ 1 _j_ Þ <sup>�</sup> <sup>_<u>c</u>_</sup> _<u>i;j</u>_ <sup>Þ</sup> _s_ <sup>2</sup> _i;j_ ð27Þ _i_ ð _;_ 2 _j_ Þ <sup>Þ</sup> where _ci_, _j_ and _si_, _j_ represent the center and spread of the Gaussian membership function, respectively. 3. _Layer 3_ is the rule layer, which uses the product T-norm to compute the firing strength of each rule as follows: ð2Þ i _;j_ ( _x_ ið3Þ ¼ Y _y_ ð3Þ _i_ ð28Þ _i_ ð3Þ ¼ _xi_ _yi_ [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 14 / 33 Adaptive control for PV and SOFC 4. _Layer 4_ is the consequent layer, which presents the Hermite wavelet function in each node. The weighted consequent value is given by 8 >>< >>: _yi_ ð4Þ ¼ _xi_ ð4Þ ¼ c _i;j_ ð _xi_ Þ X2 <sup>_k_</sup> <sup>�</sup> <sup>1</sup> ð4Þ _i_ _yi_ ð4Þ ¼ ð _wixi_ _i_ ¼1 5. _Layer 5_ is the output layer, which defuzzifies the network output as follows: ð29Þ ð30Þ 8 >>>>>>< >>>>>>: _yi_ ð ð3Þ _i_ X _n_ _y_ _i_ ¼1 _xi_ ð5Þ ¼ _i_ ð5Þ ¼ ð3Þ ð _i_ <sup>_y_</sup> _i_ _y_ ð4Þ _i_ _i_ ð5Þ ¼ <u>X</u> _nxi_ _yi_ _<u>xi</u>_ ð5Þ <u>X</u> _n_ n where _yi_ ð5Þ 2 ^s _;_ u _pv_ g _i_ ¼1 is the output of the Hermite wavelet embedded NeuroFuzzy network such that ^s is the output of the HWNFI and _upv_ is the output of the HWNFIAC. The error function used to adjust the HWNFI parameters is given as _eI_ ¼ ð^ _s_ ðtÞ � _s_ ðtÞÞ ð31Þ where _s_ (t) is the PV plant output, and ^ _s_ ðtÞ is the HWNFI output. The gradient descent algorithm is employed to adjust the linking weight _wi_ and parameters of the Gaussian membership function—i.e., _ci_, _j_ and _ssi_, _j_ . Thus, the generalized parameter update law is written as x _i;j_ ðt þ 1Þ ¼ x _i;j_ ðtÞ þ Z _eI_ ðtÞ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> <sup><u>ðtÞ</u></sup> ð32Þ _@_ x _i;j_ ðtÞ where ξ _i_, _j_ 2 {w _i_, _j_, _ci_, _j_, _ssi_, _j_ }, and _η_ is the learning rate. The differential term _@_ <sup>_<u>@</u>_</sup> x <sup><u>^</u></sup> <sup>_<u>s</u>_</sup> _i;_ <sup><u>ð</u></sup> _j_ <sup><u>t</u></sup> ð <sup><u>Þ</u></sup> tÞ <sup>is simplified</sup> for respective parameters by applying the chain rule as follows: _@_ ^ _<u>s</u>_ _@wi;j_ ¼ <sup>_@_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@y_ ð4Þ _i_ _@yi_ ð4Þ _@wi;j_ ð33Þ ð34Þ ð35Þ _@_ ^ _<u>s</u>_ _@ci;j_ _<u>@</u>_ ^ _<u>s</u>_ _@ssi;j_ ¼ <sup>_@_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@yi_ ð ð3Þ _i_ _@yi_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ _@yi_ ð3Þ _i_ ð2Þ _i;j_ _@yi_ ¼ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _<u>@yi</u>_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ _<u>@y</u>_ ð2Þ _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@ci;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@ssi;j_ [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 15 / 33 Adaptive control for PV and SOFC After simplifying the above differentials for each parameter, the final updated equations are given as follows: 2 6664 _y_ ð3Þ _i_ _<u>yi</u>_ ð3Þ <u>X</u> _n_ _wi;j_ ðt þ 1Þ ¼ _wi;j_ ðtÞ þ Zð^ _s_ ðtÞ � _s_ ðtÞÞ6664X _nyi_ _xi_ ð4Þ 3 ð36Þ 7775 _i_ ¼1 2 6664 _yi_ _yi_ ð3Þ ð _<u>xi</u>_ - _<u>ci;j</u>_ Þ _ss_ <sup>2</sup> _i;j_ ð _<u>xi</u>_ - _<u>ci;j</u>_ Þ _ss_ <sup>3</sup> _i;j_ _<u>i</u>_ ð4Þ <u>�</u> ^ _<u>s</u>_ <u>ðtÞ</u> <u>X</u> _n_ _<u>i</u>_ _ci;j_ ðt þ 1Þ ¼ _ci;j_ ðtÞ þ Zð^ _s_ ðtÞ � _s_ ðtÞÞ <sup>_<u>y</u>_</sup> 6664 _i_ ¼1 2 6664 _y_ ð3Þ _i_ ð37Þ ð38Þ _<u>i</u>_ ð4Þ - ^ _<u>s</u>_ ðtÞ <u>X</u> _n_ 2 ð _<u>i</u>_ _ssi;j_ ðt þ 1Þ ¼ _ssi;j_ ðtÞ þ Zð^ _s_ ðtÞ � _s_ ðtÞÞ <sup>_<u>y</u>_</sup> 6664 3 ð3Þ _i_ 7 ~~7~~ 5 _y_ 3 ð3Þ _i_ 7 ~~7~~ 5 _y_ _i_ ¼1 3.1.2 Hermite wavelet embedded NeuroFuzzy indirect adaptive controller for PV. The controller uses the same Hermite wavelet embedded NeuroFuzzy structure as used by the HWNFI. The error function to adjust the HWNFIAC parameters is given as _ec_ ðtÞ ¼ ðrðtÞ � _s_ ðtÞÞ ð39Þ where _r_ (t) is the reference input. The parameters of the HWNFIAC are updated by minimizing the following cost function: F _c_ ¼ <sup><u>1</u></sup> 2 <sup>2</sup> _pv_ <sup>ðtÞ�</sup> ð40Þ <sup><u>1</u></sup> 2 <sup>½</sup> <sup>_e_</sup> _c_ <sup>2ðtÞ þ ℏ</sup> <sup>_u_</sup> <sup>2</sup> _pv_ where F _c_ is the cost function, and ℏ is the learning rate. Thus, the generalized adaptive law can be written as I _i;j_ ðt þ 1Þ ¼ I _i;j_ ðtÞ þ ℏ <sup>_<u>@</u>_</sup> <sup><u>F</u></sup> <sup>_<u>c</u>_</sup> <sup><u>ðtÞ</u></sup> ð41Þ _@_ I _i;j_ ðtÞ <sup>þ ℏDe</sup> <sup>_c_</sup> <sup>ð</sup> <sup>_t_</sup> <sup>Þ</sup> where I 2 { _vi_, _j_, _ki_, _j_, _σi_, _j_ } is the adaptation vector for the HWNFIAC, which can be calculated by using the gradient descent algorithm. The term _@_ <sup>_<u>@</u>_</sup> I <sup><u>F</u></sup> _i_ <sup>_<u>c</u>_</sup> _;j_ <sup><u>ð</u></sup> ð <sup><u>t</u></sup> t <sup><u>Þ</u></sup> Þ <sup>can be simplified using the following</sup> equation: " # _<u>@</u>_ <u>F</u> _<u>c</u>_ <u>ðtÞ</u> _ec_ ðtÞ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@_ I _i;j_ ðtÞ <sup>¼</sup> _@upv_ - ℏ _upv_ _@upv_ ð42Þ _@_ I _i;j_ ðtÞ The term _@@u_ <u>^</u> _<u>spv</u>_ <sup>is based on the HWNFI and can be calculated as follows:</sup> ~~f~~ 8 _φ_ - - - _upv_ - _ci;j_ ð4Þ pf2 f i _j_ _j_ - _ss_ <sup>2</sup> _yi_ - ^ _s_ ðtÞ þ 2 p ~~f~~ 8 _φ_ 11 <sup>þ</sup> <sup>_φ_</sup> 12 <sup>ð128u</sup> _pv_ <sup>�</sup> <sup>wÞg</sup> - _upvss_ - <sup>2</sup> _ci;j_ _y_ ð4Þ pf2 f i _i_ - ^ _s_ ðtÞ þ 2 p _<u>@</u>_ ^ _<u>s</u>_ _@upv_ ð3Þ _upv_ - _ci;j_ _i_ - _ss_ <sup>2</sup> _ss_ <sup>2</sup> _yi_ ð3Þ _i;j_ ¼ X _n_ _y_ _<u>i</u>_ <u>¼1</u> <u>X</u> _n_ _i_ ¼1 ð43Þ [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 16 / 33 Adaptive control for PV and SOFC where _χ_ is given as The differential term _@upv_ ðtÞ _@_ I _i;j_ ðtÞ <sup>from Eq 42 is simplified for the respective parameters by apply-</sup> ( w ¼ 32 _;_ 0 � _upv_ - 1 _=_ 2 w ¼ 32 _;_ w ¼ 48 _;_ ð44Þ 1 _=_ 2 � _upv_ - 1 ing the chain rule as follows: _@upv_ _@_ n _i;j_ ¼ <sup>_@upv_</sup> _@yi_ ð ð4Þ _i_ _@yi_ ð4Þ _@_ n _i;j_ _@yi_ ð4Þ _@_ n _i;j_ _@upv_ _@_ k _i;j_ _@upv_ _@_ s _i;j_ ¼ <sup>_@upv_</sup> _@y_ ð3Þ _i_ _<u>@yi</u>_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ _<u>@y</u>_ ð3Þ _i_ ð2Þ _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ k _i;j_ _@y_ ð45Þ ð46Þ ð47Þ ¼ <sup>_@upv_</sup> _@yi_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ _@y_ ð2Þ _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ k _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ s _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ s _i;j_ After simplifying the above differentials for each parameter, the final update equations for the HWNFIAC are given as follows: _y_ _yi_ ð3Þ ! _<u>yi</u>_ ð3Þ <u>X</u> _n_ n _i;j_ ðt þ 1Þ ¼ n _i;j_ ðtÞ þ ℏ ð _r_ ðtÞ � _s_ ðtÞÞ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@upv_ n _i;j_ ðt þ 1Þ ¼ n _i;j_ ðtÞ þ ℏ ð _r_ ðtÞ � _s_ ðtÞÞ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> - ℏ _upv_ 2 2 6664 3 _xi_ ð4Þ ð4Þ _i_ 3 Þ ð48Þ 7775 _i_ ¼1 ! ð4Þ _i_ - _<u>upv</u>_ ðtÞ <u>X</u> _n_ _y_ ð3Þ _i_ s <sup>2</sup> _i;j_ ð _<u>xi</u>_ - k _<u>i;j</u>_ Þ s <sup>3</sup> _i;j_ ð _<u>xi</u>_ - k _<u>i;j</u>_ Þ k _i;j_ ðt þ 1Þ ¼ k _i;j_ ðtÞ þ ℏ ð _r_ ðtÞ � _s_ ðtÞÞ <sup>_<u>@</u>_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@upv_ - ℏ _upv_ _<u>y</u>_ 6664 _<u>y</u>_ ð3Þ _i_ 7 ~~7~~ 5 _y_ _i_ ¼1 where _xi_ = _ec_ (t) or _xi_ = Δ _ec_ (t). s _i;j_ ðt þ 1Þ ¼ s _i;j_ ðtÞ þ ℏ ð _r_ ðtÞ � _s_ ðtÞÞ <sup>_@_</sup> <sup>^</sup> <sup>_<u>s</u>_</sup> _@upv_ 2 ! - ℏ _upv_ 6664 _yi_ _yi_ ð3Þ 3 ð49Þ ð50Þ ð4Þ _i_ - _<u>upv</u>_ ðtÞ <u>X</u> _n_ 2 _<u>yi</u>_ ð3Þ _i_ 7 ~~7~~ 5 _y_ _i_ ¼1 3.2 Indirect adaptive control of SOFC system To obtain the swift response from the SOFC, the input hydrogen must be controlled. The input hydrogen is directly proportional to the SOFC stack current. Therefore, the optimal flow of input hydrogen is obtained by controlling the SOFC stack current. The relationship for the SOFC stack current is given by <sup>_in_</sup> _H_ 2 ð51Þ 2 _<u>k</u>_ <sup>_in_</sup> _H_ 2 <sup>¼</sup> _H_ 2 <sup>_uti_</sup> - _<u>H</u>_ <u>2</u> <sup>_uti_</sup> _m_ <sup>_in_</sup> _H_ <u>2</u> 2 _k_ _m_ <sup>_in_</sup> _H_ 2 - - 2 _<u>k</u>_ _Isofc_ ) _Isofc_ ¼ _<u>H</u>_ <u>2</u> <sup>_uti_</sup> 2 where _H_ 2 <sup>_uti_</sup> <sup>is the optimal hydrogen utilization, and</sup> <sup>_min_</sup> _H_ 2 <sup>is the molar flow of input hydrogen.</sup> _H_ 2 <sup>_uti_</sup> <sup>has a typical range of 80–90%. For optimal hydrogen utilization, the SOFC current lies in</sup> where _H_ 2 <sup>_uti_</sup> 2 <sup>_uti_</sup> <sup>has a typical range of 80–90%. For optimal hydrogen utilization, the SOFC current lies in</sup> [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 17 / 33 the following limits: 0 _:_ 8 _m_ <sup>_in_</sup> _<u>H</u>_ <u>2</u> ¼ _Isofc_ - min - _Isofc_ - _r_ - _Isofc_ - max ¼ 2 _k_ Adaptive control for PV and SOFC 0 _:_ 9 _m_ <sup>_in_</sup> _<u>H</u>_ <u>2</u> ð52Þ 2 _k_ where _k_ is the constant that gives the amount of hydrogen reacting in the SOFC, and 0 _:_ 8 _m_ <sup>_in_</sup> _H_ 2 and 0 _:_ 9 _m_ <sup>_in_</sup> _H_ 2 <sup>are the minimum and maximum limits of molar flow of hydrogen, respectively.</sup> I _sofc_ −min, I _sofc_ −r and I _sofc_ −max are the minimum, reference and maximum SOFC currents, respectively. The aforementioned limitations of hydrogen utilization and current helps the SOFC acquire the optimal operating point of the V–I curve, because the output power of the SOFC is directly related to its fuel consumption. The load variations suggest the different output power levels for the SOFC. Different SOFC output power levels require appropriate variation in the input hydrogen flowrate, which is possible by a control system. The SOFC power demand is converted into current as follows: _Isofc_ - _r_ ¼ <sup>_<u>Psofc</u>_</sup> <sup>�</sup> <sup>_<u>r</u>_</sup> _Vsofc_ ð53Þ A Hermite wavelet incorporated NeuroFuzzy indirect adaptive control is used to obtain the swift response from the SOFC. To identify the SOFC plant, a Hermite wavelet embedded NeuroFuzzy identifier is used. In both the controller and identifier, Hermite wavelets are embedded in the consequent part of the NeuroFuzzy network. The structure of the Hermite wavelet incorporated NeuroFuzzy indirect adaptive control for SOFC is the same as that used for the PV system. 3.2.1 Hermite wavelet embedded NeuroFuzzy identifier for SOFC. The output of the Hermite wavelet embedded NeuroFuzzy network is _yi_ ð5Þ 2 f <sup>^</sup> I _sofc;_ u _sofc_ g, where <sup>^</sup> I _sofc_ is the output current of the HWNFI, and _usofc_ is the output of the controller. The error function ~ _eI_ to adjust the HWNFI parameters is given as ~ _eI_ ðtÞ ¼ ð <sup>^</sup> I _sofc_ ðtÞ � I _sofc_ ðtÞÞ ð54Þ where I _sofc_ (t) is the SOFC plant output, and <sup>^</sup> I _sofc_ ðtÞ is the HWNFI output. The gradient descent algorithm is employed to adjust the linking weight _w_ ~ _i_, center ~ _ci;j_ and spread ~ _s_ ~ _si;j_ of the Gaussian membership function. Therefore, the generalized parameters update law is written as x~ _i;j_ ðt þ 1Þ ¼ x~ _i;j_ ðtÞ þ ~Z~ _eI_ ðtÞ <sup>_@_</sup> <sup>^</sup> <sup>_<u>I sofc</u>_</sup> <sup>ðtÞ</sup> _@_ x <sup>~</sup> _i;j_ ðtÞ ð55Þ where x <sup>~</sup> _i;j_ 2 f _w_ ~ _i;j;_ ~ _ci;j;_ ~ _s_ ~ _si;j_ g, and ~Z is the learning rate for the HWNFI. After simplifying the differential _@_ <sup>^</sup> _I sofc_ ðtÞ _@_ x <sup>~</sup> _i;j_ ðtÞ <sup>for each parameter, the final updated equations are as follows:</sup> 2 6664 _y_ ð3Þ _i_ 3 _<u>yi</u>_ ð3Þ <u>X</u> _n_ _w_ ~ _i;j_ ðt þ 1Þ ¼ _w_ ~ _i;j_ ðtÞ þ ~Zð <sup>^</sup> I _sofc_ ðtÞ � I _sofc_ ðtÞÞ6664X _nyi_ W _n;m_ ð _x_ Þ ð56Þ 7775 _i_ ¼1 2 6664 _yi_ ð3Þ _i_ ð _<u>xi</u>_ - ~ _<u>ci;j</u>_ Þ ~ _s_ ~ _s_ <sup>2</sup> _i;j_ ð4Þ _i_ - <sup>^</sup> <u>I</u> _<u>sofc</u>_ ðtÞ <u>X</u> _n_ 3 ð3Þ _i_ 7 ~~7~~ 5 _y_ ~ _ci;j_ ðt þ 1Þ ¼ ~ _ci;j_ ðtÞ þ ~Zð <sup>^</sup> I _sofc_ ðtÞ � I _sofc_ ðtÞÞ <sup>_<u>y</u>_</sup> 6664 ð57Þ _i_ ¼1 [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 18 / 33 2 6664 _y_ Adaptive control for PV and SOFC 3 ð _<u>xi</u>_ - ~ _<u>ci;j</u>_ Þ ~ _s_ ~ _s_ <sup>3</sup> _i;j_ ð4Þ _i_ - <sup>^</sup> <u>I</u> _<u>sofc</u>_ ðtÞ <u>X</u> _n_ ð3Þ _i_ 7 ~~7~~ 5 _y_ 2 ð _i_ ~ _s_ ~ _si;j_ ðt þ 1Þ ¼ ~ _s_ ~ _si;j_ ðtÞ þ ~Zð <sup>^</sup> I _sofc_ ðtÞ � I _sofc_ ðtÞÞ <sup>_<u>y</u>_</sup> 6664 ð58Þ ð3Þ _i_ _i_ ¼1 3.2.2 Hermite wavelet embedded NeuroFuzzy indirect adaptive controller for SOFC. The HWNFIAC uses the same Hermite wavelet embedded NeuroFuzzy structure as used by the HWNFI. The error function to adjust the HWNFIAC parameters is given as ~ _ec_ ðtÞ ¼ ð~rðtÞ � _Isofc_ ðtÞÞ ð59Þ where ~ _r_ ðtÞ is the reference input. To update the parameters of the HWNFIAC, the following cost function is minimized: F~ _c_ ¼ <sup><u>1</u></sup> 2 <sup>2</sup> _sofc_ <sup>ðtÞ�</sup> ð60Þ <sup><u>1</u></sup> 2 <sup>½~</sup> <sup>_e_</sup> _c_ <sup>2ðtÞ þ ~ℏ</sup> <sup>_u_</sup> <sup>2</sup> where F <sup>~</sup> _c_ is the cost function, and ℏ <sup>~</sup> is the learning rate for the HWNFIAC. Thus, the generalized adaptive law is written as I~ _i;j_ ðt þ 1Þ ¼ I~ _i;j_ ðtÞ þ ~ℏ <sup>_<u>@</u>_</sup> <sup><u>F~</u></sup> <sup>_<u>c</u>_</sup> <sup><u>ðtÞ</u></sup> _@_ I <sup>~</sup> _i;j_ ðtÞ þ ℏ <sup>~</sup> D~e _c_ ðtÞ ð61Þ n where the adaptation vector I <sup>~</sup> 2 ~n _i;j;_ k~ _i;j;_ s~ _i;j_ g the gradient descent algorithm. The term <sup>_<u>@</u>_</sup> <sup><u>F~</u></sup> <sup>_<u>c</u>_</sup> <sup><u>ðtÞ</u></sup> _@_ I <sup>~</sup> _i;j_ ðtÞ for the HWNFIAC can be calculated by using <sup>_<u>@</u>_</sup> <sup><u>F~</u></sup> <sup>_<u>c</u>_</sup> <sup><u>ðtÞ</u></sup> _@_ I <sup>~</sup> _i;j_ ðtÞ <sup>can be simplified using the following equation:</sup> _<u>@</u>_ <u>F</u> <sup>~</sup> _<u>c</u>_ <u>ðtÞ</u> _@_ I <sup>~</sup> _i;j_ ðtÞ " # ¼ ~ _ec_ ðtÞ <sup>_@Isofc_</sup> _@usofc_ ¼ ~ _ec_ ðtÞ <sup>_@Isofc_</sup> - ℏ _usofc_ _@usofc_ _@_ I <sup>~</sup> _i;j_ ðtÞ The term _@_ <sup>^</sup> _<u>I sofc</u>_ _@usofc_ _@_ <sup>^</sup> _I sofc_ _@usofc_ <sup>is based on the HWNFI and can be calculated as follows:</sup> _yi_ ð3Þ ð3Þ _i_ ð62Þ ð63Þ ð4Þ pf2 f i _i_ - <sup>^</sup> _I sofc_ ðtÞ þ 2 p _y_ ð3Þ _usofc_ - ~ _ci;j_ _i_ - ~ _s_ ~ _s_ <sup>2</sup> - - - _usofc_ - ~ _ci;j_ ð4Þ pf2 f i _j_ _j_ - ~ _s_ ~ _s_ <sup>2</sup> _yi_ - <sup>^</sup> _I sofc_ ðtÞ þ 2 p ~~f~~ 8~ _φ_ 11 <sup>þ ~</sup> <sup>_φ_</sup> 12 <sup>ð128u</sup> _sofc_ <sup>�</sup> <sup>w~Þg</sup> - _usofc_ ~ _s_ ~ _s_ - <sup>2</sup> ~ _ci;j_ _y_ ~ _s_ ~ _s_ <sup>2</sup> _i;j_ ~~f~~ 8~ _φ_ ¼ X _n_ _<u>i</u>_ <u>¼1</u> <u>X</u> _n_ _i_ ¼1 where ~w is given as The differential term ( w~ ¼ 32 _;_ 0 � _usofc_ - 1 _=_ 2 w~ ¼ 32 _;_ w~ ¼ 48 _;_ ð64Þ 1 _=_ 2 � _usofc_ - 1 _@usofc_ ðtÞ _@_ I <sup>~</sup> _i;j_ ðtÞ <sup>from Eq 62 is simplified for the respective parameters by apply-</sup> _@usofc_ ðtÞ ing the chain rule as follows: _@usofc_ _@_ ~n _i;j_ ¼ <sup>_@usofc_</sup> _@yi_ ð ð4Þ _i_ _@yi_ ð4Þ _@_ ~n _i;j_ _@yi_ ð4Þ _@_ ~n _i;j_ ð65Þ ð66Þ _@usofc_ _@_ k~ _i;j_ ¼ <sup>_@usofc_</sup> _@y_ ð3Þ _i_ _<u>@y</u>_ _<u>@yi</u>_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ ð2Þ _i;j_ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ k~ _i;j_ [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 19 / 33 Adaptive control for PV and SOFC ð67Þ _@upv_ _@_ s _i;j_ ¼ <sup>_@upv_</sup> _@y_ ð3Þ _i_ _<u>@y</u>_ _<u>@yi</u>_ ð3Þ _@yi_ ð _;_ 2 _j_ Þ _yi_ ð _;_ 2 _j_ Þ _@yi_ ð _;_ 2 _<u>j</u>_ Þ _@_ s _i;j_ After simplifying the above differentials for each parameter, the final update equations for the HWNFIAC are given as follows: _<u>yi</u>_ ð3Þ <u>X</u> _n_ _y_ _<u>yi</u>_ ð3Þ <u>X</u> _n_ ~n _i;j_ ðt þ 1Þ ¼ ~n _i;j_ ðtÞ þ ℏ <sup>~</sup> ð~ _r_ ðtÞ � _Isofc_ ðtÞÞ <sup>_@_</sup> <sup>^</sup> <sup>_<u>I sofc</u>_</sup> _@usofc_ - ℏ~ _usofc_ 2 ! 2 6664 _xi_ ð4Þ ð4Þ _i_ 3 Þ ð68Þ 7775 _i_ ¼1 ð3Þ _i_ 3 ð4Þ _i_ - _<u>usofc</u>_ ðtÞ <u>X</u> _n_ _y_ ð3Þ _i_ k~ _i;j_ ðt þ 1Þ ¼ k~ _i;j_ ðtÞ þ ℏ <sup>~</sup> ð~ _r_ ðtÞ � _Isofc_ ðtÞÞ <sup>_@_</sup> <sup>^</sup> <sup>_<u>I sofc</u>_</sup> _@usofc_ - ℏ~ _usofc_ ! - ℏ~ _usofc_ ! 6664 ð _<u>xi</u>_ - k~ _<u>i;j</u>_ Þ _<u>y</u>_ ð4Þ _i_ - _<u>usofc</u>_ ðtÞ <u>X</u> _n_ ð3Þ _i_ 7 ~~7~~ 5 _y_ _i_ ¼1 where _xi_ ¼ ~ _ec_ ðtÞ or _xi_ ¼ D~ _ec_ ðtÞ. s~ _i;j_ ðt þ 1Þ ¼ s~ _i;j_ ðkÞ þ ℏ <sup>~</sup> ð~ _r_ ðtÞ � _Isofc_ ðtÞÞ <sup>_@_</sup> <sup>^</sup> <sup>_<u>I sofc</u>_</sup> _@usofc_ 2 6664 _y_ ð3Þ _i_ 3 s~ <sup>2</sup> _i;j_ ð _<u>xi</u>_ - k~ _<u>i;j</u>_ Þ s~ <sup>3</sup> _i;j_ ð69Þ ð70Þ 2 _<u>y</u>_ ð3Þ _i_ 7 ~~7~~ 5 _y_ _i_ ¼1 Eqs 22 and 52 are solved to compute the voltage at the MPP for the PV system and the swift response of the SOFC at each instant of time subject to the following assumptions: _THDV_ _<_ 5% _;_ _THDI_ _<_ 5% _;_ - 0 _:_ 8% _ffund_ _< ffund_ _<_ þ0 _:_ 8% _ffund_ - 6%V _rms_ _<_ V _rms_ _<_ þ6%V _rms_ - 5%V _DCbus_ _<_ V _DCbus_ _<_ þ5%V _DCbus_ ð71Þ ð72Þ _Assumption_ 1 : 8 >>>>< >>>>: & ( _Pgen_ þ _Pmt_ - _Pgrid_ ¼ _Pload_ _Qgen_ þ _Qmt_ - _Qgrid_ ¼ _Qload_ _Assumption_ 2 : where _THDV_ and _THDI_ are the total harmonic distortion for the load voltage and current, respectively. _ffund_ is the fundamental frequency of the load in which only 0.8% fluctuations are allowed to obtain the quality power. _Vrms_ is load rms voltage, and the acceptable variation in _Vrms_ is up to 6%. V _DC bus_ is the DC bus voltage variation, which should remain constant for stable operation of the HPS. _Pgen_ and _Qgen_ are the active and reactive generated power from the renewable energy sources along with the backup system. _Pmt_ and _Qmt_ are the active and reactive power of the MT. _Pgrid_ and _Qgrid_ are the active and reactive powers of the utility grid. A ± symbol with grid powers shows the bidirectional flow of grid powers. _Pload_ and _Qload_ are the active and reactive powers of the load. The power from renewable energy sources is calculated as follows: _Pgen_ ¼ _Pwind_ þ _Ppv_ - _Psc_ - _Pbat_ þ _Psofc_ - _Pelect_ ð73Þ where _Psc_, _Pbat_ and _Pelect_ are the output powers of the SC, battery and electrolyzer, respectively. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 20 / 33 Adaptive control for PV and SOFC The following closed-loop control algorithm steps are used to update the parameters of the identifiers and controllers of the PV and SOFC. 1. Initialize the linking weights and parameters of Gaussian membership functions of identifiers and controllers. 2. Adjust the values of learning rates. 3. Sample the inputs of the HWNFIAC at time _t_ . 4. Update the parameters of the HWNFI by minimizing the respective error—i.e., _eI_ (t) and ~ _eI_ ðtÞ. 5. Calculate the outputs of the controllers ( _upv_ and _usofc_ ) and apply them to the respective plant. 6. Compute the outputs of PV and SOFC plants using control signals. 7. Calculate the adaptation errors using ^ _s_ and <sup>^</sup> _I sofc_ . Back propagate these errors to adjust the parameters of HWNFIAC by minimizing F _c_ and F <sup>~</sup> _c_ . 8. Repeat steps 2–7 until the solution converges. The closed-loop PV and SOFC control systems are shown in Fig 12. <u>Fig 12.</u> <u>Closed-loop control systems for PV and SOFC.</u> [https://doi.org/10.1371/journal.pone.0173966.g012](https://doi.org/10.1371/journal.pone.0173966.g012) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 21 / 33 Adaptive control for PV and SOFC 3.3 Supervisory control The prime obligation of the supervisory control is to ensure the continuous supply of power in the HPS. The supervisory control calculates the reference power for the SOFC, electrolyzer, battery, SC, MT and grid based on the deduction of the load power from the wind and PV generated power. The flowchart of supervisory control is shown in Fig 13. In the flowchart, _Pwind_, _Ppv_, _Psofc_, _Pelect_, _Pbat_, _Psc_, _Pgrid_ and _Pmt_ are the wind, PV, SOFC, electrolyzer, battery, SC, grid and MT power, respectively. _SOCbat_ and _SOCsc_ are the SOCs of the battery and SC, respectively. Supervisory control requires several decisions for the management and use of power. The decision factor of the supervisory control depends upon the load power and the wind and PV generated power. The SOFC, battery, SC, MT and grid are capable of providing the required power. All steps for the operation of supervisory control are explained below: 1. Compare the wind and PV generated power with the load. If the wind and PV generated power is greater than the load, go to step 2; otherwise, go to step 6. <u>Fig 13.</u> <u>HPS supervisory control flowchart.</u> [https://doi.org/10.1371/journal.pone.0173966.g013](https://doi.org/10.1371/journal.pone.0173966.g013) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 22 / 33 Adaptive control for PV and SOFC 2. If the SOC of the battery is less than 90%, the battery is in charge mode. If the battery is charged and the generation (wind and PV power) is greater than the load, go to step 3; otherwise, go to step 1. 3. If the SOC of the SC is less than 90%, the SC is in charge mode. If the SC is charged and the generation (wind and PV power) is greater than the load, go to step 4; otherwise, go to step 1. 4. If both the battery and SC are fully charged, the excess power is used by the electrolyzer to produce the hydrogen gas. If the hydrogen tank is full and the generation (wind and PV power) is greater than the load, go to step 5; otherwise, go to step 1. 5. The excess power is given to the grid; go to step 1. 6. If the wind and PV generated power is less than the load power and the SOC of the battery is greater than 20%, the battery is in discharge mode. If the battery is discharged and deficient power exists, go to step 7; otherwise, go to step 1. 7. If the SOC of the SC is greater than 20%, the SC is in discharge mode. If the SC is discharged and deficient power exists, go to step 8; otherwise, go to step 1. 8. If both the battery and SC are fully discharged, the SOFC delivers the power to the load. If the load is not met, go to step 9. Otherwise, go to step 1. 9. The grid delivers the remaining deficient power if it is available or during off-peak hours; otherwise, the MT delivers the remaining deficient power. Go to step 1. 4. Results and discussions The performance of the stated HPS and proposed controllers is evaluated in MATLAB Simulink R2014b. In an 11 kV grid-connected HPS, wind generation of 100 kW, PV of 260 kW, SOFC of 200 kW, electrolyzer of 150 kW, and MT of 200 kVA along with backup sources (200 Ah battery and 165 F Super-Capacitor) are modeled for the dynamic residential load. Defense Housing Authority (DHA), Islamabad, Pakistan, is taken as a case study. The hourly basis wind speed (m/s), irradiance (W/m <sup>2</sup> ) and ambient temperature (˚C) levels are recorded by the Pakistan Meteorological Department (PMD) as shown in Figs 14 and 15. The base wind speed is taken as 12 m/s, whereas wind speed varies between 3 and 13 m/s as shown in Fig 14. A maximum wind speed of 12.4 m/s is achieved between 4 and 5 h, and the minimum wind speed of 3.1 m/s is captured during 2–3 and 11–13 h. The ambient temperature and solar irradiance used for the case study are shown in Fig 15. At nighttime, the low temperature is recorded. During 0–6 h, the temperature continues to decrease, and a minimum temperature of 27˚C is obtained during 5–6 h. After 6 h, the temperature continues to increase, and a maximum temperature of 41˚C is attained during 14–18 h. After 18 h, the temperature again gradually decreases until 23 h. The irradiance level varies over the 24 h cycle depending upon the appearance of the sun. In the absence of the sun—i.e., during 0–5.5 h and 19–24 h—the irradiance level is zero. After 5.5 h, the irradiance level increases, and a maximum irradiance level of 1058 W/m <sup>2</sup> is obtained during 11–13 h. The HWNFIAC for the PV system tracks the MPP by keeping the slope close to zero. To analyze the performance of the HWNFIAC, a PI controller is also used to track the MPP of the PV system. It is clear from Fig 16 that under rapid change of atmospheric conditions, the HWNFIAC achieves the MPP quickly. The PI controller also tracks the PV MPP, but when the sudden change in atmospheric conditions occurs, the PI controller loses its control for an [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 23 / 33 Adaptive control for PV and SOFC <u>Fig 14.</u> <u>Wind speed.</u> [https://doi.org/10.1371/journal.pone.0173966.g014](https://doi.org/10.1371/journal.pone.0173966.g014) instant of time, which results in spikes—e.g., at 0, 5.5, 6, 18.5 and 19 h. The accuracy and stability of the PV HWNFIAC is better than the PI controller. The HWNFIAC for the SOFC is used to obtain a swift response by controlling the molar flow of input hydrogen. The power drawn from the SOFC is proportional to the molar flow of <u>Fig 15.</u> <u>Temperature and irradiance levels.</u> [https://doi.org/10.1371/journal.pone.0173966.g015](https://doi.org/10.1371/journal.pone.0173966.g015) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 24 / 33 Adaptive control for PV and SOFC <u>Fig 16.</u> <u>PV MPPT error.</u> [https://doi.org/10.1371/journal.pone.0173966.g016](https://doi.org/10.1371/journal.pone.0173966.g016) hydrogen. In the case of load variations, after a short transient period, the HWNFIAC quickly achieves the stable condition compared to the PI controller as shown in Fig 17. The PI controller takes time and fluctuates more for load variations. The HWNFIAC provides a better control than PI. <u>Fig 17.</u> <u>SOFC hydrogen utilization error.</u> [https://doi.org/10.1371/journal.pone.0173966.g017](https://doi.org/10.1371/journal.pone.0173966.g017) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 25 / 33 Adaptive control for PV and SOFC <u>Fig 18.</u> <u>Generated and consumed power.</u> [https://doi.org/10.1371/journal.pone.0173966.g018](https://doi.org/10.1371/journal.pone.0173966.g018) The generated and consumed power of the stated HPS is shown in Fig 18. The power generated from renewable energy sources—i.e., wind and PV—is initially used to satisfy the load. In the absence of renewable power, other sources of HPS participate accordingly to satisfy the load. During nighttime, i.e.—0–2.19 h—the load varies between 54 and 83 kW. For this time interval, the wind power fluctuates between 31 and 63 kW, and the PV power is completely unavailable. Initially, the battery and SC are considered fully charged, so these two backup sources deliver the power to the load. The grid delivers the rest of the power up to 10 kW to the load. The load is met by wind, battery, SC and grid power, so there is no need to take power from the SOFC and MT. Any excess power in the system is utilized by the electrolyzer to keep the system stable. For the time interval 2.1–5.5 h, the load increases to 83–115 kW. During this time interval, the wind power decreases to 31–24 kW for the interval 2.1–3 h and then increases to 24–29.7 kW for the interval 3–5 h. Between 5 and 5.5 h, the wind power again decreases to 29.7–26.8 kW. PV power is still inaccessible for this interval. The battery and SC remain in discharge mode during this time interval. The grid delivers a maximum of 15 kW between 4 and 5.5 h, and the SOFC delivers a maximum of 7.3 kW between 5 and 5.5 h. The MT is kept off during this time interval and the electrolyzer utilizes the surplus power from the system. During the time interval 5.5–10 h, the load increases to 115–200 kW. For this time interval, the wind power varies, a minimum wind power of 15 kW is captured at t = 6.7 h, and a maximum wind power of 28 kW is acquired at t = 9.5 h. PV power is now available, and a maximum of 246 kW is obtained. The battery is in discharge mode until 6.2 h and then remains in charge mode for 6.2–10 h. The SC is in discharge mode for 5.5–6.5 h, but between 6.5 and 7 h, the SC neither utilizes nor delivers the power. Between 7 and 8.5 h, the SC is in charge mode and then remains in discharge mode for 8.5–10 h. The grid delivers a maximum of 18 kW between 5.5 and 8 h, but the grid takes a maximum of 20 kW during 9–10 h. During this time interval, the SOFC and MT are kept off, because the load is satisfied. The electrolyzer takes all excess power of the system. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 26 / 33 Adaptive control for PV and SOFC <u>Fig 19.</u> <u>Load active and reactive power.</u> [https://doi.org/10.1371/journal.pone.0173966.g019](https://doi.org/10.1371/journal.pone.0173966.g019) During 10–19 h, fluctuating wind gives a maximum of 23 kW at t = 18.79 h. The PV system delivers its maximum power of 253 kW between 11 and 13 h, and then PV power starts decreasing and becomes zero again at t = 19 h. After t = 18 h, the battery delivers the power. The SC remains in charge mode between 10.5 and 17.5 h and then starts discharging after 17.5 h. The SOFC starts delivering the power after t = 18.5 h. During this time interval, the grid takes a maximum of 20 kW. Between 12 and 15.25 h, the MT delivers approximately 15 kW of power. The electrolyzer utilizes excess power. For 19–24 h, the wind power decreases to 21–2.5 kW. PV power is again unavailable. The battery remains in discharge mode and delivers 30 kW of power. The SC delivers the power until t = 19.3 h only. The SOFC delivers maximum power of 140 kW. The MT delivers a maximum of 25 kW between 19 and 23.25 h. The grid takes a maximum of 25 kW power until 22.25 h and then delivers 10 kW of power during 23.25–24 h. The electrolyzer utilizes excess power. The reference power shown in Fig 19 is the load required power. At each hour, the load required power is essentially satisfied by the power extracted from the generating sources used in the HPS. The zoomed Figs of active and reactive load show that although the PI controller reduces the steady state error, it increases the overshoot, undershoot and settling time compared to the HWNFIAC as mentioned in Table 8. The PV generated power is shown in Fig 20. The PV power is unavailable for 0–5.5 h and 19–24 h—i.e., at nighttime. After t = 5.5 h, the PV power continues to increase until t = 13 h, [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 27 / 33 Adaptive control for PV and SOFC Table 8. Comparative analysis of controllers. <u>Photovoltaic</u> <u>Max. Power (kW)</u> <u>Overshoot</u> <u>Undershoot</u> <u>Steady State Error (kW)</u> <u>Settling Time (s)</u> <u>PV</u> <u>with No Control</u> <u>234</u> <u>0%</u> <u>-6%</u> <u>20</u> <u>0.29</u> <u>PV</u> <u>with PI</u> <u>242</u> <u>6%</u> <u>-18%</u> <u>12</u> <u>0.03</u> <u>PV</u> <u>with HWNFIAC</u> <u>253.6</u> <u>0%</u> <u>-2%</u> <u>0.4</u> <u>0.01</u> <u>SOFC with</u> <u>PI</u> <u>140.4</u> <u>0%</u> <u>-12%</u> <u>3</u> <u>0.31</u> <u>SOFC with</u> <u>HWNFIAC</u> <u>141.9</u> <u>0%</u> <u>-7%</u> <u>1.5</u> <u>0.13</u> <u>Load (kW)</u> <u>with PI</u> <u>210.9</u> <u>3%</u> <u>-22%</u> <u>-1</u> <u>0.19</u> <u>Load (kW)</u> <u>with HWNFIAC</u> <u>210</u> <u>1%</u> <u>-18%</u> <u>0</u> <u>0.1</u> <u>Load (kVAR)</u> <u>with PI</u> <u>158</u> <u>2%</u> <u>-8%</u> <u>-700</u> <u>0.139</u> <u>Load (kVAR)</u> <u>with HNFIAC</u> <u>157</u> <u>1%</u> <u>-4%</u> <u>0</u> <u>0.119</u> <u>Max. Deviation</u> <u>Vrms</u> <u>Frequency</u> <u>VTHDs</u> <u>ITHDs</u> <u>PI</u> <u>1.53%</u> <u>0.1748%</u> <u>4.084%</u> <u>3.79%</u> <u>HWNFIAC</u> <u>1.32%</u> <u>0.1443%</u> <u>3.85%</u> <u>3.89%</u> [https://doi.org/10.1371/journal.pone.0173966.t008](https://doi.org/10.1371/journal.pone.0173966.t008) where maximum power of 254 kW is captured and then starts decreasing. Fig 20 shows the PV power captured with the HWNFIAC, PI and without any control. The HWNFIAC tracks the reference power with minimum overshoot, undershoot, steady state error and settling time compared to PI and without control as given in Table 8. At t = 12 h, the peak reference PV power is 254 kW, whereas the HWNFIAC acquires 253.6 kW; PI achieves 242 kW and without control 234 kW. According to Table 8, although the overshoot and undershoot in the case without control are less than with the PI control, the steady-state error is much higher than with PI control. In the zoomed sub-figures depicted in Fig 20, the overshoot, undershoot and steady-state error with the HWNFIAC, with the PI and without control are clearly shown. The reference power is the power required by the SOFC as shown in Fig 21. The reference power is tracked by both controllers—i.e., HWNFIAC and PI. Fig 21 shows that the <u>Fig 20.</u> <u>PV output power.</u> [https://doi.org/10.1371/journal.pone.0173966.g020](https://doi.org/10.1371/journal.pone.0173966.g020) [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 28 / 33 Adaptive control for PV and SOFC <u>Fig 21.</u> <u>SOFC output power.</u> [https://doi.org/10.1371/journal.pone.0173966.g021](https://doi.org/10.1371/journal.pone.0173966.g021) HWNFIAC tracks the reference power more quickly compared to the PI controller. The undershoot, steady-state error and settling time of the HWNFIAC are less than with the PI controller as mentioned in Table 8. The zoomed Figs of undershoot and steady-state error are also presented in Fig 21. In the HPS, power quality is the key issue to be addressed. Power quality evaluates the fitness of electric power to consumer devices and is measured in terms of voltage regulation, frequency stabilization and total harmonic distortion. To ensure power quality, assumptions are applied according to the IEEE 1547 standard [43]. In Fig 22, the percentage change in load RMS voltage and fundamental frequency are shown. The percentage change in both the load RMS voltage and fundamental frequency are in their acceptable limits for both HWNFIA and PI controllers, which ensures the system stability and quality power. The maximum deviation of load RMS voltage with the HWNFIAC and PI are 1.32% and 1.53%, respectively. Similarly, the maximum deviation of the load frequency with the HWNFIAC and PI are 0.1443% and 0.1748%, respectively, as mentioned in Table 8. In Fig 23, the THD for voltage and current are shown, which are in their standard limits for both HWNFIAC and PI controllers. The maximum deviation of voltage THD with HWNFIAC and PI are 3.85% and 4.084%, respectively. Similarly, the maximum deviation of current THD with HWNFIAC and PI are 3.89% and 3.79%, respectively. It is clear from Table 8 that the maximum deviation of RMS voltage, fundamental frequency and voltage THD are less in the case of the HWNFIAC compared to the PI controller. 5. Conclusions This paper presents a grid-connected HPS consisting of wind turbine, PV, SOFC, electrolyzer, battery storage system, SC and MT generating sources to satisfy a dynamic residential load. The dynamic models of all components of the HPS are discussed. In the HPS, the continuous and sustainable power supply to the load is achieved by supervisory control. The results prove that power is well managed in the HPS under rapid change of atmospheric and dynamic load conditions. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 29 / 33 Adaptive control for PV and SOFC <u>Fig 22.</u> <u>Percentage change in load voltage and frequency.</u> [https://doi.org/10.1371/journal.pone.0173966.g022](https://doi.org/10.1371/journal.pone.0173966.g022) The main contribution of this research work is to extract the maximum power from the PV system and obtain a swift response of the SOFC. Two Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems are implemented to track the MPPT of the PV and swift response of the SOFC. The HWNFIAC for the PV system quickly tracks the MPP, and the HWNFIAC for the SOFC accurately achieves the swift response of the SOFC. To track the MPPT of the PV system and obtain the swift response of the SOFC, Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems have higher precision than conventional PI control systems in terms of overshoot, undershoot, steady-state error and settling time. Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems for both PV and SOFC have smaller overshoot, undershoot, steady-state error and settling time compared to conventional PI controllers. Future work The future work is to implement the Chebyshev wavelet-based NeuroFuzzy indirect adaptive control system to track the MPP of the wind generation system. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 30 / 33 Adaptive control for PV and SOFC <u>Fig 23.</u> <u>Percentage change in voltage THD and current THD.</u> [https://doi.org/10.1371/journal.pone.0173966.g023](https://doi.org/10.1371/journal.pone.0173966.g023) Acknowledgments The authors are highly grateful to Saghir Ahmed for providing valuable suggestions for improving and modifying the overall contents of the paper. Author Contributions Conceptualization: SM LK. Data curation: SM LK. Formal analysis: SM LK. Investigation: SM LK. Methodology: SM LK. Project administration: LK. Resources: SM LK. Software: SM LK. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 31 / 33 Adaptive control for PV and SOFC Supervision: LK. Validation: SM LK. Visualization: SM LK. Writing – original draft: SM. Writing – review & editing: SM LK. References 1. Conti J, Holtberg P, Doman LE, Smith KA, Sullivan JO, Vincent KR, et al. International energy outlook 2011. US Energy Information Administration, Technical Report No. DOE/EIA-0484. 2011 Sep. 2. Mohammed YS, Mustafa MW, Bashir N. Hybrid renewable energy systems for off-grid electric power: Review of substantial issues. Renewable and Sustainable Energy Reviews. 2014 Jul 31; 35:527–39. 3. Wu X, Hu X, Moura S, Yin X, Pickert V. Stochastic control of smart home energy management with plug-in electric vehicle battery energy storage and photovoltaic array. Journal of Power Sources. 2016 Nov 30; 333:203–12. 4. Nelson DB, Nehrir MH, Wang C. Unit sizing and cost analysis of stand-alone hybrid wind/PV/fuel cell power generation systems. Renewable energy. 2006 Aug 31; 31(10):1641–56. 5. Wang C, Nehrir MH. Power management of a stand-alone wind/photovoltaic/fuel cell energy system. IEEE transactions on energy conversion. 2008 Sep; 23(3):957–67. 6. Uzunoglu M, Onar OC, Alam MS. Modeling, control and simulation of a PV/FC/UC based hybrid power generation system for stand-alone applications. Renewable Energy. 2009 Mar 31; 34 (3):509–20. 7. Hosseini M, Dincer I, Rosen MA. Hybrid solar—fuel cell combined heat and power systems for residential applications: energy and exergy analyses. Journal of Power Sources. 2013 Jan 1; 221:372–80. 8. Ahmed J, Salam Z. An improved perturb and observe (P&O) maximum power point tracking (MPPT) algorithm for higher efficiency. Applied Energy. 2015 Jul 15; 150:97–108. 9. Sivakumar P, Kader AA, Kaliavaradhan Y, Arutchelvi M. Analysis and enhancement of PV efficiency with incremental conductance MPPT technique under non-linear loading conditions. Renewable Energy. 2015 Sep 30; 81:543–50. 10. Gokmen N, Karatepe E, Ugranli F, Silvestre S. Voltage band based global MPPT controller for photovoltaic systems. Solar Energy. 2013 Dec 31; 98:322–34. 11. Mutoh N, Inoue T. A control method to charge series-connected ultraelectric double-layer capacitors suitable for photovoltaic generation systems combining MPPT control method. IEEE Transactions on Industrial Electronics. 2007 Feb; 54(1):374–83. 12. Wu XJ, Zhu XJ, Cao GY, Tu HY. Predictive control of SOFC based on a GA-RBF neural network model. Journal of Power Sources. 2008 Apr 15; 179(1):232–9. 13. Grujicic M, Chittajallu KM, Law EH, Pukrushpan JT. Model-based control strategies in the dynamic interaction of air supply and fuel cell. Proceedings of the Institution of Mechanical Engineers, Part A: Journal of Power and Energy. 2004 Nov 1; 218 (7):487–99. 14. Stiller C, Thorud B, Bolland O, Kandepu R, Imsland L. Control strategy for a solid oxide fuel cell and gas turbine hybrid system. Journal of power sources. 2006 Jul 14; 158 (1):303–15. 15. Pukrushpan JT, Stefanopoulou AG, Peng H. Modeling and control for PEM fuel cell stack system. InProceedings of the 2002 American Control Conference (IEEE Cat. No. CH37301) 2002 May 8 (Vol. 4, pp. 3117–3122). IEEE. 16. Aguiar P, Adjiman CS, Brandon NP. Anode-supported intermediate-temperature direct internal reforming solid oxide fuel cell: II. Model-based dynamic performance and control. Journal of Power Sources. 2005 Sep 9; 147 (1):136–47. 17. Oh SR, Sun J, Dobbs H, King J. Model predictive control for power and thermal management of an integrated solid oxide fuel cell and turbocharger system. IEEE Transactions on Control Systems Technology. 2014 May; 22 (3):911–20. 18. Gong W, Cai Z. Parameter optimization of PEMFC model with improved multi-strategy adaptive differential evolution. Engineering Applications of Artificial Intelligence. 2014 Jan 31; 27:28–40. 19. Harrag A, Messalti S. Variable step size modified P&O MPPT algorithm using GA-based hybrid offline/ online PID controller. Renewable and Sustainable Energy Reviews. 2015 Sep 30; 49:1247–60. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 32 / 33 Adaptive control for PV and SOFC 20. Ou TC, Hong CM. Dynamic operation and control of microgrid hybrid power systems. Energy. 2014 Mar 1; 66:314–23. 21. Khan L, Lo KL, Jovanovic S. Hybrid GA neuro-fuzzy damping control system for UPFC. COMPEL-The international journal for computation and mathematics in electrical and electronic engineering. 2006 Oct 1; 25 (4):841–61. 22. Rezk H, Eltamaly AM. A comprehensive comparison of different MPPT techniques for photovoltaic systems. Solar Energy. 2015 Feb 28; 112:1–1. 23. Badar R, Khan L. Coordinated Adaptive Control of Multiple Flexible AC Transmission Systems using Multiple-input—Multiple-output Neuro-fuzzy Damping Control Paradigms. Electric Power Components and Systems. 2014 Jun 11; 42 (8):818–30. 24. Badar R, Khan L. Neurofuzzy Based Fully Adaptive Indirect Controls for SSSC: A Comparative Analysis. InProceedings of the 2013 11th International Conference on Frontiers of Information Technology 2013 Dec 16 (pp. 95–100). IEEE Computer Society. 25. Badar R, Khan L. Hybrid neuro-fuzzy legendre-based adaptive control algorithm for static synchronous series compensator. Electric Power Components and Systems. 2013 Jul 4; 41 (9):845–67. 26. Khan L, Badar R. Hybrid adaptive neuro-fuzzy B-spline—based SSSC damping control paradigm using online system identification. Turkish Journal of Electrical Engineering & Computer Sciences. 2015 Mar 16; 23(2):395–420. 27. Tao G. Adaptive control design and analysis. John Wiley & Sons; 2003 Jul 9. 28. Sastry S, Bodson M. Adaptive control: stability, convergence and robustness. Courier Corporation; 2011. 29. Mellit A, Kalogirou SA. ANFIS-based modelling for photovoltaic power supply system: A case study. Renewable Energy. 2011 Jan 31; 36 (1):250–8. 30. Entchev E, Yang L. Application of adaptive neuro-fuzzy inference system techniques and artificial neural networks to predict solid oxide fuel cell performance in residential micro-generation installation. Journal of Power Sources. 2007 Jun 30; 170 (1):122–9. 31. Abu-Rub H, Iqbal A, Ahmed SM, Peng FZ, Li Y, Baoming G. Quasi-Z-source inverter-based photovoltaic generation system with maximum power tracking control using ANFIS. IEEE Transactions on Sustainable Energy. 2013 Jan; 4(1):11–20. 32. Wu XJ, Zhu XJ, Cao GY, Tu HY. Nonlinear modeling of a SOFC stack based on ANFIS identification. Simulation Modelling Practice and Theory. 2008 Apr 30; 16(4):399–409. 33. Wang R, Qi L, Xie X, Ding Q, Li C, Ma CM. Modeling of a 5-cell direct methanol fuel cell using adaptivenetwork-based fuzzy inference systems. Journal of Power Sources. 2008 Dec 1; 185(2):1201–8. 34. Tarek B, Said D, Benbouzid ME. Maximum power point tracking control for photovoltaic system using adaptive neuro-fuzzy “ANFIS”. InEcological Vehicles and Renewable Energies (EVER), 2013 8th International Conference and Exhibition on 2013 Mar 27 (pp. 1–7). IEEE. 35. Haque ME, Negnevitsky M, Muttaqi KM. A novel control strategy for a variable-speed wind turbine with a permanent-magnet synchronous generator. IEEE Transactions on Industry Applications. 2010 Jan; 46(1):331–9. 36. Zheng L, Zhang L, Zhu J, Wang G, Jiang J. Co-estimation of state-of-charge, capacity and resistance for lithium-ion batteries based on a high-fidelity electrochemical model. Applied Energy. 2016 Oct 15; 180:424–34. 37. Zhang L, Hu X, Wang Z, Sun F, Dorrell DG. Experimental impedance investigation of an ultracapacitor at different conditions for electric vehicle applications. Journal of Power Sources. 2015 Aug 1; 287:129–38. 38. Zhang L, Hu X, Wang Z, Sun F, Dorrell DG. Fractional-order modeling and State-of-Charge estimation for ultracapacitors. Journal of Power Sources. 2016 May 15; 314:28–34. 39. Lei Z, Zhenpo W, Xiaosong H, Dorrell DG. Residual capacity estimation for ultracapacitors in electric vehicles using artificial neural network. IFAC Proceedings Volumes. 2014 Dec 31; 47(3):3899–904. 40. Zhang L, Dorrell DG. Genetic Algorithm based optimal component sizing for an electric vehicle. In Industrial Electronics Society, IECON 2013-39th Annual Conference of the IEEE 2013 Nov 10 (pp. 7331–7336). IEEE. 41. Gupta AK, Ray SS. An investigation with Hermite Wavelets for accurate solution of fractional Jaulent— Miodek equation associated with energy-dependent Schro¨dinger potential. Applied Mathematics and Computation. 2015 Nov 1; 270:458–71. 42. Ray SS, Gupta AK. A numerical investigation of time-fractional modified Fornberg—Whitham equation for analyzing the behavior of water waves. Applied Mathematics and Computation. 2015 Sep 1; 266:135–48. 43. IEEE standard for interconnecting distributed resources with electric power systems. IEEE Std 1547– 2003; 1–28. [PLOS ONE | https://doi org/10 1371/journal pone 0173966](https://doi.org/10.1371/journal.pone.0173966) March 22 2017 33 / 33

섹션 본문 97문단 · 39,326자

(제목 없음)

1The hybrid power system (HPS) is an emerging power generation scheme due to the plentiful availability of renewable energy sources. Renewable energy sources are characterized as highly intermittent in nature due to meteorological conditions, while the domestic load also behaves in a quite uncertain manner. In this scenario, to maintain the balance between generation and load, the development of an intelligent and adaptive control algorithm has preoccupied power engineers and researchers. This paper proposes a Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT (maximum power point tracking) control of photovoltaic (PV) systems to extract maximum power and a Hermite wavelet incorporated NeuroFuzzy indirect adaptive control of Solid Oxide Fuel Cells (SOFC) to obtain a swift response in a grid-connected hybrid power system. A comprehensive simulation testbed for a grid-connected hybrid power system (wind turbine, PV cells, SOFC, electrolyzer, battery storage system, supercapacitor (SC), micro-turbine (MT) and domestic load) is developed in Matlab/Simulink. The robustness and superiority of the proposed indirect adaptive control paradigm are evaluated through simulation results in a grid-connected hybrid power system testbed by comparison with a conventional PI (proportional and integral) control system. The simulation results verify the effectiveness of the proposed control paradigm. sustainable power. Therefore, multiple renewable and non-renewable power sources are incorporated to form a hybrid power system. Currently, in the energy market, hybrid power systems based on renewable energy have paved an attractive approach to produce electricity[2]. A PV power based stochastic optimization framework is used to manage the energy of a smart home with plug-in electric vehicle (PEV) storage[3]. Moreover, to achieve the accuracy, PV power and home load demand are also forecasted using a radial basis function neural network (RBF-NN). A wind/PV/fuel cell generation-based HPS is presented for a typical home in the US Pacific Northwest[4]. A standalone application of HPS contains wind, PV cells, fuel cells (FC), an electrolyzer and a battery, which are integrated through an AC link bus[5]. To obtain the maximum advantage from renewable energy, wind and PV cells are considered as primary sources of the HPS. The FC/electrolyzer and battery are used as a backup system. However, the stated HPS operates as a standalone system. A PV, FC and ultra-capacitor (UC)-based standalone HPS is used to supply sustained power[6]. During adequate irradiance, the excess power generated by the PV system is fed to the electrolyzer. Conversely, when the PV system is unable to meet the load, the FC tries to satisfy the load, but if load power deficiency still exists, then UC supplies the auxiliary power. However, the standalone application makes the HPS operate off-grid-i.e., not connected to any distribution grid. Thus, standalone application limits the scope of the stated HPS. A PV/electrolyzer coupled with a SOFC based on energy and exergy is developed to supply the electricity to a residential load, but the maximum obtained efficiencies for energy and exergy are 55.7% and 49%, respectively [7]. In the mutable environment, to increase the output efficiency of the PV system, a maximum power point tracking (MPPT) algorithm is required to search the optimal operating voltage and/or current of the PV system. The nonlinear behavior of the current-voltage curve of the PV system makes MPPT a more challenging issue. In the literature, various techniques have been proposed depending upon complexity, convergence speed, control, stability and cost. The most commonly used techniques are perturb and observe (P&O), incremental conductance (IC), constant voltage (CV) and constant current (CC) algorithms [8], [9], [10],[11]. Among them, P&O is widely adopted due to its simplicity and easy hardware implementation, but once the maximum power point is achieved, the system keeps oscillating around this power point.SOFC is an alternative versatile energy source, because it converts chemical energy into electrical energy with negligible emissions. However, SOFC presents a challenging control issue during load following due to its sluggish dynamics, nonlinearity and strict operating constraints. A sudden change in load power causes hydrogen starvation in the SOFC, i.e., the partial pressure of oxygen drops significantly, which lowers the cell voltage rapidly and hence shortens the life of the SOFC. Moreover, this fuel starvation also permanently damages the SOFC. Thus, an efficient control system is needed to ensure that the SOFC satisfies the dynamic load with high operating efficiency. Two types of control strategies exist for SOFC. One is to control the input hydrogen in proportion to the stack current, and the other is to maintain a constant voltage at the SOFC terminals[12]. In the literature, several control strategies are used for SOFC, which include a multi-loop feedback control, a master control, PID feedback control and model predictive control, but these techniques are computationally slow, complex and difficult to implement [13], [14], [15], [16], [17].Similarly, numerous intelligent and modern soft computing techniques are widely used to obtain the PV MPPT and swift response of SOFC, which include evolutionary algorithms, artificial neural network (ANN), fuzzy logic and their hybrids. Evolutionary algorithms (DE, GA, PSO, etc.) are stochastic processes that are quite efficient to optimize real-valued, nonlinear and multi-objective problems[18],[19],[20]. However, evolutionary algorithms need more research and technological development for the appropriate selection of control parameters, initial values, solution archive and locality of the search space. ANN is a non-parametric and

Introduction

2The global electricity demand is expected to increase 49% from 2007 to 2035 [1]. At present, most of the electricity demand is met by fossil fuels. These fossil fuels have caused adverse environmental effects, and their reserves are declining with the passage of time. Moreover, the rapid increase in electricity demand and scarcity of fossil fuels increase the cost of electricity. Thus, it is essential to endeavor to decrease greenhouse gas emissions and obtain affordable long-term sustainable energy sources. Recently, renewable energy has gained much more attention as an alternative energy. Renewable energy is clean, is sustainable, is economical and never runs out. The power from renewable energy is at the mercy of meteorological conditions. Thus, any standalone renewable energy source is unable to supply reliable and a1111111111 a1111111111 a1111111111 a1111111111 a1111111111 nonlinear regression soft computing technique. The learning capability of ANN provides "implicit knowledge" in the form of hidden neurons [21]. However, in ANN, the selection of optimal initial values of the weights, centers and spreads of the hidden unit is a crucial issue. The fuzzy logic control system is robust and somewhat simple to design, because no precise mathematical model is needed. However, the appropriate selection of the fuzzy inference system is quite important for accurate performance of the fuzzy logic control system [22]. However, the synergy of two paradigms-i.e., ANN and fuzzy logic-offers another prevailing artificial intelligence technique called NeuroFuzzy. This control scheme has good generalization capability, has low complexity and is easy to implement [23]. NeuroFuzzy amalgamates the explicit knowledge of fuzzy logic with the implicit knowledge of ANN [24]. However, the inherent drawback of the NeuroFuzzy system is that it not only becomes trapped in local minima of the search space but also has long computational time. Moreover, due to the linear consequent part, the classical NeuroFuzzy network becomes inefficient to handle system nonlinearities. These inherent issues are mitigated by introducing wavelets into the Neuro-Fuzzy network. Wavelet inclusion significantly improves the computational speed of the Neu-roFuzzy network. The wavelet-based network is considered as an optimal approximator, because it explores a small number of data chunks to achieve precision [25], [26].

3However, when a nonlinear system such as the PV system has unknown and uncertain parameters due to the fluctuating environment, the abovementioned control systems are no longer applicable. The adaptive control paradigm is suitable to sustain the reliable performance of a nonlinear system in real time even in the occurrence of unknown and uncertain variation [27]. There are two different classes of adaptive control: direct and indirect [28]. A direct adaptive control system directly updates the controller parameters without involving the explicit identification of the unknown plant. However, direct adaptive control fails to capture the instantaneous dynamics of the nonlinear system [29], [30], [31]. The indirect adaptive control (or self-tuning regulator) is more appropriate to work with a fluctuating environment, because it adaptively identifies the model of the plant used to calculate the controller parameters [32], [33], [34].

4To address all the afore mentioned hitches, an efficient Hermite wavelet embedded Neuro-Fuzzy indirect adaptive MPPT control scheme for PV systems and an effective Hermite wavelet incorporated NeuroFuzzy indirect adaptive control scheme for SOFC systems integrated with HPS is proposed. In the stated HPS, tracking the maximum power point (MPP) for the PV system and obtaining the swift response of the SOFC are quite perplexing issues, because this system is greatly characterized by nonlinearity. The nonlinearity arises due to the erratic load, dynamic solar radiation and inconsistent temperature.

5Given the above interpretation, it is observed that the proposed adaptive control paradigm possesses the following characteristics:

6• The Hermite wavelet embedded NeuroFuzzy indirect adaptive MPPT control of PV is characterized by nonlinearity, which operates on the instantaneously captured nonlinear dynamics of the system.

7• The Hermite wavelet incorporated NeuroFuzzy indirect adaptive control of SOFC is embodied to respond swiftly to the nonlinear identified dynamics of the system due of sudden load changes.

8• The Hermite wavelet has strong identification capability, which is exploited by the adaptive controllers for PV maximum power point tracking and SOFC output power control.

9• The NeuroFuzzy algorithm is characterized by "explicit knowledge" by virtue of fuzzy logic and "implicit knowledge" by virtue of the neural network, which makes the adaptive control paradigm transparent and evolvable.

10The rest of the paper is organized in six main sections. Section 2 presents the mathematical modeling of the proposed hybrid power system. Section 3 gives the detailed mathematical description of the proposed control strategies. Simulation results are discussed in section 4. Section 5 concludes the outcomes of this research work.

System overview and model description

11The configuration of the stated HPS is shown in Fig 1, which consists of wind turbine, PV cells, SOFC, electrolyzer, battery, SC, MT and residential load connected to the utility grid. Two buses are connected through the main inverter in the suggested HPS-i.e., DC bus and AC bus. HPS contains multiple power generation sources to compensate for the components' respective strengths and weaknesses. A permanent magnet synchronous generator (PMSG)based wind turbine is connected to the DC bus via a rectifier. The PV system is connected to the DC bus via a boost converter, which boosts the PV output voltage to the DC bus voltage. The electrolyzer utilizes surplus power to produce the hydrogen, which is used by the SOFC, so the electrolyzer acts as an energy buffer. The battery is used as a backup in the HPS and is connected to the DC bus via a bidirectional buck/boost converter. The battery is quite efficient when low and steady power levels are needed. The SC is also used as a backup source and is connected to the DC bus via a bidirectional buck/boost converter. SC can process several hundred thousand charge/discharge cycles compared to only a few thousand charge/discharge cycles for the battery. The MT is operated as a standby source in HPS, which is connected to the AC bus through back-to-back AC/DC and then DC/AC converters.

122.1 Mathematical modeling of hybrid power system components 2.1.1 Wind generation system. The PMSG-based wind generation system is shown in Fig 2. The wind turbine model is shown in Fig 3. The wind turbine produces mechanical energy, which is used to run a PMSG to obtain the electrical energy [35]. The output power captured by the wind turbine is given as

13where P m is the mechanical output power, c p is the performance coefficient, ρ is the air density (kg/m 3 ), A is the swept area of blades, v is the wind speed, λ is the tip speed ratio (TSR), and β is the blade pitch angle. TSR is the ratio between the linear speed of the blade tips and the rotational speed of the turbine and can be calculated as

14where R is rotor radius, and ω m is the mechanical speed of the generator. The performance coefficient is the nonlinear function of the TSR and blade pitch angle, which determines the power captured efficiency of the turbine and can be measured as follows:

15where the coefficients are c 1 = 0.5176, c 2 = 116, c 3 = 0.4, c 4 = 5, c 5 = 21 and c 6 = 0.0068. The maximum value of c p (λ, β) is obtained at β = 0˚and λ = 8.1. The electrical torque produced by the PMSG rotor is calculated as

16where T e is the electrical torque, p is the number of poles, L d is the inductance of the d-axis, L q is the inductance of the q-axis, i d is the current produced by the d-axis, i q is the current produced by the q-axis, and λ m is the amplitude of flux linkages. The important parameters of the wind turbine are listed in Table 1.

Photovoltaic array.

17The PV cell voltage and current vary with changing solar radiation and atmospheric temperature. The PV array current can be calculated as follows:

18where I pv is the PV array generated current, I light is the incident light current, I d is the diode current, V d is the diode voltage, and R shunt is the shunt resistance, which represents the leakage current. The voltage of the PV array is calculated as

19where V pv is the PV array voltage, n s is the number of series-connected cells, n p is the number of parallel connected cells, T is the cell temperature, α is the temperature coefficient, τ is Boltzmann's constant, q is the charge of an electron, I s is the short-circuit current,Ĩ is the diode saturation current, and R is a series-connected resistance. The Simulink model of the PV array is shown in Fig 4. All parameters of the PV array are given in Table 2.

Solid oxide fuel cell.

20SOFC is an electrochemical conversion source that directly generates electricity by oxidizing the fuel. The fuel most commonly used by SOFC is hydrogen. The molar flow of hydrogen is calculated as

21where m ref H 2 is the molar flow of hydrogen, n s is the number of series cells, I sofc is the SOFC current, F is Faraday's constant, and k is constant. The output voltage of SOFC is given as

22where V sofc is the SOFC output voltage, V N is the Nernst potential, V A is the activation polarization, V o is the ohmic polarization, and V C is the concentration polarization. The Nernst potential is given as

23where g is the gas constant, T is the cell temperature, r H 2 is the partial pressure of hydrogen, r O 2 is the partial pressure of oxygen, r H 2 O is the partial pressure of water, and E 0 is the reversible voltage. The Simulink model of SOFC is shown in Fig 5. Important SOFC parameters are listed in Table 3.

Electrolyzer.

24The electrolyzer dissociates water by using electrical energy to produce hydrogen and oxygen. The electrolyzer stack has several series-connected cells. The electrical efficiency of the electrolyzer is calculated as

25where η elect is the efficiency of the electrolyzer, Z I elect is the current efficiency, and Z V elect is the voltage efficiency. The amount of hydrogen produced (in mol) by the electrolyzer is given as

26where m H 2 is the amount of hydrogen produced, n s is the number of series cells, F is Faraday's constant, I elect is the electrolyzer current, and c is a constant. The Simulink model of the electrolyzer is shown in Fig 6. The parameters of the electrolyzer are listed in Table 4.

Battery.

27Lithium-ion batteries have high energy density; therefore, they are widely used to store energy in many industrial fields [36]. Battery voltage and state-of-charge (SOC) are the two most important parameters of a battery. Battery voltage is given as

28where V bat is the battery terminal voltage, V oc is the open-circuit voltage, R i is the internal resistance, and I bat is the battery output current, which can be calculated as

29The SOC of a battery is calculated by the Coulomb counting method [35]:

30where SOC bat is the SOC of the battery, SOC ini bat is the initial SOC of the battery, η represents the charge or discharge mode, and q is the battery capacity (ampere hour). The estimation of SOC, capacity and internal resistance ensures the safe, reliable and efficient operation of lithium-ion batteries [36]. The Simulink model of the battery is shown in Fig 7. The battery parameters are given in Table 5.

312.1.6 Supercapacitor. Supercapacitors are short-term energy storage devices with excellent power density and energy efficiency [37]. The SC has two important parameters, capacitance and resistance, which are assumed to be constant during charge/discharge cycles. The energy stored in the SC has a linear relationship with the square of the capacitor voltage as follows:

32where E sc is the energy stored in the SC, C is the capacitance, V sc is the voltage of the SC, P sc is the power of the SC, and I sc is the current of the SC. The SOC of the SC can be calculated as follows:

33where SOC sc is the SOC of the SC, and E max sc is the maximum energy of the SC. The SOC and residual capacity of the SC can be estimated for reliable, resilient and safe operation [38], [39]. The voltage of the SC is given as

34where R s and R p are equivalent series and parallel resistances, respectively, and V ini sc is the initial SC voltage. The Simulink model of the SC is shown in Fig 8. The use of both a battery (high energy density) and an SC (high power density) achieve a satisfactory driving range while meeting transient power demands at a suitable cost [40]. The SC reduces the battery stress by delivering power to the transients during harsh accelerations and stores regenerative energy in aggressive decelerations [39]. Important SC parameters are given in Table 6.

Micro-turbine.

35The MT is basically a smaller version of a heavy-duty gas turbine, deploying a radial compressor, combustor and turbine rotor with 25-300 kW installed capacity. The speed and power of the MT under dynamic load conditions are controlled using PI controllers, which work on the error signals. The fuel system involves the valve positioner and actuator. The temperature is controlled to obtain the mechanical power at a predetermined firing temperature. The MT generates electrical power though the synchronous generator. The turbine torque can be calculated as follows:

36where τ turbine is the torque of the turbine, f d is the fuel demand, and ω is the per unit speed of the turbine. The net mechanical power generated by the MT is

37where P mt is the net mechanical power produced by the MT, P turbine is the power produced by the turbine, and P compressor is the power consumed by the compressor. P mt is exerted on the Adaptive control for PV and SOFC turbine shaft to obtain the net electrical power at the output terminals of the MT as follows:

38where P gen mt is the generated electrical power of the MT, η m is the mechanical efficiency, η g is the generator efficiency, and η e is the electrical efficiency for interfacing. A split-shaft MT system with a two-pole synchronous generator is shown in Fig 9. The details of the MT model are shown in Fig 10. The parameters of the MT are listed in Table 7.

Indirect adaptive MPPT control of PV system

39The PV MPPT is used to move the operating voltage under varying atmospheric conditions to maintain its position at the MPP. When the change of PV power with respect to the operating Adaptive control for PV and SOFC voltage is zero, the MPP is achieved as follows:

40where s is the slope of PV power with respect to the operating voltage. Eq 22 is solved to calculate the MPP voltage at each instant of time using the MPPT algorithm. A Hermite wavelet embedded NeuroFuzzy indirect adaptive controller (HWNFIAC) is used to extract the maximum PV power. In the proposed control system, the incorporation of the Hermite wavelet embedded NeuroFuzzy identifier (HWNFI) makes it indirect. Both the controller and identifier are based on the same NeuroFuzzy structure.

Hermite wavelet embedded NeuroFuzzy identifier for PV.

41The Hermite wavelet has a restriction-free input range, which makes it more appropriate for solving highly nonlinear problems with a wide search space [41], [42]. Moreover, the series expansion of sufficient Hermite polynomials is used to represent any signal with a high degree of accuracy. The recursive relationships of Hermite polynomials and their first-order derivatives are efficiently used in the constructive network design.

42The Hermite polynomial H m (x) of order m is defined on the interval [−1, 1] and is given as

43where H m (x) is orthogonal with respect to the weight function as

44where k = 1, 2, Á Á Á, is the level of resolution, n = 1, 2, Á Á Á,

45i;j for this layer are given as

462. Layer 2 is the fuzzification layer, which uses a Gaussian membership function to fuzzify the inputs of the antecedent part as follows:

47where c i,j and s i,j represent the center and spread of the Gaussian membership function, respectively.

483. Layer 3 is the rule layer, which uses the product T-norm to compute the firing strength of each rule as follows:

49i;j 4. Layer 4 is the consequent layer, which presents the Hermite wavelet function in each node. The weighted consequent value is given by

505. Layer 5 is the output layer, which defuzzifies the network output as follows:

51where y ð5Þ i 2ŝ; u pv g n is the output of the Hermite wavelet embedded NeuroFuzzy network such thatŝ is the output of the HWNFI and u pv is the output of the HWNFIAC. The error function used to adjust the HWNFI parameters is given as

52where s(t) is the PV plant output, andŝðtÞ is the HWNFI output. The gradient descent algorithm is employed to adjust the linking weight w i and parameters of the Gaussian membership function-i.e., c i,j and ss i,j . Thus, the generalized parameter update law is written as

53where ξ i,j 2 {w i,j , c i,j , ss i,j }, and η is the learning rate. The differential term @ŝðtÞ @x i;j ðtÞ is simplified for respective parameters by applying the chain rule as follows:

Hermite wavelet embedded NeuroFuzzy indirect adaptive controller for PV.

54The controller uses the same Hermite wavelet embedded NeuroFuzzy structure as used by the HWNFI. The error function to adjust the HWNFIAC parameters is given as

55where r(t) is the reference input. The parameters of the HWNFIAC are updated by minimizing the following cost function:

56where F c is the cost function, and ℏ is the learning rate. Thus, the generalized adaptive law can be written as

57where I 2 {v i,j , k i,j , σ i,j } is the adaptation vector for the HWNFIAC, which can be calculated by using the gradient descent algorithm. The term @F c ðtÞ @I i;j ðtÞ can be simplified using the following equation:

58The term @ŝ @u pv is based on the HWNFI and can be calculated as follows:

59where χ is given as

60The differential term @u pv ðtÞ @I i;j ðtÞ from Eq 42 is simplified for the respective parameters by applying the chain rule as follows:

Indirect adaptive control of SOFC system

61To obtain the swift response from the SOFC, the input hydrogen must be controlled. The input hydrogen is directly proportional to the SOFC stack current. Therefore, the optimal flow of input hydrogen is obtained by controlling the SOFC stack current. The relationship for the SOFC stack current is given by

62where H uti 2 is the optimal hydrogen utilization, and m in H 2 is the molar flow of input hydrogen. H uti 2 has a typical range of 80-90%. For optimal hydrogen utilization, the SOFC current lies in the following limits:

63where k is the constant that gives the amount of hydrogen reacting in the SOFC, and 0:8m in H 2 and 0:9m in H 2 are the minimum and maximum limits of molar flow of hydrogen, respectively. I sofc−min , I sofc−r and I sofc−max are the minimum, reference and maximum SOFC currents, respectively. The aforementioned limitations of hydrogen utilization and current helps the SOFC acquire the optimal operating point of the V-I curve, because the output power of the SOFC is directly related to its fuel consumption. The load variations suggest the different output power levels for the SOFC. Different SOFC output power levels require appropriate variation in the input hydrogen flowrate, which is possible by a control system. The SOFC power demand is converted into current as follows:

64A Hermite wavelet incorporated NeuroFuzzy indirect adaptive control is used to obtain the swift response from the SOFC. To identify the SOFC plant, a Hermite wavelet embedded Neuro-Fuzzy identifier is used. In both the controller and identifier, Hermite wavelets are embedded in the consequent part of the NeuroFuzzy network. The structure of the Hermite wavelet incorporated NeuroFuzzy indirect adaptive control for SOFC is the same as that used for the PV system.

Hermite wavelet embedded NeuroFuzzy identifier for SOFC.

65The output of the Hermite wavelet embedded NeuroFuzzy network is y ð5Þ i 2 fÎ sofc ; u sofc g, whereÎ sofc is the output current of the HWNFI, and u sofc is the output of the controller. The error functionẽ I to adjust the HWNFI parameters is given as e I ðtÞ ¼ ðÎ sofc ðtÞ À I sofc ðtÞÞ ð54Þ

66where I sofc (t) is the SOFC plant output, andÎ sofc ðtÞ is the HWNFI output. The gradient descent algorithm is employed to adjust the linking weightw i , centerc i;j and spreadss i;j of the Gaussian membership function. Therefore, the generalized parameters update law is written as

67wherew is given asw

68The differential term @u sofc ðtÞ @Ĩ i;j ðtÞ from Eq 62 is simplified for the respective parameters by applying the chain rule as follows:

69Eqs 22 and 52 are solved to compute the voltage at the MPP for the PV system and the swift response of the SOFC at each instant of time subject to the following assumptions:

70Assumption 1 :

71& Assumption 2 : P gen þ P mt AE P grid ¼ P load

72where THD V and THD I are the total harmonic distortion for the load voltage and current, respectively. f fund is the fundamental frequency of the load in which only 0.8% fluctuations are allowed to obtain the quality power. V rms is load rms voltage, and the acceptable variation in V rms is up to 6%. V DC bus is the DC bus voltage variation, which should remain constant for stable operation of the HPS. P gen and Q gen are the active and reactive generated power from the renewable energy sources along with the backup system. P mt and Q mt are the active and reactive power of the MT. P grid and Q grid are the active and reactive powers of the utility grid. A ± symbol with grid powers shows the bidirectional flow of grid powers. P load and Q load are the active and reactive powers of the load. The power from renewable energy sources is calculated as follows:

73where P sc , P bat and P elect are the output powers of the SC, battery and electrolyzer, respectively.

74The following closed-loop control algorithm steps are used to update the parameters of the identifiers and controllers of the PV and SOFC.

751. Initialize the linking weights and parameters of Gaussian membership functions of identifiers and controllers.

762. Adjust the values of learning rates.

773. Sample the inputs of the HWNFIAC at time t.

784. Update the parameters of the HWNFI by minimizing the respective error-i.e., e I (t) and e I ðtÞ.

795. Calculate the outputs of the controllers (u pv and u sofc ) and apply them to the respective plant.

806. Compute the outputs of PV and SOFC plants using control signals.

Supervisory control

81The prime obligation of the supervisory control is to ensure the continuous supply of power in the HPS. The supervisory control calculates the reference power for the SOFC, electrolyzer, battery, SC, MT and grid based on the deduction of the load power from the wind and PV generated power. The flowchart of supervisory control is shown in Fig 13. In the flowchart, P wind , P pv , P sofc , P elect , P bat , P sc , P grid and P mt are the wind, PV, SOFC, electrolyzer, battery, SC, grid and MT power, respectively. SOC bat and SOC sc are the SOCs of the battery and SC, respectively. Supervisory control requires several decisions for the management and use of power. The decision factor of the supervisory control depends upon the load power and the wind and PV generated power. The SOFC, battery, SC, MT and grid are capable of providing the required power. All steps for the operation of supervisory control are explained below:

821. Compare the wind and PV generated power with the load. If the wind and PV generated power is greater than the load, go to step 2; otherwise, go to step 6. 2. If the SOC of the battery is less than 90%, the battery is in charge mode. If the battery is charged and the generation (wind and PV power) is greater than the load, go to step 3; otherwise, go to step 1.

833. If the SOC of the SC is less than 90%, the SC is in charge mode. If the SC is charged and the generation (wind and PV power) is greater than the load, go to step 4; otherwise, go to step 1.

844. If both the battery and SC are fully charged, the excess power is used by the electrolyzer to produce the hydrogen gas. If the hydrogen tank is full and the generation (wind and PV power) is greater than the load, go to step 5; otherwise, go to step 1.

5.

85The excess power is given to the grid; go to step 1.

866. If the wind and PV generated power is less than the load power and the SOC of the battery is greater than 20%, the battery is in discharge mode. If the battery is discharged and deficient power exists, go to step 7; otherwise, go to step 1.

877. If the SOC of the SC is greater than 20%, the SC is in discharge mode. If the SC is discharged and deficient power exists, go to step 8; otherwise, go to step 1.

888. If both the battery and SC are fully discharged, the SOFC delivers the power to the load. If the load is not met, go to step 9. Otherwise, go to step 1.

899. The grid delivers the remaining deficient power if it is available or during off-peak hours; otherwise, the MT delivers the remaining deficient power. Go to step 1.

Results and discussions

90The The ambient temperature and solar irradiance used for the case study are shown in Fig 15. At nighttime, the low temperature is recorded. During 0-6 h, the temperature continues to decrease, and a minimum temperature of 27˚C is obtained during 5-6 h. After 6 h, the temperature continues to increase, and a maximum temperature of 41˚C is attained during 14-18 h. After 18 h, the temperature again gradually decreases until 23 h. The irradiance level varies over the 24 h cycle depending upon the appearance of the sun. In the absence of the sun-i.e., during 0-5.5 h and 19-24 h-the irradiance level is zero. After 5.5 h, the irradiance level increases, and a maximum irradiance level of 1058 W/m 2 is obtained during 11-13 h.

91The HWNFIAC for the PV system tracks the MPP by keeping the slope close to zero. To analyze the performance of the HWNFIAC, a PI controller is also used to track the MPP of the PV system. It is clear from Fig 16 that under rapid change of atmospheric conditions, the HWNFIAC achieves the MPP quickly. The PI controller also tracks the PV MPP, but when the sudden change in atmospheric conditions occurs, the PI controller loses its control for an instant of time, which results in spikes-e.g., at 0, 5.5, 6, 18.5 and 19 h. The accuracy and stability of the PV HWNFIAC is better than the PI controller.

92The HWNFIAC for the SOFC is used to obtain a swift response by controlling the molar flow of input hydrogen. The power drawn from the SOFC is proportional to the molar flow of hydrogen. In the case of load variations, after a short transient period, the HWNFIAC quickly achieves the stable condition compared to the PI controller as shown in Fig 17. The PI controller takes time and fluctuates more for load variations. The HWNFIAC provides a better control than PI. The generated and consumed power of the stated HPS is shown in Fig 18. The power generated from renewable energy sources-i.e., wind and PV-is initially used to satisfy the load. In the absence of renewable power, other sources of HPS participate accordingly to satisfy the load. During nighttime, i.e.-0-2.19 h-the load varies between 54 and 83 kW. For this time interval, the wind power fluctuates between 31 and 63 kW, and the PV power is completely unavailable. Initially, the battery and SC are considered fully charged, so these two backup sources deliver the power to the load. The grid delivers the rest of the power up to 10 kW to the load. The load is met by wind, battery, SC and grid power, so there is no need to take power from the SOFC and MT. Any excess power in the system is utilized by the electrolyzer to keep the system stable. For the time interval 2.1-5.5 h, the load increases to 83-115 kW. During this time interval, the wind power decreases to 31-24 kW for the interval 2.1-3 h and then increases to 24-29.7 kW for the interval 3-5 h. Between 5 and 5.5 h, the wind power again decreases to 29.7-26.8 kW. PV power is still inaccessible for this interval. The battery and SC remain in discharge mode during this time interval. The grid delivers a maximum of 15 kW between 4 and 5.5 h, and the SOFC delivers a maximum of 7.3 kW between 5 and 5.5 h. The MT is kept off during this time interval and the electrolyzer utilizes the surplus power from the system. During the time interval 5.5-10 h, the load increases to 115-200 kW. For this time interval, the wind power varies, a minimum wind power of 15 kW is captured at t = 6.7 h, and a maximum wind power of 28 kW is acquired at t = 9.5 h. PV power is now available, and a maximum of 246 kW is obtained. The battery is in discharge mode until 6.2 h and then remains in charge mode for 6.2-10 h. The SC is in discharge mode for 5.5-6.5 h, but between 6.5 and 7 h, the SC neither utilizes nor delivers the power. Between 7 and 8.5 h, the SC is in charge mode and then remains in discharge mode for 8.5-10 h. The grid delivers a maximum of 18 kW between 5.5 and 8 h, but the grid takes a maximum of 20 kW during 9-10 h. During this time interval, the SOFC and MT are kept off, because the load is satisfied. The electrolyzer takes all excess power of the system. The reference power shown in Fig 19 is the load required power. At each hour, the load required power is essentially satisfied by the power extracted from the generating sources used in the HPS. The zoomed Figs of active and reactive load show that although the PI controller reduces the steady state error, it increases the overshoot, undershoot and settling time compared to the HWNFIAC as mentioned in Table 8.

93The PV generated power is shown in Fig 20. The PV power is unavailable for 0-5.5 h and 19-24 h-i.e., at nighttime. After t = 5.5 h, the PV power continues to increase until t = 13 h, where maximum power of 254 kW is captured and then starts decreasing. Fig 20 shows the PV power captured with the HWNFIAC, PI and without any control. The HWNFIAC tracks the reference power with minimum overshoot, undershoot, steady state error and settling time compared to PI and without control as given in Table 8. At t = 12 h, the peak reference PV power is 254 kW, whereas the HWNFIAC acquires 253.6 kW; PI achieves 242 kW and without control 234 kW. According to Table 8, although the overshoot and undershoot in the case without control are less than with the PI control, the steady-state error is much higher than with PI control. In the zoomed sub-figures depicted in Fig 20, the overshoot, undershoot and steady-state error with the HWNFIAC, with the PI and without control are clearly shown.

94The reference power is the power required by the SOFC as shown in Fig 21. The reference power is tracked by both controllers-i.e., HWNFIAC and PI. Fig 21 shows that the HWNFIAC tracks the reference power more quickly compared to the PI controller. The undershoot, steady-state error and settling time of the HWNFIAC are less than with the PI controller as mentioned in Table 8. The zoomed Figs of undershoot and steady-state error are also presented in Fig 21. In the HPS, power quality is the key issue to be addressed. Power quality evaluates the fitness of electric power to consumer devices and is measured in terms of voltage regulation, frequency stabilization and total harmonic distortion. To ensure power quality, assumptions are applied according to the IEEE 1547 standard [43]. In Fig 22, the percentage change in load RMS voltage and fundamental frequency are shown. The percentage change in both the load RMS voltage and fundamental frequency are in their acceptable limits for both HWNFIA and PI controllers, which ensures the system stability and quality power. The maximum deviation of load RMS voltage with the HWNFIAC and PI are 1.32% and 1.53%, respectively. Similarly, the maximum deviation of the load frequency with the HWNFIAC and PI are 0.1443% and 0.1748%, respectively, as mentioned in Table 8.

95In Fig 23, the THD for voltage and current are shown, which are in their standard limits for both HWNFIAC and PI controllers. The maximum deviation of voltage THD with HWNFIAC and PI are 3.85% and 4.084%, respectively. Similarly, the maximum deviation of current THD with HWNFIAC and PI are 3.89% and 3.79%, respectively. It is clear from Table 8 that the maximum deviation of RMS voltage, fundamental frequency and voltage THD are less in the case of the HWNFIAC compared to the PI controller.

Conclusions

96This paper presents a grid-connected HPS consisting of wind turbine, PV, SOFC, electrolyzer, battery storage system, SC and MT generating sources to satisfy a dynamic residential load. The dynamic models of all components of the HPS are discussed. In the HPS, the continuous and sustainable power supply to the load is achieved by supervisory control. The results prove that power is well managed in the HPS under rapid change of atmospheric and dynamic load conditions. The main contribution of this research work is to extract the maximum power from the PV system and obtain a swift response of the SOFC. Two Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems are implemented to track the MPPT of the PV and swift response of the SOFC. The HWNFIAC for the PV system quickly tracks the MPP, and the HWNFIAC for the SOFC accurately achieves the swift response of the SOFC. To track the MPPT of the PV system and obtain the swift response of the SOFC, Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems have higher precision than conventional PI control systems in terms of overshoot, undershoot, steady-state error and settling time. Hermite wavelet embedded NeuroFuzzy indirect adaptive control systems for both PV and SOFC have smaller overshoot, undershoot, steady-state error and settling time compared to conventional PI controllers.

Future work

97The future work is to implement the Chebyshev wavelet-based NeuroFuzzy indirect adaptive control system to track the MPP of the wind generation system.

참고문헌 42건

  1. An investigation with Hermite Wavelets for accurate solution of Fractional Jaulent–Miodek equation associated with energy-dependent Schrödinger potential Applied Mathematics and Computation · Elsevier BV · 2015 10.1016/j.amc.2015.08.058
  2. Adaptive control stability, convergence, and robustness Automatica · Elsevier BV · 1993 10.1016/0005-1098(93)90081-4
  3. Variable step size modified P&amp;O MPPT algorithm using GA-based hybrid offline/online PID controller Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.05.003
  4. Hybrid Neuro-fuzzy Legendre-based Adaptive Control Algorithm for Static Synchronous Series Compensator Electric Power Components and Systems · Taylor & Francis · 2013 10.1080/15325008.2013.792882
  5. Dynamic operation and control of microgrid hybrid power systems Energy · Elsevier BV · 2014 10.1016/j.energy.2014.01.042
  6. Genetic Algorithm based optimal component sizing for an electric vehicle IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society · 2013 10.1109/iecon.2013.6700352
  7. Quasi-Z-Source Inverter-Based Photovoltaic Generation System With Maximum Power Tracking Control Using ANFIS IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2012 10.1109/tste.2012.2196059
  8. Experimental impedance investigation of an ultracapacitor at different conditions for electric vehicle applications Journal of Power Sources · Elsevier BV · 2015 10.1016/j.jpowsour.2015.04.043
  9. Hybrid GA neuro‐fuzzy damping control system for UPFC COMPEL The International Journal for Computation and Mathematics in Electrical and Electronic Engineering · Emerald Publishing Limited · 2006 10.1108/03321640610684033
  10. An improved perturb and observe (P&amp;O) maximum power point tracking (MPPT) algorithm for higher efficiency Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.04.006
  11. Parameter optimization of PEMFC model with improved multi-strategy adaptive differential evolution Engineering Applications of Artificial Intelligence · Elsevier BV · 2013 10.1016/j.engappai.2013.07.016
  12. Maximum Power Point Tracking Control for Photovoltaic System Using Adaptive Neuro- Fuzzy &amp;#x201C;ANFIS&amp;#x201D; 2013 Eighth International Conference and Exhibition on Ecological Vehicles and Renewable Energies (EVER) · 2013 10.1109/ever.2013.6521559
  13. ANFIS-based modelling for photovoltaic power supply system: A case study Renewable Energy · Elsevier BV · 2010 10.1016/j.renene.2010.06.028
  14. Predictive control of SOFC based on a GA-RBF neural network model Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.12.036
  15. Nonlinear modeling of a SOFC stack based on ANFIS identification Simulation Modelling Practice and Theory · Elsevier BV · 2008 10.1016/j.simpat.2008.01.004
  16. Model-based control strategies in the dynamic interaction of air supply and fuel cell Proceedings of the Institution of Mechanical Engineers Part A Journal of Power and Energy · SAGE Publishing · 2004 10.1243/0957650042456999
  17. Application of adaptive neuro-fuzzy inference system techniques and artificial neural networks to predict solid oxide fuel cell performance in residential microgeneration installation Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.04.015
  18. <i>Adaptive Control: Stability, Convergence, and Robustness</i> The Journal of the Acoustical Society of America · Acoustical Society of America · 1990 10.1121/1.399905
  19. Analysis and enhancement of PV efficiency with incremental conductance MPPT technique under non-linear loading conditions Renewable Energy · Elsevier BV · 2015 10.1016/j.renene.2015.03.062
  20. Coordinated Adaptive Control of Multiple Flexible AC Transmission Systems using Multiple-input—Multiple-output Neuro-fuzzy Damping Control Paradigms Electric Power Components and Systems · Taylor & Francis · 2014 10.1080/15325008.2014.896430
  21. A comprehensive comparison of different MPPT techniques for photovoltaic systems Solar Energy · Elsevier BV · 2014 10.1016/j.solener.2014.11.010
  22. Hybrid renewable energy systems for off-grid electric power: Review of substantial issues Renewable and Sustainable Energy Reviews · Elsevier BV · 2014 10.1016/j.rser.2014.04.022
  23. Voltage band based global MPPT controller for photovoltaic systems Solar Energy · Elsevier BV · 2013 10.1016/j.solener.2013.09.025
  24. Hybrid adaptive neuro-fuzzy B-spline--based SSSC damping control paradigm using online system identification TURKISH JOURNAL OF ELECTRICAL ENGINEERING & COMPUTER SCIENCES · Scientific and Technological Research Council of Turkey (TUBITAK) · 2015 10.3906/elk-1212-31
  25. Modeling of a 5-cell direct methanol fuel cell using adaptive-network-based fuzzy inference systems Journal of Power Sources · Elsevier BV · 2008 10.1016/j.jpowsour.2008.06.090
  26. Modeling, control and simulation of a PV/FC/UC based hybrid power generation system for stand-alone applications Renewable Energy · Elsevier BV · 2008 10.1016/j.renene.2008.06.009
  27. Control strategy for a solid oxide fuel cell and gas turbine hybrid system Journal of Power Sources · Elsevier BV · 2005 10.1016/j.jpowsour.2005.09.010
  28. Unit sizing and cost analysis of stand-alone hybrid wind/PV/fuel cell power generation systems Renewable Energy · Elsevier BV · 2005 10.1016/j.renene.2005.08.031
  29. Model Predictive Control for Power and Thermal Management of an Integrated Solid Oxide Fuel Cell and Turbocharger System IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2013 10.1109/tcst.2013.2271902
  30. Modeling and control for PEM fuel cell stack system 2002 10.1109/acc.2002.1025268
  31. A Control Method to Charge Series-Connected Ultraelectric Double-Layer Capacitors Suitable for Photovoltaic Generation Systems Combining MPPT Control Method IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2007 10.1109/tie.2006.885149
  32. Hybrid solar–fuel cell combined heat and power systems for residential applications: Energy and exergy analyses Journal of Power Sources · Elsevier BV · 2012 10.1016/j.jpowsour.2012.08.047
  33. A Novel Control Strategy for a Variable-Speed Wind Turbine With a Permanent-Magnet Synchronous Generator IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2009 10.1109/tia.2009.2036550
  34. Neurofuzzy Based Fully Adaptive Indirect Controls for SSSC: A Comparative Analysis Frontiers of Information Technology · 2013 10.1109/fit.2013.25
  35. Fractional-order modeling and State-of-Charge estimation for ultracapacitors Journal of Power Sources · Elsevier BV · 2016 10.1016/j.jpowsour.2016.01.066
  36. Power Management of a Stand-Alone Wind/Photovoltaic/Fuel Cell Energy System IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2008 10.1109/tec.2007.914200
  37. Co-estimation of state-of-charge, capacity and resistance for lithium-ion batteries based on a high-fidelity electrochemical model Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.08.016
  38. Stochastic control of smart home energy management with plug-in electric vehicle battery energy storage and photovoltaic array Journal of Power Sources · Elsevier BV · 2016 10.1016/j.jpowsour.2016.09.157
  39. A numerical investigation of time-fractional modified Fornberg–Whitham equation for analyzing the behavior of water waves Applied Mathematics and Computation · Elsevier BV · 2015 10.1016/j.amc.2015.05.045
  40. Adaptive Control Design and Analysis 2003 10.1002/0471459100
  41. Anode-supported intermediate-temperature direct internal reforming solid oxide fuel cell Journal of Power Sources · Elsevier BV · 2005 10.1016/j.jpowsour.2005.01.017
  42. Residual Capacity Estimation for Ultracapacitors in Electric Vehicles Using Artificial Neural Network IFAC Proceedings Volumes · Elsevier BV · 2014 10.3182/20140824-6-za-1003.00657