1. Introduction
Global residential energy consumption has increased in recent years and is expected to increase further in the future [
1]. The domestic and commercial sectors account for almost 30% of energy consumption globally [
2].
Renewable sources of energy such as wind and solar energy have attracted growing attention recently as alternatives supply options for residential energy requirements [
3], even though such renewable energy systems operate intermittently. An on-grid, hybrid, renewable energy-based combined heat and power (CHP) system, in which useful heat and electricity are generated simultaneously, can be used to mitigate this challenge and enhance reliability. The hybrid renewable energy-based CHP system considered here incorporates solar photovoltaic (PV), solar-thermal collector, wind turbine (WT) and hydrogen energy technologies.
Integration options for CHP and renewable energy have been reviewed [
4], and optimization studies have been carried out for hybrid renewable energy systems comprised of various energy sources and technologies [
5]. For example, studies have been published on hybrid renewable energy systems [
6] involving two main energy technologies, such as solar–fuel cell systems [
7], solar–biofuel systems [
8], solar–battery systems [
9], solar-thermal–PV systems [
10], solar micro–generation systems [
11], PV–wind systems connected to the electrical grid [
12], solar–wind systems for remote regions [
13], and wind–fuel cell systems [
14]. Results have also been reported for hybrid renewable energy systems involving three primary energy technologies. Examples include PV–wind–hydro–battery systems [
15]; PV, wind and storage integration on small islands [
16]; wind–PV–battery systems [
17]; wind–photovoltaic energy storage and transmission hybrid power systems [
18]; grid-connected photovoltaic–wind–biomass power systems [
19]; solar–diesel–battery systems [
20]; solar–fuel cell–battery systems [
21]; solar–wind–battery systems [
22]; wind–solar–natural gas [
23]; solar–wind–fuel cell systems [
24]; solar–wind–diesel–battery systems [
25]; and solar–wind–desalination systems [
26]. For comparative purposes, it is noted that hybrid energy systems driven by fossil fuels have also been examined, such as fuel cell–gas turbine systems [
27].
CHP systems are continually being advanced and applied to various regions. For instance, hybrid energy systems incorporating CHP, solar and battery components have been simulated and technically assessed for three areas in the U.S. [
9]. For Malaysia, a hybrid solar–diesel system for buildings designed for zero load rejection was optimized [
28], and the viability was assessed of meeting a hospital’s energy loads with a cogeneration system incorporating a fuel cell and battery as well as grid-connected PV [
21]. That system was designed and techno-economically assessed using the software package HOMER (Hybrid Optimization of Multiple Energy Resources). A hybrid renewable power system for an island in South Korea was also optimized using HOMER [
29].
Other investigations have focused on design and operation. For example, the design of a grid-connected solar and wind energy system was optimized and the hybrid system was assessed techno-economically using life cycle costs [
30]. Operation strategies were contrasted for satisfying residential energy needs via CHP driven by biomass and natural gas, considering systems comprised of fuel cells, batteries and PV [
31]. A tubular type of solid oxide fuel cell was shown to be able to cogenerate [
32].
Some recent investigations have focused on sizing and capacity. For instance, a CHP system in a micro-grid was optimally sized using mixed integer linear programming with experimental electric and heat utilization data [
33]. The optimal capacities were determined of a CHP system and a boiler for cost effectively meeting building thermal and electrical demands [
34]. A genetic algorithm (GA) has been used for optimally sizing an electric generating system with pumped storage [
35], while an iterative optimization method was developed for the capacities of components in a hybrid PV–wind–battery system for power generation [
36].
Heuristic algorithms are powerful optimization tools based on artificial intelligence that have attracted considerable interest as solvers for complex optimization problems. A study of the literature reveals that some heuristic algorithms and software have been applied to various facets of hybrid systems, such as genetic algorithm [
37], multi-objective evolutionary algorithms with genetic algorithms [
38], particle swarm optimization [
39], multi-objective optimization with particle swarm optimization [
40], simulated annealing [
41], distributed optimization algorithm [
42], tabu search [
43], bee algorithm [
44], honey bee mating optimization [
45], and HOMER [
46,
47]. It is also found that the PSO algorithm is recognized as one of the most promising heuristic algorithms [
48,
49], largely because it outperforms other approaches in terms of accuracy. Additionally, the PSO algorithm exhibits high efficiency and fast convergence, as well simplicity in concept and ease of implementation.
Despite the investigations of hybrid renewable energy systems, techno-economic analysis and optimization tools for grid-connected, hybrid solar–wind–fuel cell combined heat and power systems with solar-thermal collectors are not available and needed. In this study, therefore, an optimization approach is developed for a grid-connected hybrid system for residential application, incorporating a solar–wind–fuel cell combined heat and power system integrated with solar-thermal collectors. The optimization approach uses economic parameters for system components. The electrical power production is determined by minimizing cost, the objective function, while accounting for electrical and thermal power tariffs for purchasing and selling. To incent the purchase of electricity from the hybrid system by the grid, purchasing tariffs are considered to exceed selling tariffs for electricity. However, due to its lower price, thermal energy is sold locally to neighbors rather than to the grid. In addition, the output power values of the PV and WT systems and solar-thermal collector are treated as negative energy loads for the hybrid system, so they are added to the residential load.
In this optimization approach, we consider the costs of electrical power exchange with the grid, supplying energy, the solar-thermal collector, wind power production, solar power generation, heat recovery from the fuel cell, and maintenance. We also propose a modified particle swarm optimization algorithm for the optimization of the grid-connected hybrid solar/wind/fuel cell CHP system with a solar-thermal collector and consider residential uses in the city of Khorasan province, Iran. The results using this approach are compared with those obtained by an efficient metaheuristic optimization method, namely, a genetic algorithm [
14], in terms of accuracy and run time. Four cases are considered to determine the optimum combination in terms of lowest cost for the residential load. In Case 1, heat recovery from the fuel cell power plant (FCPP) is not considered, and the residential load is supplied by the electrical grid. Heat recovery from the FCPP is considered in Case 2. In Cases 3 and 4, only the local grid and the FCPP supply the residential load, but the solar collector is not considered in Case 3 and is considered in Case 4.
This article extends the work reported in the literature notably, by presenting several important innovations. Most significantly, an optimization approach is developed for a grid-connected hybrid system for residential applications, incorporating a solar–wind–fuel cell combined heat and power system integrated with solar-thermal collectors. In addition, our study addresses the optimization problem of a hybrid system for a high-energy consuming residential sector, in a realistic manner accounting for technical details of the hybrid system. Furthermore, the modeling and costing of the grid-connected hybrid solar/wind/fuel cell CHP system with a solar-thermal collector is investigated for residential uses in the city of Iran for several scenarios. Particular focus is placed on assessing the potential reduction in the overall cost of the installation under different scenarios. Finally, a new version of the particle swarm optimization algorithm is introduced and used to optimize the grid-connected hybrid system. The results using this approach are compared with those obtained by a genetic algorithm in terms of accuracy and run time.
5. Results and Discussions
The study uses annual measured solar insolation, air temperature, and wind speed data for Khorasan province, Iran (latitude = 36.35° N, longitude = 56.83° E, and altitude = 912 m above sea level) [
73], which are shown in
Figure 5.
5.1. Methodology
The optimization methodology proposed here is implemented in MATLAB. Average daily residential thermal and electrical loads are shown in
Figure 6, for periods of 0.1 h (6 min) [
14,
48]. Annual domestic hot water heating and winter space heating make up the thermal load. Four supply cases for the residential electrical and thermal loads are considered, in order to choose the optimum combination of technologies for the hybrid renewable energy system based on lowest cost. The residential loads (electrical and thermal) are met by the electrical grid and natural gas heating in the base case (i.e., without a hybrid energy system employed), by the hybrid energy system and the electrical grid in Cases 1 and 2, and by the solar-thermal collector, fuel cell, and electrical grid in Case 3 and Case 4. The daily electrical and thermal energy supply cost in the base case is
$5.71.
Each algorithm is independently run 20 times.
Table 5 lists the results obtained by the algorithms for all cases considered. Note that component capital costs are not accounted for.
Table 5 provides the maximum, minimum and mean of fitness function values for the runs (Max., Min. and Mean, respectively), the standard deviation for each of those values (STD), and the simulation time indexes (ST). Based on the Min. values in
Table 5,
Table 6 lists the daily system cost and income for all cases. For example, in Case 2, the relative error between the Min. index of MPSO and GA,
, is 14%. The performance is more beneficial with MPSO than GA, in terms of other indexes, including Mean, Max., STD and ST index. In Case 3, the relative error between the Min. index of MPSO and GA is 0.20%, and between the Max. index of MPSO and GA is 0.07%.
5.2. Cases
In Case 1, where the local grid and a hybrid energy system supply the electrical load while the thermal energy load is supplied with natural gas but heat recovery from fuel cell and solar-thermal collector is not considered, the minimum daily cost to supply electrical and thermal energy (Min. index) is $5.408, as found by the GA. The reduction in daily cost relative to base case is $0.302, which translates to a saving of $111 per year. However, the Min. index obtained with the MPSO is $5.424. In addition, the electricity and gas purchase costs are $1.621 and $2.455 respectively with the MPSO, while the electricity selling income is $0.012.
In case 2, heat recovery from the FC is used. If the heat recovery exceeds the thermal load the surplus is sold to neighbors to lower the system cost. If the thermal load exceeds the heat recovery, natural gas is used to make up the shortfall. In this case, the Min. index which has been found by MPSO algorithm ($4.249) is less than that found by the GA ($4.255). In addition, the performance of the algorithms can be ranked as MPSO followed by GA in this case, based on the Min., Max., Mean, and ST indexes. It is seen in the optimized system that, on a daily basis, the electricity selling income is $0.252, the thermal selling income is $0.104, and the reduction in cost relative to base case is $1.461. Optimal daily values of the electricity and gas purchase costs are seen to be $0.388 and $0.915, respectively, and the reduction in electricity purchase cost and gas purchase cost, relative to first case, are $1.233 and $1.54, respectively. As a result, this case is more beneficial than the previous strategy.
Figure 7 illustrates the electrical generation and electrical loads obtained with the modified particle swarm optimization algorithm. The electrical trade with the electrical grid is shown for the modified particle swarm optimization algorithm in
Figure 8. The system is observed to purchase energy during periods of low tariffs, and to sell energy during periods of high tariffs (especially when there are high thermal loads).
Figure 9 illustrates the heat recovery rate and the thermal load obtained with the modified particle swarm optimization algorithm. The system is observed to meet the thermal load at the low thermal load periods, i.e., at time 80–180 (08:00–18:00). However, for periods of low tariffs, the system satisfies the electrical and thermal energy loads respectively using the electrical grid and natural gas.
Comparing the first and second cases illustrates that recovering thermal energy from the FCPP leads to lower costs and higher savings relative to meeting the thermal load with gas, i.e., heating with gas has a higher total cost than heating via heat recovery. Cases 1 and 2 thereby demonstrate the effect of heat load on optimal FCPP operation.
In Case 3, the electrical load is met by the electrical grid and the fuel cell power plant with FCPP heat recovery. The minimal daily cost of system (Min. index) is $4.601, as obtained with the MPSO. Based on the other indexes the ranking of the algorithms is MPSO and GA In this case, the reduction in daily cost relative to base case is $1.109, while the electricity selling income is $0.143 and the thermal selling income is $0.033 and the electricity and gas purchase costs are $0.421and $0.947, respectively.
In Case 4, the electrical load is met by the fuel cell power plant, with FCPP heat recovery, the solar-thermal collector, and the electrical grid. It is observed that the minimal daily cost of system (Min. index) is
$4.443, as obtained with the MPSO. It is seen that, in the optimized system, the electricity selling income is
$0.142, the thermal selling income is
$0.134, and the reduction in daily cost relative to base case is
$1.267, and the increase in thermal selling income, relative to Case 3, is
$0.11. Optimal daily values of the electricity and gas purchase costs are found to be
$0.440 and
$0.894, respectively, and the reduction in gas purchase cost, relative to Case 3, is
$0.022. Consequently, this case is more beneficial than the third case. Finally, it is observed that the hybrid energy system having multiple energy sources outperforms the systems with single energy sources.
Figure 10 shows the convergence process of the modified particle swarm optimization algorithm for one of the runs of Cases 1–4. In
Figure 10, the best total cost is plotted vs. iteration number. The reduction in the total cost during the iterations can be seen.