Next Article in Journal
Nonlinear Modelling, Flatness-Based Current Control, and Torque Ripple Compensation for Interior Permanent Magnet Synchronous Machines
Next Article in Special Issue
Modeling Control and Robustness Assessment of Multilevel Flying-Capacitor Converters
Previous Article in Journal
Optimization of a Small Wind Power Plant for Annual Wind Speed Distribution
Previous Article in Special Issue
Enhancing Power System Frequency with a Novel Load Shedding Method Including Monitoring of Synchronous Condensers’ Power Injections
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Heuristic Algorithm for Combined Heat and Power System Operation Management

1
Group for Research on Automatic Control Engineering, Department of Engineering, University of Sannio, Piazza Roma 21, 82100 Benevento, Italy
2
Interdisciplinary Graduate Programme, Nanyang Technological University Computational Intelligence Laboratory, Blk N4, B1a-02, Singapore 639798, Singapore
3
Berkeley Education Alliance for Research in Singapore, Singapore 138602, Singapore
4
Fusion and Technology for Nuclear Safety and Security Department, Italian National Agency for New Technologies, Energy and Sustainable Economic Development (ENEA), 00044 Rome, Italy
5
Energy Technologies and Renewable Sources Department, Italian National Agency for New Technologies, Energy and Sustainable Economic Development (ENEA), 80055 Portici, Italy
6
AtenaTech srl, 00044 Rome, Italy
*
Author to whom correspondence should be addressed.
Energies 2021, 14(6), 1588; https://doi.org/10.3390/en14061588
Submission received: 1 February 2021 / Revised: 1 March 2021 / Accepted: 9 March 2021 / Published: 12 March 2021
(This article belongs to the Special Issue Power System Dynamics and Renewable Energy Integration)

Abstract

:
This paper presents a computationally efficient novel heuristic approach for solving the combined heat and power economic dispatch (CHP-ED) problem in residential buildings considering component interconnections. The proposed solution is meant as a substitute for the cutting-edge approaches, such as model predictive control, where the problem is a mixed-integer nonlinear program (MINLP), known to be computationally-intensive, and therefore requiring specialized hardware and sophisticated solvers, not suited for residential use. The proposed heuristic algorithm targets simple embedded hardware with limited computation and memory and, taking as inputs the hourly thermal and electrical demand estimated from daily load profiles, computes a dispatch of the energy vectors including the CHP. The main idea of the heuristic is to have a procedure that initially decomposes the three energy vectors’ requests: electrical, thermal, and hot water. Then, the latter are later combined and dispatched considering interconnection and operational constraints. The proposed algorithm is illustrated using series of simulations on a residential pilot with a nano-cogenerator unit and shows around 25–30% energy savings when compared with a meta-heuristic genetic algorithm approach.

1. Introduction

Buildings equipped with multi-energy systems are an increasing trend due to the high energy efficiencies that could be achieved. In particular, the combined heat and power (CHP) systems that generate both electrical and thermal energy exploiting their inherent operating cycle [1,2] are vital components. There have been concerted efforts from building owners to replace single energy generators with higher efficiency CHP units. In comparison with traditional electrical and heat-only units, the CHP units can save 10–40% of the costs of generation, which means an equal amount of heat and electricity production with less fuel [3]. While this transition has increased CHP deployments across buildings (residential, commercial, and institutional), there are concerns regarding their return on investments. In addition, coordinating CHP units with roof-top solar, energy storage devices, and other components is important for building energy management. The CHP economic dispatch (CHP-ED) that aims to minimize fuel cost/consumption respecting constraints (operating and physical) is seen as a promising solution to guarantee fast return on investments [4]. However, multi energy systems (MES) scheduling, due to nonlinearity and non-convexity, is a quite challenging optimization problem [5]. Solving CHP-ED problem requires specialized hardware and sophisticated algorithm/solvers with large computation resources, long solution time, and sensitivity to initial conditions, thereby making their adoption in buildings difficult. In general, the need for a scalable and simple scheduling approach for solving CHP-ED problems is widely recognized in industry (see, [6,7,8,9] and references therein) especially for the building level units. This investigation aims to propose one of such approaches for deploying CHP-ED problems on simple embedded hardware with minimum memory and computing power.

Contributions

The main contributions of the paper are:
  • A fast heuristic algorithm for single CHP plant to address residential CHP-ED problems. The main idea here is to decompose the problem into three parts: electrical, domestic hot water, and heat demands. Then, a suitable heuristic is designed to combine them:
  • A linear single CHP algorithm incorporating thermal and electrical demands and a holistic model for capturing the interactions among energy vectors in a building.
  • Illustrating the proposed heuristics on a nano-cogenerator and multi-energy systems in a building.
The paper is organized as follows: in Section 2, relevant papers from the literature will be revised; Section 3 presents the mathematical model of the CHP system and an evaluation criterion; Section 4 proposes a benchmarking optimization problem for the proposed heuristic method; finally, in Section 6, the results of some numerical experiments are showed.

2. Literature Review

