1. Introduction
Buildings and buildings construction sectors combined are responsible for 36% of final energy consumption and nearly 40% of total CO
2 emissions worldwide [
1]. In the European Union, the heating sector accounts for around 50% of the overall energy consumption, with the residential sector having the highest share (around 45%) of the final heating consumption [
2]. The 2015 Paris Agreement on Climate Change following the COP21 Conference boosted the European Union’s efforts to decarbonize its building stock [
3]. In fact, the European Commission presented in November 2016 the Clean Energy for all Europeans Package, a set of eight legislative acts aimed at regulating the transition towards a sustainable energy system. The first approved act was the new Energy Performance of Buildings Directive (EPBD) 2018/844 [
4], which encouraged member states to achieve a highly energy-efficient and decarbonized building stock by increasing deep renovations and promoting equal access to financing. One of the key measures for a fossil-free heat supply of buildings is the large-scale deployment of heat pumps, both for new constructions and for deep refurbishments. This trend will severely affect the power consumption patterns in the electrical distribution systems [
5]. At the same time, increasing penetration of small-scale renewable energy sources (RESs) such as photovoltaic (PV) systems is pushing the energy system towards a decentralized structure [
6].
Due to the increasing number of distributed energy resources and to the foreseen electrification of end uses (mainly due to heat pumps, new cooling capacity, and electric vehicles), both power production and consumption within residential buildings will undergo a significant increase in the upcoming years, thus making buildings gain a central role in the energy system. Several attempts have been made by the legislators to pave the way for buildings to play this new role.
One of them is the introduction of smart readiness as a new indicator for the assessment buildings performance, which assesses their ability in (i) adapting to user needs and energy environment; (ii) operating more efficiently, and (iii) interacting with the energy system and with the district infrastructure in the context of demand response programs [
4]. This capability is strongly related to the so-called energy flexibility of the building, i.e., to its ability to manage its demand and generation according to local climate conditions, user needs, and grid requirements [
7]. As shown in different studies [
8,
9], the flexibility of buildings depends on many factors (level of insulation, type of emitter, etc.), varies over time (cold vs. transition season), and is constrained by thermal comfort in both heating and cooling season.
Another important novelty to accommodate the increased energy flows in power distribution networks comes from the recast of the renewable energy directive (RED II) [
10] that brought different member states to recognize new legal entities known as energy communities (ECs), i.e., groups of users that are entitled to produce, consume, store, and sell renewable energy. Moroni et al. [
11] classified them according to two main criteria: place-based vs. non-place-based and single-purpose vs. multi-purpose ECs. The locally produced energy may be shared within the community, which is allowed to access all suitable markets [
12]. The shareholders or the members of the EC may be natural persons, small and medium enterprises, or local authorities, including municipalities. Nevertheless, the primary purpose of EC participants shall be limited to the provision of environmental, economic, or social community benefits rather than financial profits [
13]. Energy communities enable renewable electricity sharing, a practice where RESs such as PV systems or small-scale wind turbines supply electricity to more than one dwelling [
14]. This new regulatory framework introduces new opportunities, such as shared investments in local renewable energy projects.
Growing electrification of end uses, increasing penetration of distributed RESs, and building refurbishments and up-to-date legislation are all key factors to decarbonize the building sector [
15]. Decision support tools could improve the efficiency of this decarbonization process by optimizing choices at a preliminary stage, which consider initial investment costs, operational costs for end-users, and technical constraints such as space limits, thermal comfort, etc. A possible engineering-oriented representation of energy flows at the building or the district level may be the so-called energy hub (EH), defined as a unit where multiple energy carriers can be converted, conditioned, and stored. The EH represents an interface between different energy infrastructures and/or loads [
16], where the final energy demand is optimally satisfied considering the synergy between different energy sources, conversion, and storage systems. By coupling together different types of energy carriers, the energy system can benefit from higher operational flexibility and higher energy utilization efficiency. The concept of EH fits perfectly with the aim of identifying efficient and functional energy solutions for the residential sector for both new and existing buildings. The latter have more structural and spatial constraints, thus making it difficult to realize all conceivable solutions compared to new buildings. However, in both cases, it is possible to obtain benefits from the integration of the different technological solutions, guaranteeing an easier approach to reach near zero energy buildings (NZEB) standards.
A broader classification of optimization problems for energy systems includes synthesis, design, and operational optimization problems [
17]. Synthesis problems address the optimal configuration/selection of components (e.g., generators, storage, converters) [
18]; design problems typically address the optimal sizing of a given set of components [
19]; operational optimization problems address the optimal management of the components in a given energy system [
20,
21]. Researchers have also made different attempts to solve two [
22,
23] or even all three problems [
24] simultaneously. The EH approach can tackle all these problems through a series of simplified approximations, such as neglecting both uncertainties and non-linear behavior of system components and networks, and aggregating demands at the building or district level [
25]. Despite the mentioned approximations, solving all these problems simultaneously requires a very high number of variables and constraints, which result in a very high computational effort. For instance, Morvaj et al. [
26] investigated the optimal design and operation of distributed energy systems as well as optimal heating network layouts for different economic and environmental objectives. Qi et al. [
27] proposed a demand side management strategy for a residential complex to shift electrical and thermal loads towards time windows with solar production. Rech et al. [
28] used the EH approach to find the optimal number of PV systems and solar thermal collectors (SCs) and the volume of thermal storage tanks that minimize costs for a university campus and its surrounding residential neighborhood in Lisbon. Wu et al. [
29] used an EH model to find optimal retrofitting and energy supply strategies for residential buildings in a Swiss town. Ghorab [
30] modeled a Canadian community made of 20 buildings grouped into five energy hubs and achieved significant savings thanks to PV energy sharing combined with diverse electrical demand profiles. Manservigi et al. [
31] used the EH to find the optimal design and operation of a small scale combined heat and power (CHP) unit for two electrically interconnected buildings with both thermal and electrical energy storage. Huang et al. [
32] used the EH approach to optimize the design and the operation of three residential buildings in Sweden and showed that electric vehicle penetration, thermal storage, and energy sharing affect PV system sizing/positions and performance indicators. In the aforementioned literature, most studies neglect the effect of environmental conditions on the performances of the machines, as discussed by Vian et al. [
33]. Moreover, when considering both optimal planning and operation of the EH, electricity sharing occurs within unclear regulatory conditions. This makes simulation results not entirely correlated to the current economic framework which, in fact, remarkably influences the decisions of investors.
This paper aims at filling these gaps and presents an optimal planning and operation strategy for ECs considering current regulatory policies on shared electricity incentives. The proposed method is used to assess the most convenient investment scenario among different building refurbishment cases. In this regard, optimization results include both sizing and operating schedules of thermal and electrical storage units, heat generators, along with the roof-mounted PV system. Sizes and performance characteristics of all units are taken from datasheets of real devices available in the market. In light of the above literature review, this article introduces the following novelties: (i) considering the effects of environmental conditions, not only in terms of ECs’ needs but also on devices technical performances; (ii) selecting components from technical catalogues, thus approaching a solution that is compatible with market conditions; (iii) assessing the impact of electricity sharing policies on EC sizing and management.
2. Energy Hub Model
Both topology and typology of the EH are modeled using a graph-oriented formulation, which relies on the definition of all input and output energy carriers entering or leaving each considered device. This method requires the definition of input, output, and internal nodes. Input nodes define the points of delivery of all energy carriers supplying the EH, which can be either physical or virtual connections. In the first case, electricity and gas coming from distribution networks as well as other primary energy carriers are considered, while the latter includes local RESs such as solar radiation or wind power. Output nodes correspond to the connection points of building electrical and thermal loads associated with electricity, space heating, domestic hot water (DHW), and cooling demand. When on-site data are not available, demand profiles can be calculated by using either physical or data-driven models from public datasets. Internal nodes represent the EH equipment used to convert, allocate, and eventually store the energy flowing in the system.
Once the EH architecture is set, additional information regarding the system components dynamics needs to be included in the problem formulation through an appropriate set of constraints. As reported in [
33], when considering a design and operation optimization problem, dependency on external environment conditions must be adequately modeled as it may lead to very different economic and technical solutions. Furthermore, to ensure the practical feasibility of the problem solutions, other technical constraints should be considered, such as the maximum available surface or the volume for equipment installation. As stated in
Section 1, this paper aims to propose an optimal design and operation approach for a multi-family building. To reduce the computational burden, the standardized matrix modeling (SMM) approach [
34,
35] was followed, which allows formulating the problem as a mixed-integer linear programming (MILP) problem.
In the next paragraph, the EH formulation is presented along with some design, sizing, and operational considerations.
2.1. Standardized Matrix Modeling Approach
The SMM is an automated method based on graph theory used for the analysis of energy systems. It was firstly introduced by [
36] to avoid non-linearities stemmed from the dispatch factors traditionally used to model interconnected systems. This can be achieved using energy flows between the components as decision variables. As a result, the whole optimization problem maintains a MILP formulation and can be efficiently solved by commercial solvers.
Following the SMM approach, the EH is modeled as a set of conversion and storage elements (nodes) connected through energy vectors (branches). Based on the typology of each considered converter, nodes are modeled with an adequate number of ports. Then, energy vectors connecting input and output ports are added. Being
and
G the total number of nodes in the EH, for each
-converter, a branch-port incidence matrix,
, and a conversion matrix,
, are defined. The set of
defines the connections between all the
G converters of the system and all the energy carriers
, where
B is the total number of energy vectors, i.e., the branches of the EH system. Similarly, the set of
defines the conversion performance of all
G nodes. Consequently, multiplying these two matrixes leads to the energy conversion matrix
which represents the relationship between the EH converters and the energy carriers in the system. Moreover, all
optimization variables are grouped in a single vector
, where
is the considered time-step, and
T is the simulation time horizon. Hence, for each considered time-step, it is possible to set the energy conservation equation for the entire EH as:
While Equation (1) is valid for all time-independent EH converters, the energy conservation equation for all storage devices is stated in a different matrix form, as explained in
Section 2.3.
The EH is linked to special input and output nodes. The former type represents the connections to distribution grid or other local energy sources, while the latter type denotes the connections to building loads. Incidence matrixes
and
are defined for both inputs and outputs nodes, respectively. These matrixes describe the relationship between the EH internal energy flows,
, and input and output energy vectors,
and
:
In typical EH optimization problems,
is defined ex-ante by setting the end-user load profiles, while
is an optimization variable. Equations (1)–(3) can be rearranged in a more compact matrix form:
The flexible SMM approach allows to properly model some further features of real case EH. The first feature involves the modeling of devices with non-linear conversion characteristics. To avoid falling into a non-linear problem, piecewise linearization can also be applied within the SMM approach. This is achieved by splitting nodes of non-linear devices into as many subnodes as the segments which linearize the non-linear conversion function. The overall conversion characteristic can therefore be computed as the sum of all subnode linear characteristics [
34]. A second feature the SMM approach can handle regards the effects of environmental factors on devices’ conversion efficiencies. Following the approach suggested by Huang et al. [
34], the
matrix can be modified according to external signals, such as outdoor temperature and solar radiation.
2.2. Multi Sizing and Operation Constraints
When designing the building energy system, an initial technical configuration must be given to the optimizer defining the typology and the connection characteristics of all considered devices. Given the SMM flexibility, the initial configuration can be very general, hence including a wide range of technologies available in the market. According to the considered objective function, the optimizer looks for the optimal combination of devices, evaluating the influence each of them has on the whole energy system. As a result, the final EH design configuration may be a subset of the proposed initial equipment.
Because several models of the same device are available in the market, each of them having different sizes and technical performances, a further degree of freedom should be given to the optimizer. This means that, when looking for the optimal EH design, the combinations of all devices in terms of typology and model should be considered. Although the computational burden suffers from this implementation, it allows finding a market-oriented and thus more realistic solution. To implement both design and sizing optimization using the SMM approach, it is necessary to proceed by steps, as shown by a trivial example in
Figure 1.
Initially, a general technical scheme is defined, along with connections between devices. Each device type is identified according to acronyms, and the available device models are listed on an external catalogue, where all economical and technical information are defined. Then, for each internal component, an automatic code verifies whether there are other models listed in the catalogue. Next, the EH scheme is automatically updated by substituting each original node with as many new nodes as the number of listed models. Finally, the energy vectors connecting new nodes are added. Based on the number of new nodes added in this process, the EH system is described by an upgraded general scheme with G* nodes and B* branches.
The following constraints are used to implement the optimal design and the optimal sizing dynamics within the SMM approach:
Equation (5) has a twofold purpose. First, it ensures the energy vectors related to the
-node are bounded within zero and their maximum operational value,
. Then, thanks to the binary decision variables
it allows whether to include devices from the upgraded general scheme. When
, i.e., the
-device is included, the related energy vectors decision variables can take any value up to
. Instead, when
, i.e., the
-device is not included, the related energy vectors are forced to zero. As shown in
Section 4.2, binary decision variables are also used to define the investment objective function. Moreover, Equation (6) ensures that only one model must eventually be selected among all those listed, being
and
the number of available models for the
-node.
2.3. Storage Constraints
The energy–time balance expressed by Equation (1) does not hold for energy storage devices (ESs). Indeed, the amounts of energy entering and leaving each ES do not necessarily coincide for a specific timestep. This is due to the possibility that ESs have to discharge part of their stored capacity. Indeed, for ESs, the left-hand side of Equation (1) is equal to the energy either withdrawn or injected into the system. To integrate ES into the problem formulation, Huang et al. [
34] introduced an additional virtual node for each considered ES. Furthermore, the energy vector
is included to represent the charged and the discharged energy by each ES, being
and
STR the total number of ESs in the EH. The energy balance equation for ESs becomes:
Unlike electrical storage devices (EESs), the maximum capacity of thermal storage devices (TESs) is given by a volumetric water capacity. Besides, their charging and discharging phases are typically managed to maintain the internal temperature within a predefined temperature range. Although temperature-dependent operation could be implemented, handling temperature dynamics in an energy-based formulation is not practical. For this reason, all TESs in this paper are modeled following an EES approach. The equivalent kWh maximum capacity is given by:
where
is the volume in liters of the
-TES,
is the water specific heat, and
is the maximum deviation allowed between minimum and maximum internal temperature. Then, the capacity of all TESs is computed as follows:
Equation (9) calculates the current thermal capacity state considering the previous capacity state, the energy exchanged by the virtual node,
, along with the product of the stationary loss factor,
, and the difference between the internal operating temperature,
, and the air temperature of the technical room where the TES is installed,
. Furthermore,
is defined in (10) as the sum of the minimum internal fluid temperature,
, and a fraction of
depending on the ratio between the previous capacity state and
. Moreover,
is computed in (11) as the difference between the setting output temperature,
, and half of the maximum temperature deviation allowed. Finally, TES operation is limited by the following constraints:
Equation (12) does not only limit the thermal capacity within
, but it also allows whether to include the
-device into the final system configuration. Constraint (13) ensures that the volume of the TES model chosen on the
-node is greater than the product of the safety factor,
, and the overall capacity of the upstream thermal generators feeding the
-node [
37,
38]. Herein,
, while
and
represent the number of upstream nodes and the number of available storage models of the
-device, respectively.
2.4. Multiple Thermal Outputs Constraints
Devices able to provide different energy services (e.g., gas boilers producing both heating and DHW) are modeled as multi input multi output components [
33]. As a result, the number of input ports is equal to the number of output ports. This allows to easily recognize the input branches responsible for each energy conversion, and it also permits to specify different and unrelated energy conversions for each output carrier. Conversely, heat pumps usually give priority to DHW production over heating service in order to minimize discomfort for the users. Thus, the heat supply for space heating and DHW systems does not occur simultaneously. The following constraints are used to capture this feature:
where
and
represent the branch-port incidence matrixes for the DHW and the heating conversion, respectively. For devices capable of both heating and DHW service production, the
vector containing
binary decision variables is used to set a binary control strategy. When
, the
-device is enabled to produce DHW, while the heating output is forced to zero. On the other hand, when
, the heating service is allowed, and DHW service is denied.
2.5. Solar Equipment Roof Constraints
When including PV and SCs into the EH system, additional constraints regarding the available space on the roof must be considered. Indeed, in real case application, the available surface on a roof is not just limited in space, but it is also made up of many sectors, each of them having different areas, orientations, and tilt angles. All of these parameters greatly influence the EH system sizing and operation, leading to different combinations of PV and SC surfaces according to the considered objective function.
Similar to the multi sizing procedure explained in
Section 2.2, nodes representing either PV or SC are split into
nodes, being
the number of sectors of the roof and
. Then, branches between upstream and downstream nodes are added. Hence, the installation of PV and SC on each sector is subject to the following constraints:
In Equation (16), the installed PV (SC) surface on each sector, , is defined as a multiple of one single PV (SC) module area, , using the integer variable . Constraint (17) bounds between and the available surface on the -sector, . Moreover, the binary decision variable is here used to choose whether to install any PV (SC) module on the corresponding sector. The energy converted by the PV (SC) on the r-sector, , is given by Equation (18), where the sun radiation is multiplied by and the conversion efficiency . Finally, Equation (19) ensures that the sum of the installed PV and SC surfaces on each sector does not exceed .
3. Energy Community Model
Energy communities employ different energy carriers to satisfy the community energy consumption. Therefore, the EH approach can be implemented within the EC framework to assess the benefits of electricity sharing for both EC users and the environment.
Initially, each final energy use must be acknowledged as a domestic or a communal load. In the first case, loads are met importing energy from the input buses, and no internal conversion device is needed, whereas in the latter case, energy entering the EC is converted by centralized conversion equipment owned by the community. To properly allocate electricity bills due to domestic and communal loads, tenants’ electricity consumption is measured using private energy meters, while electricity used for communal loads is tracked using a communal meter. Following current virtual self-consumption schemes [
39], private and communal meters are connected to the public grid, whilst an internal grid allows the local RES generation to cover part of the communal loads. Moreover, when local RES generation exceeds the electricity demand of communal loads, electricity is sold to the public grid.
3.1. Electricity Mesurements
In this paper, thermal loads are supposed to be met using centralized devices owned by the community. Therefore, heating, cooling, and DHW demand are deemed as communal loads. Since devices converting electricity into thermal energy carriers are also included, electricity used for domestic and communal purposes must be separately measured. For this reason, two different electricity meters are modeled. All private energy meters are aggregated into one domestic meter (DM), allowing the estimation of the total domestic load,
, while a communal meter (CM) measures the amount of electricity used for thermal communal purposes,
. The proposed EC connection to the electrical grid is modeled by Equations (20)–(23):
The electricity imported from the closest substation (SS), , is defined in (20), where and stand for the electricity purchased for meeting domestic and communal demands, respectively. In (21), the electricity effectively sent to the SS, , is set equal to the surplus energy of the EC system, . As stated in (22), when the electricity generated by the overall PV system, , falls below , electricity is withdrawn from the SS, entering the CM. Alternatively, when exceeds , the surplus PV generation exiting the CM can be either sent to the SS by or shared to the DM via . Finally, in (23), can be matched either by importing electricity from the SS or by sharing PV generation.
3.2. Shared Electricity Pricing
Due to the virtual self-consumption regulation currently in force, energy and financial cash-flows do not coincide. Indeed, under the current regulation, shared electricity is considered as the minimum between the domestic electricity consumption and local RES generation exceeding electrical communal demand. The latter term represents the energy exiting the CM, given by the sum of surplus and shared electricity. Within this framework, electricity from the grid must be purchased at the retail price, , and all the electricity exceeding communal purposes is sold to the main grid at a given price, .
Hence, the cost-effectiveness of the shared electricity incentives can only be appreciated once the corresponding remuneration is received by the EC together with the energy bill. To integrate this postponed remuneration into an operation optimization problem, the shared electricity net value is defined as:
where the retail price,
, is reduced by both
and the incentive remuneration,
, given for each unit of shared electricity. As a consequence, the optimal dispatch of all thermal devices strongly depends on the resulting value of
, causing
to be differently allocated between
,
, and
.
4. Problem Formulation and Methodology
4.1. EC Topologic Implementation
In this paper, the EC input nodes are supposed to be connected to the electrical and the natural gas distribution grids. Solar radiation is also supposed to enter the EH via a virtual input node. The output nodes are represented by electric, cooling, heating, and DHW loads, which are differentiated into domestic and communal loads, as explained in
Section 3.1. The starting configuration of the EC given to the optimizer is illustrated in
Figure 2.
As defined by the SMM approach, energy vectors are represented as unidirectional arrows. In this paper, four different types of internal energy carriers are considered: electricity (E), space heating (H), domestic hot water (DHW), and cooling.
In the initial configuration, the following conversion devices are included: gas boiler (GB), electrical heat pump (EHP), direct expansion multi-split systems for space cooling (AC), photovoltaic panel (PV), solar thermal collector (SC). Carriers E, H, and DHW can benefit from storage components, named EES, TES(H), and TES(DHW), respectively. To allow the dispatching of SCs, a dedicated storage unit is also included, TES(SC). Lastly, multiple interface energy management (MIEM) components are used to interface different devices with the same energy carrier, allowing to merge and split the connected energy vectors.
Once the initial configuration is determined, an automatic code skims over the catalogue of devices checking all available models. It is worth recalling that, for solar components, the optimizer does not only choose the most appropriate model in the catalogue, but it also decides the number of single solar modules to be installed on each sector of the roof.
As it can be noticed, the EC topologic implementation shown in
Figure 2 satisfies Eqations (20)–(23) according to the definition of DM and CM energy meters. In
Table 1, the relationships between energy vectors and variables of the EC model are listed. The gas imported,
, to fuel the GB for heating and DHW purposes is also included.
It should be noticed that, while does not offer any flexibility to the optimizer due to its predefined profile, can be optimized by dispatching thermal devices according to the considered objective function.
4.2. Objective Function
To find the optimal configuration and the optimal operation of the EC considering current incentives on shared electricity, the following objective function is proposed:
As stated in (25), the problem solution is given by the sum of investment and operating costs, whose terms are defined in detail in (26)–(30). The investment cost is defined in (26) as the sum of present values of yearly payments related to all devices chosen by the optimizer, i.e., those devices having . Moreover, , , and represent the investment cost, the interest rate, and the lifetime of the -th device. The investment cost for solar devices is given by the sum of all solar units installed on each sector of the roof. Note that, in this paper, maintenance costs are also included in .
Being
and
the number of reference day in a year, Equation (27) computes the yearly operation cost as the sum of each
-operation cost weighted by the corresponding number of represented days,
(details are reported in
Section 5.2). Moreover, each
-operating cost is defined as the sum of the following terms: (i)
, i.e., the electricity transaction cost between the main grid and the EC (28); (ii)
, i.e., the shared electricity cost (29); (iii)
, i.e., the cost for purchasing gas at the retail price
(30). While
,
, and
prices are set by energy retailers,
depends on incentives given by the particular self-consumption scheme, as previously considered in
Section 3.2.
6. Simulation Results
Simulation results are used to assess the most convenient investment intervention from a short-term and a long-term perspective. Then, the overall best economic scenario is analyzed to appreciate optimal operating results. In conclusion, annual emissions generated by the EC are evaluated based on the net energy imported into the system.
6.1. Optimal Results of Considered Scenarios
Optimal design and sizing results are reported in
Table 6. To highlight the contribution given by current incentives on shared electricity, all scenarios are simulated with (Y) and without incentives (N). The same identification was also used in
Table 7.
In all considered simulations, optimal configurations do not include EES, SC, and TES(SC) devices due to their high investment costs which are not compensated by sufficient operating energy savings. Since the 35 kW AC is the only AC model listed in the calatogue, it must be included in all scenarios. As it can be observed, shared electricity remuneration only affects the sizing of the PV system, thus not influencing the choice of other devices. Because incentives on shared electricity are so attractive, when remuneration is given to the EC, the optimizer maximizes the PV surface on each available roof sector. Instead, when electricity sharing is not remunerated, PV generation is not shared among end-users. Then, the overall size of the PV system only depends on the EHP and the AC consumption needed to meet the heating and the cooling load, respectively.
For both TES(H) and TES(DHW), sizing solutions are found within a set of three available models, namely small, medium, and large. In the benchmark scenario (S-B), heating and DHW can only be produced by the GB. Hence, an 80 kW GB together with large TESs are chosen. Although the hybrid scenario (S-H) is based on the same demand profiles of S-B, by letting the solver choose among the entire device catalogue, a different solution is found. In fact, heating and DHW loads are met using a 40 kW EHP and a 40 kW GB. Given the EHP contribution, the medium size of TES(H) and the small size of TES(DHW) are selected. The slight improvement of the building efficiency in S-W results in lower heating and cooling demands. Thus, heating peak load is covered using the 40 kW EHP, a smaller 32 kW GB, and the medium TES(H). The retrofit intervention of S-E leads to a significant reduction of the heating demand, allowing the exclusion of GB, which is balanced by using large TESs. Finally, in S-WE, the further reduction of the heating demand permits to decrease the capacity of the TES(H) to its smallest size.
The resulting total cost is given by the sum of the operating cost (
), the total investment cost for devices (
), and the present value of yearly payment for retrofit intervention (
). The economic results of the considered scenarios are reported in
Table 7. This clearly shows that the remuneration on shared electricity leads to cheaper solutions for each considered scenario.
The values in
Table 7 can be observed in
Figure 5, which illustrates the results of the scenarios with (
Figure 5a) and without (
Figure 5b) remuneration. Although S-B shows the lowest
, its operating cost is considerably higher than all other cases, thus resulting in the most expensive scenario. The
is nearly constant across all other cases, with slightly lower values when no remuneration is given due to the smaller area of the PV system installed. As might be expected, operating cost reduction can be achieved by investing in refurbishment interventions. Moreover, when shared electricity is remunerated, operating costs can be further reduced. Although S-WE guarantees the lowest operating costs, the corresponding
makes the overall solution more expensive than that of S-E. Therefore, the solution of S-E with remuneration represents the overall best.
6.2. Long-Term Economic Evaluation
To assess the most convenient investment scenario in a long-term perspective, an economic evaluation is carried out considering only solutions with remuneration on shared electricity. The following assumptions are made: (i) 15 years time horizon, which is the shortest device lifetime among all devices included in
Table 6; (ii) investments costs are distributed over the time horizon since year 0 with a fixed interest rate
%; (iii) operating costs are paid at the end of each year with no interest rate.
Because the lifetime of most devices exceeds 15 years, the present value of the whole equipment system within the considered time horizon is calculated as the sum of the first 15 yearly payments of each device, . Similarly, retrofit interventions have 25 year payback periods; therefore, the present value of the payments made within the considered time horizon is evaluated as the sum of the first 15 yearly payments, . The overall optimized cost of each scenario, , is computed as the sum of total investments, and 15 times the .
The results shown in
Table 8 are used to assess the progressive cost profiles of each scenario,
Figure 6a, and the progressive saving profiles of each scenario compared with the benchmark scenario S-B,
Figure 6b. Within the considered time horizon, S-E results in the most convenient scenario, i.e., the scenario with the overall lowest cost (
). In particular, S-E allows 159,331 € cost savings compared to S-B after 15 years. It is worth noticing that, by not choosing S-B, savings can be achieved within a time span directly related to the investment costs. The additional investment in S-H compared with S-B would be matched in 5 years, while for S-WE, it would be matched in 9 years.
6.3. Operation Analysis of the Best Scenario
This section presents the results about the optimal operation of the economically best investment scenario, S-E. As shown in
Figure 7a, PV generation cannot be shared on the first reference day, which represents very cold days with low solar radiation. This is due to high EHP consumption for space heating, as can be seen in
Figure 7b. In all other reference days, PV generation exceeds
, hence allowing to share electricity and eventually sell the surplus to the main grid. It is worth noticing that, thanks to the considered pricing scheme,
is distributed according to the following convenience order:
,
,
. The optimizer recognizes that supplying shared electricity to the domestic load is more convenient than buying electricity from the distribution network at the retail price. Furthermore, this strongly encourages the optimizer to maximize the PV area on the roof, in accordance with the results in
Table 6.
From
Figure 7b, the composition of
can be appreciated. Although, in this paper, the management of the cooling load does not offer any flexibility, the
profile is optimized by optimally scheduling the power demand of the EHP. During cold days, the EHP is mostly used for the heating service, while DHW production occurs intermittently during the day. On milder days, the EHP operates exclusively for the DHW service, with a moderate consumption during most of the day and a significant consumption peak during sunny hours. While working at its maximum capacity from 09:00 to 22:00, the EHP consumption decreases in the central hours of the day due to the outdoor temperature rise, increasing its COP. At 16:00, the EHP consumption deviates due to the lower COP of the DHW system, which distributes DHW at a higher temperature compared to the heating system.
The electrical and the thermal end-use profiles are illustrated in
Figure 8. In
Figure 8a, the electrical load is supplied by the electricity coming from the grid and the PV-shared electricity. The supply of both heating and DHW load is secured by the EHP thermal output and by the thermal energy provided by TESs. When the EHP generation exceeds the demand, the surplus energy is used to charge the TESs. On the other hand, when the EHP generation falls below the demand, TESs discharge, matching thermal loads. During cold periods, the heating load in
Figure 8b is met using mostly EHP generation while also taking advantage of the TES(H) discharge to cover its peak consumption. During these days, TES(DHW) in
Figure 8c is dispatched to cover most of the DHW demand thanks to its discharged contribution while charging occasionally during the day. In warmer days, the DHW load is generally satisfied by EHP generation during sunny hours and by discharging the TES(DHW) during night-time.
6.4. Environmental Evaluation
Lastly, simulation results are used to assess the environmental benefit of the considered EC and the influence of the electricity sharing incentive. Annual tons of CO
2 equivalent emissions (
) are associated with the amount of net energy imported from the electrical and the gas distribution networks. For the electricity case, the net amount of imported energy is given by the difference between purchased and sold electricity. The conversion from energy to
is calculated based on: (i) emission index of Italian national generation used for electric loads
; (ii) natural gas emission index
. As it can be seen from
Table 9, emissions fall steadily with the increase of building efficiency. As might be expected, S-WE is the overall best environmental scenario, allowing a 78% emission reduction compared to S-B.
The same procedure is repeated when no remuneration is given, and the results can be observed in
Figure 9.
7. Discussion
Simulation results confirm that investing in higher refurbishment interventions leads to progressively lower operating costs. Because equipment renovation costs remain approximately constant through all scenarios, the overall best economic solution can be identified based on the operating cost reduction achieved by the corresponding refurbishment investment. In this regard, the benchmark scenario S-B features the most expensive , thus resulting in it being the least convenient solution in a long-term perspective. Although the hybrid scenario S-H requires almost twice the investment of S-B, the corresponding lower leads to an 18% reduction of . Results also prove that investing in windows replacement offers low margins for reduction. This makes windows and envelope intervention in S-WE slightly less convenient than S-E, hence proving the envelope-only intervention to be the most convenient investment. In detail, S-WE and S-E allow 26% and 28% reduction of compared to S-B, respectively.
Shared electricity policies have a great impact on the optimal sizing of the EC, helping to reduce the overall cost of all investment scenarios. Indeed, remuneration incentives promote further investments in PV installation, thus pushing toward higher rates of domestic electric consumption to be locally supplied. In addition, shared electricity remuneration greatly influences the environmental impact of the EC. As can be seen from
Figure 9, when shared electricity is not remunerated, emissions fall at a significantly lower rate. This is mainly due to the inferior penetration of PV generation compared to solutions with remuneration. As an example, while in the case of S-WE with remuneration 382.4 m
2 of PV are installed, S-WE without remuneration can only benefit from 193.6 m
2 of PV. Therefore, shared electricity policies prove to have a twofold purpose—overall investment cost reduction and CO
2eq emissions curtailment.
8. Conclusions
In this paper, an optimal planning and operation strategy is proposed to evaluate investments for ECs under current shared electricity policies. The SMM approach is employed to model a general EC as a multi-energy EH with electric, space heating, DHW, and cooling demands. According to different refurbishment interventions, the thermal energy needs of a real multi-family building are estimated using TRNSYS software. Five investment scenarios ware evaluated based on different refurbishment interventions and different real market-available devices to be installed.
Results demonstrate that investing in building thermal efficiency leads to lower operating costs. Moreover, by reducing the building thermal needs, progressive electrification of thermal loads becomes more economically viable. This encourages end-users to take advantage of both EHP performances and local PV generation. However, as the paper demonstrates, higher intervention on building efficiency does not necessarily guarantee the overall most convenient investment, as some retrofit investments may not be compensated by corresponding operating cost reduction. For the considered case study, envelope substitution proves to be more convenient than windows replacement, allowing 28% cost reduction compared to the benchmark scenario S-B in a long-term perspective. Besides, although the combined intervention on both envelope and windows allows the lowest operating cost, the associated overall cost is higher than investing in the envelope-only substitution in both short and long-term perspectives. In conclusion, results also demonstrate that policies on shared electricity remuneration strongly encourage investments in demand electrification and local renewable installation (PV). This allows higher RES penetration into the system and further reduces both overall costs and CO2eq emissions.