Next Article in Journal
Modeling and Optimal Dimensioning of a Pumped Hydro Energy Storage System for the Exploitation of the Rejected Wind Energy in the Non-Interconnected Electrical Power System of the Crete Island, Greece
Next Article in Special Issue
Maximizing Solar PV Dissemination under Differential Subsidy Policy across Regions
Previous Article in Journal
Practical Energy Retrofit of Heat Exchanger Network Not Containing Utility Path
Previous Article in Special Issue
An Optimal Day-Ahead Thermal Generation Scheduling Method to Enhance Total Transfer Capability for the Sending-Side System with Large-Scale Wind Power Integration
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Flexibility Assessment of Multi-Energy Residential and Commercial Buildings

1
Centre for Power and Energy Systems, INESC TEC, 4200-465 Porto, Portugal
2
FIEEE, Faculty of Engineering, University of Porto, 4200-465 Porto, Portugal
*
Author to whom correspondence should be addressed.
Energies 2020, 13(11), 2704; https://doi.org/10.3390/en13112704
Submission received: 15 April 2020 / Revised: 18 May 2020 / Accepted: 20 May 2020 / Published: 28 May 2020

Abstract

:
With the growing concern about decreasing CO 2 emissions, renewable energy sources are being vastly integrated in the energy systems worldwide. This will bring new challenges to the network operators, which will need to find sources of flexibility to cope with the variable-output nature of these technologies. Demand response and multi-energy systems are being widely studied and considered as a promising solution to mitigate possible problems that may occur in the energy systems due to the large-scale integration of renewables. In this work, an optimal model to manage the resources and loads within residential and commercial buildings was developed, considering consumers preferences, electrical network restrictions and CO 2 emissions. The flexibility that these buildings can provide was analyzed and quantified. Additionally, it was shown how this model can be used to solve technical problems in electrical networks, comparing the performance of two scenarios of flexibility provision: flexibility obtained only from electrical loads vs. flexibility obtained from multi-energy loads. It was proved that multi-energy systems bring more options of flexibility, as they can rely on non-electrical resources to supply the same energy needs and thus relieve the electrical network. It was also found that commercial buildings can offer more flexibility during the day, while residential buildings can offer more during the morning and evening. Nonetheless, Multi-Energy System (MES) buildings end up having higher CO 2 emissions due to a higher consumption of natural gas.

1. Introduction

1.1. Motivation and Aim

The growing worldwide concern with global warming is leading to the implementation of crosscutting policies to reduce greenhouse gas emissions, in particular in the transport and electricity and heat generation sectors, which produced two-thirds of the world’s CO 2 emissions in 2016 [1].
The increasing pressure to reduce CO 2 emissions in these sectors is leading policy-makers to incentivize the adoption of emissions-free technologies, such as electrical vehicles (EVs) and renewable energy sources [2]. Despite the evident environmental benefits that these technologies yield, they also pose new challenges to network operators, which are facing higher uncertainties due to the volatile behavior of renewable energy technologies.
As a consequence, the network operation paradigm has been changing in the last decades, relying increasingly in flexibility provided by generation and demand side assets. As the integration of renewables is expected to boost in the coming years, it is of utmost importance to find new ways of increasing energy systems flexibility.
The increased flexibility needs of future energy systems can primarily be satisfied at the demand side, where the integration of different energy systems (electricity, heat and gas) will be one of the most promising options to deliver additional flexibility while keeping the user comfort level and avoiding service disruption. Multi-Energy Systems (MES) can help in increasing the penetration of renewable energy sources (RES) due to the possibility of switching between energy sources and large-scale heat and gas storage systems, which are, in general, cheaper than electricity storage technologies, such as Li-ion batteries [3].

1.2. Literature Review

MES are able to integrate different energy vectors through the use of resources that can transform one energy vector to another in order to meet the energy requirements of the system. The concept of Energy Hub (EH) is being vastly used in the literature to model this kind of systems [4]. Nonetheless, the EH can be used to model any type of building, even those that only use electricity. EHs are able to model the interactions between production, delivery and consumption of different energy vectors through a conversion matrix. Electricity, heat, cooling, gas or hydrogen are some of the vectors that can be integrated within the EH concept. It also considers the efficiency and other characteristics of the resources present in the hub. A standardized matrix model for the MES was developed in [5] in order to facilitate the modeling, integration and optimization of these systems. Later, a linear method was presented in [6], which does not use dispatch factors and thus reduces the complexity of the problem.
The main advantages foreseen for MES is the flexibility that these systems are able to provide to the operation of energy systems. Several works focus on the use of different type of resources like virtual storage by heating/cooling sources, technologies like combined heat and power (CHP) [7], fuel cells (FC) [8], power-to-gas (P2G) [9], microgrids [10], fuel stations [11] or parking lots [12] in order to study the advantages that their operation can bring to the energy systems. This flexibility can be used to help increasing renewables integration [3,13], solving technical problems in electricity networks [14] and decreasing CO 2 emissions [15].
Other studies on flexibility focus on the characteristics that different types of buildings, like commercial or residential, can offer to system operators or to aggregators. This is due to the fact that this type of buildings have different demand profiles, with non-coincident peak consumption periods, and use different types of heating and cooling resources. Commercial buildings usually have heating, ventilation and air conditioning (HVAC) systems to increase workers and visitors’ comfort levels and thus are able to provide both heating and cooling energy. This is an important source of flexibility since it encompass different energy vectors and has a high degree of controllability, namely through the temperature set-point and fans speed. These systems can be controlled through demand response (DR) programs as presented in [16] and can participate in electricity markets, as studied in [17]. Although the majority of the residential buildings do not have centralized HVAC systems to control space temperature evenly, they usually have individual thermostats to define temperature set-points for each room. This way, these systems are also able to provide flexibility to system operators or aggregators, as show in [18,19].
In [18,19] it is also described an home energy management system. This system is responsible for acquiring and processing the required data from appliances and managing flexible loads, as well as establishing communication between the aggregator, users and appliances. The main functionalities of the home energy management system will be used in this work under the name of energy hub management system (EHMS), which will be responsible for controlling the resources of the EH.
System operators and aggregators are also able to use more flexibility from energy system by controlling other loads, like water heating [20], lighting [21] or even refrigeration systems [22] present in some type of commercial and residential buildings, through DR programs. The flexibility provided by EVs and its benefits to the electrical network is also vastly studied in the literature under the concept of V2G, as in [23].

1.3. Contributions and Advantages of the Proposed Model

This paper proposes an innovative approach to optimize the flexibility provided by multi-energy residential and commercial buildings with the aim of solving technical problems in electricity networks operation. The model generally contributes to increase networks robustness and may be used by system operators to increase the quality of service indexes. It aims at minimizing costs, considering the prices of energy, the costs of using DR programs and the costs of CO 2 emissions, while keeping the network operating within the specified technical limits.
The proposed model considers different sources of flexibility from residential and commercial buildings. This flexibility comes from changing the flexible load patterns or by managing the resources within the buildings. The flexible loads include thermal loads, like space heating and cooling, water heating or refrigeration systems, and also other loads, like EVs or lighting. Space heating and cooling is assumed to be controlled through temperature set-points defined for centralized HVAC systems and thermostats. Although only some type of resources are used in this work, such as electric boilers (EB), gas boilers (GB), CHPs, air conditioners (AC) and heat pumps (HP), the proposed model is prepared to include other resources like P2G or combined cooling, heat and power (CCHP). The studies performed look forward to a future where these technologies are widely used, since although these resources and their combinations are not extensively used nowadays, the situation may change in the coming years as the costs of these technologies have been showing a clear decreasing trend.
The optimization problem used assumes that consumers provide the parameters necessary for its resolution, like temperature ranges, lighting levels or EVs charging needs. The optimization problem differs from [7,8,9,10,14,16,17,18,19,20,21,22,23] by allowing the participation of different sources of load flexibility (e.g., PVs, EVs, HVAC systems, thermal loads, lighting) in DR programs and by considering the constraints imposed by the consumers needs and by the technical characteristics of the electrical network.
In the literature, the models developed for HVAC systems considering thermal models are usually non-linear models [24,25] or quadratic [26]. In order to linearize these models, some works use a sequential linearization approach [17] or assume a linear model with parameters calculated using regression methods [16]. A new linear model for HVAC systems was developed in this work. This linear model differs from the other linearized models by discretizing the air flow rate supply variable. This way, the approach for the linearization of the models is simpler as it does not require to be done individually for each building.
With this model, the authors studied and compared the flexibility that can be provided by buildings to electrical network operators considering two scenarios: the buildings only have electrical loads (only-electrical buildings) and the buildings have loads that consume different types of energy (MES buildings). In the literature there are several studies regarding the advantages of MES, but this study specifically compares the same buildings with two different structures: one purely electrified and other with MES. Electrification and MES are two different perspectives of looking into future scenarios of the power systems development. They have aroused great interest in the scientific community and this study offers a new level of comparison of both of them.
Furthermore, the flexibility offered by commercial and residential buildings is studied and compared. There are several works in the literature that study the flexibility that commercial [16,17] and residential [18,19] buildings are able to offer to network operators or aggregators but these works only focus on each type of buildings individually. Commercial and residential buildings have different patterns of consumption which may reflect the availability of flexibility in different times of the day. In this work, it was considered the operation of both type of buildings and the flexibility that each building is able to provide was compared.
The proposed approach was applied to a case study that includes an electrical network with technical problems. The results achieved show how the model manages the flexibility from the resources available to overcome the identified technical problems. In addition to the global flexibility quantification, the contribution of different flexible resources was also analyzed. The importance of a detailed model to explore every source of flexibility within buildings in order to mitigate any problem present in power networks is thus highlighted.
Lastly, an annual analysis of the different cases was also performed with emphasis on the costs, energy consumed and CO 2 emissions.

