Carbon-Aware Day-Ahead Optimal Scheduling of an Integrated Photovoltaic, Battery, Heat Pump, and Thermal Storage System for Building Energy Management
Abstract
This paper develops a carbon-aware day-ahead scheduling method for a building energy system integrating photovoltaic (PV) generation, battery storage, a heat pump, and a thermal storage tank. Electrical and thermal balances, storage losses, mutually exclusive charging and discharging, equipment limits, and cyclic terminal states are represented in a discretized dynamic-programming model. A reproducible 24-h heating-day profile is selected from publicly available CityLearn profiles derived from National Renewable Energy Laboratory (NREL) ResStock data, while tariff and time-varying carbon signals are declared as controlled benchmark inputs. Compared with the grid-plus-heat-pump case, the integrated system reduces daily monetary cost by 70.4% and grid-related emissions by 52.5%. Relative to a rule-based controller, dynamic programming lowers cost by 44.5% and emissions by 32.5%. Increasing the carbon weight from 0 to 4 Chinese yuan $(\mathbf{C N Y}) / \mathbf{k g ~ C O}_{\mathbf{2}}$ produces a $\mathbf{1 6. 7 \%}$ emission reduction with a 25.7% monetary-cost increase. A medium discretization differs from the fine-grid objective by only 2.135%. Daily-equivalent capacity charges yield internal screening minima of 240 kWh for the battery and 360 kWh ${ }_{\text {th }}$ for the thermal tank within the tested ranges.