To optimize the use of distributed energy, this work builds a combined cooling heating and power system (CCHP) driven by distributed energy, including three subsystems: the electricity subsystem, CCHP subsystem, and ground source heat pump (GSHP) subsystem. Then, energy, economic and environmental performance indicators are constructed using a natural gas‐driven CCHP system (NG CCHP) as the frame of reference. Thirdly, three system operation modes are put forward, including following the thermal load (FTL) mode, following the electric load (FEL) mode, and electric load combine thermal load (ECT) mode. In the meantime, three kinds of system operation modes are proposed, including optimization of energy rate (ER), total operation cost (TOC), and carbon dioxide emission reduction (CER). Finally, Shanghai World Expo is analyzed as a simulation object. The results show that the optimal target operation strategy can balance the results of different optimization by increasing the partial load rate of the gas‐steam combined cycle system and reducing the pumping ratio of the steam turbine. Compared with the NG CCHP system, the new CCHP system performs better. The sensitivity analysis shows, as the coefficient of performance of the chiller increases and the price of NG decreases, the performance of the new CCHP system will become better. A combined cooling, heating, and power system with multiple distributed energy sources is proposed, and the system is optimized by exploiting the specificity of ground source heat pumps, photovoltaics, and wind energy. Three different operating modes are compared to obtain a more efficient operating mode.