This section verifies the effectiveness of the proposed strategy through the case study. Based on the heating application circumstances in cold weather, operation effects under different operating modes are compared. The optimization problem is solved in the Matlab R2023a platform. The hardware environment of the PC is Intel (R) Core (TM) i7-10700K CPU @ 3.80 GHz with 32 GB RAM.
4.2. Results Analysis
To highlight the superiority of the proposed strategy, four cases are set to compare, whose differences are clarified in
Table 2. In Case 1, the room temperature is set as a constant value rather than a range, and flexible loads are non-schedulable. In Case 2, the room temperature is still set as a constant value, but flexible loads are schedulable. In Case 3, the room temperature is considered a comfortable range for consumers, and flexible loads are non-schedulable. Case 4 is the proposed strategy with a comfortable temperature range and schedulable flexible loads.
The economy of different cases is shown in
Table 3. Case 4 has the best economy, while Case 1 has the worst. Case 1 does not schedule flexible loads and utilize the thermal inertia of buildings to respond to the power price, so the payment to the grid for purchasing power is the highest. Case 2 gives full play to the flexible loads. The loads in peak periods of power price are curtailed or transferred to the valley periods, which can reduce the payment for purchasing power compared to Case 1. Case 3 utilizes the thermal storage characteristics of the buildings to flexibly adjust the HVAC power while meeting consumers’ comfort needs. Therefore, the HVAC power in the peak period is reduced, which decreases the payment to the grid compared to Case 1. Case 4 combines the advantages of Case 2 and Case 3 while leveraging the regulation potential of curtailable loads, transferrable loads, and HVACs, maximizing the economy of smart buildings. In terms of numerical comparisons, the total payments of Case 1, 2, and 3 are 10.4%, 5.7%, and 4.6% higher, respectively, compared to Case 4.
The curves of HVAC power under different operation modes are shown in
Figure 7. In Case 2, the HVAC needs to maintain the room temperature at a fixed value, which is 22 °C in this section. Thus, the flexibility of HVACs and the thermal inertia of buildings have not been fully explored. The weak sensitivity of humans to small changes in temperature has not been fully utilized. Case 4 allows the room temperature to fluctuate within an acceptable range for consumers, bringing considerable adjustable margin to HVAC power. It can be seen from
Figure 7 that the HVAC power of Case 4 is lower than Case 2 at peak periods of power price and higher than Case 2 at valley periods of power price. This is because the proposed strategy utilizes the thermal inertia of buildings to store heat in advance during periods of low power prices, thereby reducing HVAC power during peak periods of power price and then decreasing power purchase costs. The temperature curves are shown in
Figure 8. In Case 2, the room temperature curve is a horizontal line, which means the indoor temperature remains at a stable level, evidencing that the supply air temperature fluctuates with the outdoor temperature. The lower the ambient temperature, the higher the supply air temperature. In Case 4, as mentioned above, smart buildings store heat by increasing indoor temperature to save on power payments, resulting in an additional increase in supplied air temperature on the basis of fluctuations with outdoor temperature.
Ambient temperature is a crucial factor influencing the HVAC system operation that can significantly affect the energy consumption of smart buildings.
Figure 9 illustrates the change in HVAC power caused by decreasing different temperatures from the original outdoor temperature (shown in
Figure 4). As we can see, the trends of the curves are similar, but lower outdoor temperatures result in higher HVAC power. This is because lower outdoor temperatures cause more heat to be lost from the buildings, requiring higher heating power of HVACs to maintain users’ needs.
Moreover, the differences between fixed and time-variant power prices are compared in
Table 4, ensuring the mean values of power prices in these two cases are the same. As we can see, the total payment for the building energy system with time-variant power prices is lower. Since the advantage of smart buildings is they can adjust the strategies according to the fluctuations in power prices, they reduce operating costs. If the power prices are fixed, the flexibility of smart buildings is not fully utilized, leading to a lower payment to the consumers and a higher payment to the grid.
In addition to HVACs, reducing and transferring loads can also flexibly respond to changes in power prices. The effects comparison is shown in
Figure 10. As we can see, Case 4 curtails part of the loads and transfers some loads out of the peak periods of power price. Therefore, compared to Case 3, loads in Case 4 are more distributed in periods of low power price rather than periods of high power price, which can further decrease the economic cost of smart buildings.
The ESS can reduce the impact of PV uncertainty to a certain extent. The ESS power is shown in
Figure 11, where positive values mean charging power and negative values mean discharging power. As shown in the figure, ESS experiences three charging behaviors. The first time is to replenish energy to ESS in advance during the low power price periods. The second time occurs when there is excess power caused by high PV output. The last time is to supplement the SOC of ESS to the initial value. The ESS in other time periods operates on discharging mode to support the loads of smart buildings. In Case 4, the total payments with and without ESS are USD 1542.4 and USD 1649.9, respectively, which also confirms the importance of ESS for the economic operation of smart buildings.
For different parameters of the energy storage system, we carried out the corresponding comparative validation, which is shown in
Table 5. It can be concluded that the decrease in maximum power of charging and discharging, charging and discharging efficiency, and energy capacity will increase the total payment, which means less economy.
The purchased power from the grid is shown in
Figure 12. Case 4 requires the least amount of power to be purchased during peak power price periods, while Case 1 requires the most. This is also one of the reasons that Case 4 has the best economy. Moreover, the peak–valley differences of transformer load are shown in
Table 6. It can be seen that Cases 3 and 4 have a smaller peak–valley difference than Cases 1 and 2, indicating the time-lag characteristics of the adjustable indoor temperature give a larger margin to HVAC to reduce the peak–valley difference.
To explore the influence of consumers’ comfort ranges on the operation of smart buildings, the impact of different range sizes on the economy is compared, and the results are shown in
Table 7. As the consumers’ comfort range gradually expands, the economic cost of smart buildings gradually decreases. This is because the larger the temperature comfort range, the more it can fully utilize the thermal inertia of the building and the flexible regulation ability of HVACs, thereby improving the operational status of smart buildings.
To verify the scalability and effectiveness of the proposed strategy, a comparative analysis is conducted on smart building aggregation of different scales. The results are shown in
Table 8. Among smart building aggregations of different scales, Case 4 still has the best economy, and its advantages become more significant as the scale increases.
To verify the superiority of the DRO-based operation model of the building energy system, the comparison between stochastic programming, robust optimization, and DRO is conducted.
Figure 13 shows the economy of the building energy system with different sample sizes. From the figure, we can see that the cost of DRO falls between the costs of stochastic programming and robust optimization, which means the adopted method is neither overly conservative like robust optimization, nor overly optimistic like stochastic programming.
Table 9 shows the in-sample cost and out-of-sample costs of DRO and stochastic programming. As we can see, the larger the sample size, the lower the in-sample and expected out-of-sample costs of DRO. For stochastic programming, the larger the sample size, the higher the in-sample cost, but the lower the expected out-of-sample cost.