The achievement of a stable economic growth where the possible increase of energy consumption and greenhouse gas emissions can be handled in a sustainable perspective is one of the main aspects the principal policy-makers are focused on today. In particular, the sustainable economic growth should be pursued with policies appealing also for emerging economies so as to maximize their impact worldwide. For instance, Larissa et al. [10] show that the aim of achieving a low carbon economy or a green economy is inherent with the concept of sustainable development. It also calls for preventing the depletion of natural resources, which should benefit future generations. The authors also believe that the adjusted net savings constitute one of the means to attain this aim. They highlight that the policy makers should promote new policies in accordance with the other elements of adjusted net savings, for the purpose of increasing the gross domestic product, consolidating a strong level of sustainable economic growth and reducing CO 2 emissions and greenhouse gas effects. Ioan et al. in [11] argue that the sustainable economic growth is a desirable goal for every economy, as it helps to implement the Paris Agreement on global warming [12]. Sustainable economy includes certain core principles such as the consumption of renewable and non-renewable resources without depriving society of future benefits, sustainable human development, sustainable investment, and innovation. Specifically, sustainable development means achieving development without environmental degradation. In this context, sustainable growth suggests a transformation of the brown economy into a green or low-carbon economy.
The energy sector is the main contributor to global warming with 42% share of green house gas emissions [13]. To reduce the environmental impact of the energy sector, it is necessary to target not only the energy supply but also the energy end-use. Policies have been globally implemented to encourage the decarbonization of energy supply by incentivizing the switch to less polluting fuels (e.g., from coal to gas) and the deployment of wind and solar renewable power plants [14]. Concerning the decarbonization of the energy end-use, instead, policies and incentives have been widely studied and already implemented in the industrial/commercial sector, while the residential sector is often not considered despite its potentially significant role in emissions reduction [15]. One option to reduce the carbon emissions associated with the electric demand of a residential facility is through on-site Variable Renewable Energy (VRE) generation. Renewable sources such as solar and wind could be exploited on-site to generate fuel-free electricity, reducing the annual energy costs and the CO 2 emissions [16]. However, electricity demand accounts only for around 30% of the total EU industrial energy consumption [17], while the remaining 70% consists of thermal energy demand at various temperatures. Heat is a relatively carbon intensive end-use since it mostly relies on fossil fuels: e.g., in 2000, the majority of the final consumption of heat in Europe was from oil (59%) and gas (24%). By 2018, the share of heat produced from gas increased to 40% and the share of heat from oil decreased to 42%, but, despite this switch, CO 2 emissions related to the heating sector increased by 6.4% [18].
Among the many, one possible solution for reducing the environmental impact of both electricity and heat demand is Combined Heat and Power (CHP). CHP is an efficient and cleaner way to generate electrical power and heat energy from a single fuel source. In order to utilize CHP units more efficiently, the economic dispatch problem is applied to determine the optimal combination of the power and heat sources’ outputs to satisfy heat and power demand of a system, simultaneously, accounting for and operational constraints.
The CHP-ED approach presented in this research work complies fully with the sustainable energy development strategies that typically involve three major technological changes: energy savings, efficiency improvements in the energy production, and maximization of the integration of renewable energy sources via fossil fuels’ usage reduction.
Existing approaches for solving CHP-ED problems could be broadly discerned into: (i) mathematical programming based techniques, (ii) heuristics, (iii) meta-heuristics, and (iv) hybrid techniques.
Mathematical programming and, in particular, linear programming (LP) models have been the traditional tool to model CHP-ED problems thanks to their ability to capture complex switching behaviors [19,20]. In addition, the mixed integer linear programming (MILP) technique has been used in [21] for scheduling CHP units in residential buildings. Steen et al. [20] apply the MILP technique to assess the viability of integrating the distributed energy resources with a thermal energy storage (TES) system. Wouters et al. [22] used MILP to identify the optimal design of the existing grid infrastructures through integration of renewable energy units and microgrids. In [23,24], residential application based energy management systems (EMSs) are presented. Ford et al. [25] show that home energy market products may help users to save energy through load shifting with the trade off of potential benefits comfort, convenience, and security. However, other mathematical programming approaches such as Benders decomposition [26], Lagrangian relaxation [27], branch-and-bound algorithms [28,29], and mixed-integer nonlinear programming [30] have also been studied for CHP-ED problems. The main objective in these works is to minimize the operational costs for meeting energy demand over the entire planning horizon [31]. However, their implementation is cumbersome.
This could be overcome by heuristic and meta-heuristic methods. In the past, such methods have shown promise as well for CHP-ED problem [32].
Rafique et al. [23] employs a genetic algorithm (GA) for a smart home energy management to obtain electrical and gas resources optimal scheduling. Instead, Allegrini et al. [33] developed a model based software tools that addresses district-level energy systems. Ahmadi et al. in [6] presented a multi-objective optimization technique which was solved using a GA-based fuzzy decision algorithm. Alomoush et al. [34] presented an improved stochastic fractal search algorithm to solve the CHP-ED optimization problem by satisfying different inequality and equality constraints and interdependent limits. The algorithm handled the constraints by penalizing infeasible solutions during the iterative process, where the constrained CHP-ED problem is transformed into an unconstrained one. Nazari et al. [35] presented a “whale optimization algorithm” (WOA) for solving the CHP-ED problem; WOA is a new meta-heuristic approach for solving optimization problems, inspired by the social behavior of humpback whales. The authors proved WOA efficiency, feasibility, and capability of obtaining better solutions with respect to other meta-heuristics optimization techniques in terms of operational cost and its implementation ability at larger scales. Maleki et al. [36] propose a GA-based improved penalty function formulation to solve the CHP-ED problem. However, their applicability to EMS is arguable due to their solution times, and parameter initialization effects on the solution.
Hybrid algorithms combine meta-heuristics and mathematical approaches to solve the CHP-ED problem, but their complexity is still high. The heuristic based solvers provide advantages over existing approaches [37] in that they can treat the complex behaviors and reduce computational costs. Notwithstanding this, building the right heuristic is challenging, especially in the presence of operational and physical constraints. To the best of our knowledge, a heuristic approach which could be implemented on simple hardware has not been fully explored for the multi-vector scheduling problems for building applications.

3. System Description and Modeling

Figure 1 depicts the considered CHP system architecture along with the relevant energy flows of all the energy vectors involved. The system consists of a nano co-generation unit (CHP) which provides both electrical and thermal energy. The other thermal units consist of a thermal solar panel (TSP), a heat exchanger (HE), a thermal energy storage (TES) and a heat pump (HP). The electrical system comprises photo-voltaic panels (PVs), wind turbines (WTs), electrical storage systems (ESSs). Furthermore, the water pumps PM 1 , PM 2 , and PM 3 are reported as they either enable or disable the corresponding flow toward the downstream system and will be operated according to the heuristic strategy here developed. This section describes the model of the system used in this study. The total power required by the system is equal to the sum of the demands for electric, heating, and hot water powers. The description of the parameters, the electric powers, and the thermal power requests used in the proposed formulation are described in Table 1, Table 2 and Table 3.

3.1. Nano Co-Generation Unit

We let the ON-OFF state of the CHP at the time instant k be identified by the binary operating signal δ CHP . Thus,
δ CHP ( k ) = 1 P CHP min P CHP ( k ) P CHP max ,
where P CHP max and P CHP min are the maximum and minimum rated output powers of the CHP. When the CHP is in the ON state, the produced heat that is recovered through a water jacket from the exhaust output is
Q ˙ CHP ( k ) = σ CHP δ CHP ( k ) P CHP ( k ) ,
where 0 < σ CHP < 1 is the heat-to-power conversion ratio of the CHP. The water flow inside the water jacket is controlled by a water pump ( PM 1 ), whose operation regulates the water flow from the CHP to the HE. Thus,
δ CHP ( k ) = 1 δ PM 1 ( k ) = 1 , δ CHP ( k ) , δ PM 1 ( k ) { 0 , 1 } , k ,
where δ CHP ( k ) is the logical variable used to model the state of the CHP, while δ PM 1 ( k ) is the PM 1 logical state variable. In other words, in order to use the available energy efficiently, PM 1 can be ON only if CHP is ON.

3.2. Electrical Storage System

The ESS is modeled by considering its state of charge SOC ESS ( k ) at each instant k. The dynamical model is
SOC ESS ( k + 1 ) = SOC ESS ( k ) + η C P ESS , C ( k ) 1 η D P ESS , D ( k ) Δ t ,
where P ESS , C ( k ) is the charging power, P ESS , D ( k ) is the discharging power, η C , η D (0,1) are the charging and discharging efficiencies of the system, respectively. It has to be noted that the charging and discharging powers, and the storage capacity are bounded. The upper and lower limit can be depicted using the followingsimple constraints:
P ESS , C min P ESS , C ( k ) P ESS , C max , P ESS , D min P ESS , D ( k ) P ESS , D max , SOC ESS min SOC ESS ( k ) SOC ESS max ,
where the SOC ESS min , and the SOC ESS max are the minimum and the maximum SOC ESS within the range of 10% and 90%, respectively.

3.3. Heat Exchanger

