1. Introduction
Energy flexibility on the electricity market is a high focus area in modern energy policies scoping in on storage (e.g., batteries, fuel cells, hydro reservoirs, thermal) and flexible demand (e.g., heat pumps, electric cars) [
1]. The aim is to decrease CO
emissions by meeting the fluctuating proportion of renewable sources (e.g., solar, wind) vs nonrenewable sources (e.g., coal, gas, nuclear). Ideally, in the future, electricity users (the demand) will respond to the renewable power generation levels in an attempt to minimize emissions—in a 100% renewable scenario storage and flexibility is a must for operating the power system [
2].
Therefore, methods for identifying the flexibility potential in various applications are developed. In Reference [
3], the energy flexibility potential in buildings is identified by the so-called
Flexibility Index, which is the energy cost, from a penalty-aware control, relative to a penalty-ignorant control. The penalty could be for example, a CO
or price signal. The present paper investigates the energy flexibility potential in buildings with a focus on heat pumps.
Heat pumps have different sizes and applications, from small single building heat pumps to large heat pumps for district heating. The scope of the present study is limited to investigate the increasing potential in single building heat pumps—which has been almost four-fold from 2011 to 2019 while the number of oil-fired boilers have decreased by roughly one third in the same period [
4]. Many oil-fired boilers are replaced with heat pumps—due to both economic and environmental benefits and political pressure (bans of oil-fired boilers in certain districts for new buildings [
5].) The control of the heating, however, are often simple thermostatic controls. This often results in heating when electricity demand is high (e.g., afternoon and evening peaks), leading to increased system stress, resulting in increased fossil fuel consumption. It is, therefore, an opportunity to shift the demand away from peak hours using the heat-storing potential of the buildings.
In a power system, the generator which is responding to small changes in demand (e.g., start-up of a heat pump) is called the marginal generator. A reasonable estimate of the marginal generator is achieved by using price signals, see
Figure 1—the merit order illustrated with a supply/demand curve; the
x-axis has the accumulated supply generators and the y-axis is the corresponding price. A small increase in demand (dashed blue line) illustrates the marginal generator—in this case, a coal fired Combined Heat and Power (CHP) plant.
Due to both grid stability, economic and environmental benefits, day-ahead spot price-based control strategies have been proposed in recent papers [
6,
7,
8], using occupancy mode detection and rule-based price control and Model Predictive Control (MPC) (a multivariate predictive control algorithm using a dynamic process model, constraints and a cost function to be minimized). In Reference [
6], MPC is used with varying electricity prices to minimize the cost of operating a heat pump connected to a storage unit and a floor heating system. The control only heats at night, where the prices are low, and it is assumed that the heat pump and storage are large enough to accumulate enough heat for the whole day. Cost savings of between 25% to 30% are obtained. MPC is a well-known concept in building automation control literature [
9,
10,
11,
12,
13], and proven to be promising with respect to minimizing costs, but a broad practical implementation still has various challenges discussed in Reference [
14].
In Reference [
10], the importance of occupancy information is highlighted and evaluated on a daily basis. However, a higher resolution is needed to incorporate variations throughout the day (e.g., when people are at work). In the study in Reference [
7] occupancy modes are used together with price signals to control a heat pump. The occupancy modes were developed in The Olympic Peninsula project [
15] and describe
work, night and
home mode, each with a corresponding set point and price sensitivity. The study showed a significant level of load shifting, leveling out the normal peaks in the daily demand curve. A self-learning controller was applied and adapts easily to changing consumer habits.
There is a problem with spot prices though, known as the merit order emission dilemma, as illustrated in Reference [
16] for the German-Austrian power market: The price for coal is low but the emissions are high. A price-based control, therefore, only leads to a decrease in emissions if there is a surplus of renewable energy (more renewable energy than needed)—otherwise coal is favored, and it is therefore encouraged to use CO
emission signals instead.
For CO
emissions, two distinct measures are used: average and marginal emission intensities, both with the units
. Average emissions correspond to the overall, for example, region-wide, electricity production including net imports. The marginal reflects the emissions of the marginal generator. The concepts are compared in Reference [
17] and the importance of distinguishing between the two is highlighted due to their very opposing patterns. It is emphasized that the marginal emission is the most optimal signal to use for control.
In Reference [
8], the average CO
emission intensity and price signals are used in heat pump control of residential buildings in Norway (known for low emissions due to large amount of hydropower) with Predictive Rule-Based Control (uses predefined thresholds to give information about when the emissions are low). it is concluded that with price-based control, the overall CO
emissions have actually increased (evaluated using the average emissions). It is argued to result from the load being shifted to the night time, where cheap carbon-intensive electricity is imported from the continental European power grid. This is either a great example of the merit order dilemma or a result that may have been different if marginal emissions had been used.
A recent study [
18] investigated marginal emissions and uses estimates provided by Tomorrow (
www.tmrow.com) to develop a 24-h forecast using a machine learning approach on historical data. The CO
estimates are calculated with the empirical method developed in Reference [
19] using historical data from European bidding zones. The chain of imports (the so-called flow tracing, originally introduced in Reference [
20,
21]) is followed to assess the impact of a specific generator or load on the power system. This is a large scale solution using data from the majority of bidding zones around the world.
In the present study, MPC is used for control for heating a building. This allows using knowledge of future indoor climate states, CO
emissions and weather conditions to schedule heat pump operation. It is a linear approach, which has its limits and requires simplifications, investigated and discussed in Reference [
22]. The simplifications include neglecting the effect on the efficiency from factors, for example, frequency variations in the compressor (a main component in a heat pump) and temperature variations. The paper concludes that neglecting these factors can lead to significant errors. The frequency variations are, however, are not used in this study. From Reference [
22], the frequency is noticed to be the least important factor and is specifically justified when using varying electricity prices, because the heat pump mostly operates at nominal speed to maximize the heat output when prices are low. The impact from the outdoor temperature is accounted for—this is important because it means the efficiency is lower during the night, where also the emissions are low.
In order to model the heat dynamics in the building, a lumped dynamic process model is applied [
23]. A tricky part is to determine the values of the parameters appropriately, for example, insulation level and heat capacity: if the right type of measured data is available, the parameters can be estimated [
24], or they can be calculated according to physics. In the present study physics are used and a sensitivity analysis is carried out to map the impact of parameters on the CO
savings potential. Such a sensitivity analysis is lacking in the literature. In some papers transparency is lost, since the impact of the parameters is not elucidated, thus increasing the risk of biased results. This paper addresses both of these issues by using historic danish building codes from 1977 and later to describe the insulation thickness as a parameter along with the heat pump size and thermal capacity of floor in two hypothetical buildings: a family house and an office building. Further, the impact of using forecasts is assessed by comparing the savings achieved with known future weather (perfect forecasts) vs. real forecasts.
It is noted that the emission saving potential using an MPC, that is, flexible demand, is measured as CO emission savings relative to classical thermostatic control, that is, non-flexible demand. Hence, the results express only the potential of energy flexibility, not the absolute emission savings.
In
Section 2, the weather data and marginal CO
emissions are presented. The dynamic process model is presented in
Section 3 as an RC-diagram together with the MPC which is written up as a linear programming formulation. The efficiency of the heat pump is modelled as a temperature-dependent variable but neglects the compressor frequency. In
Section 4 the building codes, temperature settings and model parameters are discussed. The results are presented in
Section 5 as graphs showing the CO
emission reductions vs selected parameters—for example, heat pump size, concrete and building regulation year.
5. Results and Discussion
In this section, various conditions and parameters are evaluated, for example, effect of horizon length, heat pump size, insulation and concrete thicknesses. The radiator and floor heating system is compared throughout the analysis along with the family house versus the office building. The criteria to be optimized is the CO
emission savings. The total emissions are calculated from:
, where
n is the number of data points presented in
Section 2 (
) and the ‘Case’ denotes one of the three cases defined in
Section 4. The savings are thus calculated as the flexibility index [
32] by
As previously noted, this measure indicates the relative savings from utilizing the energy flexibility, hence not the absolute savings. If not otherwise stated the results are calculated with a building complying with BC
2018, see
Table 1.
The parameters that will be investigated are:
Heating system and varying set points: Both radiator and floor heating are considered and the use of varying set points (lower temperature during the night).
Horizon of forecasts: To get an idea about how long horizons actually are needed to get a well performing MPC.
Size of heat pumps: Essential for comparing the buildings and to know whether the potential is reached. Also economically, this is important because as the price increases with larger heat pumps. This will become a compromise between price and CO
emission. The default values for the family house and office are the minimum sizes required to meet the heat demand on the coldest day (−12
C); 3 and 13 kW
heat respectively Appendix (see
Appendix C for calculations). Requirements are thus a 1 and 4.3 kW input signal respectively according to Equation (
1).
Insulation and concrete thicknesses: These will be adjusted to see the impact of levels of insulation and heat capacity. The default thicknesses and material properties are shown in
Appendix C.
An example of the differences between the cases, and the radiator and floor heating, is illustrated in
Figure 5. The resulting electrical power and temperature for Case
Trivial and Case
Real on a four day period for the family house is shown. The result of Case
Trivial is slightly different for the two heating systems. With radiators, it needs to heat more continuously than the floor heating throughout the day. This is because the radiators transfer the heat directly to the internal air, and not through the large heat capacity in the floor, resulting in a much faster response. In both cases, the heating is switched off during the night time to reach the lower set point. However, the floor heating violates the temperature restrictions more during the morning while heating the house, which is due to its slow response. Case
Real seeks to only switch on the heat pump during low emission periods. The radiator system does this well, but it is clearly limited by the maximum indoor temperature limit and the power input decays immediately to avoid temperature violation. In the floor heating system, the heat pump can operate at full load for a longer time using the floor as storage. An interesting point is that using day and night profiles, Case
Real has no benefits of letting the temperature drop during the night because of: (i) the temperature response is too slow and (ii) the emissions are usually lowest during the night, so this is the best time to use the heat pump. Contrarily, the indoor temperature in the radiator system occasionally drops during the night if there is no significant drop in CO
emissions.
As expected, throughout almost a year ( h) the floor heating system provides slightly more flexibility and reaches savings of 11% against 9% using radiators for the whole year for CaseReal.
The control horizon needs to be sufficiently long for the MPC to provide flexibility to the system (
Figure 6). Note, the savings from floor heating become negative when using low control horizons. The nightly setback causes that; Case
Trivial switches on at six AM every morning and the emission peak is happening already at four AM (
Figure 7). For example, when using a two-hour control horizon, the heat pump will be forced to switch on at four AM instead and thus increase the emissions.
Interesting to note is the changing behaviour of the curves around the eight hours horizon: Case in the family house with radiators has no savings up until this point. Like any other energy storage, a loss is introduced, in this case, by an increase in temperature resulting in a higher heat loss. Therefore, the MPC will only store heat if the CO variations are large enough for the resulting emissions to break even with the increased losses. These variations become sufficiently large around eight hours. This is less of a problem for the floor heating system, as the loss is much lower. This behaviour is less pronounced in the office building with radiators because the volume to surface area increases with larger buildings, hence the heat capacity increases relative to the surface area.
The loss in savings due to forecast errors, can be found from the difference between Ideal and Real. The radiator system is close to reaching its full potential, where the floor heating still can improve maximum about 5% savings from better forecasts.
Finally, it is noted, that there is still an increase in savings at the 24 h horizon, for all scenarios, indicating that even longer horizons will lead to further increase in savings.
Increasing the heat pump size can lead to slightly higher savings (
Figure 8), as more heat can be produced around the small-time slots with low emission. This is especially true when using floor heating, due to the high heat capacity in the floor. For the radiator systems, there is no significant gain for either the family house nor the office building. For the family house with floor heating, there is a relatively large gain when considering Case
, while Case
only reaches a slight improvement. There are significantly higher savings to achieve from Case
in the office building; because of the larger floor to wall area ratio (more heat capacity relative to the area the heat can escape through), a larger heat pump can accumulate more heat and thereby increase the flexibility.
The impact from insulation is evaluated with respect to the development of building codes from 1977 and forward, which has been an increase in insulation, window and door requirements (see
Table 1 for building code specs and corresponding physical values). Another important aspect is the concrete thickness in the floor because it increases the heat capacity and thus the heat storage capabilities. Generally, BC
houses have very minimal because of the low insulation restrictions—significantly improved in BC
(
Figure 9 and
Table 3). However, the office building using floor heating can provide savings of around 9% with 200 mm of floor concrete and following BC
restrictions. This is due to the floor to wall ratio—the larger it is, the more the concrete thickness in the floor can contribute, and the less the insulation in the walls contributes.
For radiator heating, the concrete thickness in the floor is not very important for the savings. Still, adding 50–80 mm can increase the savings by around 2.5–4% (
Table 3), but any thicker layer will not increase the savings at all (i.e., the red colored area in the graphs for radiator heating can hardly be seen—
Figure 9). The insulation thickness in the office building using radiators seems saturated after BC
. This may seem counter-intuitive, but in reality, with high thermal resistance, the model becomes more rigid and therefore, less flexibility is allowed to occur. Of course, the absolute CO
2 emission savings will increase with more insulation.
Floor heating in a thick concrete floor provides the most flexibility in both buildings (around 16–17% in both with 200 mm concrete and BC). This setup exploits the full potential of the large heat storage in the floor, but lacks to exploit the nightly decrease in set point, because of the slow temperature response. With only 10 mm of concrete, the savings are almost identical for radiator and floor heating (about 6% with BC in all cases). Note that a concrete thickness of 10 mm is not common practise.
This study only measured the relative savings, but the absolute savings will, of course, also increase with more insulation. Therefore, if a house is not well insulated, the first attempt to decrease CO
emissions should be to reduce the heat demand by adding insulation before trying to optimize the control. As a result of new regulations in BC
, buildings in Denmark built before 1979 have been increasingly re-insulated to decrease the heat demand and costs. In Reference [
33], it is found that the actual heat demand is on average lower than the theoretical calculations based on registered building data. This could imply that buildings indeed are re-insulated without further registration.
Most buildings in Denmark are built before 1979 [
4], and this group is therefore the best representative for the potential buildings—floor heating is rarely the main heating system in this group. It would thus follow the early end of the radiator curves in
Figure 9 with re-insulated buildings likely to comply with BC
. Therefore, between 4% and 7% of savings can be expected. However, new buildings complying with BC
envelope requirements and floor heating installed may reach savings of nearly 17%. Often, buildings combine radiators and floor heating and rely not only on one or the other, thus in reality have the advantages from both systems can be utilized depending on the heated rooms. Recall from
Figure 5, the radiators are good at quick responses and therefore allows the temperature to decrease during the night contrarily to the floor heating. However, it has little capability of storing heat for more extended periods. The potential for this is open to further studies.
The average daily load for a BC
family house has shifted significantly (
Figure 7). The trivial control follows to a certain degree the emissions throughout a day. The natural need for heating is therefore very inconvenient for the emissions and illustrates why energy flexibility is important. The MPC smooths the load during the day, decreasing it at otherwise peak hours and shifts most of the load to operate at midnight despite the lower temperature set point. This illustrates the importance of predictive control—if all houses follow the same schedule, there will be a need for much more additional storage capacity.
In general, this study can be relevant to buildings and scenarios with similar characteristic and climate conditions. Especially in the Nordic countries where the heating system comprises a large chunk of the electricity consumption. In warmer climates the study could be converted into air conditioning rather than heating. The wind and solar power production share was 36% in the examined region for the one year period in 2017 and 2018. The results will change depending on the conditions for example, with higher levels of fluctuating renewable generation in the future [
34]. In a 100% renewable scenario it is of course not meaningful to use the CO
emissions as minimizing objective, however utilizing energy flexibility will be vital [
35].
Model Simplification
The results are based on calculations using a simplified building model of a simplified building with only a single room. If more rooms are considered, it would add more heat capacity from walls dividing the rooms. This could increase the savings. Furthermore, a storage tank could have been added, which also could increase the savings as it would boost energy flexibility.
Disturbances, other than solar radiation and ambient temperatures, have been neglected in this study, for example, human activity. It is left as a point for future studies to include and assess the impact of building usage in the models and analysis.