1.4. Paper Organization

The rest of the paper is organized as follows: Section 2 explains the problem and the model developed in this study; in Section 3, the mathematical model of the proposed approach is presented; Section 4 provides the case studies and numerical results; finally, Section 5 presents the main findings of the work developed.

2. Problem and Model Description

This work focus on the flexibility that can be provided by residential and commercial buildings to a system operator. This flexibility is obtained by changing the resources’ point of operation. The buildings’ flexibility will be quantified and analyzed for two scenarios: when they have resources that only use electricity and when they have multi-energy resources. The model developed allows the system operator to optimize the flexibility of the buildings’ resources through a DR-based program in order to solve network technical problems. Therefore, the model assumes that the system operator is able to control the resources and loads of the EHs by communicating with their EH management system.

2.1. System Operator

The system operator is responsible to satisfy the energy needs of the consumers, while maintaining the network operating within the predefined technical limits. When the network is operating in normal conditions, systems operators may use the clients’ flexibility to minimize operating costs (OPEX) or to maximize RES integration. When technical problems occur, flexibility may be used to solve them. Of course that consumers should be paid for the flexibility provided. The cost of this DR-based service is assumed to be established in a contract set between the system operator and the consumer.
The consumers present in the network are commercial and residential buildings. They are represented by EHs and it is assumed that they have an EHMS integrated. The EHMS is responsible for the control of all the assets within the EH, to fulfill the consumers’ load requirements and optimize the EH. When needed, the system operator communicates with the EHMSs to request the delivery of flexibility.
EHs are connected to the electrical network in a certain point and they consume or inject electricity in that same point. This way, the system operator is able to manage the consumption or injection of electricity in that point by by using the flexibility of the EHs. When needed, the system operator orders the resources to decrease or increase the consumption of one energy vector or change the load patterns through the DR program, always taking into account the limits predefined by the client.

2.2. Energy Hub

EHs represent commercial and residential buildings and they are formed by input and output energy points, conversion technologies, storage systems and different types of loads (Figure 1).
The input energy points considered are the electricity consumed from the electrical network and from local PVs and the gas consumed from the gas network. The output point is the electricity injected into the electrical network.
Conversion technologies can transform one type of energy to another and storage systems can store energy to be used in another time.
The loads to be satisfied include electricity, gas, heating and cooling loads. They can be inflexible (e.g., electrical equipment and cookers) or flexible (lighting, space heating and cooling, water heating, refrigeration and EVs). Inflexible loads have to be completely satisfied while flexible loads can be modified, according to the flexible limits imposed by the consumers, in order to optimize the EH.

2.3. Energy Hub Management System

As previously explained, an EHMS is responsible for controlling the assets of the EH in order to fulfill the requirements of the consumers. They are also responsible to communicate with the system operator to inform their energy needs and their availability to participate in the DR program. These requirements are initially set in the EHMS and they involve defining different restrictions and flexibility levels for each type of load. The definition of requirements for each type of load, resources and storage system is explained in the following paragraphs. A scheme of the EHMS is presented in Figure 2. This concept was adapted from [27] and extended for the application in an EH.
The space heating and cooling temperature requirements for each space are initially communicated by consumers to the EHMS and the actual temperature of each room is calculated by the EHMS using a thermal model. The HVAC systems control the heating and cooling power of commercial buildings and thermostats control the heating and cooling power of residential buildings. These systems are responsible for activating the necessary resources to provide the cooling and heating power according to the temperature requirements of the consumers and the actual room temperature calculated by the EHMS.
The consumers communicate the temperature for water heating and refrigeration and the range of acceptable temperatures (i.e., their temperature flexibility) to the EHMS. Water heating and refrigeration loads are also defined by thermodynamic models and calculated by the EHMS. Electric equipment, lighting and gas cooking loads are defined according to the profiles sent by the consumers. Lighting in commercial buildings has a flexibility range that is also defined by the clients.
The restrictions of EVs are defined by the consumers and they involve defining the hours when the EVs will connect and disconnect from the EH and the state-of-charge (SOC) desired at the moment of disconnection.
Storage systems, PVs and other conversion resources have no requirements and can be managed as better fits the EHMS. The only limits imposed are related with their technical characteristics. In summary, the inputs that the consumers need to provide to configure the EHMS are the following:
  • Spaces temperature set points and flexibility bands;
  • Hot water temperature and flexibility band;
  • Refrigeration systems temperatures and flexibility bands;
  • Profiles of electrical equipment, lighting and cooking;
  • Lighting flexibility bands;
  • EVs connection and disconnection hours;
  • Final SOC of the EVs.
These inputs need to be provided only once. After that, the consumer may provide new inputs if he wants to reconfigure the EHMS.
With all this information, the EHMS will calculate the energy required by the EH and manage the resources, storage systems and flexible loads in order to satisfy all the requirements imposed by the consumers.

3. Model Constraints

The model developed in this work and presented in this section has the goal of optimizing the costs of the resources present in the network in order to fulfill all technical requirements from the network and from the resources.

3.1. Objective Function

The objective function in Equation (1) considers the costs of buying electricity as seen in Equation (2) and gas in Equation (3), the costs of DR in Equation (4), the profit of selling electricity in Equation (5), the costs of CO 2 emissions (6) and penalization costs for voltage violations in Equation (7). The costs of DR consider the modification of the profile of lighting and temperature of rooms, water and refrigeration systems.
C o s t = C o s t e l e c t r i c i t y + C o s t g a s + C o s t D R C o s t s o l d + C o s t C O 2 + C o s t v i o l
C o s t e l e c t r i c i t y = j t I j , t w . π t e l e c , j { EB }
C o s t g a s = j t I j , t g . π t g a s , j { EB }
C o s t D R = j t ( Θ D R , r o o m , + Θ i , t + 1 D R , r o o m , + + Θ i , t + 1 D R , w a t e r , + Θ i , t + 1 D R , w a t e r , + + Θ i , t + 1 D R , r e f r , + Θ i , t + 1 D R , r e f r , + + P i , t + 1 D R , l i g h t , + P i , t + 1 D R , l i g h t , + ) . π t D R , j { EB }
C o s t s o l d = j t O j , t w . π t s o l d , j { EB }
C o s t C O 2 = j t ( I j , t w . π t C O 2 , e l e c + I j , t g . π t C O 2 , g a s ) , j { EB }
C o s t v i o l = j t V j , t v i o l . π t v i o l , j { EB }
The objective function is subjected to operational network constraints which are presented in the following subsections.

3.2. Network Constraints

In this section, the operation of an electrical network is presented. Some of the variables presented are linked with the variables of the EH modeling in Section 3.3, as it will be discussed.

3.2.1. Power Flow Constraints

The considered network is a radial distribution network. A branch power flow model (DistFlow) [28,29] was considered and modeled through Equations (8)–(13).
P i , j = P j + k j k P j , k + r i , j . I 2 i , j , i , j { NL }
Q i , j = Q j + k j k Q j , k + x i , j . I i , j 2 , i , j { NL }
V j 2 = V i 2 2 . ( r i , j . P i , j + x i , j . Q i , j ) + ( r i , j 2 + x i , j 2 ) . I i , j 2 , i , j { NL }
V j ̲ < = V j < = V j ¯ , j { NB }
I i , j ̲ < = I i , j < = I i , j ¯ , i , j { NB }
I i , j 2 . V i 2 = P i , j 2 + Q i , j 2 , i , j { NL }
The mathematical formulation presented above is non-linear and non-convex. This formulation was simplified using a linear version of the DistFlow, the LinDistFlow [30,31] in Equations (14)–(17). In this linear approximation, the branch loss terms ( r i , j 2 + x i , j 2 ) . I i , j 2 were neglected. This is possible if it is assumed that the line losses are much smaller than the branch power terms P i , j and Q i , j . Voltages are also nearly balanced and ( V i V 0 ) 2 0 . These assumptions will lead to the expression V i 2 V 0 2 + 2 . V 0 . V i . The substitution of this term in Equation (10) leads to Equation (16). Differently from the DC-power flow, this model considers lines resistance and models active and reactive power flow. Variable V j v i o l represents a voltage violation and it is used to allow the problem to converge even when a solution with all the voltages inside the allowable limits (lower limit— V j ̲ ; upper limit— V j ¯ ) does not exist. This value has a high penalization in the objective function.
P i , j = P j + k j k P j , k , i , j { NL }
Q i , j = Q j + k j k Q j , k , i , j { NL }
V j = V i r i , j . P i , j + x i , j . Q i , j V 0 , i , j { NL }
V j ̲ V j v i o l < = V j < = V j ¯ , j { NB }
The power flow was calculated for each instant t. It should be mentioned that this model can only be applied in radial networks.
Equation (18) defines that the power P j in each bus is related with the power of all EHs in that bus. The calculation of the power I n , t w for each EH is presented in Section 3.3.
P j = n I n , t w n { E H j } , j { NB } ,

3.2.2. Generator Units Constraints

Equations (19) and (20) define the limits of PV and wind generators.
P t , n w i n d ̲ < = P t , n w i n d < = P t , n w i n d ¯ , n { NW }
P t , n P V ̲ < = P t , n P V < = P t , n P V ¯ , n { NPV }

3.3. Energy Hub Modelling Constraints

In this section, the operation for an EH is presented. Some of the variables are linked with the variables of the network modelling in Section 3.2 and of the resources modelling in Section 3.4, as it will be explained.

3.3.1. Load