In this study, the HE is storage, capable of supplying domestic hot water, and the water mixer is installed inside it. For the description of the SOC dynamics, we use a single-mass model [38], i.e.,
SOC HE ( k + 1 ) SOC HE ( k ) Δ t = Q ˙ CHP ( k ) + Q ˙ TSP ( k ) + Q ˙ HP HE ( k ) + δ RHE ( k ) σ RHE P RHE Q ˙ HE TES ( k ) Q ˙ DHW ( k ) Q ˙ HE , LOSS ( k ) ,
where SOC HE ( k ) is state of the charge of the HE (kWh), Q ˙ DHW is hot water demand (kW), Q ˙ HE TES is the thermal power from the HE to the TES (kW), Q ˙ CHP is the thermal power output of the CHP (kW) at time instant k, Q ˙ HP HE ( k ) is the transfer of the thermal power from the HP to the HE, P RHE is the rated electrical power (kW) consumption by the resistor (RHE) if it is operating, i.e., δ RHE ( k ) = 1 , 0 < σ RHE < 1 is the power-to-heat conversion factor of the RHE and Q ˙ HE , LOSS ( k ) is the loss term and depends upon the temperature difference between the HE and the ambient, and also on the heat loss coefficient and the surface area of the HE. The relation between SOC HE ( k ) and the temperature of the heat exchanger T HE is given by
SOC HE ( k ) = V HE ρ w C w ( T HE ( k ) T HE set ) ,
where V HE is the volume of the HE and T HE set is the minimum set-point temperature. In addition, to maintain the minimum set-point temperature, the following constraint is imposed:
SOC HE ( k ) 0 .

3.4. Thermal Storage System

Similar to the HE, the TES SOC is modeled as
SOC TES ( k + 1 ) SOC TES ( k ) Δ t = Q ˙ HP TES ( k ) + Q ˙ HE TES ( k ) + δ RTES ( k ) σ RTES P RTES Q ˙ DH ( k ) Q ˙ TES , LOSS ( k ) ,
where SOC TES ( k ) is the state of charge of the TS (kWh), Q ˙ DH is the heat demand (kW), Q ˙ HE TES is the thermal power from the HE to the TES (kW), Q ˙ HP is the thermal power output of the HP (kW), and Q ˙ HP HE ( k ) is the transfer of the thermal power from the HP to the TES, P RTES is the rated electrical power (kW) consumption by the resistor (RTES) if it is operating, i.e., δ RTES ( k ) = 1 , 0 < σ RTES < 1 is the power-to-heat ratio of the RTES and Q ˙ TES , LOSS ( k ) is the loss and depends upon the temperature difference of the TES and the ambient, and also on the heat loss coefficient and the surface area of TES. Similar to the HE, the SOC TES ( k ) and T TES relation is given by
SOC TES ( k ) = V TES ρ w C w ( T TES ( k ) T TES set ) ,
where V TES is the volume of the TES and T TES set is the minimum set-point temperature. In addition, for the TES, the following constraint is imposed to maintain the minimum set-point temperature,
SOC TES ( k ) 0 .

3.5. Heat Pump

The HP is operated by electricity and, considering its coefficient of performance (COP) and operating state δ HP ( k ) ,is modeled as
Q ˙ HP ( k ) = COP HP × P HP ( k ) , δ HP ( k ) Q ˙ HP min Q ˙ HP ( k ) δ HP ( k ) Q ˙ HP max , δ HP ( k ) { 0 , 1 } .
In general, the COP HP can vary according to the operating point of the HP as
COP HP = Ψ Q ˙ HP ( k ) ,
where the nonlinear function Ψ · can be obtained by analyzing the P HP v s . Q ˙ HP curve. However, we assume the COP value to be constant in the operating range considered.

3.6. Heat Pump Shunting between Heat Exchanger and Thermal Energy Storage

Both the HE and the TES can store thermal energy from the HP by proper shunting. The shunting operations are modeled by means of two binary signals denoted as δ HP HE ( k ) , δ HP TES ( k ) and the auxiliarybinary variable δ shunt ( k ) as
δ HP HE ( k ) = 1 Q ˙ HP HE ( k ) = Q ˙ HP ( k ) , δ HP TES ( k ) = 1 Q ˙ HP TES ( k ) = Q ˙ HP ( k ) .
The following integer linear constraint denotes that only a single operation mode of the shunting is allowed at each time k:
δ HP HE ( k ) + δ HP TES ( k ) = δ shunt ( k ) .

3.7. Power Balance

For benchmarking purposes, a GA optimization problem is also set up and presented later. The essence of the optimization model is to meet the thermal and electrical demands with renewable generation, using the CHP as a last option and, in case this happens, effectively exploiting the combined generation of heat and electrical power. In order to achieve a realistic optimal control policy, the following power balance equations must be satisfied ateach time-step k:
P D ( k ) P PV ( k ) + P W ( k ) + P CHP ( k ) P ESS , Ch ( k ) + P ESS , Dis ( k ) P HP ( k ) P PM 1 δ PM 1 ( k ) P PM 2 δ PM 2 ( k ) P PM 3 δ PM 3 ( k ) P RTES δ RTES ( k ) P RHE δ RHE ( k ) , Q ˙ DH ( k ) Q ˙ HP TES ( k ) + Q ˙ HE TES ( k ) + δ TES ( k ) σ RTES P RTES + SOC TES ( k ) Δ t , Q ˙ DHW ( k ) Q ˙ HP HE ( k ) + δ RHE ( k ) σ RHE P RHE + Q ˙ CHP ( k ) + Q ˙ TSP ( k ) Q ˙ HE TES ( k ) + SOC HE ( k ) Δ t ,
where P PM 1 , P PM 2 , P PM 3 are the power consumptions of PM 1 , PM 2 and PM 3 , respectively.

4. Proposed Heuristics Formulation

The objective of the proposed heuristic energy dispatch strategy is to provide ON/OFF commands to the CHP system under investigation. The flow chart in Figure 2 describes the controller decision process.
The CHP system has to be operated the least possible without sacrificing the comfort in terms of electric, heat, and hot water. The overall problem is to decide how to effectively meet the electric and thermal demands of the commercial building by answering the following questions:
  • When should each equipment be switched on or off, and how much should it produce?
  • When should the electric and thermal storage be charged or discharged?
The CHP operation schedule is calculated with the proposed heuristic-based algorithm for heat, hot water, and electric demand and presented in the next subsections. It is worth mentioning that the heuristics developed for heat and hot water demand satisfactions consider the electrical energy consumption of the equipments i.e., the heat pump and the water pumps.

4.1. Heuristic Algorithm Module for Heat Demand Satisfaction

The heuristic algorithm is detailed in Figure 3 and described as follows:
Step 1
The heat demand Q ˙ DH ( k ) is first compared with the thermal energy stored in TES, by checking SOC TES .
Step 2
In case Q ˙ DH ( k ) is not achievable with the available SOC TES only, the algorithm is designed to set PM 2 to ON state, connecting HE with the TES so that both thermal storage are used.
Step 3
If Q ˙ DH ( k ) can not be satisfied even with HE and TES, the heat pump will be set to its ON state to cover the mismatch between the Q ˙ DH ( k ) and the available thermal energy in the storage.
Step 4
If the Q ˙ DH ( k ) is not achieved with the available thermal power from heat pump, and thermal storage, the controller set the thermal resistor to ON state ( δ RTES = 1 ).
Step 5
As a last resort, if Q ˙ DH ( k ) at a certain time is so large it can not be satisfied with the storage, the generation units, the thermal resistor, and the heat pump, the CHP will be set to ON state to meet the requested heat demand.

4.2. Heuristic Algorithm Module for Hot Water Demand Satisfaction

The heuristic algorithm for hot water demand satisfaction is detailed in Figure 4 and described as follows:
Step 1
The hot water demand Q ˙ DHW ( k ) is first compared with the thermal solar panel generation Q ˙ TSP ( k ) , and the thermal energy stored in HE, by checking SOC HE .
Step 2
If Q ˙ DHW ( k ) is not achievable with the available SOC HE , and Q ˙ TSP ( k ) , the heat pump is set to ON state so that the additional thermal power is shunted towards HE to meet the required Q ˙ DHW ( k ) .
Step 3
If Q ˙ DHW ( k ) is not achieved with the available thermal power from heat pump and thermal storage, the controller sets the thermal resistor to ON state ( δ RHE = 1 ).
Step 4
In case Q ˙ DHW ( k ) is achievable through the available energy from generation, storage, heat pump, and thermal resistor, the fuel cost of the CHP would be saved. Contrarily, CHP will be ON to fulfill the demand as a last resort.

