Concerning energy waste and rational use, this paper studies the optimal scheduling of day-ahead energy supply and the community’s demand with a combined cooling, heating, and power (CCHP) system in summer. From the perspective of bilateral costs and renewable energy use, this paper examines the impact of energy storage systems integrated into cogeneration systems. The Gurobi solver is used to optimize the residential community’s supply and demand sides of the traditional CCHP system (T-CCHP) and the CCHP system with energy storage (CCHP-ESS) under insufficient solar power. Subsequently, two optimal arrangements for energy consumption on the user side under these systems are suggested. In the optimization model, energy storage is added to the T-CCHP system on the energy supply side. On the user side, the energy use scheme is optimized considering the user’s comfort. The innovation point of this study is that the optimization of comprehensive energy in the park involves both supply and demand. The impact of increasing energy storage is discussed on the energy supply side, and the impact of optimization of the energy use plan on costs is discussed on the user side.