Installing heat storage tank (HST) to decouple CHP “heat-load-based” running mode, which will improve operation efficiency of CHP and enhance the ability of peak-adjusting in micro-grid (MG) system, and also be benefit for MG to consume high penetration renewable energy. For the randomness of wind turbines and photovoltaics output and the volatility of loads, a comprehensive optimization method for MG heat and electric energy based on chance-constrained programming is proposed. This method has considered thermal balance constraints and HST operation constraints, which made MG minimum operating cost as optimization goal, and optimize the output of each micro-source by genetic algorithm to form the best operation mode.