4.3. Heuristic Algorithm Module for Electric Demand Satisfaction

The heuristic algorithm for the electric demand satisfaction is showed in Figure 5. The objective is to minimize the usage of the CHP while satisfying all the system constraints and maximizing utilization of the power coming from the renewable sources. Since the nature of the renewable sources is intermittent, a backup battery is used for storing energy surpluses. The heuristic algorithm for electric demand satisfaction is described as follows:
Step 1
At each time k, the available P RES ( k ) is first checked in order to meet electric demand P D ( k ) , as well as the power needed to charge SOC ESS to its maximum level.
Step 2
In the second step, P RES ( k ) is compared with the electric demand P D ( k ) only. If P D ( k ) cannot be satisfied with it, the batteries act as a backup source in order to satisfy the power balance equation.
Step 3
In case P D ( k ) cannot be met with the renewable sources as well as with the battery SOC ESS , then the CHP is switched ON in order to meet that electric demands.

5. A GA-Solved Optimization Problem for Benchmarking

We compared the proposed heuristic approach with the performance of the popular meta-heuristic GA minimizing the power produced by the CHP, and hence its operation cost. The vector u ( k ) aggregates all the decision variables at time instant k, and is defined as
u ( k ) = δ CHP ( k ) δ HP ( k ) δ RHE ( k ) δ RTES ( k ) δ PM 1 ( k ) δ PM 2 ( k ) δ PM 3 ( k ) δ HP TES ( k ) δ HP HE ( k ) .
Mathematically, the minimization problem computed at each time instant k is defined as
min u ( k ) P CHP ( k ) , s . t . Constraints ( 4 ) ( 11 ) , ( 14 ) ( 16 ) , u ( k ) { 0 , 1 } 9 ,
where P CHP ( k ) represents the co-generator output power; assuming a constant price of the fuel and a constant efficiency of the CHP, such minimization is equivalent to minimizing the cost of CHP fuel.
GA is an evolution-based population direct search method which mimics the natural crossover and selection process [39,40,41,42] of a biological population to solve optimization problems.
Similar to other meta-heuristic optimization process, GA starts searching the solution space with a set of candidate solutions or seeds, otherwise known as population vectors. In our problem, we implement real-coded GA (RCGA), which improves the computational efficiency [41,42]. There exist different types of crossover and mutation strategies to generate off-spring vectors for subsequent generations and for preserving diversity within the candidate solutions. However, the practice shows that the choice of a certain type of techniques is largely based on experiments and dependent upon the problem specifications. In particular, the adaptive selection of a particular crossover or mutation from their ensemble is adopted to enhance the performance of RCGA. The selection of an off-spring from a particular cross-over or mutation is dependent upon the objective function value as well as the degree of constraint violation. For a detailed description and understanding of the working mechanism and principles of RCGA, the reader can refer to [41]. The algorithm takes into account the following steps:
Step 1
Read the electric and thermal power requests, maximum number of iterations, and population size.
Step 2
Generate an initial population P 0 . The chromosomes length is equal to the number of decision variables in Equation (17).
Step 3
Check the constraints that correspond to the individuals in P 0 . Infeasible solutions are then removed from the solution space through the assignment of a large penalty cost.
Step 4
Evaluate the “fitness function” for individuals in P 0 using the objective function in Equation (18). The population is then indexed by the iteration number i (i.e., population = P i ).
Step 5
Generate a new pool of candidate solution P i + 1 through the application of the operators selection, crossover, and mutation to P i [42].
Step 6
Check the constraints formulation for all the individuals mentioned in P i + 1 .
Step 7
Evaluate the objective function for all the individuals listed in P i + 1 . The less constraint-violating solutions from P i and P i + 1 will be retained.
Step 8
If the solution with the best objective value remains unchanged for a significant number of iterations, the algorithm goes to report the results at step 9, if not, it goes to step 5.
Step 9
Report the results.

6. Simulations and Numerical Results

6.1. Simulation Setup

The parameters taken in this study for the controller setup are as follows: The fuel cost considered is assumed to be a constant, 1.54 [€/ L ]. Meanwhile, we take solar and wind power generations data with 1 h time resolution from literature. To generate power and heat, the default heat-power ratio of the CHP system under investigation is assumed to be 1:1. In this study, the proposed heuristic approach is implemented and compared with the standard GA meta-heuristic algorithm using MATLAB R2020a on a laptop with anIntel Core (TM) i7-7700 HQ 2.8 GHz processor and 16 GB of memory.

6.2. Test Runs

In order to prove the efficiency of the proposed heuristics, a series of test runs have been performed for a 24 h period. Specifically, extensive simulation scenarios have been conducted to compare the results obtained with the proposed heuristics against a genetic algorithm solver. Related histogram is reported showing the effectiveness of the proposed approach in energy cost saving. Before reporting such a cumulative comparison, two selected comparison scenarios among the ones considered are reported in details, to highlight the behaviors of the two different algorithms. It can be clearly seen from the simulations that both the thermal and the electric demands have always been satisfied either directly with the thermal panel, PVs, wind generator, with the stored electrical and thermal energy, or as a last resort with the CHP unit.

6.3. Example 1

Figure 6 depicts the electric and thermal generations data from the renewable sources (WTs, PVs, TSP) considered in this numerical example.

6.3.1. Heat Demand Satisfaction

In order to prove the efficacy of the implemented controller, the operational ON/OFF signals of the CHP system under investigation are shown for a case with frequent mismatch between available system thermal energy and the heat demand over the 24 h simulation. Figure 7 shows that the heat load through the proposed heuristic algorithm is met mostly with the thermal energy stored in the thermal energy storage tank, followed by the energy from the heat exchanger storage by switching on PM 2 or from the heat pump depending on the battery state of charge. In order to meet the demand, the Figure 7 top panel shows that the CHP unit is switched ON at hour 11 only, i.e., in one hour over 24 h simulations. Contrarily, the frequent switching of the CHP unit for heat load satisfaction through GA can be seen in Figure 7. It can be observed that the daily cost obtained by the proposed heuristic algorithm is 3.42 €, which is less than the one obtained with the GA 5.28 €. The heuristics performance is also more appealing than the performance of the GA algorithm, in terms of execution time, as it will be showed later in Section 6.5.

6.3.2. Hot Water Demand Satisfaction

Figure 8 shows the proposed heuristics and the GA for a hot water demand satisfaction simulation of the residential facility. It can be observed that the hot water demand is present for all 24 h of the day, while the available thermal power from solar thermal panel, as given in Figure 6, is only available between the hours 7–19. In that case, for the first 6 h, the hot water demand is met with the heat exchanger storage, as shown in Figure 8. It can be observed that the thermal energy level in the heat exchanger is at the minimum level between hours 9–10, 18–19, and 21 in the proposed heuristics simulations, while, for the GA, it is at the minimum between the hours 7, and 19–22. Therefore, the controller depending on the battery state of charge ( SOC ESS ) switches the HP to ON for delivering mismatched thermal power. In conclusion, Figure 8 shows that, for all 24 h, the available thermal energy from the renewable resources, HE storage, and from HP is always greater than the requested demand. Thus, no CHP operations are seen towards hot water demand satisfaction.

