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.
Research Article
Open Access