Equations (21)–(24) represent the consumption of each type of load. The load of each energy vector is equal to the sum of the energy coming from the energy network, storage systems or the converters i generating that energy vector.
L t w = i E t i , l o a d , i { N w , S w , C w , EV }
L t h = i E t i , l o a d , i { S h , C h }
L t c = i E t i , l o a d , i { S c , C c }
L t g = i E t i , l o a d , i { N g }
The electrical load L t w is equal to the sum of the electricity needed for EVs, HVAC systems, refrigeration systems, electrical equipment and lighting, as seen in Equation (25). The heating load L t h is equal to the sum of the heat needed to supply the heating for spaces and water as seen in Equation (26). The cooling load L t c is equal to the sum of the cooling needs for space cooling as seen in Equation (27). The gas load L t g is equal to the sum of gas needed for cooking as seen in Equation (28).
L t w = n P n , t E V , c h a + i P i , t f a n + P i , t r e f r + P i , t e q u i p + P i , t l i g h t , i { R } , n { EV }
L t h = i P i , t h , r e s o u r c e s + P i , t w a t e r , i { R }
L t c = i P i , t c , r e s o u r c e s , i { R }
L t g = i P i , t c o o k , i { R }

3.3.2. Energy Hub Inputs

Equation (29) and (30) represents the energy inputs of each EH. Each energy input is equal to the sum of the energy that goes from the energy network to the storage systems, loads and converters i that consume that energy vector.
I t w = i E t n e t , i , i { L w , S w , C w , EV }
I t g = i E t n e t , i , i { L g , C g }

3.3.3. Energy Hub Outputs

Equations (31) represents the electrical output of each EH, i.e., the electricity sold to the network. The energy output is equal to the sum of the energy that goes from the EVs, storage systems or converters i generating electricity to the electrical network.
O t w = i E t i , n e t , i { S w , C w , EV }

3.3.4. Energy Converters and Storage Systems Input

Equations (32)–(35) represent the energy inputs of each type of storage system or converter inside the EH. The energy input of each system j is equal to the sum of the energy that goes from the network, storage systems or converter i generating that energy vector to that system.
E t j , i n = i E t i , j , i { N w , S c , G w } , j { S c , C w }
E t j , i n = i E t i , j , i { N h , S c , G h } , j { S c , C h }
E t j , i n = i E t i , j , i { S c , G c } , j { S c , C c }
E t j , i n = i E t i , j , i { N g } , j { C g }
Equation (36) represent the limits of the energy inputs of each storage system or converter j.
0 < = E t j , i n p u t < = P ¯ j , j { S , C }

3.3.5. Energy Resources Output

Equations (37) to (39) represent the output of the storage systems or resources present in the EH. The output of each system is the sum of energy that goes from that system i to the network, storage system, load or resource j that consumes that energy vector. It should be noted that the electricity sold to the electrical network is considered in Equation (37).
E t i , o u t = i E t i , j , i { S w , G w } , j { N w , S w , L w , C w }
E t i , o u t = i E t i , j , i { S h , G h } , j { S h , L h , C h }
E t i , o u t = i E t i , j , i { S c , G c } , j { S c , L c , C c }

3.4. Load, EVs, Storage and PV Contraints

In this section the constraints of the different loads, EVs, storage systems and PVs are presented. As mentioned, some of the variables are linked with the variables from the energy huh modelling in Section 3.3. In Table A1 of Appendix A, it is synthesized the values of the main parameters used in the models presented in this section.

3.4.1. Thermal Model

The temperature in a room is calculated by Equation (40) [19]. Equation (41) set the temperature at which the room has to be, taking into account the temperature set by the consumer Θ ^ i , t r o o m and the temperature changes due to the participation in the DR program. Equations (42) and (43) define the limits imposed by the consumers for the increase Θ ¯ ^ i , t + 1 D R , r o o m , + and decrease Θ ¯ ^ i , t + 1 D R , r o o m , of the temperature in a room for the participation in the DR program.
Θ i , t + 1 r o o m = β t . Θ i , t r o o m + ( 1 β t ) ( Θ t O + R i . ( P i , t h P i , j , t c + P i , t I n f ) ) + l i , t , i { R }
Θ i , t r o o m = Θ ^ i , t r o o m Θ i , t + 1 D R , r o o m , + Θ i , t + 1 D R , r o o m , + , i { R }
0 < = Θ i , t + 1 D R , r o o m , , < = Θ ¯ ^ i , t + 1 D R , r o o m , , i { R }
0 < = Θ i , t + 1 D R , r o o m , + < = Θ ¯ ^ i , t + 1 D R , r o o m , + i { R }
Equation (44) defines the infiltration rate present in the rooms [32].
P i , t I n f = A C H i . v i . C V a i r . ( Θ i O Θ i , t + 1 r o o m ) 3600 , i { R }
In order to calculate the energy necessary for the cooling and heating needs, it is necessary to define first the thermal parameters for each room. Equation (45) defines the thermal resistance [33,34].
R i = X i k i . A i w a l l , i { R }
The thermal reactance is calculated by using the heat capacity from the air in the room and from the walls. For the sake of simplicity, the outside walls and windows parameters were not considered in this study. The heat capacity contribution of the materials inside the room were not considered as well. Equation (46) defines the thermal reactance [35].
C i = C V a i r . v i + c w a l l . A i w a l l . X i . d i , i { R }
Parameters A C H i , v i , X i , k i , A i w a l l , c i w a l l and d i were assumed according to the information from [36].

3.4.2. HVAC System

Commercial buildings have an HVAC system installed. Their typical configuration is represented in Figure 3. The cooling coil provides the cooling power and the heating coils in each room provide the heating power. There is a supply fan which moves the cooling or heating air throughout the entire system. For each room there is also an individual variable air volume (VAV) box connected to the HVAC system, which regulates the temperature inside a room.
Equations (47)–(50) define the cooling and heating power provided by the respective coils [16].
P i , t c , c o i l = P i , t c , i { R }
P i , t h , c o i l = P i , t h , i { R }
P i , t c , c o i l = c a i r . m i , t . ( Θ i , t r o o m Θ t C , c ) , i { R }
P i , t h , c o i l = c a i r . m i , t . ( Θ t C , h Θ i , t r o o m ) , i { R }
The coils are air-water heat exchangers and Equations (51) and (52) define the power needed to power the cooling and heating coils [26], respectively, from the heating and cooling resources of the EH.
P i , t c , r e s o u r c e s = P i , t c , c o i l η c , c o i l . C O P c , c o i l , i { R }
P i , t h , r e s o u r c e s = P i , t h , c o i l η h , c o i l . C O P h , c o i l , i { R }
The relationship between the fan power and the airflow is between a quadratic and a cubic function, depending on the fan system [33]. This behavior is explained by the fan needing more power to compensate the leakage in the system, when an increase in airflow is necessary. In this work, it was assumed that the fan system model used is the same as the one presented in [16], as it is a model for commercial buildings. This model is defined in Equation (53) and it is applied to the commercial buildings considered in this work. The values of b 1 , b 2 , b 3 and b 4 are taken from the same reference. Nonetheless, if the required data was available, they could be identified using several techniques, including the ordinary least squares technique [25].
P t f a n = b 1 . m t 3 + b 2 . m t 2 + b 3 . m t + b 4
The total airflow supplied by the fan system is equal to the summation of the individual airflow of each room as seen in Equation (54).
m t = i m i , t , i { R }
The value of η h and η c is 0.98 and the value of C O P h and C O P c is 5.92. The discharge air cooling temperature Θ t C , c is set to 12.5 C and the discharge air heating temperature Θ t C , h is set to 50 C. The values to calculate the fan power are the following: b 1 = 2 . 57 × 10 12 , b 2 = 4 . 45 × 10 9 , b 3 = 1 . 46 × 10 4 and b 4 = 4 . 71 × 10 3 . Each fan has a limit of 20,000 cfm.
Equation (49) present a non-linearity between two continuous variables m i , t and Θ i , t r o o m . Variable m i , t was discretized by assuming binary variables b j , i , t f a n that are multiplied by a small value of 100 cfm. This way, the problem can optimize the supply air flow rate with a rate of 100 cfm. By assuming a maximum of 20,000 cfm for a fan, there would exist 200 new binary variables. This would increase the complexity of the problem. Thus, instead of increasing the values by 100 each time, the supply air flow rate can be increase by 100, 200, 300, 400, 2000, 3000, 4000 and 10,000 cfm. This way, the problem can still look for solutions between 0 and 20000 cfm while needing only 8 new binary variables. This linearity is present in Equation (55).
m i , t = n b i , t n . m n , n { M } , i { R }
Nonetheless, with the discretization of m i , t there is still a non-linearity due to the multiplication of the binary variables b i , t n and Θ i , t r o o m . This non-linearity can be solved by replacing that multiplication by a new continuous variable y i , t , as represented in Equation (56), and by adding the restrictions represented by Equations (57)–(60).
y i , t = b i , t n . Θ i , t r o o m , i { R } , n { M }
y i , t < = b i , t n . Θ ¯ i , t r o o m , i { R } , n { M }
y i , t < = Θ i , t r o o m , i { R }
y i , t > = Θ i , t r o o m Θ ¯ i , t r o o m . ( 1 b i , t n ) , i { R } , n { M }
y i , t > = 0 , i { R }
With the discretization of m i , t , Equation (53) also presents several non-linearities due to the multiplication of several binary variables. It was considered an additional binary variable y that replaces the multiplication of the two binary variables. In Equations (61)–(63) it is presented a general approach for the linearization of all these non-linearities.
y < = b 1
y < = b 2
y > = b 1 + b 2 1

3.4.3. Thermostats

Contrary to the HVAC systems, thermostats used in residential buildings control directly the heating and cooling resources according to the thermal model defined in Equation (40). This way, P i t c and P i , t h are the power needs that are requested from the heating and cooling converters as seen in Equations (64) and (65).
P i , t c , r e s o u r c e s = P i , t c , i { R }
P i , t h , r e s o u r c e s = P i , t h , i { R }

3.4.4. Water Heating