6.3.3. Electric Demand Satisfaction

To examine the effectiveness of the proposed heuristic algorithm for the electrical power demand satisfaction case, a 24 h electrical energy demand scenario has been considered. In Figure 9, it is possible to notice that, during the hours when solar or wind production is higher than the electric and thermal demands, both the heuristics and the GA controllers switch the batteries to charging state subject to the current level of SOC ESS (Figure 9). As per the goal of the system, the priority is given to the power demand satisfaction with the renewable energy sources or with the batteries or a combination of both. In case the power demand is still higher than the electrical energy available in the system, then the controller switches the CHP unit to ON in order to balance the power equation.
Figure 9 shows the SOC ESS . The batteries supply power to the electrical demand when there is low or nearly zero renewable energy resources. Furthermore, as HP is operated by electricity, the batteries also supply power to the heat pump that contributes to heat and hot water demand satisfaction as shown in Figure 7, and Figure 8, respectively. The controller switches the batteries to discharging mode during the hours with frequent mismatch between solar or wind generation and electric load demand. We stress that the electric demand for both the heuristics and the GA is met only with the system available electric energy.

6.3.4. Water Pumps

Figure 10 shows the water pumps PM 1 , PM 2 , and PM 3 switching states given by the heuristics and the GA algorithms. As shown in Figure 1, all three water pumps control the flow of hot water throughout the network. The water pump PM 1 is placed between the exhaust of CHP and HE. The water pump PM 2 is placed between HE and TES and is responsible for supplying hot water from HE to TES in case TES has storage scarcity. Similarly, the water pump PM 3 operates only when there is a heat demand signal.

6.4. Example 2

In order to show the effectiveness of the proposed heuristics, a stressing plant scenario with limited availability of the renewable powers has been considered. In this scenario, the controller due to low renewable generations mostly relies on the energy available in the storage, or on the CHP unit that has to be switched ON in order to fulfill electric and thermal demands. The electric and thermal generation data from the renewable sources (WTs, PVs, TSP) considered are shown in Figure 11.

6.4.1. Heat Demand Satisfaction

For the stressing plant scenario, the analysis has been conducted through simulations for a day with less renewable availability. As explained above, the purpose is to supply both the electric and thermal loads appropriately via exploiting the renewable production, the electric and thermal storage capacity, and the CHP unit.
Figure 12 shows that both the heuristics and the GA supply the heat load correctly. Initially, the heuristic algorithm switches the HP ON because of the hot water demand (detailed later in the next section). In the following hours, if the system available thermal energy for heat demand satisfaction is below the heat load, the shortfall is made up by switching ON the CHP unit, as can be seen during the hours 7, 11 and 17. On the other hand, the GA turns ON the CHP unit during the hours 6, 9–13, and 15 for heat load satisfaction, as can be seen in the panel below of Figure 12. It is observable that the cost obtained by the proposed heuristic algorithm for a day with limited renewable sources is 10.16 €, which is a slightly higher than the one obtained for the same day with the GA 9.80 €. However, the performance of the heuristics in terms of execution time is more appealing than that of the GA, as will be showed later in Section 6.5.

6.4.2. Hot Water Demand Satisfaction

The residential hot water demand satisfaction through the heuristics and the GA is reported in Figure 13. The hot water demand spans all 24 h of the day, while the renewable sources are very limited. In order to supply the hot water load, during the first 3 h, both the control strategies exploited the heat exchanger storage SOC HE . Any mismatch between the available system thermal energy and the hot water demand has been supplied by switching ON the ( HP ) depending on the battery state-of-charge SOC ESS . It is also possible to notice that the heuristics algorithm relies on the HP less than the GA, thus resulting in more utilization of the renewable sources and the thermal storage. In this way, the heuristic algorithm saves the battery SOC ESS for the future electric load, and at the same time avoids the conversion of the HP from electric to thermal, when possible. Figure 13 shows that the heuristics supplied the hot water demand by exploiting more the SOC HE , and relied less on the HP operations. On the other hand, the GA frequently switched ON the HP in order to balance the mismatch between the Q ˙ TSP and the hot water demand. The frequent HP switching in GA resulting in more Q ˙ HE TES supply than the heuristics for the heat demand satisfaction. In conclusion, with the proper coordination of both the storage ( SOC HE and the SOC HE ), and with the use of HP, both the heuristics and the GA supplied hot water demand correctly.

6.4.3. Electric Demand Satisfaction

Figure 14 shows the electric demand satisfaction for both control strategies. In the scenario at hand, the renewable data and the reference power demand are such that both exceeding and missing power are considered, with a power flow towards or from the storage. In order to show the effectiveness of the implemented heuristics, the unit commitment has been shown for a case with frequent imbalances between the reference demand and the limited available renewable power over the 24 h simulation. In Figure 14, it is possible to notice that the renewable power available from the wind and the photo voltaic are mostly less than the requested load. Therefore, in order to supply the electric load, both the heuristics and the GA controllers switch the batteries to discharging state subject to certain constrains on the battery bank SOC ESS , and no CHP unit working is observed.

6.4.4. Water Pumps

Similar to the previous example, Figure 15 shows the heuristics and the GA water pumps PM 1 , PM 2 , and PM 3 switching states. In comparison to Figure 10, the frequent switching of water pump PM 1 can be observed, as the absence of the renewable sources led the controllers to frequently operate the CHP unit in order to fulfill both the electric and the thermal demands.

6.5. Algorithms Comparison

This subsection summarizes the performance of the proposed heuristic algorithm and those of the GA. Fifty test runs of the system under study have been conducted over a 24 h simulation period. As representative examples, two of them have been reported in the previous sections. The obtained results are summarized in Table 4. In all the considered scenarios, both the heuristic and the meta-heuristic GA meet the electric and thermal demands of the residential facility. The heuristics and the GA cost per scenario is reported in Figure 16. Furthermore, the cost percentage gain of both approaches with respect to each other has also been reported in Figure 17. From Table 4, it is observable that the proposed heuristics in comparison with the optimally designed GA, competed reasonably well in terms of fuel costs minimization, despite the fact it uses a very simplified system model compared to the GA. Furthermore, the simulation time of the proposed algorithm in all fifty scenarios is almost 300 times faster than the execution time taken by the GA. Hence, the proposed heuristic algorithm is deployable both on standard and low-performance hardware, contrary to a standard meta-heuristics strategy which cannot run on low-performance hardware.

7. Conclusions

This paper proposes a fast heuristic approach for solving the CHP-ED problem considering that the presence of multiple energy vectors through a novel was the computational efficient model of the system. The proposed heuristics were compared with Genetic Algorithm (GA), a meta-heuristic approach. The results show that the heuristic approach implies higher costs with respect to the GA; however, with the major benefit of being computationally simpler and faster so as to be run also on low-cost, low-performance platforms. Implementing the heuristics on an embedded hardware and studying implementation aspects are future paths for this investigation as well as the handling of renewable generation and load forecasts, to some extent, and the optimal tuning of the thresholds for improved performances.

Author Contributions

