In the integrated energy microgrid, shared energy power stations not only improve energy utilization efficiency, but also enhance the flexibility and reliability of the system. In response to the existing optimization scheduling methods for integrated energy microgrids and shared energy storage that cannot balance economy, low-carbon, flexibility, and robustness, on the basis of analyzing the integrated energy microgrid system, a dual layer model based integrated energy microgrid shared energy storage optimization scheduling method is proposed.The upper level model is constructed with the goal of comprehensively optimizing the costs of electricity, gas, equipment maintenance, flexible resource scheduling, and carbon trading in energy microgrids. The lower level model is constructed with the goal of achieving the comprehensive optimization of energy storage investment cost, energy storage charging and discharging loss cost, internal energy interaction cost, and external energy interaction cost. Solve the two-layer model using the improved NSGA-III algorithm. The superiority of the proposed dual layer model for integrated energy microgrid shared energy optimization scheduling was verified through numerical examples. The results indicate that, proposed method ensures safety, flexibility, and robustness while, comprehensive energy microgrid operating costs, and carbon emissions while ensuring safety and robustness, providing certain assistance for achieving the dual carbon goals.