The power necessary to heat the water to the required temperature is presented in Equation (66) [20]. The required temperature of the water is calculated according to the temperature defined by the consumer Θ ^ i , t w a t e r and the changes from the DR program as seen in Equation (67). The consumers also define the temperature limits of the DR program Θ ¯ ^ i , t + 1 D R , w a t e r , and Θ ¯ ^ i , t + 1 D R , w a t e r , + , as present in Equations (68) and (69).
P i , t w a t e r = c w . m i . ( Θ i , t w a t e r Θ j w a t e r , i ) , i { R }
Θ i , t w a t e r = Θ ^ i , t w a t e r Θ i , t D R , w a t e r , + Θ i , t D R , w a t e r , + , i { R }
0 < = Θ i , t + 1 D R , w a t e r , , < = Θ ¯ ^ i , t + 1 D R , w a t e r , , i { R }
0 < = Θ i , t + 1 D R , w a t e r , + < = Θ ¯ ^ i , t + 1 D R , w a t e r , + , i { R }
The value of c w is 4.18 J/g· C (considering water at 18 C ) and initial temperature Θ j w a t e r , i is set to 15 C in Winter. The mass of water m i is defined according to the water consumption profile.

3.4.5. Refrigeration

The model used in this work to represent a refrigerator is represented in Equations (70) and (71) [22]. The required temperature of the refrigeration system is calculated according to the temperature defined by the consumer Θ ^ i , t r e f r and the changes from the DR program (72). The consumers also define the temperature limits of the DR program Θ ¯ ^ i , t + 1 D R , r e f r , and Θ ¯ ^ i , t + 1 D R , r e f r , + as present in Equations (73) and (74).
Θ t + 1 r e f r = ε i Θ i , t r e f r + ( 1 ε i ) . ( Θ i , t r o o m C O P r e f r . P i , t r e f r a ) + l t , i { R }
ε i = e Δ t . a m c a p , i { R }
Θ i , t r e f r = Θ ^ i , t r e f r Θ i , t D R , r e f r , + Θ i , t D R , r e f r , + , i { R }
0 < = Θ i , t + 1 D R , r e f r , , < = Θ ¯ ^ i , t + 1 D R , r e f r , , i { R }
0 < = Θ i , t + 1 D R , r e f r , + < = Θ ¯ ^ i , t + 1 D R , r e f r , + , i { R }
The coefficient of performance C O P r e f r was assumed to be 3 and the insulation a was assumed to be 15 kJ/ C for residential systems and 850 kJ/ C for supermarket systems.

3.4.6. Other Loads

The power necessary to supply energy to cooking and other electrical equipment, according to their load profiles, is defined in Equations (75) and (76).
P i , t e q u i p = L i , t e q u i p , i { R }
P i , t c o o k = L i , t c o o k , i { R }
The power necessary to supply energy for lighting is defined in Equation (77), which already takes into account the changes due to the participation in the DR program. This participation is constrained by the limits imposed by the consumers P ¯ ^ i , t + 1 D R , l i g h t , and P ¯ ^ i , t + 1 D R , l i g h t , + , as seen in Equations (78) and (79).
P i , t l i g h t = L i , t l i g h t P i , t D R , l i g h t , + P i , t D R , l i g h t , + , i { R }
0 < = P i , t + 1 D R , l i g h t , , < = P ¯ ^ i , t + 1 D R , l i g h t , , i { R }
0 < = P i , t + 1 D R , l i g h t , + < = P ¯ ^ i , t + 1 D R , l i g h t , + , i { R }

3.4.7. Electric Vehicles

The operation of EVs is defined by constraints (80)–(85). Equation (80) defines the state-of-charge (SOC) of the EV. Equation (81) represents the limit of the EV SOC. Equations (82) and (83) set the range for charging and discharging power.
S O C n , t + 1 E V = S O C n , t E V + P n , t E V , c h a . η n E V , c h a P n , t E V , d i s η n E V , d i s , i { EV }
S O C ̲ n , t E V < = S O C n , t E V < = S O C ¯ n , t E V , i { EV }
0 < = P n , t E V , c h a < = b n , t E V , c h a . P ¯ n , t E V , c h a , i { EV }
0 < = P n , t E V , d i s < = b n , t E V , d i s . P ¯ n , t E V , d i s , i { EV }
Equation (84) assures that EVs do not charge and discharge at the same time.
b n , t E V , c h a + b n , t E V , d i s < = 1 , i { EV }
EVs have to be charged according to the consumer preferences. Consumers should define the hour of day (HD) that an EV should be charged and the minimum state-of-charge required S O C ^ E V , taking into account the limits of charging. This is defined in Equation (85).
S O C n , H D E V > = S O C ^ E V , i { EV }
It should be noted that the sum of the charging power of all EVs is the same as the variable E t E V , i n p u t used to model the EH in Section 3.3.4. Similarly, the sum of the discharging power of all EVs is the same variable as E t E V , o u t p u t used in Section 3.3.5. This is presented in Equations (86) and (87).
E t E V , i n = n P n , t E V , c h a , i { EV }
E t E V , o u t = n P n , t E V , d i s , i { EV }

3.4.8. Storage Systems

The operation of storage units installed in the EH is defined by constraints (88)–(92). Equation (88) defines the SOC of the storage system. Equation (89) represents the storage limit capacity. Equations (90) and (91) set the range for charging and discharging power.
S O C n , t + 1 s t o = S O C n , t s t o + P n , t s t o , c h a . η n s t o , c h a P n , t s t o , d i s η n s t o , d i s , n { S }
S O C ̲ n , t s t o < = S O C n , t s t o < = S O C ¯ n , t s t o , n { S }
0 < = P n , t s t o , c h a < = b n , t s t o , c h a . P ¯ n , t s t o , c h a , n { S }
0 < = P n , t s t o , d i s < = b n , t s t o , d i s . P ¯ n , t s t o , d i s , n { NS }
As storage system cannot charge or discharge at the same time, Equation (92) defines this constraint.
b n , t s t o , c h a + b n , t s t o , d i s < = 1 , n { S }
Again, it should be noted that the sum of the charging power of all storage devices is the same as the variable E t i , i n p u t , i { S } used to model the EH in Section 3.3.4. Similarly, the sum of the discharging power of all storage devices is the same variable as E t i , o u t p u t , i { S } used in Section 3.3.5. This is presented in Equations (93) and (94).
E t i , i n = P n , t s t o , c h a , i , n { S }
E t i , o u t = P n , t s t o , d i s , i , n { S }

3.4.9. PVs

Equation (95) defines the power generated by a PV.
P t P V ̲ < = P t P V < = P t P V ¯

4. Case Study and Results

4.1. Case Study Description

Figure 4 presents the network used as a test case. It is a modified IEEE 37 node test feeder with penetration of wind and solar energy. There is 2.85 MW of wind generation at bus 3, 9, 10, 14 and 20, and 1 MW of solar generation installed at bus 4 and 20.
This network has several loads, including residential buildings, commercial buildings, an hospital, warehouses, medium and small offices and a supermarket. The location and number of buildings in the network is presented in Table 1. This table also presents the type of loads of these buildings, besides space heating and cooling, lighting and electrical equipment. The supermarket has 10 refrigeration systems, while the residential buildings only have 1 system each. Refrigeration systems have a maximum power of 5 kW for supermarkets and 1 kW for residential buildings.
These buildings are represented by the models shown in Section 2 and Section 3. They are supplied by the electrical network, the gas grid and by local PVs. The technical restrictions of the gas grid were not considered in this study.
The resources assumed for each case, i.e., only electrical buildings and MES buildings, are presented in Table 2. All the buildings also have heat storage systems installed. The efficiency of EB is 0.95, GB is 0.9 and the efficiency of CHP for electricity is 0.35 and for heat is 0.45. The efficiency of heating storage systems is 0.88. The COP of both HP and AC systems is 3.45.
In every building, 10% of the occupants have an EV. EVs have a charging and discharging power limit of 10 kW and an efficiency of 0.9. The battery capacity of these vehicles varies between 35 kWh and 100 kWh.
PVs are installed in every building: 10 kW in small offices, 50 kW in medium offices, 20 kW in warehouses, 20 kW in the supermarket and 200 kW in the hospital. The systems’ efficiency is 0.227.
The parameters and profiles of each building are taken from [36]. The assumptions for the parameters of the models were already presented in Section 3.
The wind and PV generation profiles are presented in Figure 5 and they were taken from [38], for the day 7 January 2019. The outside temperature is presented in Figure 6 and was taken from [38] for the same day. The average monthly wind and PV generation profiles are presented in Figure A1 and Figure A2 in the Appendix B and they were calculated with the information taken from [38] for the years 2017 and 2018. The average monthly outside temperature is presented in Figure A3 in the Appendix B and was calculated from the information taken from [38] for the years 2017 and 2018.
In Figure 7, the prices of electricity and gas are shown. They were taken from ENTSO-E [39] and from the MIBGAS platform [40], respectively, for the day 7 January 2019. The price of the electricity sold to the grid was assumed to be 0.5 of the electricity price in order to enforce self-consumption and avoid injection into the grid. The average monthly electricity and gas prices are presented in Figure A4 and Figure A5 in the Appendix B and they were calculated with the information from [39] and [40], respectively, for the years 2017 and 2018.
The price of DR services related with temperatures flexibility was assumed to be 0.5 € / C. This figure was assumed for the purpose of this work, as no supporting reference was found in the literature. Although it is outside the scope of this work, it is a very interesting topic that should be further studied in a dedicated work.
The price of each voltage violations was assumed to be very high to force the optimisation model to give priority to the resolution of these technical problems. This value was set to 10,000,000 €.
The cost of the CO 2 emissions from the natural gas is calculated by considering the average market price of CO 2 emissions and a factor representing the total emissions per MWh of natural gas consumed. The CO 2 emissions market price considered was 25 €/ t o n C O 2 for every month and it was taken from [41], whereas the emission factor was set to 0.2 t o n C O 2 /MWh and it was taken from [42]. This means that the CO 2 emissions cost for natural gas was set to 5 €/MWh for the entire year.
The cost of the CO 2 emissions from electricity is calculated as follows:
  • First, the percentage of coal and natural gas in the electricity generation mix is determined, defining a daily profile for each of these resources;
  • Then, the daily profiles are multiplied by the CO 2 emissions market price for that day and by a factor representing the total emissions of each resource per MWh of generated electricity.
