Aiming at the consumption problem caused by the increasing scale of wind power and photovoltaic (PV) grid-connected, a multi-energy co-generation system is constructed with wind power, PV, concentrated solar power (CSP), and thermal power; in addition, in order to reduce the impact of the prediction errors of wind power, PV, and loads on the system’s economic operation, the photovoltaic and thermal power plants are used to provide the system's backup capacity together, and the opportunity constraint model of the reliability of the backup capacity is established, so as to satisfy the system reliability constraints at a certain higher confidence level; finally, a sampling-based deterministic transformation method is introduced to simplify the model. The model is simplified by introducing a sampling-based deterministic transformation method of opportunity constraint; finally, a stochastic optimal dispatch model of the combined wind-photovoltaic-CSP-fire system, which accounts for the conversion of electricity and heat, is constructed with the objective of minimising the integrated operating cost of the combined system, and the effectiveness of the proposed model is analysed by simulation verification.