Conceptualization, L.G., D.L. and V.M.; methodology, M.F.S., M.D., V.M. and S.S.; software, M.F.S. and M.D.; validation, M.F.S., M.D., V.M. and S.S.; investigation, D.L., V.M. and S.S.; resources L.G., C.M. and R.S.; writing—original draft preparation, M.F.S., M.D., V.M. and S.S.; writing—review and editing, V.M., S.S., D.L., L.G.; supervision, V.M., S.S., D.L. and L.G.; project administration, L.G., C.M., R.S., D.L., V.M. and S.S.; funding acquisition, L.G., C.M. and R.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially funded by Regione Campania (FSE 2014/2020, D.G.R. n. 80 del 31/5/2016) and by Regione Lazio (POR FESR 2014/2020, Avviso pubblico n. 5, Bioedilizia e smart-building, determina n. G14229 del 30/11/2016).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Caliano, M.; Bianco, N.; Graditi, G.; Mongibello, L. Economic optimization of a residential micro-CHP system considering different operation strategies. Appl. Therm. Eng. 2016, 101, 592–600. [Google Scholar] [CrossRef]
  2. Yu, H.; Nord, L.O.; Yu, C.; Zhou, J.; Si, F. An improved combined heat and power economic dispatch model for natural gas combined cycle power plants. Appl. Therm. Eng. 2020, 181, 115939. [Google Scholar] [CrossRef]
  3. Qaeini, S.; Nazar, M.S.; Varasteh, F.; Shafie-khah, M.; Catalão, J.P. Combined heat and power units and network expansion planning considering distributed energy resources and demand response programs. Energy Convers. Manag. 2020, 211, 112776. [Google Scholar] [CrossRef]
  4. Pourghasem, P.; Sohrabi, F.; Abapour, M.; Mohammadi-Ivatloo, B. Stochastic multi-objective dynamic dispatch of renewable and CHP-based islanded microgrids. Electr. Power Syst. Res. 2019, 173, 193–201. [Google Scholar] [CrossRef]
  5. Neyestani, M.; Hatami, M.; Hesari, S. Combined heat and power economic dispatch problem using advanced modified particle swarm optimization. J. Renew. Sustain. Energy 2019, 11, 015302. [Google Scholar] [CrossRef]
  6. Ahmadi, P.; Almasi, A.; Shahriyari, M.; Dincer, I. Multi-objective optimization of a combined heat and power (CHP) system for heating purpose in a paper mill using evolutionary algorithm. Int. J. Energy Res. 2012, 36, 46–63. [Google Scholar] [CrossRef]
  7. Olatomiwa, L.; Mekhilef, S.; Ismail, M.; Moghavvemi, M. Energy management strategies in hybrid renewable energy systems: A review. Renew. Sustain. Energy Rev. 2016, 62, 821–835. [Google Scholar] [CrossRef]
  8. Maleki, A.; Rosen, M.A. Design of a cost-effective on-grid hybrid wind–hydrogen based CHP system using a modified heuristic approach. Int. J. Hydrogen Energy 2017, 42, 15973–15989. [Google Scholar] [CrossRef]
  9. Barbieri, E.S.; Melino, F.; Morini, M. Influence of the thermal energy storage on the profitability of micro-CHP systems for residential building applications. Appl. Energy 2012, 97, 714–722. [Google Scholar] [CrossRef]
  10. Larissa, B.; Maran, R.M.; Ioan, B.; Anca, N.; Mircea-Iosif, R.; Horia, T.; Gheorghe, F.; Ema Speranta, M.; Dan, M.I. Adjusted net savings of CEE and Baltic nations in the context of sustainable economic growth: A panel data analysis. J. Risk Financ. Manag. 2020, 13, 234. [Google Scholar] [CrossRef]
  11. Ioan, B.; Malar Kumaran, R.; Larissa, B.; Anca, N.; Lucian, G.; Gheorghe, F.; Horia, T.; Ioan, B.; Mircea-Iosif, R. A panel data analysis on sustainable economic growth in India, Brazil, and Romania. J. Risk Financ. Manag. 2020, 13, 170. [Google Scholar] [CrossRef]
  12. Rose, S.K.; Richels, R.; Blanford, G.; Rutherford, T. The Paris Agreement and next steps in limiting global warming. Clim. Chang. 2017, 142, 255–270. [Google Scholar] [CrossRef] [Green Version]
  13. Casals, L.C.; Martinez-Laserna, E.; García, B.A.; Nieto, N. Sustainability analysis of the electric vehicle use in Europe for CO2 emissions reduction. J. Clean. Prod. 2016, 127, 425–437. [Google Scholar] [CrossRef]
  14. Acke, D. Zeroing In: Lessons from the European Climate Foundation’s Roadmap 2050 Project. IEEE Power Energy Mag. 2014, 12, 42–49. [Google Scholar] [CrossRef]
  15. Boden, T.A.; Marland, G.; Andres, R.J. Global, Regional, and National Fossil-Fuel CO2 Emissions; Carbon Dioxide Information Analysis Center, Oak Ridge National Laboratory, US Department of Energy: Oak Ridge, TN, USA, 2009; Volume 10. [CrossRef]
  16. Sgobba, A.; Meskell, C. On-site renewable electricity production and self consumption for manufacturing industry in Ireland: Sensitivity to techno-economic conditions. J. Clean. Prod. 2019, 207, 894–907. [Google Scholar] [CrossRef] [Green Version]
  17. Kosmadakis, G. Estimating the potential of industrial (high-temperature) heat pumps for exploiting waste heat in EU industries. Appl. Therm. Eng. 2019, 156, 287–298. [Google Scholar] [CrossRef]
  18. Capizzi, F.; Das, A.; Dauwe, T.; Moorkens, I.; Juhana, R. Renewable Energy in Europe—2019; European Environmental Agency-European Topic Centre on Climate Change Mitigation and Energy: Mol, Belgium, 2019. [Google Scholar]
  19. Sun, J.; Li, Y. Social cognitive optimization with tent map for combined heat and power economic dispatch. Int. Trans. Electr. Energy Syst. 2019, 29, e2660. [Google Scholar] [CrossRef] [Green Version]
  20. Steen, D.; Stadler, M.; Cardoso, G.; Groissböck, M.; DeForest, N.; Marnay, C. Modeling of thermal storage systems in MILP distributed energy resource models. Appl. Energy 2015, 137, 782–792. [Google Scholar] [CrossRef] [Green Version]
  21. Li, Y.; Wang, J.; Zhao, D.; Li, G.; Chen, C. A two-stage approach for combined heat and power economic emission dispatch: Combining multi-objective optimization with integrated decision making. Energy 2018, 162, 237–254. [Google Scholar] [CrossRef] [Green Version]
  22. Wouters, C.; Fraga, E.S.; James, A.M. An energy integrated, multi-microgrid, MILP (mixed-integer linear programming) approach for residential distributed energy system planning—A South Australian case-study. Energy 2015, 85, 30–44. [Google Scholar] [CrossRef] [Green Version]
  23. Rafique, M.K.; Haider, Z.M.; Mehmood, K.K.; Saeed Uz Zaman, M.; Irfan, M.; Khan, S.U.; Kim, C.H. Optimal Scheduling of Hybrid Energy Resources for a Smart Home. Energies 2018, 11, 3201. [Google Scholar] [CrossRef] [Green Version]
  24. Sanguinetti, A.; Karlin, B.; Ford, R.; Salmon, K.; Dombrovski, K. What’s energy management got to do with it? Exploring the role of energy management in the smart home adoption process. Energy Effic. 2018, 11, 1897–1911. [Google Scholar] [CrossRef] [Green Version]
  25. Ford, R.; Pritoni, M.; Sanguinetti, A.; Karlin, B. Categories and functionality of smart home technology for energy management. Build. Environ. 2017, 123, 543–554. [Google Scholar] [CrossRef] [Green Version]
  26. Lin, C.; Wu, W.; Zhang, B.; Sun, Y. Decentralized solution for combined heat and power dispatch through benders decomposition. IEEE Trans. Sustain. Energy 2017, 8, 1361–1372. [Google Scholar] [CrossRef]
  27. Sashirekha, A.; Pasupuleti, J.; Moin, N.; Tan, C.S. Combined heat and power (CHP) economic dispatch solved using Lagrangian relaxation with surrogate subgradient multiplier updates. Int. J. Electr. Power Energy Syst. 2013, 44, 421–430. [Google Scholar] [CrossRef]
  28. Yokoyama, R.; Shinano, Y.; Wakayama, Y.; Wakui, T. Model reduction by time aggregation for optimal design of energy supply systems by an MILP hierarchical branch and bound method. Energy 2019, 181, 782–792. [Google Scholar] [CrossRef]
  29. Nazari-Heris, M.; Mohammadi-Ivatloo, B. Application of heuristic algorithms to optimal PMU placement in electric power systems: An updated review. Renew. Sustain. Energy Rev. 2015, 50, 214–228. [Google Scholar] [CrossRef]
  30. Kim, J.S.; Edgar, T.F. Optimal scheduling of combined heat and power plants using mixed-integer nonlinear programming. Energy 2014, 77, 675–690. [Google Scholar] [CrossRef]
  31. Pattanaik, J.K.; Basu, M.; Dash, D.P. Heat Transfer Search Algorithm for Combined Heat and Power Economic Dispatch. Iran. J. Sci. Technol. Trans. Electr. Eng. 2020, 44, 963–978. [Google Scholar] [CrossRef]
  32. Nguyen Trung, T.; Vo Ngoc, D. Improved particle swarm optimization for combined heat and power economic dispatch. Sci. Iran. 2016, 23, 1318–1334. [Google Scholar] [CrossRef] [Green Version]
  33. Allegrini, J.; Orehounig, K.; Mavromatidis, G.; Ruesch, F.; Dorer, V.; Evins, R. A review of modelling approaches and tools for the simulation of district-scale energy systems. Renew. Sustain. Energy Rev. 2015, 52, 1391–1404. [Google Scholar] [CrossRef]
  34. Alomoush, M.I. Optimal Combined Heat and Power Economic Dispatch Using Stochastic Fractal Search Algorithm. J. Mod. Power Syst. Clean Energy 2020, 8, 276–286. [Google Scholar] [CrossRef]
  35. Nazari-Heris, M.; Mehdinejad, M.; Mohammadi-Ivatloo, B.; Babamalek-Gharehpetian, G. Combined heat and power economic dispatch problem solution by implementation of whale optimization method. Neural Comput. Appl. 2019, 31, 421–436. [Google Scholar] [CrossRef]
  36. Maleki, A.; Rosen, M.A.; Pourfayaz, F. Optimal operation of a grid-connected hybrid renewable energy system for residential applications. Sustainability 2017, 9, 1314. [Google Scholar] [CrossRef] [Green Version]
  37. Vögelin, P.; Koch, B.; Georges, G.; Boulouchos, K. Heuristic approach for the economic optimisation of combined heat and power (CHP) plants: Operating strategy, heat storage and power. Energy 2017, 121, 66–77. [Google Scholar] [CrossRef]
  38. Celador, A.C.; Odriozola, M.; Sala, J. Implications of the modelling of stratified hot water storage tanks in the simulation of CHP plants. Energy Convers. Manag. 2011, 52, 3018–3026. [Google Scholar] [CrossRef]
  39. Deb, K. Multi-Objective Optimization Using Evolutionary Algorithms; John Wiley & Sons: Hoboken, NJ, USA, 2001; Volume 16. [Google Scholar]
  40. Goldberg, D.E. Genetic Algorithms; Pearson Education: Tamil Nadu, India, 2006. [Google Scholar]
  41. Dan, M.; Srinivasan, S.; Sundaram, S. A Hybrid Cross-Entropy Guided Genetic Algorithm for Scheduling Multi-Energy Systems. In Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence (SSCI), Bangalore, India, 18–21 November 2018; pp. 1807–1814. [Google Scholar]
  42. Suresh, S.; Huang, H.; Kim, H.J. Hybrid real-coded genetic algorithm for data partitioning in multi-round load distribution and scheduling in heterogeneous systems. Appl. Soft Comput. 2014, 24, 500–510. [Google Scholar] [CrossRef]