The daily profiles of coal and natural gas in the electricity generation mix were calculated with the information from [43] for the years 2016, 2017 and 2018 and are presented in Figure A6 and Figure A7 of Appendix B. The emission factors per MWh of electricity generated for coal and natural gas were set to 1 t o n C O 2 /MWh and 0.41 t o n C O 2 /MWh and they were taken from [44]. The average monthly cost of the CO 2 emissions from the electricity generated is presented in Figure A8 of Appendix B.
The cost of the CO 2 emissions, for both electricity and natural gas, will not have a significant impact in the results as they are much lower than electricity and gas prices.
The optimization problem described in the previous sections is a mixed-integer linear programming problem (MILP) and was solved with pycharm [45], using the CPLEX optimizer in a core i7, 3.5 GHz PC.

4.2. Results

In this section it is studied how the flexibility provided by the different buildings can be used to solve voltage problems that may appear in the network. To this end, the following cases were created:
  • Only electrical buildings without optimization (no DR);
  • Only electrical buildings with optimization (with DR);
  • MES buildings without optimization (no DR);
  • MES buildings with optimization (with DR).
With these cases it will be possible to study and compare the flexibility provided by electrical and MES buildings and by residential and commercial buildings, as well as their annual costs, energy consumption and CO 2 emissions.
The organization of this section is as follows:
  • In Section 4.2.1, grid technical problems occurring in 7 January 2019 are analyzed;
  • In Section 4.2.2, the daily load profiles of the proposed cases are studied;
  • In Section 4.2.3 and Section 4.2.4, the flexibility that only-electrical vs. MES buildings and commercial vs. residential buildings are able to offer for that day is analyzed;
  • In Section 4.2.5, it is studied how the flexibility provided by the different resources and loads are used to mitigate voltage problems;
  • Finally, Section 4.2.6 presents the annual results for energy consumption, CO 2 emissions and costs.

4.2.1. Grid Technical Problems

In this section it is presented the technical results of the network on the 7 January 2019. The voltages in all buses at peak hour and the voltages at bus 20 during all day are presented and analyzed.
In Figure 8 it is presented the voltages in every bus of the network at 6h. It is possible to observe that buses 18, 19, 20 and 21 present undervoltage problems in the scenario with “electrical buildings without optimization”, while in the scenario with “electrical buildings with optimization” only bus 20 presents a slight undervoltage problem. The other scenarios do not present this type of problems. These problems occur due to the fact that these buses have high consumption of electricity at this hour, as it will be analyzed in Section 4.2.2, and also because they are the farthest from the feeding point, as it is possible to observe in Figure 4.
Figure 9 shows the daily profile of the voltages in bus 20. It is possible to observe that severe voltage problems occur in the “electrical buildings without optimization” scenario. Buses 18, 19 and 21 also reveal similar undervoltage problems. The importance of DR programs is easily perceptible in the “electrical buildings with optimization” scenario, as almost all undervoltage problems cease to exist. Nevertheless, there are still some minor problems in buses 20 and 21. In both MES scenarios, with and without DR, no voltage problems occur. Even without using the DR program, the system was never with technical problems as part of the MES buildings consumption relies on other energy vectors besides electricity.
In total, in the scenario with electrical buildings without optimization, there were 54 cases of undervoltage affecting 4 buses, while in the scenario with electrical buildings with optimization there were 14 cases affecting 2 buses. This means that flexibility activation through DR programs reduce the number of undervoltage problems by 74%.

4.2.2. Daily Load Diagrams

In this section it is presented the electricity and gas consumed in the network during the day of 7 January 2019. The changes in the load due to the participation in DR programs are analyzed.
In Figure 10 it is presented the electrical consumption in the network. It is possible to observe that without optimization, the case with “only electrical” buildings consumes more electricity than the case with MES buildings. The peak consumption at 6h in the scenario with electrical buildings without optimization is due to the fact that electricity prices are cheaper at this hour and clients start heating the spaces, especially in commercial buildings. This higher consumption of electricity causes several voltage problems in the network, as it was seen in the previous section.
The utilization of flexibility to solve the referred problems impose changes to the daily load profiles. It is possible to observe that the main changes occur in the scenario with only electrical buildings with optimization as this case presents several voltage problems during the entire day. This way, the electrical load was decreased in this case.
In the cases without optimization, the peak load is 85% lower in the scenario MES buildings in comparison with the scenario only electrical buildings; comparing the same cases with optimization, it is observable that the peak load is reduced by 67%.
Figure 11 shows the overall gas consumption in the network. The peak consumption is at 7 h as most of the buildings with gas also start heating their spaces at this hour.

4.2.3. Flexibility of Only Electrical and MES Buildings

In this section, the flexibility that electrical and MES buildings are able to offer is analyzed and quantified. The minimum and maximum flexibility represents the minimum and maximum consumption that each building is able to consume at each hour.
Figure 12 presents the minimum and maximum flexibility (red lines) that the buildings are capable of providing in the only electrical and MES scenarios. Eventually, this flexibility may be activated if proper DR-based programs are implemented.
The most important conclusion to retain is that buildings have the capability to provide a significant band of flexibility that may be very important to system operators, as they can use it to solve low voltage and/or branches’ overload problems in distribution networks, as it will be seen in Section 4.2.1.
Although the electrical buildings scenario have a larger flexibility band, their minimum limit is slightly higher as all the loads rely entirely on electricity. In the MES scenario, the flexibility band is generally straighter since there are less loads that use electricity. However, in this case, the overall buildings’ consumption is lower than in the only electrical scenario, what may be an interesting situation for system operators since networks utilization will be lower.
It is possible to observe that only electrical buildings have major modifications in their profiles during the first 7 h of the day. This happens to avoid higher peaks of consumption at 7 h, when buildings start heating their spaces. Buildings accumulate heat in the previous hours decreasing their energy needs at 7 h. This is also shown in Section 4.2.5.
In average, the total minimum consumption of MES buildings is 40% lower than electrical buildings while the maximum consumption is 37% lower.

4.2.4. Flexibility of Residential and Commercial Buildings

In this section, the flexibility that residential and commercial buildings are able to offer is analyzed and quantified.
In Figure 13 it is presented the range of flexibility of residential and commercial buildings. It is possible to observe that commercial buildings have a higher range of flexibility than residential buildings. They have a higher flexibility during the day as they are intensively used during these periods, with a higher number of appliances and loads connected and capable of increasing or decreasing their energy consumption. Air heating/cooling and water heating are good examples of loads that are a great source of flexibility in these periods.
Residential buildings have higher flexibility after 16h and during the night. This happens since residential buildings do not usually have EVs connected between 8 h–16 h, which are a significant source of flexibility. Additionally, the utilization of other residential equipment (e.g., heating and cooling) is also reduced during this period, contributing to decrease the flexibility margin.
It is possible to observe that the main modifications in the load profiles with the activation of flexibility occurred in the case with “only electrical” buildings, to both residential and commercial buildings. Nonetheless, the flexibility utilization has a higher impact in residential buildings during the first 7 h of the day.

4.2.5. Impact on the Daily Load Profiles of Flexible Loads

The flexibility that buildings are able to offer comes essentially from using resources that consume gas instead of electricity and from DR programs. DR programs are capable of changing the load patterns of lighting, refrigeration, water heating and space heating. In this section, it is analyzed the flexibility that each source of flexibility is able to provide to the system operator. This highlights the importance of considering every possible source of flexibility within a building.
Figure 14 shows the lighting consumption in a supermarket. The lighting systems can be decreased by 10% in relation to their initial value.
It is possible to observe a decrease in the lighting consumption in the scenario electrical buildings with optimization. This is the only scenario where the DR program was activated for lighting. In the MES scenarios, changes in the lighting consumption patterns did not happen (i.e., DR programs were not activated) since all the network problems detected were solved by replacing part of the electricity consumption by gas. This is the reason why the series of the scenarios electrical buildings without optimization, MES buildings without optimization and MES buildings with optimization overlap.
In Figure 15 it is presented the temperature and the energy consumed for space heating in a room of the supermarket. Each type of building and each room has its own temperature requirements and different schedules of the HVAC system. In order to simplify the analysis of the results, only the requirements for the temperature of a room in a supermarket are presented, although the requirements for the other buildings are similar:
  • HVAC system is always “on”;
  • Between 6 h and 23 h:
    -
    The temperature set-point is 21 C;
    -
    The temperature can vary between 15 C and 25 C.
  • Between 0 h and 6 h and after 23 h:
    -
    There is no set-point;
    -
    The temperature can vary between 15 C and 25 C.
As Figure 15 shows, the temperature requirements were met in all the scenarios. It is possible to observe that the case electrical buildings with optimization was the only case where flexibility of the space temperature was used. In this case, the DR program was activated and the temperature in the room decreased below the set-point but remained inside the allowed interval. This happened since the DR program was activated and the energy consumed for heating this room was decreased to zero. In the other scenarios, the temperature strictly followed the set-point defined.
It is also possible to observe that between 0 h and 6 h and after 23 h, in all scenarios, the temperature was different from 21 C due to the absence of set-point.
Figure 16 shows the temperature profile of the refrigeration systems of the supermarket as well as the respective power profile (the series of the scenarios without optimization are overlapped). The temperature requirements of all refrigeration systems present in this network are the following:
  • The temperature is set to −5 C for the entire day;
  • The temperature can vary between −6 C and −3 C by using the DR program.
