Abstract
Introducing Energy hubs (EHs) is a beneficial strategy for incorporating quickly expanding renewable energies. However, the stochastic nature of renewable energy sources (RESs) and fluctuating energy demand have produced a number of difficulties, including unstable voltage/frequency, challenging energy management, and difficult network interaction. Additionally, the changing in response time of electrical and heat demands will make control challenging. This paper proposes a distributed control system for use with dynamic EHs. The RESs and loads present in the multi-carrier system cause the dynamics considering here. In order to optimise system performance, this research suggests a distributed model predictive control strategy that considers expected behaviour and operational restrictions. The strategy’s potential is demonstrated via simulations in which the proposed scheme is applied to a benchmark system.
Similar content being viewed by others
Introduction
Traditional energy sources can no longer meet sustainable expectations due to environmental damage and load requirement growth1. Renewable energy sources (RESs) have received great marks for transforming the traditional energy system2,3. Because RESs are geographically and climatically sensitive, it is necessary to have a highly versatile and adaptable energy supply system4. Energy hubs (EHs) have been proposed as a viable remedy in this regard5,6,7,8. The coordinated regulation of a standalone, combined heat and power generation (CHP) that is integrated with EH will be the main topic of this paper.
The most popular method for EH energy management regarding the grid’s power scheduling is a hierarchical structure9. The lower layer follows the load instruction, while the top layer adheres to optimal scheduling. Decentralized control structures are frequently used for the lowest layer10. Decentralized control, particularly for EHs with CHP, does not consider coupling. On the other hand, coupled systems’ interconnections can all be managed by a centralised control structure. Centralized control uses greater computational resources simultaneously. Centralized control can no longer handle a high-dimensional, big-data, EH optimization problem due to scale expansion and capacity upgrades.
A distributed control structure appears to hold promise for solving these problems. Although distributed control structures are dispersed as well, each controller’s control model comprises all the interrelated data from the entire system. Distributed model predictive control has been implemented in power system control in addition to model predictive control (MPC).
For the optimal power dispatch issue in systems with multiple energy carriers, Geidl and Andersson developed a model in their EH concept, which served as a starting point11. The matrix model and dispatch factors created by these authors were used to develop an optimization framework for the aforementioned optimal power dispatch problem. The issue of optimum power flow between diverse energy infrastructures, including district heating networks, electricity grids, and natural gas networks, has also been developed by the same authors12 in the context of interconnected EHs related to multi-carrier energy systems. Additionally, they developed a design optimization strategy in13 to obtain the ideal coupling matrix in accordance with a predetermined demand and objective function. Time-dependent factors were not taken into account because these models were presented in steady-state conditions. Then, they offered a modelling framework in14 that allows for the integration of an unrestricted number of energy carriers as well as chemical reactants and products. They also considered the temporal dependency, which has been highlighted in various real-world cases and included energy storage technologies in the model. A centralised model predictive controller was presented by15 after developing the EH idea. The aforementioned controller considers the system’s dynamics and limits while also adapting to anticipated, forecasted changes in load and energy prices. Moreover, simulations are shown applying the suggested scheme to a benchmark system with three interconnected hubs. Additionally, the effectiveness of a number of prediction horizons with various lengths has been contrasted. While the overall operation cost declines when the forecast horizon is extended, the computing effort also rises. A distributed MPC strategy was suggested in16 for solving the overall optimisation problem in a distributed manner (to alleviate this computing strain). To ensure that employing the control technique on a real system yields workable solutions, they have examined the performance of intermediate solutions attained through iterations using the suggested approach in a simulated case study. Additionally, cooperative behaviour was discovered, in which nearby agents support the system-wide aim. The regulation of EH outputs and internal devices is part of a dual control of EH that considers economic efficiency and security operation17. A dual-decomposition-based distributed algorithm was developed in18 to handle the problem of data and information secrecy for EH based on a consensus approach. Predictive control solutions are consistent with the EH modelling methodology is proposed in19 to reduce economic costs. In20, the authors examine how several MPC techniques work with energy management systems in buildings and EHs. Ref.21 presented a novel framework for distributed multi-horizon model predictive control (DMH-MPC) applied to a network of EHs. The proposed approach leverages the advantages of both distributed control and multi-horizon optimization to effectively coordinate the operation of energy hubs while considering their interactions with the broader energy grid. In22, a novel hybrid droop control strategy for DC microgrids that simultaneously considers operating costs and flexibility was presented. The proposed approach integrates traditional droop control with economic dispatch and flexibility assessment, offering a comprehensive solution for optimizing microgrid operation. Authors in23 presented a comprehensive techno-economic assessment of energy storage systems (ESSs) in multi-energy microgrids, utilizing a decomposition methodology. The proposed framework provides valuable insights into the optimal sizing, technology selection, and operational strategies for ESSs in such complex systems.
Table 1 summarises earlier literature, which has led to numerous adaptations of this framework toward an optimal power flow general, unit commitment, and demand-side management for the multi-energy management problem.
Most of the researches for EH focused on the modelling and optimal operation of EH. On the other hand, few studies considered EH’s control and security operation. As a multi-carrier energy system’s most basic and significant requirement, the security operation can be achieved by regulating the EH working at a secure range with proportional power sharing. This paper proposes a distributed control system for EHs considering RESs and loads presented in the multi-carrier system. The contribution of this paper can be expressed as follow:
-
The MPC framework is designed to adapt to changes in system dynamics by identifying models of inner devices based on real-time input-output data.
-
The control strategy is decentralized, enabling each inner device to operate autonomously without requiring extensive communication with other devices.
-
The MPC helps to maintain the security and reliability of the EH system by proactively addressing disturbances and optimizing energy allocation.
-
The control approach ensures that electricity and heat outputs are proportionally allocated based on the specific needs and constraints of the EH system.
“System profile and modelling” section of this research develops a thorough theoretical model of a standalone EH for home usage. By simulating the model, the dynamic properties of such a system are determined. Then, in “Design of the control system” section, the system control structure is created. The results of the control simulation are discussed in “Control simulation” section. The paper is concluded in “Conclusions” section.
System profile and modelling
Researchers in Power Systems and the ETH Zurich High Voltage Laboratory presented the concept of EH under a project, namely Vision of Future Energy Networks. The project aims to propose a visualization of energy systems in the future, over a long term of 20–30 years, by using the technique of Greenfield24. The main features of this project can be outlined as follows25,26:
-
Moving towards MESs to take advantage of synergies between various energy carriers.
-
Moving to non-hierarchical structures.
-
Moving directly to interconnected and integrated energy systems.
-
Joint transport of various energy carriers through longer distances in single transmitters.
-
Developing EH concept: an integrated unit converts and stores multi-energy carriers.
The EH concept was presented in27 as integrating ESSs, transmitters, generation, and consumers in various ways. This integration is done through converting devices or directly by dealing with single or multiple energy carriers. Figure 1 illustrates matrix model of EH and the connection of different input and output energy vectors across the coupling matrix.
Each element of the matrix defines the internal characteristics of the EH, which contain converters and conversion efficiencies for the internal components of the EH. Geidl and Andersson (2005) presented a more accurate definition of EH as follows: “EH is a framework which provides input, output, ESSs and conversion for several energy carriers”28,29. EHs can interface between network participants (generation and consumers) and energy infrastructure or among various energy infrastructures, such as district heat, NG, and electricity systems. The hybrid word is sometimes used with the EH, which reflects the interaction among various energy carriers in EH30. Thus, the EH can be defined, in brief, as: “The place where different energy carriers are received, then converted, stored and consumed”.
A projected EH’s architecture is shown in Fig. 2. Two connected networks make up the suggested EH. Natural gas is the hub’s primary energy source, while the output provides heat and electricity. These networks are integrated through the actions of EH’s parts like CHP and EHP. The mathematical connections between the EH input and output are defined in (1) and (2) as follows7:
where \(L, C,\) and \(I\) are the input energy carriers, coupling matrix, and output loads, respectively. These terms are further explained in the following subsections.
System description and configuration
Figure 3 shows the evaluated EH’s schematic design, including CHP, photovoltaic (PV), battery, and electric heat pump (EHP). This system is designed to provide heat and electricity for home use. The PV module converts solar energy into environmentally friendly power by absorbing it. The CHP provides steady heat and electricity. The battery is essential for maintaining the grid’s voltage and for storing energy. A single CHP is insufficient to achieve the goal of concurrently meeting the power and heat demand. In this instance, the CHP and the EHP work together to meet the need for heating and hot water. The investment and energy efficiency cost determines the system’s capacity allocation. A 60kW PV module, an 80kW CHP unit, and a 60Ah battery are the allocations chosen based on a reasonable capacity proportion. Users’ thermal demands determine the EHP’s rated input power of 60kW. These sources and storage create a 380V DC microgrid. This system uses a single bus construction because of its simplicity and relatively low investment cost.
PV model
The PV cell, MPPT controller, and boost circuit are the three components that make up the PV module’s theoretical model. The PV cell’s I-V characteristic can be represented as31.
where \({I}_{PV}\) is the PV current (A), and V is the output voltage (V), \({I}_{0}\) is the PV diode reverse saturation current (A), \({I}_{ph}\) is the photo-generated current (A), \({R}_{S}\) is the series resistance (Ω), \(q\) is the electric charge (C), \(K\) the Boltzmann constant, \(T\) is the temperature (°K), \(A\) is the ideality factor, and \({R}_{sh}\) is the series resistance (Ω).
Combined heat and power model
The CHP system comprises a centrifugal compressor, a radial turbine, a combustion chamber, and a recuperator. Similar to the fully regenerative CHP described in this paper, the turbine’s high-temperature exhaust gas heats all of the compressed air. A modular modelling approach is utilised due to the CHP components’ high degree of independence32. Each component’s fundamental formulas are listed below.
The best way to determine the compressor’s precise performance is typically by experimentation, which may be condensed into a set of equations33.
where \({T}_{c1}\) and \({T}_{c2}\) are inlet and outlet temperatures of the compressor (°C), \({k}_{a}\) is the air adiabatic index, \({P}_{c}\) is the power of the compressor (kW), \({m}_{c}\) is the mass flow rate of the compressor (kg/s), \({c}_{pa}\) is the air specific heat capacity (kJ/(kg. °C)), and \(\pi_{c} /\eta_{c}\) is reduced parameters of specific compressors.
Calculations for the outlet flow rate of the combustor, temperature, and pressure include can be formulated as
where \({m}_{b1,}{m}_{b2}\) are the inlet and outlet mass flow rate of the combustor (kg/s), \({k}_{cl}\) is the air-cooling coefficient, \({m}_{f}\) is the fuel mass flow rate (kg/s), \({T}_{b2}\) is the outlet temperature of the combustor (°C), \({Q}_{cv,f}\) is the calorific fuel value (kJ/kg), \({i}_{f}\) is the physical fuel enthalpy (kJ/kg), \({c}_{pg}\) is the combustor specific heat capacity (kJ/(kg. °C)), and \({p}_{b1},{p}_{b2}\) are the inlet and outlet flow pressure of the combustor (kPa).
The reduced parameters \({\pi }_{t}\) and \({\eta }_{t}\) are necessary for turbine modelling. When the gas pipeline’s heat exchange among the combustor and the turbine is ignored, the inlet temperature of the turbine can be taken to be the same as the combustor output temperature. Consequently, it is possible to calculate the turbine’s power and outlet temperature using
where \({T}_{t1}\) and \({T}_{t2}\) are the inlet and outlet temperature of the turbine (°C), \(\pi_{t} /\eta_{t}\) is reduced parameters of the specific turbine \(s, {k}_{g}\) is the gas adiabatic index, \({P}_{t}\) is the power of the turbine (kW), and \({m}_{t}\) is the turbine mass flow rate (kg/s).
Due to its high transfer efficiency and compactness, main surface heat transfer is the most popular form of recuperator for a CHP system. The air and exhaust gas heat transfer process are best described as33:
where \({\rho }_{a},{\rho }_{g},{\rho }_{j}\) are the air, gas and metal wall density (kg/m3), \({A}_{a},{A}_{g},{A}_{j}\) are the air, gas and metal wall heat transfer area (m2), \({T}_{a},{T}_{g}\) are the air and gas temperature (°C), \({m}_{a},{m}_{g}\) is the air and gas mass flow rate (kg/s), \({\alpha }_{a},{\alpha }_{g}\) are the air and gas heat transfer coefficient (W/m2.K), \({T}_{j},{T}_{g}\) are the metal wall and gas temperature (°C) and \({c}_{pj}\) is the metal wall-specific heat capacity (kJ/(kg. °C)).
The rotor’s dynamic model is created as:
where \({P}_{c},{P}_{fr},{P}_{e}\) are the compressor, mechanical friction loss and rotor power (kW), \({P}_{ed}\) is the rated rotor power (kW), \(n\) is the polytropic exponent and \({n}_{d}\) is the rated rotational speed of the turbine (m/s).
The waste heat from the exhaust gas is utilised in a heat exchanger. The heat transfer function is given as, presuming that the feed water’s temperature is constant.
where \({T}_{g1}{,T}_{g2}\) is the inlet and outlet temperature of the exhaust gas (°C), \({T}_{a1}{,T}_{a2}\) is the inlet and outlet temperature of the air (°C), \(\varnothing\) is the heat exchange capacity (kW).
Battery model
Among the most popular models of batteries are mathematical models and electrical equivalent circuit network models electrochemical models. This article mostly ignores the physicochemical mechanism and concentrates instead on the process of charging/discharging and the relationships among voltages and currents34. The battery swiftly transitions between the charging and discharging states to equipoise the energy supply and demand quickly. Thus, a bidirectional DC/DC converter connects the battery to the grid. When the supply and demand for electricity are out of balance, the battery will start working right away to stabilise the bus voltage within a second and prevent the other loads from operating abnormally due to bus voltage fluctuations.
EHP model
An EHP system’s major parts are its compressor, condenser, evaporator, and expansion valve. The mathematical model of EHP will be provided in a modular format due to each component’s independence. Temperature modelling uses the lumped parameter approach for simplicity35. The evaporator’s thermal balance equation may be created using the law of conservation of energy by assuming that the flow rate in the evaporator is equal to that in the compressor and disregarded pressure and heat loss through evaporation, which can give as follows:
where \({M}_{w,ev}\) is the evaporated water quantity (kg), \({c}_{pw}\) is the water-specific heat capacity (kJ/(kg. °C)), \({t}_{w1,ev},{t}_{w2,ev}\) is the inlet and outlet temperature of evaporated water (°C), \({m}_{ev}\) is the evaporated water mass flow rate (kg/s), \({Q}_{ev}\) is the heat capacity of evaporated water (kW), \({\alpha }_{ev}\) is the evaporated water heat transfer coefficient (W/m2.K), and \({A}_{ev}\) is the evaporated water heat transfer area (m2).
The performance test data of the particular compressor type are the foundation for the compressor model. The crucial variable that captures the compressor’s characteristics is the pressure ratio between condensing and evaporating pressures, or \(\varepsilon ={P}_{de}/{P}_{ev}\),, where \({P}_{de}\) and \({P}_{ev}\) depend on the condenser and evaporated water properties, respectively. So, it is possible to determine the compressor outlet refrigerant enthalpy and its power requirement as33:
where \({m}_{r}\) is the refrigerant water mass flow rate (kg/s), \({V}_{cp}\) is the gas displacement of the EHP compressor (m3), \({\omega }_{cp}\) is the rotational speed of the EHP compressor (r/s), \({\eta }_{v,cp}\) is the volume efficiency of the EHP compressor, \({v}_{r1}\) is the specific volume of refrigerant water (m3/kg), \({h}_{1},{h}_{2}\) are the inlet and outlet enthalpy of the compressor (kJ/kg), \({m}_{r,cp}\) is the refrigerant water of EHP compressor mass flow rate (kg/s), \({\eta }_{e,eff}\) is the electrical efficiency, and \({n}_{cp}\) is the polytropic exponent of the EHP compressor.
Condenser operation is actually the exact opposite of evaporator operation. Consequently, the model may be written as33:
Where \({M}_{w,de}\) is the condenser water quantity (kg), \({t}_{w1,de},{t}_{w2,de}\) is the inlet and outlet temperature of condenser water (°C), \({m}_{de}\) is the condenser water mass flow rate (kg/s), \({c}_{de}\) is the condenser water-specific heat capacity (kJ/(kg. °C)), \({Q}_{de}\) is the heat capacity of condenser water (kW), \({\alpha }_{de}\) is the condenser water heat transfer coefficient (W/m2.K), and \({A}_{de}\) is the condenser water heat transfer area (m2).
Before and after going through the expanding valve, the enthalpy value is the same, if the refrigerant flow rate stays constant, namely\(, {h}_{3}={h}_{4}\)
Header model
Before being delivered to home heating, the two pathways of hot water produced by the CHP and the EHP are combined in a header. The mixture’s hot water temperature is computed as33:
where \({m}_{hw,CHP}, {m}_{hw,EHP}\) are the CHP and EHP hot water mass flow rate (kg/s).
Analysis of dynamic characteristics
A virtual representation of the real system using a theoretical model was created. This allows us to analyze the system’s overall open-loop dynamic behavior. While the system involves many variables, only a few are adjustable: feed water flowrate, EHP compressor rotating speed, and CHP fuel flowrate. These primary controllable variables must maintain a balanced energy supply and demand by regulating indoor room temperature, feed water temperature, and the difference between EHP power demand and CHP power supply.
Based on the previous analysis, Fig. 4 represents the controlled variables’ open-loop step reaction to the stepped adjustable variables. The flowrate of fuel of CHP rises from 0.004 kg/s to 0.006 kg/s at 1000s and then falls to its initial value at 4000s. The EHP compressor’s rotational speed increases from 5 r/s to 16 r/s at 7000s and then recovers at 10,000 seconds. Each controlled variable’s reasonable transient processes and tendencies show the model’s realism. The response data clearly distinguishes between electrical and thermal processes’ dynamic properties. Heat production takes longer to attain equilibrium than electricity production. The open-loop response offers a fundamental understanding of the dynamic nature of the CHP-EHP. It also establishes the framework for analysing the difficulties in designing the control system.
Design of the control system
The challenges in control are suggested in this part depending on a study of the dynamic properties of the entire system. Two types of issues plague the real-time coordinated control of the system. The necessity for the control system’s disturbance rejection capability is brought on by the uncertain nature of PV power output and the unpredictability of user demand. Day-ahead EH optimum scheduling frequently employs some form of stochastic forecasting methodology and rejects these types of interruptions. However, the real-time control system for the EH base layer must treat such energy variations as unknown disturbances, which puts a strain on the control system’s capacity for disturbance rejection. The tight connection and disparate dynamic properties of electrical and thermal processes hamper the coordinated control. The EH is a standalone system; therefore, all energy is produced and used inside the system. Additionally, because CHP and EHP exist, the supply of electrical and thermal energy is coupled, and if one side of the processes is out of balance, the other will follow. Due to these difficulties, the control system must be able to work well during disturbances and handle connections. A workable control system structure to solve these issues is provided in the following section.
Structure of the control system
As mentioned above, Fig. 2 produces three outputs: the temperature of the indoor room \({T}_{room}\), the temperature of the feedwater \({T}_{feed}\) and the difference among CHP power supply \({P}_{CHP}\) and EHP power demand \({P}_{EHP}\). The manipulated variables consist of the flowrate of the fuel of CHP \({m}_{f}\), EHP’s compressor’s rotating speed \({r}_{c}\), and feedwater’s flowrate \({D}_{feed}\). An index termed excess power is created to indicate the equilibrium between the supply and demand for electricity, as seen below:
where the variables denote PV power generation and user power consumption \({P}_{PV}\) and \({P}_{user}\), respectively. \({P}_{PV}\) and \({P}_{user}\) are considered disturbances whereas \({P}_{CHP}\) and \({P}_{EHP}\) are controllable. Although the feedwater flowrate influences both controllable variables, the effect is indirect and subtle. Therefore, it makes more sense to control the \({T}_{feed}\) and surplus power \({P}_{s}\) with \({m}_{f}\) and \({r}_{c}\).
Figure 5 shows the organisation of the control system in its entirety. Two controllers locally are present. The first is a battery charge/discharge management system that stabilizes the grid voltage \({V}_{BUS}\). Another option is to have the local PI controller adjust the feed water flow to regulate the feed water temperature. The coordinated controller is the heart of the control system. The coordinated controller collects \({T}_{feed}\) and \({P}_{s}\) real-time data and compares it to the set points. The values of \({m}_{f}\) and \({r}_{c}\) for the following control, the period will then be determined by the control algorithm. To address the difficulties of EH control, the coordinated control algorithm needs to have high disturbance-rejection and coordinated control capabilities.
System identification
Creating a mathematical model of a system using measurement data is known as system identification36. The term “identification” was initially used by Zadeh36, to describe the issue of figuring out a black box’s or model’s input-output linkages using experimental data sets. A model of the system is required for controller design and behaviour prediction.
Two control models were presented, one by controlling the CHP unit only, and the other by controlling the two CHP-EHP units. Following are the definitions of controlled and manipulated variables: the CHP’s fuel flowrate, \({m}_{s}\), as the first manipulated variable \({u}_{1}\), the rotating speed of EHP’s compressor, \({r}_{c}\) , as the second manipulated variable \({u}_{2}\), the surplus power, \({P}_{s}\), as the first controlled variable \({y}_{1}\), and the temperature of feed water, \({T}_{feed}\), as the second controlled variable \({y}_{2}\).
The control system’s input-output pairing matrix of the CHP unit only can be shown as:
where \({G}_{11}(S)\), and \({G}_{21}(S)\) denote transfer functions respectively. Before importing the step-response data into the MATLAB/System Identification Toolbox, the steady-state value was taken out. The determined transfer function matrix is provided as follows:
Consequently, the control system’s input-output pairing matrix of CHP-EHP can be shown as follows:
where \({G}_{11}(S)\), \({G}_{21}(S)\), \({G}_{12}(S)\) and \({G}_{22}(S)\) denote transfer functions respectively. Before importing the step-response data into the MATLAB/System Identification Toolbox, the steady-state value was taken out. The determined transfer function matrix is provided as follows:
MPC controller design
MPC is an optimal control technique in which the calculated control actions minimize a cost function for a constrained dynamical system over a finite, receding horizon.
An MPC controller receives or guesses the current status of the plant at each time step. A restricted optimization problem that depends on the current system state and an internal plant model is then solved to determine the sequence of control actions that minimise the cost over the horizon. The controller then only applies the first computed control action to the plant, ignoring the subsequent ones. The MPC controller was designed based on the discrete state space model of the CHP-EHP system.
where is \(y(k)\) is the output, \(u(k)\) is the input, \({x}_{d}\) is the state, \({A}_{d}\) is the state transition matrix, \({B}_{d}\) is the input matrix multiplied by the input u(k), and \({C}_{d}\) is the output matrix.
The integral embedded augmented model is created for the subsequent controller design in order to achieve zero offsets.
The state vector \(x(k)\) is now composed of the original state \({x}_{d}(k)\) and an additional integral term \({\Delta x}_{a}(k)\). The matrix \(A\) is the augmented state transition matrix, \(B\) is the augmented input matrix, \(\Delta u(k)\) is the change in input, and \(C\) is the augmented output matrix.
The cost function and the constraints are given in (37).
Control simulation
This section presents an application of the proposed methodology to manage an EH is presented in this section. The EH system shown in Fig. 2 is subjected to the suggested MPC technique. The simulation is performed in a MATLAB environment using the MPC Designer toolbox solver. To verify the dynamics of the model, the step disturbance is applied to each input of the model in two case studies. The case studies display the impact of integrating a distributed controller with the different units. In the first case study, MPC is integrated with the CHP unit. In order to clarify the effect of this controller on the system, an excess of electricity generation and an increase in heat demand are assumed. The other case study is configured by integrating the MPC with CHP-EHP units. An increase in both electric and heat demand is assumed as a disturbance to illustrate the effect of the controller in this case. The controller parameters are listed in Table 2.
Case study 1 (CHP)
In this case, an excess of electricity generation and increased heat demand are assumed. The MPC’s results for disturbance rejection control under simultaneous electrical and thermal disturbance are displayed in Fig. 6. As shown in the figure, the surplus power increases by 3kW due to the PV unit output at 1000s. At the same time, the heat demand increases. So, the indoor room temperature set-point rises from 68 to 76.4 °C throughout this time. To make up for the lack of power, the CHP fuel flowrate drastically rises from approximately 0.00421 kg/s to 0.00458 kg/s. The MPC took about 200 s to restore the system to a stable state.
Case study 2 (CHP-EHP)
In this case, an electric and heat demand increase is assumed. The MPC’s results for disturbance rejection control under simultaneous electrical and thermal disturbance are displayed in Fig. 7 As shown in the figure; the surplus power decreases by 95kW at 1000s while the heat demand increases. So, the indoor room temperature set-point rises from 68 to 68.4 °C throughout this time. To make up for the lack of power, the CHP fuel flowrate drastically rises from approximately 0.004 kg/s to 0.00421 kg/s. The rotational speed of the EHP’s compressor increases due to increased loads. The MPC took about 500 seconds to restore the system to a stable state.
It is clear from the abovementioned results that the MPC in the first case was faster in restoring the stable state in the system, with a 60% decrease in time compared to case 2. This is due to the use of one controller with the CHP unit (distributed control) compared to using one controller on the CHP and EHP units (centralized control).
Conclusions
The energy supply by EH is coordinated in this work using an MPC algorithm. By developing a theoretical model, the dynamic properties of EH are investigated. Stimulating the model reveals the differences between the processes used to supply heat and power. Then, a control structure of the system is suggested based on the understanding of control difficulties. The coordinated controller is at the heart of the control system. For coordination, cooperative distributed MPC is used. The simulation results show the effectiveness of MPC, and the system’s distributed nature significantly reduces the computing load. The future trend will be the application of MPC to larger-scale, regionally interconnected EH with more varied energy source and equipment combinations. Further research will be done on the connection between real-time distributed control and optimum scheduling. The study of integrated scheduling and control further prompted the significance of the proposed control method for practical application. This allowed for consideration of the system’s actual operation mode, including shut-down and start-up.
Data availability
The datasets used and generated during the current study are available from the corresponding author upon reasonable request.
References
Eladl, A. A., El-Afifi, M. I., El-Saadawi, M. M. & Sedhom, B. E. A review on energy hubs: Models, methods, classification, applications, and future trends. Alex. Eng. J. 68, 315–342. https://doi.org/10.1016/j.aej.2023.01.021 (2023).
El-afifi, M. & Abdelrazik, W. Renewable energy sources applications in currently occupied structures. Nile J. Commun. Comput. Sci. https://doi.org/10.21608/njccs.2023.232923.1018 (2023).
El-Afifi, M. I., El-Saadawi, M. M., Sedhom, B. E. & Eladl, A. A. An IoT-fog-cloud consensus-based energy management algorithm of multi-agent smart energy hubs considering packet losses and uncertainty. Renew. Energy 221, 119716. https://doi.org/10.1016/j.renene.2023.119716 (2024).
Eladl, A. A., El-Afifi, M. I., Saadawi, M. M., Siano, P. & Sedhom, B. E. Multi-Objective optimal scheduling of energy Hubs, integrating different solar generation technologies considering uncertainty. Int. J. Electr. Power Energy Syst. 161, 110198. https://doi.org/10.1016/j.ijepes.2024.110198 (2024).
Jin, Y., Wu, X., Shen, J. & Lee, K. Y. Distributed model predictive coordinated control for combined heat and power load of an integrated energy system. IFAC-PapersOnLine 55(9), 507–512. https://doi.org/10.1016/j.ifacol.2022.07.088 (2022).
Eladl, A. A., El-Afifi, M. E. & El-Saadawi, M. M. Optimal power dispatch of multiple energy sources in energy hubs. In 2017 19th International Middle-East Power Systems Conference MEPCON 2017 - Proceedings, vol. 2018-Febru, no. December. 1053–1058. https://doi.org/10.1109/MEPCON.2017.8301312 (2018).
El-afifi, M. I. & Saadawi, M. M. Cogeneration systems performance analysis as a sustainable clean energy and water source based on energy hubs using the archimedes optimization algorithm. (2022).
Eladl, A. A., El-afifi, M. I., El-saadawi, M. M. & Sedhom, B. E. Distributed optimal dispatch of smart multi-agent energy hubs based on consensus algorithm considering lossy communication network and uncertainty. https://doi.org/10.17775/CSEEJPES.2023.00670 (2023).
Gu, W., Wang, J., Lu, S., Luo, Z. & Wu, C. Optimal operation for integrated energy system considering thermal inertia of district heating network and buildings. Appl. Energy 199, 234–246. https://doi.org/10.1016/j.apenergy.2017.05.004 (2017).
Kong, X., Liu, X., Ma, L. & Lee, K. Y. Hierarchical distributed model predictive control of standalone wind/solar/battery power system. IEEE Trans. Syst. Man Cybern. Syst. 49(8), 1570–1581. https://doi.org/10.1109/TSMC.2019.2897646 (2019).
Geidl, M. & Andersson, G. Optimal power dispatch and conversion in systems with multiple energy carriers. In 15th Power Systems Computer Conference PSCC 2005, no. August, 22–26 (2005).
Geidl, M. & Andersson, G. A modeling and optimization approach for multiple energy carrier power flow. In 2005 IEEE Russ. Power Tech, PowerTech. https://doi.org/10.1109/PTC.2005.4524640 (2005).
Geidl, M. & Andersson, G. Operational and topological optimization of multi-carrier energy systems. In International Conference Future Power System, no. C. [Online]. Available: https://ieeexplore.ieee.org/document/1600472 (2005).
Geidl, M. & Andersson, G. Integrated modeling and optimization of multi-carrier energy systems. Power Syst. Lab. Doctor of, no. 17141, 143 (2007).
Arnold, M., Negenborn, R. R., Andersson, G., & De Schutter, B. Model-based predictive control applied to multi-carrier energy systems. In 2009 IEEE Power Energy Society General Meeting PES ’09. https://doi.org/10.1109/PES.2009.5275230 (2009).
Arnold, M., Negenborn, R. R., Andersson, G. & De Schutter, B. Distributed Predictive Control for Energy Hub Coordination in Coupled Electricity and Gas Networks. (2010).
Sun, Q., Zhang, N., You, S. & Wang, J. The dual control with consideration of security operation and economic efficiency for energy hub. IEEE Trans. Smart Grid 10(6), 5930–5941. https://doi.org/10.1109/TSG.2019.2893285 (2019).
Qu, M. et al. Distributed optimal control of energy hubs for micro-integrated energy systems. IEEE Trans. Syst. Man. Cybern. Syst. 51(4), 2145–2158. https://doi.org/10.1109/TSMC.2020.3012113 (2021).
Cl, P. Modelling and control of multi-energy systems through multi-prosumer node and economic model predictive control.
Lefebure, N. et al. Distributed model predictive control of buildings and energy hubs. Energy Build. 259, 111806. https://doi.org/10.1016/j.enbuild.2021.111806 (2022).
Behrunani, V. N., Cai, H., Heer, P., Smith, R. S. & Lygeros, J. Distributed multi-horizon model predictive control for network of energy hubs. Control Eng. Pract. 147, 105922. https://doi.org/10.1016/J.CONENGPRAC.2024.105922 (2024).
Dehghani, F., Tourandaz Kenari, M. & Shafiyi, M. A. A novel hybrid droop control strategy for DC microgrid with simultaneous consideration of operating costs and flexibility. Int. Trans. Electr. Energy Syst. 31(6), 1–16. https://doi.org/10.1002/2050-7038.12896 (2021).
Shahbazbegian, V. et al. Techno-economic assessment of energy storage systems in multi-energy microgrids utilizing decomposition methodology. Energy 283, 128430. https://doi.org/10.1016/j.energy.2023.128430 (2023).
Kienzle, F. & Andersson, G. A greenfield approach to the future supply of multiple energy carriers. In 2009 IEEE Power Energy Society General Meeting PES ’09. 1–8 https://doi.org/10.1109/PES.2009.5275692 (2009).
El-afifi, M. & Sakr, H. Security issues and challenges for IoT-based smart multi energy carrier systems. Nile J. Commun. Comput. Sci. https://doi.org/10.21608/njccs.2023.232944.1019 (2023).
Eladl, A. A., El-Afifi, M. E., & El-Saadawi, M. M. Communication technologies requirement for energy hubs: A survey. In 2019 21st International Middle East Power System Conference MEPCON 2019 – Proceedings. 821–827. https://doi.org/10.1109/MEPCON47431.2019.9008006 (2019).
Eladl, A. A., El-Afifi, M. I., Saeed, M. A. & El-Saadawi, M. M. Optimal operation of energy hubs integrated with renewable energy sources and storage devices considering CO2 emissions. Int. J. Electr. Power Energy Syst. 117, 105719. https://doi.org/10.1016/j.ijepes.2019.105719 (2020).
Sakr, H. A. et al. Machine learning-based detection of DDoS attacks on IoT devices in multi-energy systems. Egypt. Inform. J. 28, 100540. https://doi.org/10.1016/j.eij.2024.100540 (2024).
El-Afifi, M. I., Sedhom, B. E., Padmanaban, S. & Eladl, A. A. A review of IoT-enabled smart energy hub systems: Rising, applications, challenges, and future prospects. Renew. Energy Focus 51, 100634. https://doi.org/10.1016/j.ref.2024.100634 (2024).
Dorahaki, S., Abdollahi, A., Rashidinejad, M. & Moghbeli, M. The role of energy storage and demand response as energy democracy policies in the energy productivity of hybrid hub system considering social inconvenience cost. J. Energy Storage 33, 102022. https://doi.org/10.1016/j.est.2020.102022 (2021).
Benghanem, M. S. & Alamri, S. N. Modeling of photovoltaic module and experimental determination of serial resistance. J. Taibah Univ. Sci. 2(1), 94–105. https://doi.org/10.1016/s1658-3655(12)60012-0 (2009).
Zhang, J., Shen, J., Ge, B. & Li, Y. Modeling and dynamic analysis of adjustable regenerative microturbine. In Asia-Pacific Power Energy Engineering Conference APPEEC. https://doi.org/10.1109/APPEEC.2010.5448489 (2010).
Jin, Y., Zhang, J., Wu, X., Shen, J. & Lee, K. Y. Coordinated control for combined heat and power load of an integrated energy system. IFAC-PapersOnLine 53(2), 13184–13189. https://doi.org/10.1016/j.ifacol.2020.12.143 (2020).
Fotouhi, A., Auger, D. J., Propp, K., Longo, S. & Wild, M. A review on electric vehicle battery modelling: From Lithium-ion toward Lithium-Sulphur. Renew. Sustain. Energy Rev. 56, 1008–1021. https://doi.org/10.1016/j.rser.2015.12.009 (2016).
Wu, W., You, T., Wang, B., Shi, W. & Li, X. Simulation of a combined heating, cooling and domestic hot water system based on ground source absorption heat pump. Appl. Energy 126, 113–122. https://doi.org/10.1016/j.apenergy.2014.04.006 (2014).
Ling, T. G., Rahmat, M. F., Husain, A. R. & Ghazali, R. System identification of electro-hydraulic actuator servo system. In 2011 4th International Conference Mechatronics Integrated Engineering for Industrial Societal Development ICOM’11 - Conference Proceedings, no. April. https://doi.org/10.1109/ICOM.2011.5937172 (2011).
Funding
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).
Author information
Authors and Affiliations
Contributions
M. E.: Conceptualization, Methodology, A. E.: Data curation, Writing- Original draft preparation;M. E.: Supervision, Writing-Reviewing; B.S.: Visualization, Investigation; S. F.: Editing the Manuscript, Writing-Reviewing, Effective contribution in responding to the reviewers.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
El-Afifi, M.I., Eladl, A.A., El-Saadawi, M.M. et al. Coordinated distributed model predictive control for multi energy carrier systems. Sci Rep 14, 27688 (2024). https://doi.org/10.1038/s41598-024-78314-5
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-024-78314-5









