{'fraction_non_alphanumeric': 0.02738837333935069, 'fraction_numerical': 0.010323526922968437, 'mean_word_length': 5.0111902339776195, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Model Predictive Control-Based Decision-Making Strategy for Residential Microgrids

This work presents the development of a decision-making strategy for fulfilling the power and heat demands of small residential neighborhoods. The decision on the optimal operation of a microgrid is based on the model predictive control (MPC) rolling horizon. In the design of the residential microgrid, the new approach different technologies, such as photovoltaic (PV) arrays, micro-combined heat and power (micro-CHP) units, conventional boilers and heat and electricity storage tanks are considered. Moreover, electricity transfer between the microgrid components and the national grid are possible. The MPC problem is formulated as a mixed integer linear programming (MILP) model. The proposed novel approach is applied to two case studies: one without electricity storage, and one integrated microgrid with electricity storage. The results show the benefits of considering the integrated microgrid, as well as the advantage of including electricity storage.


Introduction
In the traditional electrical grid, power is generated in large, centralized plants and then transmitted to the end-user using one-directional flows [1]. The need to meet the challenges and targets regarding energy savings and environmental protection lead to an increase in interest in the use of technologies such as smart grids [2][3][4][5], distributed energy resources [6][7][8], as well as the need for the development of new management structures [9][10][11][12][13][14] for the resulting systems. In addition to generation units, distributed energy resources (DER) systems may also include storage and transmission capacities, as well as infrastructure for the connection and control of the use of all the installed technologies [15]. DER systems have many advantages in terms of the increase of power quality, production of energy close to demand, high-energy utilization, and decrease of dependency on fossil fuels, but their intermittency is a major disadvantage [16], especially since generation and demand tend to be mismatched, resulting in wasted energy [17] or challenges in the microgrid operation, among other issues [18,19]. Structural optimization techniques are typically used for the optimal design of DER systems [20][21][22][23][24][25]. The operational optimization and control of the DER system become challenging tasks due to the integration of many different technologies (photovoltaics, combined heat and power, wind turbines, etc.) in a single system, as well as due to the uncertainty and variability problems of these energy sources.
These issues bring many complications for the operators, which try to manage and control complex or multi-microgrids with limited fast-ramping resources, in order to maintain the flexibility of the power system [10]. The management of an energy system such as a microgrid encompasses both supply and demand side management to satisfy network constraints with the goal to achieve reliable, sustainable and economical operation [26]. Microgrids are capable of operating either in grid, connected, or autonomous operation mode during a faulted situation, yet their stability, reliability, and operational control is more challenging during the islanded mode [27,28].
In traditional hierarchical control architectures, the control model has three levels [29]: the primary control, responsible for load sharing and for maintaining stability and autonomous operation, the secondary control, which restores the voltage/frequency offsets introduced by the primary control, and the tertiary control level, to calculate the optimal references for the microgrid sources based on economic objectives. Modern architectures utilize approaches ranging from decentralized and distributed multi-agent [30,31], bilevel programming and reinforcement learning [28], fuzzy logic [32], or genetic algorithms [33] for control and coordination purposes.
Among the different control approaches, the model predictive control (MPC) has been proved satisfactory for intelligent control of DER systems and superior to standard control methods [34][35][36][37]. The MPC strategy is based on a discrete-time model of the system, which is used for the prediction of the behavior of the system during a future control horizon as a function of the manipulated variables [38].
MPC is currently a popular control methodology for industrial and process applications, largely due to its inherent ability to efficiently handle constraints in multivariable dynamical systems [39]. It comprises characteristics such as optimization of power flow in the microgrid, incorporating the costs of generation and operation of the DER systems as constraints [28]. The rolling (or receding) horizon concept has been broadly used in control methods as a means to deal with control problems when a cost function has to be minimized in a given time horizon. The method solves the optimization problem with a sequence of iterations, each of which models only part of the horizon in detail, while the rest is represented in an aggregate manner [40].
Based on these characteristics, an MPC strategy based on the rolling horizon concept has the potential to achieve the global solution of the cost function over a specified period of time, while also being able to acquire sufficient information on future conditions [41]. Thus, this will enable improved decision-making in the design, operation, control, and planning of the DER system.
In the following sections, the development of a new MPC-based decision-making strategy is presented, based on the concepts discussed in [42]. Thus, the formulated optimization problem includes various constraints for the selection of the optimal values of the manipulated variables over the control horizon. From the optimal solution, only values corresponding to the first time interval are used and the problem is reformulated and solved in the next time instance following the rolling horizon concept. The main objective of the approach is to ensure the network is able to meet the energy (in terms of electricity and heating) demand of the consumers in addition to minimizing the overall cost.
The approach offers flexibility in terms of the number and type of energy generation solutions that are included, the size and location of the network and the demand type (e.g., electricity, heating) and profiles that can be considered. It offers the capability to quickly asses the network at high level, without the need of rigorous modelling of the DER technologies.

Problem Statement
A residential neighborhood consists of a number of dwellings with estimated electricity and heating profiles. Every dwelling satisfies its demands through a combined heat and power (CHP) plant, a photovoltaic (PV) array, electricity storage, and a back-up boiler. The CHP plant, operated using natural gas, and the PV array are used to meet the electrical demand. The high-temperature exhaust of gas of the CHP plant and the supplementary boiler are used to accommodate the thermal load. Surplus electricity can be delivered back to the grid, while the utility electricity can support the deficit. Electricity can be transferred between the various dwellings in the residential network in two different ways: through the existing power transmission network or using central storage capacity. In Eng 2022, 3 102 this case, energy produced in surplus is stored, and transferred to the dwellings when demand increases. There is also the possibility of heat exchange between dwellings through a heating piping network.
For the MPC optimization problem, the following data are given (Figure 1), as presented in [42]: supplementary boiler are used to accommodate the thermal load. Surplus electricity can be delivered back to the grid, while the utility electricity can support the deficit. Electricity can be transferred between the various dwellings in the residential network in two different ways: through the existing power transmission network or using central storage capacity. In this case, energy produced in surplus is stored, and transferred to the dwellings when demand increases. There is also the possibility of heat exchange between dwellings through a heating piping network. For the MPC optimization problem, the following data are given (Figure 1), as presented in [42]:  The objective function to be minimized includes all the components that affect the operational cost of the DER system over the prediction horizon: the cost of electricity purchased from the grid, the cost of the fuel consumed, as well as the environmental cost. The heat and electricity storage terms are accounted as well, as an addition to the model presented in [42]. Furthermore, the revenue from selling the surplus electricity back to the grid is also considered in the calculation of the DER network operational grid.
The solution of the resulting optimization problem provides optimal values for the decision variables over the rolling horizon. The key decision variables considered are:

•
The electricity and heat generation profiles for each individual dwelling within the network • The heat transferred between dwellings through the pipeline network • The electricity transferred between the dwellings and between the dwelling and the grid

Mathematical Model
A mixed integer linear programming (MILP) formulation is considered for the MPC problem, which is solved during each time period of the operation of the network.

Objective Function
The objective of the problem is to minimize the total operational cost for the DER systems over the prediction horizon, and includes a revenue component and a cost  The objective function to be minimized includes all the components that affect the operational cost of the DER system over the prediction horizon: the cost of electricity purchased from the grid, the cost of the fuel consumed, as well as the environmental cost. The heat and electricity storage terms are accounted as well, as an addition to the model presented in [42]. Furthermore, the revenue from selling the surplus electricity back to the grid is also considered in the calculation of the DER network operational grid.
The solution of the resulting optimization problem provides optimal values for the decision variables over the rolling horizon. The key decision variables considered are:

•
The electricity and heat generation profiles for each individual dwelling within the network • The heat transferred between dwellings through the pipeline network • The electricity transferred between the dwellings and between the dwelling and the grid

Mathematical Model
A mixed integer linear programming (MILP) formulation is considered for the MPC problem, which is solved during each time period of the operation of the network.

Objective Function
The objective of the problem is to minimize the total operational cost for the DER systems over the prediction horizon, and includes a revenue component and a cost component. The operation of the microgrid is partitioned into equidistant time periods. The revenue component of the objective function includes the income from selling electricity to the grid. The cost component includes the cost of purchasing electricity from the grid, the cost of the consumed fuel in the various energy generation units, the operational and maintenance cost of the different generation technologies, as well as the environmental cost. Furthermore, as an addition to the model described in [42], the heat and electricity storage terms are included in the objective function.
Thus, the objective function is formulated as follows: Eng 2022, 3

103
The total cost for purchasing electricity is calculated using Equation (2), through the cumulative amount of electricity purchased multiplied by the utility electricity rate: The environmental cost of the network operation is determined by the cost for carbon emissions (based on the carbon content of the purchased electricity and natural gas) and is calculated using Equation (3): The income from selling electricity is determined by the cumulative amount of electricity delivered to the grid from the excess generated by the CHP units multiplied by the electricity buy-back price: The operational cost of the CHP units includes the fuel cost, which is calculated based on the cumulative fuel consumption for each period multiplied by the fuel price: The operational cost of the back-up boilers is composed of the fuel cost, calculated by the cumulative fuel consumption for each time period multiplied by the fuel price: The operational and maintenance cost of the heat and electricity storage is calculated from the cumulative heat energy or electricity, respectively, multiplied by a unit maintenance cost coefficient as expressed in the following equations:

Supply-Demand Relationships
A balance of supply and demand has to be achieved for both heat and electric power at each time instance. Electricity demand can be met through purchase from the national grid, generation from the PV arrays and CHP units installed in the microgrid, as well as the power transmission network between the dwellings, and electricity available from storage. Heat loads can be satisfied by conventional boilers, CHP units, heat stored in the storage tanks, and by transferring heat among the dwellings through the heating pipeline network.
Equation (9) presents the relationships for the electric power, while Equation (10) shows the relationship considered for the heat: where HER is the heat to electricity ratio.

Grid Interaction Constraints
Additionally, further constraints are added to the model in order to set to prevent buying and selling energy at the same time during the network operation: where M is an appropriate upper bound.

CHP Unit
Equations (13) and (14) link the binary variables that describe the operation of the CHP units. The binary variable Y i,t takes the value of 1 only when the CHP unit i starts up, while variable X i,t takes the value 1 only when the unit shuts down.
Equation (15) forces the CHP unit i to be functional for at least UT i time periods after start-up: The following set of equations ensure that a CHP unit is in operation, but still at start-up mode for at least ST i time periods after the start-up. The start-up mode implies that, although the unit consumes gas, it is not delivering electricity or heat: Equation (17) forces the CHP units to be out of operation for at least DT i time periods after shutdown: The performance characteristics of the CHP plant are defined in Equation (18). This indicates that the CHP unit cannot generate more energy than its installed capacity when it is in operation and not in start-up mode. Furthermore, a lower bound on CHP electricity generation is enforced: Equation (19) indicates that if the unit is in start-up mode, no electricity is produced:

Back-Up Boiler
The performance characteristic of the back-up boiler is determined using Equation (20). Its purpose is to prevent the unit from exceeding its rated capacity: 2.1.6. Heat Storage Tank Additional constraints are needed to ensure the operation of the heat storage tank. Equation (21) describes the heat inventory balance constraint. It states that for each storage tank the total amount of stored heat at the end of a time period is equal to the heat stored at the end of the previous period plus the recovered heat diverted towards storage minus stored heat that is released to meet heat demand, during that time period: Equation (22) ensures that the heat stored in the storage tanks is within the tank capacities at all times: Equation (23) forces the heat stored in each storage tank at the end of the control horizon to be equal to the initial level: The difference in heat stored in each storage tank between two consecutive time periods is constrained by the following inequality: with DRH i,STO and URH i,STO percentages of the maximum heat storage.

Electricity Storage
The electricity inventory balance is described by Equation (25), similarly to the heat storage balance equation. The electricity storage is assumed to be a lead-acid battery with a charge (cl = 10%) and a discharge loss (dl = 15%), respectively.
Equation (26) forces the electricity stored at the end of the control horizon to be equal to the initial level. Moreover, Equation (27) poses an upper bound on the stored level The difference in electricity stored in the central storage between two consecutive time periods is constrained by the following inequality: with DRE STO and URE STO percentages of the maximum electricity storage.

Illustrative Example
In order to demonstrate the application of the decision-making strategy described in the previous section, a case study of a DER network is considered, with the main focus on the Greek residential sector, comprised of 10 buildings in Athens (Greece).
The residential electricity and heat demand profiles of the 10 dwellings have been created based on the consumption of an average Greek household [43], and defined to have the resolution of one hour. The electricity and gas tariff prices reflect the Greek reality [24]. Table 1 presents the data on solar irradiance, while the heat and electricity loads are illustrated in Tables 2 and 3, respectively.   The technical characteristics of the DER technologies considered for this case study are taken from the technical datasheets available from the producers and presented in Table 4 for the CHP units and in Table 5 for the other technologies, respectively.  The operational cost of the CHP units is the cost of purchasing the fuel (natural gas) for operating the unit.
The utility rate is 0.11 EUR/kWh, while the price of selling electricity to the grid is 0.08785 EUR/kWh for the CHP units, and 0.55 EUR/kWh for the PV units. This price refers to the electricity buy-back price based on Greek governmental policies for PV systems up to 10 kWp and for CHP systems based on Greek data [24]. The cost of natural gas is assumed equal to 0.054 EUR/kWh. The carbon tax is 0.017 EUR/kg. The emission of CO 2 for every kWh produced is 0.781 kg/kWh, while for every kWh of natural gas is 0.184 kg/kWh.
The electricity factor refers to the end-use energy produced by the Greek electricity power mix, while the natural gas factor is based on the lower heating value (LHV) and refers to kWh of input fuel.
More information on the other input data used, as well as the nomenclature can be found in Appendices A-C.

Results and Discussion
Following a rigorous design methodology [22], the capacity determined for each of the 10 dwellings (i1-i10) in the network is shown in Table 6. Additionally, a central electricity storage tank of 100 kWhe is installed. Furthermore, electricity is exchanged between the buildings and the power transmission network.
The MPC problem defined in the previous sections is solved for a time period of four days (winter season) using a rolling horizon of 96 1-h time intervals (i.e., a rolling control horizon of 12 h), as shown in Figure 2.

Results and Discussion
Following a rigorous design methodology [22], the capacity determined for each of the 10 dwellings (i1-i10) in the network is shown in Table 6.
Additionally, a central electricity storage tank of 100 kWhe is installed. Furthermore, electricity is exchanged between the buildings and the power transmission network. The MPC problem defined in the previous sections is solved for a time period of four days (winter season) using a rolling horizon of 96 1-h time intervals (i.e., a rolling control horizon of 12 h), as shown in Figure 2. The problem is formulated as an MILP model, which is implemented and solved in GAMS [44], using the CPLEX 11.1.1 solver, to global optimality. The average time to solve the MILP problem is 0.2 s. The runs are performed on a regular PC running at 2.53 GHz. Due to the action horizon being equal to 1 h, the size of the system can be considerably scaled-up before running into intractability problems. However, for solving very largescale problems, distributed MPC algorithms need to be used.
To investigate the potential saving costs when an integrated microgrid scenario is considered, two system options have been analyzed: (a) An integrated microgrid with no central electricity storage (b) An integrated microgrid case with central electricity storage. The problem is formulated as an MILP model, which is implemented and solved in GAMS [44], using the CPLEX 11.1.1 solver, to global optimality. The average time to solve the MILP problem is 0.2 s. The runs are performed on a regular PC running at 2.53 GHz. Due to the action horizon being equal to 1 h, the size of the system can be considerably scaled-up before running into intractability problems. However, for solving very large-scale problems, distributed MPC algorithms need to be used.
To investigate the potential saving costs when an integrated microgrid scenario is considered, two system options have been analyzed: Furthermore, to better assess the integrated microgrid, the operation of a baseline DER network which considers no storage capabilities, and without using the MPC approach discussed above, is investigated. The total cost obtained for this baseline scenario is EUR 1430.20. The further breakdown of the total cost for the three scenarios considered is presented in Table 7. As shown in Table 7, the integrated DER network with central electricity storage achieves savings in the total cost of 300% compared to the baseline, and 11.5% compared with the microgrid without electricity storage. This is mainly due to the fact that when central electricity storage is available, the operational cost of the CHP unit is lower (the CHP units operate for less time, while the electricity storage serves the electricity loads).
In terms of the breakdown of the costs, the two integrated microgrid scenarios do not differ significantly, with the exception of the income from selling electricity to the grid. Compared to the baseline, this income leads to negative values in the total cost for the integrated scenarios, making the operation more economical. Moreover, both microgrids have significant reduction of the operational (>50%), environmental (>90%), and purchase of electricity from the grid (>85%), with an increase in income of >3700%.
As the behavior of the different households during the microgrid operation are similar, to illustrate the typical behavior of the households, Figures 3-5 show the state of one building (i1) over the 4-day time horizon in the case of the integrated microgrid with electricity storage. Figure 3 illustrates the operation of the CHP and PV unit, respectively, as well as the distribution of the produced electricity among self-use, electricity sold to the grid, and electricity sent to storage. The results show that the CHPs are in operation for most time steps, and most of their energy is used internally. Excess electricity is sold to the grid for the periods in which no storage is required. In the case of the PVs, for the majority of time steps they are in operation, the electricity produced is sold to the grid. Moreover, when the demand is high, and the CHP units are not able to produce sufficient energy to cover this, the electricity generated from PV is utilized internally. Furthermore, to better assess the integrated microgrid, the operation of a baseline DER network which considers no storage capabilities, and without using the MPC approach discussed above, is investigated. The total cost obtained for this baseline scenario is EUR 1430.20. The further breakdown of the total cost for the three scenarios considered is presented in Table 7. As shown in Table 7, the integrated DER network with central electricity storage achieves savings in the total cost of 300% compared to the baseline, and 11.5% compared with the microgrid without electricity storage. This is mainly due to the fact that when central electricity storage is available, the operational cost of the CHP unit is lower (the CHP units operate for less time, while the electricity storage serves the electricity loads).
In terms of the breakdown of the costs, the two integrated microgrid scenarios do not differ significantly, with the exception of the income from selling electricity to the grid. Compared to the baseline, this income leads to negative values in the total cost for the integrated scenarios, making the operation more economical. Moreover, both microgrids have significant reduction of the operational (>50%), environmental (>90%), and purchase of electricity from the grid (>85%), with an increase in income of >3700%.
As the behavior of the different households during the microgrid operation are similar, to illustrate the typical behavior of the households, Figures 3-5 show the state of one building (i1) over the 4-day time horizon in the case of the integrated microgrid with electricity storage.  Figure 3 illustrates the operation of the CHP and PV unit, respectively, as well as the distribution of the produced electricity among self-use, electricity sold to the grid, and

Time (hours)
Generated for self use Excess sold Stored  electricity sent to storage. The results show that the CHPs are in operation for most time steps, and most of their energy is used internally. Excess electricity is sold to the grid for the periods in which no storage is required. In the case of the PVs, for the majority of time steps they are in operation, the electricity produced is sold to the grid. Moreover, when the demand is high, and the CHP units are not able to produce sufficient energy to cover this, the electricity generated from PV is utilized internally.  Figure 4 shows the state of the heat and electricity storage during the 4-day time horizon investigated, respectively. The electricity is being stored during most time steps, enabling a decrease of the cost by reducing the amount being purchased from the grid. This behavior is already observed in the cost breakdown in Table 7. Furthermore, although most stored energy goes into the electricity storage ( Figure 5), the presence of both storage options ensures flexibility in operation. Thus, most of the energy not being used or sold can be available for later time steps, when the demand exceeds supply, and as such reducing the reliance to satisfy demand from the national grid.

Time (hours)
Heat stored Electricity stored   Figure 4 shows the state of the heat and electricity storage during the 4-day time horizon investigated, respectively. The electricity is being stored during most time steps, enabling a decrease of the cost by reducing the amount being purchased from the grid. This behavior is already observed in the cost breakdown in Table 7. Furthermore, although most stored energy goes into the electricity storage ( Figure 5), the presence of both storage options ensures flexibility in operation. Thus, most of the energy not being used or sold can be available for later time steps, when the demand exceeds supply, and as such reducing the reliance to satisfy demand from the national grid.

Time (hours)
Heat stored Electricity stored Figure 5. Split of energy stored between electricity and heating storage. Figure 4 shows the state of the heat and electricity storage during the 4-day time horizon investigated, respectively. The electricity is being stored during most time steps, enabling a decrease of the cost by reducing the amount being purchased from the grid. This behavior is already observed in the cost breakdown in Table 7. Furthermore, although most stored energy goes into the electricity storage ( Figure 5), the presence of both storage options ensures flexibility in operation. Thus, most of the energy not being used or sold can be available for later time steps, when the demand exceeds supply, and as such reducing the reliance to satisfy demand from the national grid.
Finally, Figure 6 represents the electricity exchange with the grid. As expected, for the periods in which the system does not purchase electricity from the grid, the excess energy is exported, ensuring the profitability of the integrated DER systems design. For the scenario when the network has storage available, the amount of electricity purchased is lower and more excess electricity is being sold compared to the other scenarios considered (as the cost breakdown in Table 7 illustrates). Finally, Figure 6 represents the electricity exchange with the grid. As expected, for the periods in which the system does not purchase electricity from the grid, the excess energy is exported, ensuring the profitability of the integrated DER systems design. For the scenario when the network has storage available, the amount of electricity purchased is lower and more excess electricity is being sold compared to the other scenarios considered (as the cost breakdown in Table 7 illustrates).

Conclusions
In this paper an MPC rolling horizon approach is proposed for the development of a decision-making strategy for the optimal operation of a microgrid system designed to satisfy the energy (in terms of electricity and heating) demand for a residential network. The problem is formulated as an MILP model, which optimizes an objective function defined as the total cost of the microgrid. This cost includes investment, operating and maintenance, and environmental costs. The possibility of exporting energy to the national grid is considered, and the income made in this way is also considered in the total cost of operating the microgrid.
Based on this methodology, a generic model is developed, which includes multiple flexible components for the generation of energy (CHPs, PVs, boilers), as well as electricity and heating storage options. Furthermore, there is the possibility of satisfying the heating demand by transferring heat among the dwellings through a heating pipeline network. Model inputs are the electricity and heating demands, respectively, for each of the individual dwellings, the solar insulation, as well as the capacities of the different generation and storage units.
In order to assess the benefits of the approach, two system designs have been examined for a residential network formed of ten dwellings. In the first case, the renewable energy integrated microgrid considers no electricity storage available, while for the second, the DER systems have electricity storage. The results clearly illustrate the advantage of the integrated microgrid case, which has a lower total and operational cost (up to 300% reduction for the network with electricity storage). The increased income from selling to the grid enables the network to make a profit. Furthermore, for the scenario where storage is considered provides higher flexibility to the system, albeit with a slight (+9%) increase in the environmental cost.
Further improvements could consider different import and export prices for the energy exchanged with the grid [45]. Thus, the benefits of the presence of the storage options

Time (hours)
Purchased electricity from the grid Excess electricity sold to the grid Figure 6. Evolution over the 4-day time horizon of the electricity import and export for household i1.

Conclusions
In this paper an MPC rolling horizon approach is proposed for the development of a decision-making strategy for the optimal operation of a microgrid system designed to satisfy the energy (in terms of electricity and heating) demand for a residential network. The problem is formulated as an MILP model, which optimizes an objective function defined as the total cost of the microgrid. This cost includes investment, operating and maintenance, and environmental costs. The possibility of exporting energy to the national grid is considered, and the income made in this way is also considered in the total cost of operating the microgrid.
Based on this methodology, a generic model is developed, which includes multiple flexible components for the generation of energy (CHPs, PVs, boilers), as well as electricity and heating storage options. Furthermore, there is the possibility of satisfying the heating demand by transferring heat among the dwellings through a heating pipeline network. Model inputs are the electricity and heating demands, respectively, for each of the individual dwellings, the solar insulation, as well as the capacities of the different generation and storage units.
In order to assess the benefits of the approach, two system designs have been examined for a residential network formed of ten dwellings. In the first case, the renewable energy integrated microgrid considers no electricity storage available, while for the second, the DER systems have electricity storage. The results clearly illustrate the advantage of the integrated microgrid case, which has a lower total and operational cost (up to 300% reduction for the network with electricity storage). The increased income from selling to the grid enables the network to make a profit. Furthermore, for the scenario where storage is considered provides higher flexibility to the system, albeit with a slight (+9%) increase in the environmental cost.
Further improvements could consider different import and export prices for the energy exchanged with the grid [45]. Thus, the benefits of the presence of the storage options could be further explored by ensuring these exchanges are done in an optimal way. More realistic relationships can be used to describe the performance of the renewable energy technologies (e.g., variation of efficiency of generation units at part-loads [46,47], defining alternating power function and state of charge for storage systems [28,48]), or using clustering techniques to select typical operating periods [49,50].
Impact of national policies towards adoption of renewable energy generation, such as feed-in-tariffs or renewable heat incentives [51], must be included in the modelling of the DER system. The residential neighborhoods do not consume only heating and electricity. Future models must include other typical needs of the consumers, such as domestic hot water or cooling [52], according to their specific location. Additionally, candidate technologies to answer to these demands, as well as new solutions for heating or electricity (e.g., biomass boilers, wind turbines, air conditioning units, adsorption chillers) will provide sufficient options to satisfy them.
Moreover, the uncertainty on the input variables (e.g., solar irradiance, energy demands) should be considered in the modelling of the residential DER network [19]. This will enable investigating the impact of these uncertain variables on the primary output (the total cost) and improve the design and their overall planning and performance.
The utilization of blockchain technologies in the transfer of excess energy produced using renewable resources between the households, as well as between the households and the national grid, will further enhance the DER system [53], not only in terms of impact on cost, but on the security of the network and transactions as well.
Finally, as all the elements above are included in the models, and as the size of the network moves from test cases of 5-10 dwellings to real neighborhoods, speed-up of the computational times is needed. Thus, network management systems based on MPC could provide automation and results in real-time for the operation of the DER systems.