More flexibility was used in the scenario electrical buildings with optimization, as the temperature increases due to the reduction of the power consumption to provide flexibility to the grid.
In the scenario MES buildings with optimization, the system operator did not request any flexibility. However, some flexibility was used to decrease energy costs at the expense of a slightly higher temperature in the refrigeration system. An example of the flexibility utilization for this purpose is shown in Figure 16, where more power was consumed between 5–7 h to decrease temperature, as the energy cost in this period was lower.
In the other scenarios the temperature is the same as the set-point as the DR program is not available and their series are overlapped.
Figure 17 presents the water temperature in the hospital at bus 13 and the respective power consumption. The water temperature requirements for all buildings present in the network are the following:
  • The temperature is set to 49 C for the entire day;
  • The temperature can vary between 44 C and 54 C by using the DR program.
As it is possible to observe, the scenario electrical buildings with optimization was the only case where there was a decrease in the water temperature, with the correspondent power decrease to provide flexibility to the grid.
It is important to notice that the power necessary to heat the water depends on the set-point of the water temperature, which is a flexible value, and the water volume consumed, which is not flexible and it is set by the consumer. This way, the flexibility provided by heating the water is provided only by changing the water temperature and not the used volume.
In Figure 18 and Figure 19 it is presented the charging and discharging of EVs in a residence and a medium size office. It is possible to observe that the charging and discharging patterns in the scenario with electrical buildings with optimization differ from both MES buildings scenarios and the scenario with electrical buildings without optimization. This reflects the utilization of EVs flexibility to mitigate the undervoltage problems in the network.
Figure 20 presents the electricity and heat production profiles of the CHP unit in the supermarket. As it is possible to observe, there is a peak at 7 h. Comparing these figures with Figure 10, it is possible to observe that the supermarket consumes much less electricity from the network at this hour and relies more on the gas network and the CHP unit for the provision of electricity and heat. This is because gas prices are lower than electricity prices and by consuming less electricity the power network is not so overload and its limits are more relaxed.

4.2.6. Annual Results

In this section, it is first presented the annual consumption of electricity and gas as well as the annual emissions of CO 2 . After, the costs of buying electricity and gas, the costs of the emitted CO 2 and the costs of using DR programs are presented. The results obtained in this section allow the generalization of the results presented in the previous sections.
From Figure 21 and Table 3 it is possible to observe that the cases with only electrical buildings consume naturally more electricity than the cases with MES buildings. In total, the electricity consumed in the case with MES buildings without optimization is 33% lower than the case with only electrical buildings, while in the cases with optimization it is 30% lower. The utilization of flexibility (in the scenario with optimization) decreases the consumption of electricity by 6% in the only-electrical buildings cases, while in the MES buildings it only decreases 1%. This happens since in the cases with only electrical buildings, DR program are activated more often due to the technical problems in the network.
The gas consumption is very low in only electrical buildings cases, as the gas is only used for cooking in residential buildings. In the cases with MES buildings, more gas is used during the winter as it is the main source of heating.
In Figure 22 the annual emissions of CO 2 for each case are presented. It is possible to observe that MES buildings have naturally higher emissions than only electrical buildings. Although they consume less electricity, the gas consumption is much higher which makes CO 2 emissions higher. It is also possible to observe that the cases with optimization have lower emissions as they also consume less energy due to the activation of downward flexibility. These results show that DR programs can have an impact on the CO 2 emissions from buildings.
In total, only electrical buildings have 40% and 44% lower emissions of CO 2 than MES buildings in the cases without optimization and with optimization, respectively. DR programs (i.e., optimization scenarios) lowered the emissions of CO 2 by 6% in the case with only electrical buildings and 4 % in the case with MES buildings.
The costs of electricity and gas consumption, emissions of CO 2 and DR programs are presented in In Figure 23. As expected from the previous results, the costs of electricity are higher in the cases with only electrical buildings as more electricity is consumed than in the MES buildings cases. The costs of gas and CO 2 emissions are higher in the MES buildings scenarios. The case with only electrical buildings with optimization has the higher costs related with flexibility activation (DR programs), as this is the case that presents more technical problems in the electrical network.
It is also possible to observe that the total costs at the end-of the year are lower in the case with MES buildings with optimization, as they consume less electricity that have higher prices when compared to natural gas.
In total, without optimization, the annual costs of electricity in the cases with only electrical buildings are 32% higher than the cases with MES buildings, the CO 2 costs are 40% lower and the total annual costs are 10% higher. With optimization, the annual electricity costs are 29% higher, the costs of CO 2 emissions are 44% lower and the total annual costs are 29% higher.

5. Conclusions

This work presented a model to optimize energy consumption in buildings, aiming at minimizing costs while satisfying the technical constraints of the power network. The model developed is capable of controlling a wide variety of loads (thermal loads, lighting, EVs, PVs, etc.) taking into account the flexibility that their owners are willing to provide. This flexibility can be used for technical matters, i.e., to improve networks operation, or for economic purposes, i.e., decrease overall energy cost, including CO 2 costs. A novel linearized model for the HVAC system was also developed in this work, decreasing the complexity of the problem. The model was used with a test network to quantify and compare the capability of only electrical buildings and MES buildings, both commercial and residential, to offer flexibility. Annual costs, energy consumption and CO 2 emissions were also studied.
Analyzing the grid technical problems for the day 7 January 2019, in the scenarios with only electrical buildings, there are a number of undervoltage problems detected in the network and they cannot be entirely solved even when flexibility is activated through DR programs. These stressful operating conditions are not verified in the MES scenarios, where no technical problems were detected. In the only electrical buildings scenarios, the voltage problems detected were greatly reduced after the activation of the DR program—the number of buses with voltages below 0.9 p.u. was reduced from 54 to 14, representing a 74% reduction. The flexibility provided in the DR scenario was obtained from electrical and thermal loads, which can offer flexibility through thermal storage, lightings, EVs or CHP units and thus contribute to reduce the power absorbed from the grid. It is thus possible to conclude that DR programs are an important tool for system operators as they can enable important changes in the load profiles to avoid voltage problems or overloaded branches.
As expected, it is in the MES scenarios that electricity consumption is lower. One of the outcomes of this study is the quantification of the network load reduction that can be achieved in the MES scenarios in comparison with the only electrical buildings scenarios. In average, in the scenarios without DR, the load is 85% lower during the peak hour while in the scenarios with DR it is 67% lower. In the only electrical scenarios, the DR program was capable of reducing the peak load by 55%, although it was not enough to mitigate all voltage problems.
With lower electricity consumption, it is not surprising that buildings can reach lower absolute values of consumed power in MES buildings scenarios. In the comparison between commercial and residential buildings, the former revealed overall wider ranges of flexibility. Commercial buildings can generally provide more flexibility during the day, especially in the MES scenarios, while residential buildings are more flexible during the night and late afternoon.
The last outcome from this work is related with the annual costs, energy consumption and CO 2 emissions. It was concluded that MES consume ca. 33% less electricity, although they consume more gas. This way, annual energy costs are lower when considering MES buildings, presenting a reduction of ca. 32% in electricity costs and ca. 10% in total costs. In the cases with only electrical buildings, system operators need to solve technical problems through the activation of flexibility. This will increase total energy costs by ca. 25%, although the number of technical problems will be decreased by 74%. It was also concluded that only electrical buildings have ca. 44% and 40% lower emissions of CO 2 , with and without optimization, respectively. This is due to the fact that MES buildings consume more natural gas, while only electrical buildings depend strictly on electricity. If the mix of electricity generation is highly based on renewable sources, the emissions of CO 2 by consuming electricity will be lower than if consuming natural gas. The annual results follow the trend of the results obtained for the day 7 January 2019.
Future work should address the integration of the restrictions of the gas network and the models of shiftable loads, such as washing machines and dryers. Other energy vectors could also be integrated, like hydrogen or district heating. The utilization of the flexibility provided by MES buildings in energy markets, trough multi-energy aggregators, should also be studied. Other points to be taken in consideration and that should be further studied are the fixed costs in the consumer ’s tariffs and the costs of DR programs. For planning purposes, investment costs should also be a matter of study.

Author Contributions

A.C.: conceptualization, methodology, software, writing—original draft, visualization. F.S.: conceptualization, methodology, writing—original draft, supervision. J.P.L.: writing—review and editing, supervision. All authors have read and agree to the published version of the manuscript.

Funding

This work is financed by the FCT—Fundação para a Ciência e a Tecnologia (Portuguese Foundation for Science and Technology) within the grant PD/BD/142811/2018.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

Parameters and Variables
PActive power [kWh]
QReactive power [kVar]
ICurrent [A]
VVoltage [V]
vVolume [m 3 ]
rResistance [ Ω ]
RThermal resistance [ C/kW]
xReactance [ Ω ]
XThickness of the walls [m]
Θ Temperature of the room [ C]
β Thermal constant ( β = e Δ t C R )
A C H Infiltration rate [air changes per hour—ACH]
lHeat gain and losses [ C]
CThermal capacitance [kWh/ C]
cSpecific heat capacity [J/g· C]
C V Volumetric heat capacity [kJ/m 3 · C]
kThermal conductivity of the material [kW/m· C]
AArea [m 2 ]
aInsulation [kWh/ C]
dDensity of the materials of the walls [ g / m 3 ]
mSupply air flow rate [cfm, cubic feet per minute]
η Efficiency [%]
C O P Coefficient of performance
ε System inertia
LLoad
bBinary variable
S O C State-of-charge
EEnergy flow between resources [kWh]
IEnergy input of the energy hub [kWh]
OEnergy output of the energy hub [kWh]
π Price [€ /kWh] or [€/ C]
C o s t Cost [€]
Subscripts
tTime interval
i , j , k Item belonging to a set
tTime interval
0Initial time
w i n d Wind generator
P V PV generator
OOutside
hHeating vector
cCooling vector
gGas vector
wElectricity vector
CDischarge
c o n s u m e r Consumer
D R Demand response
+ , Increase, decrease
a i r Air
Superscripts
I n f Infiltration
w a l l Wall
c o i l Coil
f a n Fan
w a t e r Water
r e f r Refrigeration system
e q u i p Electrical equipment
c o o k Cooking
l i g h t Lighting
i n Input
o u t Output
E V Electrical vehicle
s t o t Storage system
n e t Network
c h Charging
d i s Discharging
n e t Network
v i o l Voltage violation
C O 2 Carbon dioxide
Sets
N L Electrical network load
N B Electrical network bus
N W Electrical network wind generator
N P V Electrical network PV
REnergy hub room
NEnergy hub network
CEnergy hub converter
SEnergy hub storage
LEnergy hub load
E V xEnergy hub EV
P V Energy hub PV
MFan supply air flow values ε
Symbols
^ Parameter defined by consumer
A ¯ , A ̲ Maximum, minimum

