Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

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

Abstract

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.

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 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 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.

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 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 (1) where Pm is the mechanical output power, cp is the performance coefficient, ρ is the air density (kg/m3), 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 (2) where 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: (3) with (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 (5) 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: (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 (7) 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, 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. The molar flow of hydrogen is calculated as (8) where is the molar flow of hydrogen, ns is the number of series cells, Isofc is the SOFC current, F is Faraday’s constant, and k is constant. The output voltage of SOFC is given as (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 (10) where g is the gas constant, T is the cell temperature, is the partial pressure of hydrogen, is the partial pressure of oxygen, is the partial pressure of water, and E0 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 efficiency of the electrolyzer is calculated as (11) where ηelect is the efficiency of the electrolyzer, is the current efficiency, and is the voltage efficiency. The amount of hydrogen produced (in mol) by the electrolyzer is given as (12) where 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) are the two most important parameters of a battery. Battery voltage is given as (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 (14)

The SOC of a battery is calculated by the Coulomb counting method [35]: (15) where SOCbat is the SOC of the battery, 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.

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: (16) where Esc is the energy stored in the SC, C is the capacitance, Vsc is the voltage of the SC, Psc is the power of the SC, and Isc is the current of the SC. The SOC of the SC can be calculated as follows: (17) where SOCsc is the SOC of the SC, and 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 (18) where Rs and Rp are equivalent series and parallel resistances, respectively, and 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.

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: (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 (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 turbine shaft to obtain the net electrical power at the output terminals of the MT as follows: (21) where 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.

thumbnail
Fig 9. Simulink model of split-shaft MT with synchronous generator.

https://doi.org/10.1371/journal.pone.0173966.g009

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 voltage is zero, the MPP is achieved as follows: (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 [−∞, ∞] and is given as (23) where Hm(x) is orthogonal with respect to the weight function as (24)

Hermite wavelet ψn,m(x) is defined on the interval [0,1) by (25) where k = 1, 2, ⋯, is the level of resolution, n = 1, 2, ⋯, 2k-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.

  1. Layer 1 is the input layer, which directly transmits the inputs to the second layer. The input and the output for this layer are given as (26)
  2. Layer 2 is the fuzzification layer, which uses a Gaussian membership function to fuzzify the inputs of the antecedent part as follows: (27) 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: (28)
  4. Layer 4 is the consequent layer, which presents the Hermite wavelet function in each node. The weighted consequent value is given by (29)
  5. Layer 5 is the output layer, which defuzzifies the network output as follows: (30) where is the output of the Hermite wavelet embedded NeuroFuzzy network such that 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 (31) where s(t) is the PV plant output, and 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 (32) where ξi,j ∈ {wi,j, ci,j, ssi,j}, and η is the learning rate. The differential term is simplified for respective parameters by applying the chain rule as follows: (33) (34) (35)

After simplifying the above differentials for each parameter, the final updated equations are given as follows: (36) (37) (38)

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 (39) where r(t) is the reference input. The parameters of the HWNFIAC are updated by minimizing the following cost function: (40) where Φc is the cost function, and ℏ is the learning rate. Thus, the generalized adaptive law can be written as (41) where ℑ ∈ {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 can be simplified using the following equation: (42)

The term is based on the HWNFI and can be calculated as follows: (43) where χ is given as (44)

The differential term from Eq 42 is simplified for the respective parameters by applying the chain rule as follows: (45) (46) (47)

After simplifying the above differentials for each parameter, the final update equations for the HWNFIAC are given as follows: (48) (49) where xi = ec(t) or xi = Δec(t).

(50)

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 (51) where is the optimal hydrogen utilization, and is the molar flow of input hydrogen. has a typical range of 80–90%. For optimal hydrogen utilization, the SOFC current lies in the following limits: (52) where k is the constant that gives the amount of hydrogen reacting in the SOFC, and and are the minimum and maximum limits of molar flow of hydrogen, respectively. Isofc−min, Isofc−r and Isofc−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: (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 , where is the output current of the HWNFI, and usofc is the output of the controller. The error function to adjust the HWNFI parameters is given as (54) where Isofc(t) is the SOFC plant output, and is the HWNFI output. The gradient descent algorithm is employed to adjust the linking weight , center and spread of the Gaussian membership function. Therefore, the generalized parameters update law is written as (55) where , and is the learning rate for the HWNFI. After simplifying the differential for each parameter, the final updated equations are as follows: (56) (57) (58)

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 (59) where is the reference input. To update the parameters of the HWNFIAC, the following cost function is minimized: (60) where is the cost function, and is the learning rate for the HWNFIAC. Thus, the generalized adaptive law is written as (61) where the adaptation vector for the HWNFIAC can be calculated by using the gradient descent algorithm. The term can be simplified using the following equation: (62)

The term is based on the HWNFI and can be calculated as follows: (63) where is given as (64)

The differential term from Eq 62 is simplified for the respective parameters by applying the chain rule as follows: (65) (66) (67)

After simplifying the above differentials for each parameter, the final update equations for the HWNFIAC are given as follows: (68) (69) where or .

(70)

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: (71) & (72) 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%. VDC 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: (73) where Psc, Pbat and Pelect are the output powers of the SC, battery and electrolyzer, respectively. 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 .
  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 and . Back propagate these errors to adjust the parameters of HWNFIAC by minimizing Φc and .
  8. Repeat steps 2–7 until the solution converges.

The closed-loop PV and SOFC control systems are shown in Fig 12.

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.
  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/m2) 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/m2 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 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 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.

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, 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 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.

thumbnail
Fig 23. Percentage change in voltage THD and current THD.

https://doi.org/10.1371/journal.pone.0173966.g023

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.

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.

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

  1. Conceptualization: SM LK.
  2. Data curation: SM LK.
  3. Formal analysis: SM LK.
  4. Investigation: SM LK.
  5. Methodology: SM LK.
  6. Project administration: LK.
  7. Resources: SM LK.
  8. Software: SM LK.
  9. Supervision: LK.
  10. Validation: SM LK.
  11. Visualization: SM LK.
  12. Writing – original draft: SM.
  13. Writing – review & editing: SM LK.

References

  1. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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.
  20. 20. Ou TC, Hong CM. Dynamic operation and control of microgrid hybrid power systems. Energy. 2014 Mar 1;66:314–23.
  21. 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. 22. Rezk H, Eltamaly AM. A comprehensive comparison of different MPPT techniques for photovoltaic systems. Solar Energy. 2015 Feb 28; 112:1–1.
  23. 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. 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. 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. 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. 27. Tao G. Adaptive control design and analysis. John Wiley & Sons; 2003 Jul 9.
  28. 28. Sastry S, Bodson M. Adaptive control: stability, convergence and robustness. Courier Corporation; 2011.
  29. 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. 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. 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. 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. 33. Wang R, Qi L, Xie X, Ding Q, Li C, Ma CM. Modeling of a 5-cell direct methanol fuel cell using adaptive-network-based fuzzy inference systems. Journal of Power Sources. 2008 Dec 1;185(2):1201–8.
  34. 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. 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. 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. 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. 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. 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. 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. 41. Gupta AK, Ray SS. An investigation with Hermite Wavelets for accurate solution of fractional Jaulent—Miodek equation associated with energy-dependent Schrödinger potential. Applied Mathematics and Computation. 2015 Nov 1;270:458–71.
  42. 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. 43. IEEE standard for interconnecting distributed resources with electric power systems. IEEE Std 1547–2003; 1–28.