The large number of links in the energy system have led to poor stability in the exploration of the flexible adjustment capacity of the entire data centre system. To solve this, a method has been proposed to explore the flexible adjustment capacity of the whole data centre system under uncertainty in new-energy power generation. Probability distribution models, scenario analysis and time-series models are used to quantify the various sources of uncertainty in new energy output comprehensively. A model of the key components of new-energy power generation and energy storage systems is constructed to accurately simulate the operating conditions of the whole data centre energy system. MOPSO is employed to solve the multi-objective optimisation problem, establishes an adjustable plan, and investigates the full range of flexibility in adjustment for the entire data centre system. Experiments have shown that the proposed method can improve the utilisation rate of new energy, significantly enhance the smoothness of adjustment, accelerate the speed of adjustment, and improve the stability of the exploration of the flexible adjustment potential of the entire data centre system compared to the comparison methods.