Appendix A. Parameters of the Models

Table A1. Summary of the parameters used in the models presented in Section 3.4.
Table A1. Summary of the parameters used in the models presented in Section 3.4.
ParameterDescriptionValue
c a i r Specific heat capacity of air1.09 J/g· C
η h , c o i l Efficiency of heating coil0.98
η c , c o i l Efficiency of cooling coil0.98
C O P h , c o i l COP of heating coil3.45
C O P c , c o i l COP of cooling coil4.45
Θ t C , c Discharging cooling air temperature12.5 C
Θ t C , h Discharging heating air temperature50 C
b 1 Parameter 1 of the fan model 2 . 57 × 10 12
b 2 Parameter 2 of the fan model 4 . 45 × 10 9
b 3 Parameter 3 of the fan model 1 . 46 × 10 4
b 4 Parameter 4 of the fan model 4 . 71 × 10 3
c w Specific heat capacity of water4.18 J/g· C
Θ j w a t e r , i Initial temperature of water15 C
C O P r e f r COP of refrigeration systems3
a (Residential)Insulation of residential refrigeration systems15 kJ/ C
a (Supermarket)Insulation of supermarket refrigeration systems850 kJ/ C

Appendix B. Average Values Per Month

Figure A1. Average daily wind generation profiles, per month.
Figure A1. Average daily wind generation profiles, per month.
Energies 13 02704 g0a1
Figure A2. Average daily PV generation profiles, per month.
Figure A2. Average daily PV generation profiles, per month.
Energies 13 02704 g0a2
Figure A3. Average daily temperature profiles, per month.
Figure A3. Average daily temperature profiles, per month.
Energies 13 02704 g0a3
Figure A4. Average daily electricity prices, per month.
Figure A4. Average daily electricity prices, per month.
Energies 13 02704 g0a4
Figure A5. Average gas prices, per month.
Figure A5. Average gas prices, per month.
Energies 13 02704 g0a5
Figure A6. Average daily profile of electricity generation from coal, per month.
Figure A6. Average daily profile of electricity generation from coal, per month.
Energies 13 02704 g0a6
Figure A7. Average daily profile of electricity generation from natural gas, per month.
Figure A7. Average daily profile of electricity generation from natural gas, per month.
Energies 13 02704 g0a7
Figure A8. Average daily CO 2 prices for electricity consumed, per month.
Figure A8. Average daily CO 2 prices for electricity consumed, per month.
Energies 13 02704 g0a8

References

  1. Agency, I.E. CO2 Emissions from Fuel Combustion: Overview; International Energy Agency (IEA): Paris, France, 2018. [Google Scholar]
  2. Agency, I.E. Renewables 2017: Analysis and Forecasts to 2022; Technical Report; International Energy Agency (IEA): Paris, France, 2017. [Google Scholar]
  3. Coelho, A.; Neyestani, N.; Soares, F.; Lopes, J.P. Wind variability mitigation using multi-energy systems. Int. J. Electr. Power Energy Syst. 2020, 118, 105755. [Google Scholar] [CrossRef]
  4. Geidl, M.; Koeppel, G.; Favre-Perrod, P.; Klöckl, B.; Andersson, G.; Fröhlich, K. The Energy Hub—A Powerful Concept for Future Energy Systems. In Proceedings of the Third Annual Carnegie Mellon Conference on the Electricity Industry, Pittsburgh, PA, USA, 13–14 March 2007; pp. 13–14. [Google Scholar]
  5. Wang, Y.; Zhang, N.; Kang, C.; Kirschen, D.S.; Yang, J.; Xia, Q. Standardized Matrix Modeling of Multiple Energy Systems. IEEE Trans. Smart Grid 2017, 10, 257–270. [Google Scholar] [CrossRef]
  6. Wang, Y.; Cheng, J.; Zhang, N.; Kang, C. Automatic and linearized modeling of energy hub and its flexibility analysis. Appl. Energy 2017, 211, 705–714. [Google Scholar] [CrossRef]
  7. Gimelli, A.; Muccillo, M.; Sannino, R. Optimal design of modular cogeneration plants for hospital facilities and robustness evaluation of the results. Energy Convers. Manag. 2017, 134, 20–31. [Google Scholar] [CrossRef]
  8. Mohiuddin, S.; Mahmud, M.; Haruni, A.; Pota, H. Design and implementation of partial feedback linearizing controller for grid-connected fuel cell systems. Int. J. Electr. Power Energy Syst. 2017, 93, 414–425. [Google Scholar] [CrossRef]
  9. Mukherjee, U.; Walker, S.; Maroufmashat, A.; Fowler, M.; Elkamel, A. Development of a pricing mechanism for valuing ancillary, transportation and environmental services offered by a power to gas energy system. Energy 2017, 128, 447–462. [Google Scholar] [CrossRef]
  10. Wasilewski, J. Integrated modeling of microgrid for steady-state analysis using modified concept of multi-carrier energy hub. Int. J. Electr. Power Energy Syst. 2015, 73, 891–898. [Google Scholar] [CrossRef]
  11. Moeini-Aghtaie, M.; Abbaspour, A.; Fotuhi-Firuzabad, M.; Dehghanian, P. Optimized Probabilistic PHEVs Demand Management in the Context of Energy Hubs. IEEE Trans. Power Deliv. 2015, 30, 996–1006. [Google Scholar] [CrossRef]
  12. Yazdani-Damavandi, M.; Moghaddam, M.P.; Haghifam, M.R.; Shafie-khah, M.; Catalao, J.P.S. Modeling Operational Behavior of Plug-in Electric Vehicles’ Parking Lot in Multienergy Systems. IEEE Trans. Smart Grid 2016, 7, 124–135. [Google Scholar] [CrossRef]
  13. Li, Z.; Wu, W.; Wang, J.; Zhang, B.; Zheng, T. Transmission-Constrained Unit Commitment Considering Combined Electricity and District Heating Networks. IEEE Trans. Sustain. Energy 2016, 7, 480–492. [Google Scholar] [CrossRef]
  14. Moeini-Aghtaie, M.; Abbaspour, A.; Fotuhi-Firuzabad, M.; Hajipour, E. A Decomposed Solution to Multiple-Energy Carriers Optimal Power Flow. IEEE Trans. Power Syst. 2013, 29, 707–716. [Google Scholar] [CrossRef]
  15. Dzobo, O.; Xia, X. Optimal operation of smart multi-energy hub systems incorporating energy hub coordination and demand response strategy. J. Renew. Sustain. Energy 2017, 9, 045501. [Google Scholar] [CrossRef]
  16. Hao, H.; Corbin, C.D.; Kalsi, K.; Pratt, R.G. Transactive Control of Commercial Buildings for Demand Response. IEEE Trans. Power Syst. 2017, 32, 774–783. [Google Scholar] [CrossRef]
  17. Vrettos, E.; Andersson, G. Scheduling and Provision of Secondary Frequency Reserves by Aggregations of Commercial Buildings. IEEE Trans. Sustain. Energy 2016, 7, 850–864. [Google Scholar] [CrossRef]
  18. Iria, J.; Soares, F.; Matos, M. Optimal bidding strategy for an aggregator of prosumers in energy and secondary reserve markets. Appl. Energy 2019, 238, 1361–1372. [Google Scholar] [CrossRef]
  19. Iria, J.P.; Soares, F.J.; Matos, M.A. Trading Small Prosumers Flexibility in the Energy and Tertiary Reserve Markets. IEEE Trans. Smart Grid 2018, 10, 2371–2382. [Google Scholar] [CrossRef]
  20. Lemmer, E.F.; Delport, G.J. The influence of a variable volume water heater on the domestic load profile. IEEE Trans. Energy Convers. 1999, 14, 1558–1563. [Google Scholar] [CrossRef]
  21. Mendes, L.A.; Freire, R.Z.; Coelho, L.d.S.; Moraes, A.S. Minimizing computational cost and energy demand of building lighting systems: A real time experiment using a modified competition over resources algorithm. Energy Build. 2017, 139, 108–123. [Google Scholar] [CrossRef]
  22. Stadler, M.; Krause, W.; Sonnenschein, M.; Vogel, U. Modelling and evaluation of control schemes for enhancing load shift of electricity demand for cooling devices. Environ. Model. Softw. 2009, 24, 285–295. [Google Scholar] [CrossRef]
  23. Lopes, J.A.; Soares, F.J.; Almeida, P.M. Integration of electric vehicles in the electric power system. Proc. IEEE 2011, 99, 168–183. [Google Scholar] [CrossRef] [Green Version]
  24. Vrettos, E.; Kara, E.C.; MacDonald, J.; Andersson, G.; Callaway, D.S. Experimental Demonstration of Frequency Regulation by Commercial Buildings—Part I: Modeling and Hierarchical Control Design. IEEE Trans. Smart Grid 2018, 9, 3213–3223. [Google Scholar] [CrossRef] [Green Version]
  25. Mohammad, N.; Rahman, A. Transactive control of industrial heating–ventilation–air-conditioning units in cold-storage warehouses for demand response. Sustain. Energy Grids Netw. 2019, 18, 100201. [Google Scholar] [CrossRef]
  26. Yudong, M.; Borrelli, F. Fast stochastic predictive control for building temperature regulation. In Proceedings of the 2012 American Control Conference (ACC), Montreal, QC, Canada, 27–29 June 2012; pp. 3075–3080. [Google Scholar] [CrossRef]
  27. Iria, J.; Soares, F. A cluster-based optimization approach to support the participation of an aggregator of a larger number of prosumers in the day-ahead energy market. Electr. Power Syst. Res. 2019, 168, 324–335. [Google Scholar] [CrossRef]
  28. Baran, M.; Wu, F. Optimal sizing of capacitors placed on a radial distribution system. IEEE Trans. Power Deliv. 1989, 4, 735–743. [Google Scholar] [CrossRef]
  29. Baran, M.; Wu, F. Optimal capacitor placement on radial distribution systems. IEEE Trans. Power Deliv. 1989, 4, 725–734. [Google Scholar] [CrossRef]
  30. Gan, L.; Low, S.H. Convex relaxations and linear approximation for optimal power flow in multiphase radial networks. In Proceedings of the 2014 Power Systems Computation Conference, PSCC 2014, Wroclaw, Poland, 18–22 August 2014. [Google Scholar] [CrossRef] [Green Version]
  31. Yeh, H.G.; Gayme, D.F.; Low, S.H. Adaptive VAR control for distribution circuits with photovoltaic generators. IEEE Trans. Power Syst. 2012, 27, 1656–1663. [Google Scholar] [CrossRef]
  32. Melby, P.; Cathcart, T. Regenerative Design Techniques: Practical Applications in Landscape Design; Wiley: Hoboken, NJ, USA, 2002; p. 410. [Google Scholar]
  33. Nicklas, S. ASHRAE Handbook HVAC Systems and Equipment; Technical Report 28; American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE): Atlanta, GE, USA, 2016. [Google Scholar]
  34. Park, S.Y.; Cho, S.; Ahn, J. Improving the quality of building spaces that are planned mainly on loads rather than residents: Human comfort and energy savings for warehouses. Energy Build. 2018, 178, 38–48. [Google Scholar] [CrossRef]
  35. Ryder-Cook, D.; Mackay, D. Thermal Modelling of Buildings. Available online: https://inference.org.uk/is/papers/DanThermalModellingBuildings.pdf (accessed on 14 February 2019).
  36. Commercial Reference Buildings|Department of Energy. Available online: https://www.energy.gov/eere/buildings/new-construction-commercial-reference-buildings (accessed on 11 April 2019).
  37. Kelman, A.; Borrelli, F. Bilinear Model Predictive Control of a HVAC System Using Sequential Quadratic Programming. IFAC Proc. Vol. 2011, 44, 9869–9874. [Google Scholar] [CrossRef] [Green Version]
  38. Meteogalicia. Datos Históricos das redes de Estacións. Available online: https://www.meteogalicia.gal/web/inicio.action (accessed on 11 April 2019).
  39. ENTSOE. Day-Ahead Prices. Available online: https://transparency.entsoe.eu/transmission-domain/r2/dayAheadPrices/show (accessed on 27 August 2019).
  40. MIBGAS (Mercado Ibérico del Gas). Datos Gas. Available online: http://www.mibgas.es/pt/mercados-gas (accessed on 27 August 2019).
  41. Insider, M. CO2 European Emission Allowances. Available online: https://markets.businessinsider.com/commodities/co2-european-emission-allowances (accessed on 16 May 2020).
  42. Quaschning, V. Regenerative Energiesysteme Technologie, Berechnung, Klimaschutz; Hanser: Munich, Germany, 2019. [Google Scholar]
  43. REN. Produção Verificada—Sistema de Informação de Mercados de Energia. Available online: http://www.mercado.ren.pt/PT/Electr/InfoMercado/Prod/Paginas/Verificada.aspx (accessed on 16 May 2020).
  44. U.S. Energy Information Administration. Monthly Energy Review; Technical Report; U.S. Energy Information Administration (EIA): Washington, DC, USA, 2020.
  45. PyCharm: The Python IDE for Professional Developers by JetBrains. Available online: https://www.jetbrains.com/pycharm/ (accessed on 19 March 2019).
