1. Introduction
As of 2024, China’s existing building stock has exceeded 70 billion square meters, with the construction sector emitting 5.31 billion tons of CO
2 equivalent annually, accounting for 48.3% of the nation’s energy-related carbon emissions [
1]. These figures underscore the strategic priority of energy conservation and decarbonization in the building sector to advance China’s carbon reduction goals [
2]. Zero-carbon buildings, which fully leverage renewable energy to meet annual energy demands and achieve carbon neutrality through advanced energy management systems, have gained global recognition. Internationally, this concept has catalyzed policy-driven initiatives and industrial practices aiming at sustainable development.
Ensuring the secure and stable operation of zero-carbon buildings without grid dependency necessitates a paradigm shift from traditional energy consumption to self-sufficient operation. While effective operational energy management is critical for this transition, maintaining energy autonomy during actual operation presents persistent technical challenges.
First, significant temporal volatility exists between local renewable energy generation and electricity demand [
3], with fluctuations exhibiting distinct characteristics across different time scales. Current research on energy system management primarily adopts a day-ahead-to-intraday perspective. For instance, a carbon trading-integrated day-ahead scheduling model was proposed in [
4] to minimize both carbon emissions and operational costs, where power-to-heat conversion and battery energy storage are employed during intraday phases to mitigate wind power forecasting errors. Reference [
5] proposes a day-ahead–intraday optimization model for zero-carbon energy systems combining seasonal hydrogen storage and battery storage, achieving zero-carbon, economic, and high-efficiency operation in isolated high-renewable systems. Reference [
6] introduces a carbon-constrained day-ahead–intraday optimal scheduling method, which accounts for dynamic carbon trading intervals, carbon quotas, and green certificate trading coefficients across multiple time scales, further reducing system-wide emissions. However, these studies rigidly follow day-ahead plans during intraday phases without dynamically adapting scheduling strategies to real-time variations, prioritizing system stability over flexibility.
Second, the operational management of zero-carbon buildings faces uncertainties. Influenced by natural conditions and external factors, intraday short-term forecasts for renewable generation and load demand exhibit inherent fuzziness [
7]. Ignoring such fuzziness in energy optimization risks operational failures. Existing approaches for addressing source-load uncertainties include multi-scenario analysis, robust optimization, and fuzzy chance-constrained programming (FCCP). Multi-scenario methods construct representative scenario sets to balance optimization outcomes across diverse conditions [
8], yet their computational intensity and prolonged solving times [
9] limit applicability to longer-term scheduling. Robust optimization ensures feasibility under worst-case scenarios [
10] but suffers from excessive conservatism, leading to the underutilization of resources [
11]. In contrast, FCCP models uncertainties within fuzzy domains [
12], enabling the flexible adjustment of robustness via confidence levels while maintaining computational efficiency.
Reference [
13] employs a K-means-based scenario generation method to create typical day-ahead and intraday renewable energy output uncertainty scenarios. Stochastic optimization is subsequently applied to derive renewable energy supplier bidding strategies. References [
14,
15] utilize Monte Carlo simulation to generate multiple probabilistic source-load scenarios, enabling the stochastic optimization of energy management systems under renewable and load uncertainties, thereby enhancing system flexibility. Reference [
16] proposes an adjustable robust optimization method to address the conservatism of traditional robust approaches. However, its worst-case scenarios rely on historical datasets, limiting applicability to unseen extreme conditions. Reference [
17] integrates FCCP to handle wind power and load demand uncertainties while resolving multi-objective weight allocation via an improved analytic hierarchy process. Reference [
18] introduces a credibility theory-based Integrated Energy Service Provider (IESP) robust fuzzy trading strategy, balancing economic efficiency and robustness to mitigate the over-conservatism of conventional robust optimization. The comparison of the three uncertainty treatment methods is shown in
Table 1.
This paper proposes an intraday energy optimization method for zero-carbon buildings under fuzzy source-load uncertainties. First, intraday short-term PV output and load demand are modeled within a fuzzy space, establishing fuzzy chance constraints based on source-load uncertainties. To further enhance indoor thermal comfort, the proposed model enforces energy self-sufficiency as a hard constraint, prioritizes thermal comfort as the primary objective, and balances power adjustment equilibrium as a secondary objective. A goal programming approach holistically addresses these multi-objective trade-offs. FCCP quantifies decision risks, ensuring that energy dispatch plans satisfy constraints with a predefined confidence level. Finally, a forward-looking intraday optimization framework dynamically refines energy dispatch decisions across daily time slots, improving operational feasibility.
2. Zero-Carbon Building Model Construction
This section establishes the mathematical foundation for zero-carbon building operation by developing three core component models: renewable energy generation, energy conversion/storage systems, and flexible resources. The modeling framework specifically addresses the operational characteristics of PV systems under cloud occlusion uncertainty, heat transfer dynamics of heating, ventilation, and air conditioning (HVAC) systems with thermal storage integration, and bidirectional energy interaction mechanisms of battery-electric vehicle (EV) coordination. These interconnected models collectively form the physical infrastructure for subsequent energy optimization, while explicitly considering the temporal coupling effects between different energy carriers. These models are common in buildings, so the research methodology of this paper is equally applicable in all types of buildings.
2.1. Intraday Uncertainty-Incorporated PV Power Output Modeling
During intraday periods, stochastic factors such as cloud cover significantly impact the output power of PV systems over short timescales. These fluctuations often become critical factors affecting the supply–demand balance in zero-carbon buildings. While short-term cloud shading events lasting tens of minutes are almost impossible to predict in day-ahead stages, they directly compromise the implementation of energy scheduling plans for zero-carbon buildings.
This paper models the intraday PV uncertainty primarily through two parameters, cloud occlusion duration and solar irradiance attenuation ratio, as follows:
where
denotes the output power of the residential PV system at time interval
;
is the maximum PV power output;
represents the area of the solar panel;
is the PV conversion efficiency; and
stands for the forecasted solar irradiance at time
.
As indicated by Equation (1), the maximum PV output power at each time interval is determined by the solar irradiance level, which is directly influenced by the solar radiation loss ratio. Considering the direct relationship between solar irradiance and these two uncertainty parameters, the short-term PV output model under cloud cover uncertainty is presented in Equations (2) and (3), i.e.,
where
denotes the PV output power (kW);
represents the rooftop PV panel area (m
2);
is the photoelectric conversion efficiency;
indicates the actual solar irradiance under uncertainty effects (kW/m
2); and
stands for the predicted solar irradiance value (kW/m
2). The parameter
quantifies the solar radiation loss ratio due to cloud shading, and
serves as a binary state variable indicating the presence of cloud occlusion phenomena. These two parameters,
and
, constitute the uncertainty parameters in this scenario, whose uncertainty sets are mathematically defined in Equations (4) and (5).
where the parameter
controls uncertainty set conservatism by specifying maximum shaded intervals.
yields deterministic optimization using forecasted irradiance (least conservative), while
implements worst-case scenarios (most conservative).
defines the maximum cloud-induced radiation loss. Both
and
are derived from the statistical analysis of historical data on cloud shading events and their impacts.
2.2. Energy Modeling of HVAC Systems Incorporating Hot Water Storage Tanks
HVAC systems are the primary energy-consuming equipment during building operation. This study assumes that the building envelope’s heat dissipation represents the total cooling loss of the building, neglecting additional losses caused by occupant behavior. When the room’s set temperature changes, the air conditioning (AC) system must correspondingly adjust its cooling output. Based on heat transfer principles, the state transition equation for indoor temperature is given by Equation (6), which primarily depends on the change in indoor temperature, the cooling capacity of the AC system, and the building’s cooling dissipation [
19]. Dynamic heat transfer in the building envelope under different outdoor conditions is a key component of the cooling load modeling, so the effects of occupant behavior and increased internal heat on building cooling demand are not considered [
20].
where
represents the basic cooling dissipation load of the building envelope (kWh);
is the temperature difference correction coefficient for the building envelope;
is the area of the building envelope (m
2);
is the heat transfer coefficient of the building envelope (kW/(m
2·°C));
is the outdoor temperature (°C); and
is the indoor temperature (°C).
When the compressor operates normally, part of the generated thermal power meets the building’s heating demand, while the remaining portion is stored in the hot water storage tank. However, when the compressor stops running, the cooling demand of the building can be met by the stored cooling capacity in the storage tank. Therefore, the cooling balance equation is expressed as Equation (7).
where
represents the change in cooling capacity of the heat storage tank (HST) (kWh);
is the cooling output delivered by the AC system to the indoor space (kWh);
denotes the cooling capacity output by the compressor (kWh); and
and
are the heat transfer efficiencies for the portion of cooling stored in the HST and the portion directly delivered to the building, respectively. During compressor shutdown, if the HST does not release stored cooling energy to the building, the AC system’s cooling output becomes zero; conversely, if the HST utilizes its stored cooling capacity to power the system, then
and
, indicating active cooling supply and discharge from the storage tank, respectively.
The HST passively stores energy by utilizing residual heat from chilled water return flow during energy storage mode, while in cooling release mode, it regulates the chilled water flow rate to control cooling output per unit time. The computational model is presented in Equation (8):
where
represents the specific heat capacity of water (kWh/(kg·°C));
is the flow rate of chilled water (kg/h);
and
denote the preset return temperatures of chilled water for the HST under its two operating modes, respectively; and
indicates the water temperature of the HST, which varies with the charging/discharging of cooling capacity as calculated by Equations (9) and (10).
where
represents the cooling capacity stored in the HST (kWh);
denotes the specific heat capacity (kWh/(kg·°C));
is the density (kg/m
3); and
indicates the water volume in the HST (m
3). In cooling mode, since the HST stores energy using residual heat from chilled water return flow, the tank temperature during charging cannot fall below the return water temperature. During discharging, excessively high tank temperatures would reduce the HST’s cooling delivery capacity. Therefore, the tank temperature is subject to both upper and lower bounds:
where
and
represent the minimum and maximum temperature limits (°C) of the HST, respectively, which determine the energy storage capacity of the HST.
The primary energy-consuming components of the HVAC system are the compressor unit and water pumps, whose power consumption must satisfy Equations (12) and (13). When operating in low-energy mode, the system only activates minimal equipment such as water pumps, resulting in a significantly higher coefficient of performance (COP) compared to normal operation conditions.
where
denotes the total electrical power consumption of the system (kW);
represents the power consumption of water pumps (kW);
is the power consumption of the cooling operation (kW); the corresponding cooling output from the compressor unit is represented by
(kWh); and
represents the system’s energy efficiency.
Furthermore, the cooling capacity of the AC system is not unlimited and is constrained by both the compressor’s refrigeration power and the operational speed of water pumps. Both the compressor unit and the pump system are subject to maximum power constraints, which must comply with Equation (14).
2.3. Zero-Carbon Building Flexibility Resource Modeling
2.3.1. Modeling of Battery Energy Storage Systems
Battery energy storage systems (BESSs) serve as a critical flexible resource for addressing source-load uncertainty in buildings. Through intraday scheduling, a BESS can effectively mitigate energy mismatches caused by source-load fluctuations. Its operation must comply with the constraints specified in Equations (15)–(18).
where
is the maximum charge/discharge energy per scheduling period (kWh);
is the binary operating state (1 for charging and 0 for discharging);
is the net energy change (positive for charging and negative for discharging);
and
are the respective charge/discharge efficiencies;
is the state of charge (SOC) of the BESS; and
and
are the upper and lower limits of the BESS’s SOC, respectively, which is used to ensure the safe operation of the BESS.
2.3.2. Modeling of EV
In building energy optimization, EVs serve not only as transportation means but also as crucial flexible resources. Unplanned EV charging behaviors may create significant power demand peaks during specific days or periods, substantially aggravating source-load mismatch in zero-carbon buildings. Therefore, this study develops an intraday time-scale model for EV charging/discharging energy dynamics, as formulated in Equations (19)–(23).
where
represents the energy transferred from the building to the
i-th EV during time interval
j (kWh);
represents the energy discharged from the i-th EV to the building during time interval
(kWh);
and
represent the energy conversion efficiency during EV charging and discharging, respectively;
and
are the upper and lower limits of charging and discharging energy per interaction, respectively;
represents the state variable characterizing the charging/discharging status of the EV during time period
, where
indicates that the EV is in charging mode, and
signifies that the EV is engaged in building energy balance regulation through vehicle-to-building (V2B) operation;
represents the SOC of the battery in the
i-th EV during time period
;
represents the energy consumed by the
i-th EV travelling during time period
;
is the maximum battery capacity of the EV (kWh); and
and
denote the minimum and maximum allowable SOC for the EV battery, respectively.
5. Case Study Analysis
5.1. Case Study Setup
A zero-carbon office building at a university campus in Nanjing was analyzed via simulation to validate its energy structure rationality and daily optimization effectiveness. The case model was set up using Python (Version 3.8) and solved by calling the SCIP (Version 5.4.1) for Python solver. The fuzzy membership parameters representing the uncertainty of energy supply and demand are shown in
Table 2 according to the literature [
24]. A confidence level
was set for the intraday energy optimization stage. The computational efficiency of the proposed framework was evaluated for the case study, with an average solving time of 8–10 s per 15 min interval.
To verify the effectiveness of the proposed intraday energy optimization method under different cloud shading conditions, a random cloud shading period was introduced, which affected the PV power output curve. The final results are shown in
Figure 3.
5.2. Analysis of the Impact of Prioritizing Thermal Comfort on the Optimization Results
In the day-ahead scheduling plan, buildings often sacrifice a certain degree of thermal comfort to ensure safe and stable operation. Therefore, to avoid overly conservative day-ahead scheduling plans, this paper prioritizes user thermal comfort as a higher-level objective in the intraday energy optimization phase, adjusting energy consumption behavior on the basis of ensuring the safe and stable independent operation of the system. To verify the effectiveness of the proposed method in this paper, three different comparative case studies are set up.
Comparative Case 1: Solving the energy optimization model based on the intraday optimization objectives proposed in this section.
Comparative Case 2: Solving the intraday energy optimization model with the objective of tracking the day-ahead plan.
Comparative Case 3: Executing the day-ahead plan entirely, relying on the BESS to mitigate the power deviation between the day-ahead and intraday source and load.
The BESS optimization scheduling schemes for the three comparative cases are shown in
Figure 4. It can be seen from the figure that Case 3 requires the EV AC output to be executed entirely according to the day-ahead plan, while the balance of the intraday source and load is entirely dependent on the BESS. This arrangement leads to frequent fluctuations in the output of the BESS, especially during the period from 8:00 to 12:00. Due to marked day-ahead and intraday source-load discrepancies during this period, BESS exhibits pronounced power fluctuations, with curve amplitude significantly exceeding Case 1 and Case 2.
This indicates that relying solely on the BESS for regulation in the case of source and load inconsistency can lead to large output fluctuations, affecting the stability of system operation and also increasing the lifespan loss of the BESS.
In contrast, Case 1 and Case 2 consider the coordinated adjustment of the operation plans of the BESS, EV, and AC during the intraday phase, which significantly reduces the regulatory pressure on the BESS.
This section contrasts the optimized indoor temperatures of Case 1 and Case 2 shown in
Figure 5 to emphasize intraday thermal comfort prioritization impacts. Since the cases in this study consider occupant activity only between 8:00 and 19:00, the AC setpoint temperatures are presented exclusively for this period.
Figure 5 demonstrates that prioritizing Predicted Mean Vote (PMV) for intraday energy optimization effectively reduces indoor temperature levels and improves thermal comfort.
As Case 1 prioritizes thermal comfort over tracking the day-ahead plan, the overly conservative nature of day-ahead scheduling is mitigated, resulting in an average indoor setpoint temperature of 26.32 °C. In contrast, Case 2 follows the day-ahead plan and does not fully overcome conservative decision-making, leading to inferior thermal comfort compared to Case 1, with an average indoor setpoint temperature of 27.23 °C.
5.3. Analysis of the Impact of Source-Load Ambiguity Parameters on Optimization Results
The settings of source-load uncertainty parameters directly affect the results of intraday optimization. Among them, the degree of fuzziness directly impacts the construction of the fuzzy membership function, thereby influencing the description of uncertainty and the tolerance range. Meanwhile, the setting of the confidence level affects the robustness and economic efficiency of the optimization decision.
5.3.1. Analysis of the Impact of the Degree of Fuzziness on Optimization Results
This paper represents source-load uncertainty using fuzzy membership functions and employs fuzzy parameters to fully account for this uncertainty. The fuzzy parameters reflect the accuracy of source-load predictions. To further investigate the impact of source-load uncertainty on optimization results, intraday energy optimization for zero-carbon buildings is conducted under three different cases with varying degrees of fuzziness, with a confidence level of α = 0.9. The settings of the degree of fuzziness are shown in
Table 3. Case 1 has the degree of fuzziness considered in this section. Case 2 sets all indicators to 1, under which the optimization results do not take source-load uncertainty into account. Case 3 further expands the fuzzy range based on Case 1.
Figure 6 shows the comparison of indoor temperatures after intraday optimization under each case with a confidence level of 0.9. It can be seen that Case 2, which ignores the impact of source-load uncertainty, has better thermal comfort compared to Case 1, with an average indoor temperature setting of 25.96 °C during the air-conditioning operation period. However, the scheduling strategy generated in this case carries a higher scheduling risk, and power shortages may occur during intraday operation due to source-load fluctuations.
Compared to Case 1, Case 3 has a higher degree of fuzziness, which means that it considers more severe source-load fluctuations. To meet the confidence level requirement, the scheduling plan generated is more conservative, resulting in a decrease in thermal comfort, with an average temperature setting of 26.82 °C.
5.3.2. Analysis of the Impact of the Confidence Level on the Optimization Results
Figure 7 shows the indoor temperature optimization results for Scenario 4 with a confidence level ranging from 0.7 to 1. Chance-constrained programming discusses the probability that users will satisfy the constraints when making decisions, while the confidence level reflects the system’s inclination when considering scheduling decisions. A lower confidence level indicates that the system is willing to take on more risk when making decisions, which means that the optimization results will be better. As can be seen from the figure, when the confidence level is 1, the indoor temperature setting is relatively high. This is because, under all possible source-load uncertainties, the decision can satisfy the constraints, which is equivalent to robust optimization. At this point, the decision is conservative, and the indoor thermal comfort is relatively poor. As the confidence level gradually decreases, the generated strategies become more aggressive, and the air-conditioning set temperature gradually decreases. When the confidence level is set to 0.7, the indoor comfort level has already improved significantly compared to when the confidence level is set to 1. However, this decision only has a 70% probability of satisfying the power balance constraint under the source-load uncertainty space, which is relatively aggressive. By reasonably setting the confidence level, it is possible to quantify the decision-maker’s risk preference and balance conservative and aggressive strategies. Overall, a higher confidence level means a lower tolerance for risk that can be assumed, and the overall optimization result will tend to be conservative. Lower confidence means a higher tolerance of risk that can be assumed, and the optimization result will not tend to be conservative. When the confidence level is set to 0.9, extreme conservatism and extreme aggressiveness can be avoided, which corresponds to the occasional short-term prediction deviations in practical engineering, and these deviations can be dynamically corrected by intraday optimization.