“Electricity-and-Carbon” Planning for a Residential Solar-Storage Carport
Abstract
This research develops a lightweight and highly reproducible optimization model for residential solar-storage carport system operating in a carbon-pricing environment. By integrating the real-time carbon price into the system's scheduling decisions, a genetic algorithm is used to simultaneously optimize photovoltaic (PV) and battery storage capacity, as well as the day-ahead dispatch strategy. This optimization framework maximizes electricity export revenues while minimizing total operational costs, including purchased electricity costs, carbon emissions and peak-valley gap penalties. With the current prevalent CO₂ price of 80 RMB/ton, a system configuration with 6.3 kW PV capacity and 5 kW·h/3 kW storage battery achieves an investment payback period of 2.5 years and an internal rate of return of around 40%. Sensitivity analysis reveals that the introduction of a carbon price promotes an increase in electricity sales and improves the financial viability of the system. The results demonstrate that carbon pricing not only increases the economic viability of the system but also promotes more efficient energy use through optimized trading strategies. MATLAB-based template for homes to take part in carbon markets while cutting electricity costs, presenting a route to a more sustainable and economical energy future.
References
- Zhu, J., Xie, C., Zhang, D., et al. (2025). A Review of Electricity-Carbon Coupled Market Research: Status, Challenges, and Sustainable Development. Electric Power Construction, 46(1), 158-173.
- Shi, P., Shang, R., Xu, Q., & Wang, Z. (2025). Coordinated Optimization Analysis of "PV-Storage-Charging" Integrated Stations in Distribution Networks. Electronic Technology, 54(4), 362-364.
- Zhang, Y., Niu, Z., & Li, D. (2025). Application and Economic Analysis of PV-Storage-Charging Integrated Technology in Urban Charging Stations. Power & Energy, 46(3), 303-306.
- Bi, C., & Li, Z. (2023). Power Planning for Microgrids with Energy Storage Considering the Coupling of Electricity and Carbon Markets. Journal of Shanghai University of Electric Power, 39(3), 244-251.
- Wu, K., Wang, D., & Ma, Y. (2025). Electric Vehicle Charging Load Forecasting Based on Mutual Information and Independently Recurrent Neural Network. Journal of Taiyuan University of Technology, (9), Online First.
- Shi, R., Chang, T., He, Z., et al. (2025). Research on Planning Method for PV-Storage-Charging Integrated Electric Vehicle Charging Stations. Acta Energiae Solaris Sinica, 46(5), 109-118.
- Zhan, Y., Tao, D., Wang, C., et al. (2025). Dynamic Probabilistic Power Flow Analysis Considering Wind and PV Power Generation and Electric Vehicle Load Distribution. Electric Drive, (9), Online First.
- Yin, R., Ji, L., Sun, Y., et al. (2025). Calculation Method and Case Analysis of Building Battery Capacity Configuration for Peak Shaving and Valley Filling. Heating Ventilating & Air Conditioning, 55(6), 138-143.