Figure 1. Example of an energy hub scheme.
Figure 1. Example of an energy hub scheme.
Energies 13 02704 g001
Figure 2. Energy hub management system scheme, adapted from [27].
Figure 2. Energy hub management system scheme, adapted from [27].
Energies 13 02704 g002
Figure 3. Scheme of a heating, ventilation and air conditioning (HVAC) system [37].
Figure 3. Scheme of a heating, ventilation and air conditioning (HVAC) system [37].
Energies 13 02704 g003
Figure 4. Adapted IEEE 37 node test feeder.
Figure 4. Adapted IEEE 37 node test feeder.
Energies 13 02704 g004
Figure 5. Profiles of solar and wind generation.
Figure 5. Profiles of solar and wind generation.
Energies 13 02704 g005
Figure 6. Profiles of outside temperature.
Figure 6. Profiles of outside temperature.
Energies 13 02704 g006
Figure 7. Electricity and gas prices.
Figure 7. Electricity and gas prices.
Energies 13 02704 g007
Figure 8. Voltages in the buses at 6 h (peak hour).
Figure 8. Voltages in the buses at 6 h (peak hour).
Energies 13 02704 g008
Figure 9. Voltages during the day at bus 20.
Figure 9. Voltages during the day at bus 20.
Energies 13 02704 g009
Figure 10. Power consumed in the network.
Figure 10. Power consumed in the network.
Energies 13 02704 g010
Figure 11. Gas consumed in the network.
Figure 11. Gas consumed in the network.
Energies 13 02704 g011
Figure 12. Total flexibility offered by electrical and MES buildings.
Figure 12. Total flexibility offered by electrical and MES buildings.
Energies 13 02704 g012
Figure 13. Total flexibility offered by residential and commercial buildings.
Figure 13. Total flexibility offered by residential and commercial buildings.
Energies 13 02704 g013
Figure 14. Power consumed for lighting in the supermarket.
Figure 14. Power consumed for lighting in the supermarket.
Energies 13 02704 g014
Figure 15. Temperature and power consumed for heating in the main room of the supermarket.
Figure 15. Temperature and power consumed for heating in the main room of the supermarket.
Energies 13 02704 g015
Figure 16. Temperature and power consumed by the refrigeration systems of the supermarket.
Figure 16. Temperature and power consumed by the refrigeration systems of the supermarket.
Energies 13 02704 g016
Figure 17. Temperature and power consumed for heating the water in a hospital.
Figure 17. Temperature and power consumed for heating the water in a hospital.
Energies 13 02704 g017
Figure 18. Electrical vehicles (EVs) charging power in a medium size office.
Figure 18. Electrical vehicles (EVs) charging power in a medium size office.
Energies 13 02704 g018
Figure 19. EVs discharging power in a medium size office.
Figure 19. EVs discharging power in a medium size office.
Energies 13 02704 g019
Figure 20. Provision of heat and electricity by the combined heat and power (CHP) unit of the supermarket.
Figure 20. Provision of heat and electricity by the combined heat and power (CHP) unit of the supermarket.
Energies 13 02704 g020
Figure 21. Annual consumption of electricity and gas.
Figure 21. Annual consumption of electricity and gas.
Energies 13 02704 g021
Figure 22. Annual emission of CO 2 .
Figure 22. Annual emission of CO 2 .
Energies 13 02704 g022
Figure 23. Annual costs of electricity, gas, CO 2 emissions and DR programs.
Figure 23. Annual costs of electricity, gas, CO 2 emissions and DR programs.
Energies 13 02704 g023
Table 1. Information of the buildings in the network.
Table 1. Information of the buildings in the network.
BuildingsBusNumber of BuildingsOther Loads
Residential5, 8, 9, 16, 18, 1910, 5, 5, 5, 5, 5Refrigeration, Water
Small Office12, 145, 5Water
Medium Office3, 111, 1Water
Warehouse17, 211, 1-
Supermarket201Refrigeration, Water
Hospital71Water
Table 2. Maximum power of resources: only electrical buildings vs. Multi-Energy System (MES) buildings.
Table 2. Maximum power of resources: only electrical buildings vs. Multi-Energy System (MES) buildings.
Resources (kWh)
BuildingsElectricalMES
EBHPACGBCHPHPAC
Residential1111-11
Small Office10-5510-5
Medium Office100-7550100-75
Warehouse50505050-5050
Supermarket-10050-505050
Hospital200-100100300-100
Table 3. Annual consumption of electricity and gas in each scenario.
Table 3. Annual consumption of electricity and gas in each scenario.
CaseElectricity (MWh)Gas (MWh)
Electrical without optimization50353
Electrical with optimization47503
MES without optimization33722028
MES with optimization33281904

Share and Cite

MDPI and ACS Style

Coelho, A.; Soares, F.; Peças Lopes, J. Flexibility Assessment of Multi-Energy Residential and Commercial Buildings. Energies 2020, 13, 2704. https://doi.org/10.3390/en13112704

AMA Style

Coelho A, Soares F, Peças Lopes J. Flexibility Assessment of Multi-Energy Residential and Commercial Buildings. Energies. 2020; 13(11):2704. https://doi.org/10.3390/en13112704

Chicago/Turabian Style

Coelho, António, Filipe Soares, and João Peças Lopes. 2020. "Flexibility Assessment of Multi-Energy Residential and Commercial Buildings" Energies 13, no. 11: 2704. https://doi.org/10.3390/en13112704

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

Article Metrics

Back to TopTop