Figure 1. System Architecture. The yellow lines represent the gasoline (fuel) flows, and the green lines represent the electrical energy flows, while red lines represent the thermal energy flows.
Figure 1. System Architecture. The yellow lines represent the gasoline (fuel) flows, and the green lines represent the electrical energy flows, while red lines represent the thermal energy flows.
Energies 14 01588 g001
Figure 2. Energy management system schematic.
Figure 2. Energy management system schematic.
Energies 14 01588 g002
Figure 3. Heat demand satisfaction module.
Figure 3. Heat demand satisfaction module.
Energies 14 01588 g003
Figure 4. Hot water demand satisfaction module.
Figure 4. Hot water demand satisfaction module.
Energies 14 01588 g004
Figure 5. Electrical demand satisfaction module.
Figure 5. Electrical demand satisfaction module.
Energies 14 01588 g005
Figure 6. Thermal and electric power generation.
Figure 6. Thermal and electric power generation.
Energies 14 01588 g006
Figure 7. Heuristics and GA heat demand satisfaction numerical results.
Figure 7. Heuristics and GA heat demand satisfaction numerical results.
Energies 14 01588 g007
Figure 8. Heuristics and GA hot water demand satisfaction numerical results.
Figure 8. Heuristics and GA hot water demand satisfaction numerical results.
Energies 14 01588 g008
Figure 9. Heuristics and GA electric demand satisfaction numerical results.
Figure 9. Heuristics and GA electric demand satisfaction numerical results.
Energies 14 01588 g009
Figure 10. Heuristics and GA water pumps numerical results.
Figure 10. Heuristics and GA water pumps numerical results.
Energies 14 01588 g010
Figure 11. Thermal and electric power generation for Example 2.
Figure 11. Thermal and electric power generation for Example 2.
Energies 14 01588 g011
Figure 12. Heuristics and GA heat demand satisfaction numerical results for Example 2.
Figure 12. Heuristics and GA heat demand satisfaction numerical results for Example 2.
Energies 14 01588 g012
Figure 13. Heuristics and GA hot water demand satisfaction numerical results.
Figure 13. Heuristics and GA hot water demand satisfaction numerical results.
Energies 14 01588 g013
Figure 14. Heuristics and GA electric demand satisfaction numerical results.
Figure 14. Heuristics and GA electric demand satisfaction numerical results.
Energies 14 01588 g014
Figure 15. Heuristics and GA water pumps’ numerical results.
Figure 15. Heuristics and GA water pumps’ numerical results.
Energies 14 01588 g015
Figure 16. Heuristics and GA cost per scenario.
Figure 16. Heuristics and GA cost per scenario.
Energies 14 01588 g016
Figure 17. Cost percentage gain.
Figure 17. Cost percentage gain.
Energies 14 01588 g017
Table 1. System model parameters.
Table 1. System model parameters.
ParametersDescription
Δ t Sampling time [ h ]
δ CHP ON-OFF state of the nano co-generation unit (CHP)
δ HP ON-OFF state of the heat pump (HP)
P CHP CHP Output Electrical power
Q ˙ CHP CHP Output thermal power [ k W ]
σ CHP Operational state of the CHP
P CHP max Rated power output of CHP [ k W ]
δ PM 1 ( k ) ON-OFF state of the Water Pump 1
δ PM 2 ( k ) ON-OFF state of the Water Pump 2
δ PM 3 ( k ) ON-OFF state of the Water Pump 3
P PM 1 ( k ) Water Pump 1 rated electrical consumption [ k W ]
P PM 2 ( k ) Water Pump 2 rated electrical consumption [ k W ]
P PM 3 ( k ) Water Pump 3 rated electrical consumption [ k W ]
SOC ESS Electrical storage system (ESS) State of charge [ k W h ]
SOC ESS min Minimum value of SOC ESS
SOC ESS max Minimum value of SOC ESS
η C Charging efficiency of ESS
η D Discharging efficiency of ESS
P ESS , Ch ESS rated charging power [ k W ]
P ESS , D ESS rated discharging power [ k W ]
SOC HE State of charge of the heat exchanger [ k W h ]
Q ˙ HP HE Heat pump to heat exchanger thermal power shunting [ k W ]
P RHE Electrical power of the thermal energy storage resistor [ k W ]
σ RHE Resistor heat-power ratio
Q ˙ HE TES Thermal power flow from heat exchanger-thermal energy storage [ k W ]
SOC TES State of charge of thermal energy system [ k W h ]
Q ˙ HP TES Heat pump to thermal energy storage thermal power flow [ k W ]
δ RTES ON-OFF state of the thermal energy storage resistor
δ RHE ON-OFF state of the heat exchanger resistor
σ RTES Heat-power ratio of the resistor associated with thermal energy storage
P RTES Electrical power of the thermal energy storage resistor [ k W ]
c F Fuel cost [ L 1 ]
V HE Heat exchanger tank volume [ L ]
T HE Heat exchanger temperature [ K ]
T HE set Set point temperature of the heat exchanger [ K ]
V TES Tank volume of the thermal energy storage [ L ]
T TES Thermal energy storage temperature [ K ]
T TES set Set point temperature of the thermal energy storage [ K ]
Q ˙ HP min Heat pump minimum thermal flow [ k W ]
Q ˙ HP max Heat pump maximum thermal flow [ k W ]
T HP Heat pump temperature [ K ]
T amb Ambient temperature [ K ]
Table 2. Electric powers.
Table 2. Electric powers.
Power ForecastsDescription
P PV Solar power production [ k W ]
P W Wind power production [ k W ]
P D Electric demand [ k W ]
Table 3. Thermal powers.
Table 3. Thermal powers.
ForecastsDescription
Q ˙ TSP Thermal solar panel production [ k W ]
Q ˙ DH Heat demand [ k W ]
Q ˙ DHW Hot water demand [ k W ]
Table 4. Heuristics and GA test runs comparison. The CHP unit, the HP , and the thermal storage operating ranges considered in the test runs are 5 [ k W ] , 4 [ k W ] , and 10 [ k W h ] , respectively. The average cost and the CPU time of the heuristics over 50 test runs are 6.48 €, and 0.45 s, respectively, while the average cost and the CPU time for the GA are 5.97 €, and 127.15 s, respectively.
Table 4. Heuristics and GA test runs comparison. The CHP unit, the HP , and the thermal storage operating ranges considered in the test runs are 5 [ k W ] , 4 [ k W ] , and 10 [ k W h ] , respectively. The average cost and the CPU time of the heuristics over 50 test runs are 6.48 €, and 0.45 s, respectively, while the average cost and the CPU time for the GA are 5.97 €, and 127.15 s, respectively.
Table Frame No. 1
AlgorithmValuesCase 01Case 02Case 03Case 04Case 05Case 06Case 07
HeuristicsCost Value €3.383.785.423.424.787.223.22
CPU Time (s)0.420.400.500.410.430.440.39
GACost Value €2.873.124.782.873.986.872.89
CPU Time (s)123.12120.72120.1123.15123.75122.45121.05
Table Frame No. 2
AlgorithmValuesCase 08Case 09Case 10Case 11Case 12Case 13Case 14
HeuristicsCost Value €6.9810.169.278.098.279.906.94
CPU Time (s)0.410.400.490.420.420.410.41
GACost Value €6.689.808.798.687.879.556.47
CPU Time (s)127.13120.72122.10121.05124.70123.75123.75
Table Frame No. 3
AlgorithmValuesCase 15Case 16Case 17Case 18Case 19Case 20Case 21
HeuristicsCost Value €7.166.166.973.134.854.775.48
CPU Time (s)0.420.410.500.410.440.410.38
GACost Value €7.185.757.453.804.335.125.08
CPU Time (s)124.02120.27119.51122.65120.75121.95123.75
Table Frame No. 4
AlgorithmValuesCase 22Case 23Case 24Case 25Case 26Case 27Case 28
HeuristicsCost Value €3.386.3785.416.235.423.974.43
CPU Time (s)0.380.490.500.440.430.400.41
GACost Value €4.076.754.886.774.983.233.82
CPU Time (s)112.12121.52119.01129.55118.47125.95121.05
Table Frame No. 5
AlgorithmValuesCase 29Case 30Case 31Case 32Case 33Case 34Case 35
HeuristicsCost Value €4.019.437.165.275.424.784.87
CPU Time (s)0.370.440.450.490.390.440.44
GACost Value €4.188.756.835.834.984.935.25
CPU Time (s)130.12121.92116.10114.50121.05123.45126.32
Table Frame No. 6
AlgorithmValuesCase 36Case 37Case 38Case 39Case 40Case 41Case 42
HeuristicsCost Value €3.114.474.775.435.226.153.97
CPU Time (s)0.410.400.400.490.530.400.42
GACost Value €3.434.074.235.054.876.473.43
CPU Time (s)121.21120.27125.10121.57123.50119.73120.67
Table Frame No. 7
AlgorithmValuesCase 43Case 44Case 45Case 46Case 47Case 48Case 49
HeuristicsCost Value €6.778.396.775.938.087.545.43
CPU Time (s)0.460.460.500.490.420.490.42
GACost Value €5.928.896.156.836.936.965.17
CPU Time (s)113.42118.20119.56123.59121.67120.50121.95
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shehzad, M.F.; Dan, M.; Mariani, V.; Srinivasan, S.; Liuzza, D.; Mongiello, C.; Saraceno, R.; Glielmo, L. A Heuristic Algorithm for Combined Heat and Power System Operation Management. Energies 2021, 14, 1588. https://doi.org/10.3390/en14061588

AMA Style

Shehzad MF, Dan M, Mariani V, Srinivasan S, Liuzza D, Mongiello C, Saraceno R, Glielmo L. A Heuristic Algorithm for Combined Heat and Power System Operation Management. Energies. 2021; 14(6):1588. https://doi.org/10.3390/en14061588

Chicago/Turabian Style

Shehzad, Muhammad Faisal, Mainak Dan, Valerio Mariani, Seshadhri Srinivasan, Davide Liuzza, Carmine Mongiello, Roberto Saraceno, and Luigi Glielmo. 2021. "A Heuristic Algorithm for Combined Heat and Power System Operation Management" Energies 14, no. 6: 1588. https://doi.org/10.3390/en14061588

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop