Distributionally Robust Optimal Dispatching of CHP Microgrid considering Concentrating Solar Power and Uncertainty

In order to solve the problem of diversified low-carbon energy supply with renewable energy as the main body, concentrating solar power (CSP) stations are introduced to act as cogeneration units. Taking full advantage of the flexible coupling and multienergy complementarity of electric, heat, and gas, an economic dispatch method for combined heat and power microgrid systems (CHP microgrid) with interconnected electric, heat, and gas is proposed. First, build the CSP-CHP microgrid structure and model the main equipment. Then, aiming at the minimum operating cost of the system, a regular scheduling model of the CSP-CHP microgrid system is established. On this basis, in order to deal with the uncertainty of renewable energy output, a distributionally robust optimization (DRO) model is introduced. In the DRO model, the Kullback–Leibler (KL) divergence is used to construct an ambiguity set about the predicted error of renewable energy output, and finally, the CSP-CHP microgrid DRO economic dispatch model is established. Finally, the system is simulated and analyzed in a typical CSP-CHP microgrid system, and the feasibility and effectiveness of the proposed method are verified by analysis. In addition, the necessity of introducing CSP and the advantages of the DRO model is further explained by comparison.


Introduction
With the vigorous rise of a new round of energy revolution in the world, clean and low carbonization has become the development goal of a new round of energy revolution [1,2]. e energy Internet can change the independent operation of traditional energy sources and achieve the goal of the multisource coordinated and complementary operation. e combined heating and power (CHP) microgrid system breaks the operating barriers of the traditional energy system, realizes the mutual coupling, substitution, and supplementation of multiple energy forms, and promotes the diversi ed utilization of energy [3,4].
In the CHP microgrid, the energy demand periods of electricity and heat loads in the dispatch cycle do not match, and the renewable energy generation has strong randomness [5]. In most cases, traditional coal-red or gas-red units are used as the core units in the CHP microgrid. However, both units are constrained by "determining power by heat", which limits the energy utilization capacity and exible operation capacity of the system [6,7]. Some experts propose to use thermal storage equipment to break the rigid operation limit of CHP units [8,9], but the two-way conversion of energy cannot be realized during operation. erefore, choosing a new type of green, exible, and controllable CHP unit is the basic way to solve the emission problem and limited operation mode of traditional units.
Concentrated solar power (CSP) is a new power generation form equipped with a large capacity heat storage system, which can realize the power conversion between "solar-heat-electricity" and has the ability of long-term operation [10]. At present, most of the research focuses on multienergy system collaborative power generation. Morrone P et al. [11] provide fuel for the traditional biomass boiler and the centralized CSP system composed of parabolic trough collector. e results show that biomass/solar hybrid can reduce biomass consumption, increase the maximum operating hours, and improve the system efficiency. Yang J et al. [12] propose a hybrid renewable energy system, including photovoltaic (PV), wind power, CSP station, battery, and electric heater, and design a system optimization operation strategy composed of a variety of energy storage technologies and flexible power supply. e results show that the combination of CSP and photovoltaic power stations is an effective way to economically improve the reliability of power generation. Guo S et al. [13] propose an optical windwater hybrid power generation system with pumped storage CSP dual energy storage and study the optimal coordinated operation strategy and multiobjective selection. However, the potential of CSP as a core unit to participate in CHP microgrid operation is ignored. e traditional CSP faces the problem of a single heat storage source, which cannot give full exert its flexible operation capabilities. An electric boiler is important thermoelectric conversion equipment, which can realize one-way and efficient conversion of thermoelectric energy [14,15]. e combined operation of the electric boiler and CSP can realize the bidirectional conversion of electric energy and thermal energy [16]. It can not only use the timeof-use electricity price to obtain low-cost heat storage but also further improve the operational flexibility and energy supply sustainability of the CSP station, making the CSP station have the capability of cogeneration and the potential to replace traditional units.
As an important device in CHP microgrid, energy storage has the advantages of promoting renewable energy consumption, rapid response, and reducing operating costs, and the application of energy storage is becoming more and more extensive [17]. Mohamad F et al. [18] study the impact of energy storage systems on the reliability of power systems, and the results show that the utilization of energy storage in power systems is of great significance for improving system reliability and minimizing costs. Xie C et al. [19] propose a two-layer optimization strategy that considers dispatching energy storage systems in smart microgrids with high photovoltaic penetration, and the results show that the addition of energy storage can effectively reduce the system cost. With the development of the multienergy system, energy storage has gradually changed from single electric energy storage to multienergy storage. Mirzaei M A et al. [20] propose a concept of multienergy cooperation considering multiple types of energy storage to meet consumers' electricity, natural gas, and thermal energy demands at the lowest operating cost. Multienergy energy storage can effectively improve the performance of generator sets under the constraints of multienergy distribution networks and reduce the total operating cost by 15%. Li et al. [21] adopt the multicycle prediction method of renewable energy generation and load based on automatic reinforcement learning and propose an optimal dispatching model of the isolated microgrid. Dong H et al. [22] propose an integrated energy system optimization technique, including accurate prediction models and multiple forms of energy storage, to improve the load forecasting accuracy and coordinated control of various energy sources in the current integrated energy system. In addition, demand response is also an important factor to be considered in the operation of the microgrid. In the dispatching model, Li et al. [23] promote the balance between energy supply and demand through the comprehensive demand response plan and maintain the comprehensive satisfaction of users within an acceptable range. Chen et al. [24] developed an integrated demand response (IDR) model including power and natural gas demand response in the microgrid. At the same time, the IDR model also considers customer satisfaction.
In order to solve the problem of the random output of renewable energy in CHP microgrid system, in addition to introducing energy storage equipment, stochastic optimization (SO) [25][26][27] and robust optimization (RO) [28][29][30] methods are widely used. However, with the increase of the number of scenarios, the SO may lead to the disaster of data dimension and increase the difficulty of calculation. In the robust optimization solution, the results are too conservative due to the low probability of the worst case.
In view of the shortcomings of the above two methods, distributionally robust optimization (DRO), as a new uncertainty optimization method, has become a research hotspot in recent years [31]. At present, there have been many studies on the application of DRO in the operation of the energy system, including the unit commitment problem [32,33] and economic dispatching problem [34,35]. Chen G et al. [36] present a fast power DRO dispatching model for multizone heating, ventilation, and air conditioning (HVAC) systems. Wasserstein distance is used to construct ambiguity sets to deal with the uncertainty from prediction error, so as to improve the optimality of the solution. Zhang Y et al. [37] propose a data-driven distributionally robust optimization (DDRO) model for multienergy coupled systems. In this model, the ambiguity set of wind power output is constructed according to the moment information used in the probability distribution of the wind power scenario.
According to the above literature analysis, the following is obtained. (1) At present, in the cooperative operation of multiple energy sources, the CSP station is not taken as the core unit. erefore, it cannot fully play its role in the "solarthermal-electricity" conversion. (2) Although DRO has been successfully used in the operation of various energy systems, this method has not been used in the study of CHP microgrids including CSP. Besides, the DRO model based on Kullback-Leibler (KL) divergence can be transformed into a deterministic mixed-integer linear optimization model through correlation transformation, which can be solved directly by a commercial solver [38]. erefore, it is necessary to study the related problems of constructing the CHP microgrid operation model including CSP based on the DRO method.
Based on this, the contribution of this study is as follows: (1) e concentrated solar power station is introduced into the cogeneration system and used as the core unit to realize the efficient energy conversion between the "solar-thermal-electricity" of the system. e electric boiler is added to the system to improve the operational flexibility and energy supply sustainability of the concentrated solar power station. Finally, the CSP-CHP microgrid joint system is formed.
(2) Aiming at the lowest total operation cost of the system, the conventional dispatch model of the CSP-CHP microgrid system is constructed. At the same time, in order to deal with the uncertainty of renewable energy output in the system, the distributionally robust optimization model is introduced into the conventional dispatching model, and the KL divergence is used to describe the prediction error of renewable energy output. (3) e simulation is carried out in a typical CSP-CHP microgrid system. e simulation results show that the introduction of the CSP station can effectively reduce the CSP-CHP microgrid system operation cost and improve operational efficiency. In addition, it also verifies the advantages of the distributionally robust optimization model in dealing with renewable energy output, improving solution efficiency, and reducing operating costs.
e rest of this study is organized as follows. e structure of CHP microgrid containing CSP is analyzed in Section 2. Section 3 introduces and models the main equipment in the CSP-CHP microgrid system. In Section 4, the conventional dispatching model and distributionally robust dispatching model of the CSP-CHP microgrid system are established. A system simulation is performed in Section 5, and some main conclusions are presented in Section 6.

System Description
In a traditional CHP microgrid, conventional power generation limits its operational flexibility and efficiency due to its working mode of "determining power by heat" and usually needs to be equipped with energy storage to realize thermoelectric decoupling. Secondly, traditional CHP microgrid is limited by the independent operation of various energy forms of electricity, heat, and gas. Although the conversion of different energy forms can be realized by configuring energy conversion equipment, only one-way conversion of energy can be realized.
In view of the above problems, by optimizing and adjusting the traditional system structure, a CHP microgrid structure including CSP, energy storage, and multienergy two-way interconnection is constructed, as shown in Figure 1.
e CSP replaces the traditional cogeneration unit as the core energy supply equipment of the system, and the electric boiler cooperates with the CSP to realize the bidirectional conversion of electricity and heat energy. e power-to-gas (P2G) device and the gas turbine realize the bidirectional conversion of electricity-gas energy, that is, the CSP-CHP microgrid realizes the interconnection between different energies through the energy conversion equipment. e energy storage device realizes the high-value utilization of energy across time periods through the energy time-shift characteristic, which effectively improves the operating flexibility and economy of the system.
A variety of clean power generation energy sources on the power supply side can realize coordinated operation and mutual backup, ensuring the stable and efficient operation of the CSP-CHP microgrid. However, the renewable energy inside the CSP-CHP microgrid system has the characteristics of output uncertainty, which adversely affects the stability of the system.

Concentrated Solar Power (CSP).
e composition of the CSP includes 3 parts: concentrating heat-collecting mirror field, generator, and thermal storage system. e input thermal power of the CSP station can be represented by the thermal power converted and collected by the concentrating heat-collecting mirror field through solar radiation. e output P t CSP of the CSP station in period t is where η csp is the thermoelectric conversion efficiency, Q t m2g is the heat supplied by the mirror field to the generator, and Q t es2g is the heat supplied by the thermal storage energy to the generator. e thermal provided Q t,es mf by the mirror field to the thermal storage system at time t is where η m2e is the loss degree of heat transmission, Q t mf is the heat collected by the concentrating heat-collecting mirror field, and Q t,loss mf is the heat that cannot be used by the CSP station.
In addition, the thermal storage system in the CSP station should also satisfy the following equation constraints at each time period: where Q t is the stored heat of thermal energy storage, τ is the heat loss degree of thermal energy storage, η tes ch and η tes dis are the heat storage and heat release efficiency of the thermal storage system, respectively, N ch t and N dis t are the heat storage and heat release power of the thermal storage system, respectively, and Q t,tes QL is the amount of heat supplied by the thermal storage system to the heat load.
When the CSP station participates in the dispatching operation, the generator and thermal storage system will generate operation and maintenance costs. e operation and maintenance costs C t,om csp are Mathematical Problems in Engineering where c om tes and c om g are the operation and maintenance cost coefficients of thermal energy storage and generator, respectively.

Gas Turbines (GT) and Waste Heat Boiler (WH).
In CSP-CHP microgrid, GT units are the only equipment with nonnegligible carbon emissions. Under the carbon trading mechanism, the penalty mechanism for exceeding carbon emission quotas is adopted, and the carbon emission where P t gt is the power generation of GT unit, c co is the carbon trading price, and e gt and e m are the carbon emission intensity per unit power generation of GT and the carbon emission allocation per unit power generation, respectively. e unit carbon emission intensity of GT unit is 0.798 kg/m 3 .
e GT unit provides energy by burning natural gas, so the relationship between power generation P t gt and natural gas consumption V t gt is as follows: where η gt is the power generation efficiency of GT, L N is the low calorific value of GT, and M is the conversion value of calorific value and power, taking 3.6. Operation and maintenance costs C t,om gt will be incurred when GT unit participate in the dispatching operation, which are as follows: where u t gt is a 0-1 variable, indicating the operating state of GT, and c om gt is the operation and maintenance cost coefficient of GT. e heat generated by the GT unit during power generation can be recovered by the WH for secondary use. e heat collected Q t wh by the WH in the t period is where η wh is the heat recovery efficiency of the waste heat boiler and Q t,max wh is the maximum heat collection of the waste heat boiler.

Power to Gas (P2G).
e power-to-gas technology includes two processes, water electrolysis and methanation. e operation and conversion process is shown in Figure 2.  e relationship between the volume V t,ch4 p2g of methane produced by the power-to-gas device and the power con- where η p2g is the conversion efficiency of P2G. e volume of methane produced by P2G is equal to the volume of carbon dioxide consumed by the reaction; then, where R t p2g is the mass of CO 2 required for the operation of the P2G and ρ co2 is the gaseous density of CO 2 .
According to the operation of P2G, the cost is divided into three parts: carbon transaction cost, CO 2 purchase cost, and operation and maintenance cost. In addition, the P2G has the ability to reduce carbon during production and operation and can be directly sold in the carbon trading market for economic benefits. Based on this, the carbon transaction cost C t,c p2g of P2G can be expressed as where e p2g is the amount of CO 2 absorbed when P2G consumes unit electric power, which can be solved by equations (9) and (10), and e p is the carbon emission allocation for P2G, which takes a value of 0. When the P2G is operation, CO 2 needs to be purchased from the carbon trading market; then, the cost of purchasing where c buy co2 is the price per unit mass of CO 2 purchased from the carbon trading market. e P2G needs maintenance during operation, and the maintenance cost of P2G is where c om p2g is the operation and maintenance cost coefficients of P2G.

Electric Boiler (EB).
As an important electric heat conversion equipment in CPS-CHP microgrid, the operation efficiency of electric boiler is close to 100%. In this CPS-CHP microgrid, the EB, thermal storage system, and WH provide heat to improve the flexibility of operation of the whole system.
where η eb is the conversion efficiency of EB, P t eb is the electric energy consumed by the EB, and Q max eb is the upper limit of thermal power output of EB.

Energy Storage (ES)
. Both gas energy storage and electric energy storage are energy storage equipment, so the mathematical model is very similar. A unified mathematical model can be established to describe where P es t denotes the energy stored in ES, P es 0 is the initial state of ES, η ch and η dis represent the charging and discharging efficiency, respectively, P min es,t and P max es,t represent the minimum and maximum power, respectively, E ch,max t and E dis,max t represent the maximum charging and discharging power, respectively, and s ch,t and s dis,t are the binary variables.  e dispatching operation goal of CSP-CHP microgrid is to minimize system operating costs, including interaction costs of CSP-CHP microgrid and external network C t inter , CSP-CHP microgrid operation and maintenance costs C t om , and CSP-CHP microgrid carbon trading costs C t c . en, the conventional optimization model of the CSP-CHP microgrid is where c buy e and P t buy are the price and quantity of electricity purchased by CSP-CHP microgrid from the external grid, respectively, and c sell e and P t sell are the price and quantify of electricity sold by CSP-CHP microgrid to the external grid, respectively. Gas purchases are similar to electricity purchase variables. c om wh , c om eb , and c om es are the operation and maintenance cost coefficients of WH, EB, and ES.

Equipment Operation Constraint
(1) Power balance constraints: where E ch t,e and E dis t,e are the charging and discharging power of the electricity ES, respectively, P L , Q L , and G L are the electric load, thermal load, and gas load, Q t wh2t and Q t eb2t are the heat transferred from the electric boiler and waste heat boiler to the thermal storage system, respectively, E ch t,g and E dis t,g are the charging and discharging power of the gas ES, respectively, and N dis t,QL is the heating power supplied by the thermal storage system to the thermal load. Equations (17)- (19) represent the power balance of electric energy, thermal energy, and natural gas, respectively.
(2) CSP operation constraints: (1) ermal power balance constraints: (2) ermal storage system constraints: (3) Generator unit constraints: where r u and r d , respectively, represent the up and down climbing power limits of the generator unit. Equations (20)- (21) are the heat balance constraints inside the CSP. Equation (24) is the heat charging and discharging constraint of the thermal storage system. Equations (25) and (26) are the output and climbing constraints of the generator unit, respectively.
(3) Gas turbines' constraints: (1) GT reserve constraints: reserve is the additional capacity of the power system that needs to be added to ensure stable operation under the influence of uncertain variables. Regulating reserves (RR) can be used to deal with forecast errors of renewable energy output, and spinning reserves (SR) can be used to deal with emergencies: where S R t and S S t are the RR and SR capacity of GT, respectively, P R t and P S t are the total requirements for RR and SR, respectively, r GT is the ramp rate of the GT, T R and T S are the response times required for RR and SR, respectively, ξ t is the output forecast error of renewable energy, which is an uncertain variable. Equation (27) represents the reserve demand of gas turbine. In order to balance the uncertain prediction error of renewable energy output, the regulation reserve shall meet the constraints of (30).
(2) GT operation constraints: where P max gt and P min gt are the maximum and minimum output of the GT. Equations (31)-(33) are the output and climbing constraints of GT unit, respectively.
(4) Other unit constraints: constraints such as wind turbine (WT), photovoltaics (PV), interaction with the electricity market (EM), and interaction with the gas market (GM) are as follows: where is the maximum output of the equipment.

Distributionally Robust Transformation of the CSP-CHP
Microgrid Model. It can be seen from Figure 1 that the CSP-CHP microgrid system includes wind turbines and photovoltaics, but its output has random fluctuations, which will affect the stable operation of the CSP-CHP microgrid system.

DRO Model Reorganization.
For clear representation, the CSP-CHP microgrid dispatching model constructed above can be abbreviated as follows: where x represents the decision variable, ξ represents the uncertainty variable, and X is the feasible region of x.
Since constraint (30) contains the uncertainty variable ξ t , the model is difficult to solve directly. erefore, this study adopts the distributionally robust optimization method to deal with the model. It can be rewritten in the form of robust opportunistic constrained optimization: where P is the distribution function of ξ, Ω P is the ambiguity set of P, P r is the probability of the distribution function, and α is the significance level. e robust chance constraint in (38) describes that even if ξ is under the worst distribution of Ω P , the constraint is still satisfied with a probability of not less than 1 − α.

Ambiguity Set.
In order to solve the constructed DRO model, the ambiguity set of P needs to be constructed first. Based on the above analysis, this study adopts the method based on the KL divergence to construct the ambiguity set. at is, the KL divergence is used as a measure of the distance between the distribution function P and the reference distribution function P 0 , and the size of the distance represent the similarity between the two distribution functions: where f(ω) is the density function of P and f 0 (ω) is the density function of P 0 . e closer the distance between the two distributions, the higher the similarity. Considering all distribution functions whose distance from P 0 does not exceed d, the following ambiguity set of distribution functions is constructed: When d〉0, there are countless qualified distribution function in Ω P . Different d corresponds to different ambiguity sets, and the size of decision risk is also different. e DRO model transformation and solution process are detailed in [36].

System Simulation
e basic operation result analysis is to verify the operation feasibility of introducing the CSP and DRO method (that is, whether the scheme satisfies the balance of supply and demand in each dispatch period). On this basis, different operation scenes are compared from the perspectives of CSP and uncertainty method to verify the effectiveness of this scheme in reducing system operating costs. At the same time, it can provide dispatching decision-making basis for scheduling decision makers.

Parameters and Scene Settings.
e internal basic structure of CSP-CHP microgrid used in the calculation example is shown in Figure 1. e maximum ramp rate of the P2G equipment is 90 kW/h, and the maximum operating power is 240 kW. e carbon emission price factor is 0.18 DKK/kg. e operation and maintenance cost of GT unit is 0.09 DKK/(kW · h), the upper limit of its output power is 200 kW, and its carbon emission intensity is 0.51 kg/(kW · h). e energy conversion efficiency of the EB is taken as 0.98, the upper limit of its output thermal power is 650 kW, and the maintenance cost of the electric heater is taken as 0.06 DKK/kW. Other parameters are detailed in Table 1.
e forecast data of wind power and photovoltaic output are shown in Figure 3. e electrical load and thermal load Mathematical Problems in Engineering data in the system are shown in Figure 4(a), and the gas load are shown in Figure 4(b). e time-of-use tariff mechanism is adopted when the system interacts with the external network, and the time-of-use price at different time periods is shown in Figure 5(a). e purchase price of gas at different time periods is shown in Figure 5(b).

Electric Energy Dispatching Results.
e electrical energy consumption of the CSP-CHP microgrid mainly includes electrical loads, external sale of surplus electric energy, electric boiler, power-to-gas equipment, and electrical energy storage. e power supply and consumption of the system are shown in Figure 6.
It can be seen from Figure 6 that the CSP-CHP microgrid system can meet a variety of electric demands. During the hours of 22 : 00-06 : 00, only wind power and GT can provide electricity. However, during the valley period, the electricity price of the external grid is relatively low, so the system purchases a large amount of electricity to meet the electricity demand. From 06 : 00, PV began to supply power, but it provided less power, and CSP-CHP microgrid still needed to purchase electricity. During the period from 07 : 00 to 14 : 00, the CSP station gradually began to supply power, and the GT power supply increased. CSP-CHP microgrid stopped purchasing electricity and even had surplus electricity, which can be sold to external power grids. During the period from 18 : 00 to 20 : 00, the power supply of renewable energy generation dropped rapidly. In order to balance the demand for electricity, the system began to purchase electricity from the external grid. During the period from 21 : 00 to 22 : 00, with the gradual increase of wind power generation, the system sold a small amount of surplus electricity to the external grid. During this dispatching period, the electric boiler, as an energy conversion device, converts part of the electrical energy into thermal energy in order to meet the thermal energy demand.
Electric energy storage utilizes its storage/discharge characteristics to realize the time transfer and value enhancement of electric energy. e dispatching results of electric energy storage are shown in Figure 7.
It can be seen from the dispatching results of electric energy storage that electric energy storage is charged at 02 : 00-05 : 00, 23 : 00-24 : 00, etc. Combining with Figure 5(b), it can be seen that the electricity price is relatively low at this time. Electric energy storage discharges at 8 : 00-10 : 00, 20 : 00, and 22 : 00, and the electricity market price is relatively high at this time. In this way, the purpose of "charging at a low price and discharging at a high price" is achieved so that the total cost of the system is lower. In addition, the reasonable dispatching of the CSP-CHP microgrid system is realized through the DRO model so that there is no abandonment of wind power and PV in the system.

5.2.2.
ermal Energy Dispatching Results. e thermal energy consumption of the CSP-CHP microgrid system is mainly thermal load, thermal storage system, and CSP station. e thermal energy dispatching of the system is shown in Figure 8.
It can be seen from Figure 8 that the system can meet the thermal demand of the system. It can be seen from Figure 8 that the system can meet the thermal demand of the system. During the period of 00 : 00-07 : 00, most of the system heat energy comes from the electric boiler. From 07 : 00, the thermal storage system will collect the heat from the mirror field and store some of the heat supplied by the electric boiler. During the period from 08 : 00 to 22 : 00, with the continuous supply of heat energy from the waste heat boiler and the electric boiler and the heat release from the thermal storage system, the system can meet the heat load. e heat collected by the mirror field and part of the heat released by the thermal storage system realize the conversion of heat-electric energy through the CSP station, thereby meeting the electricity demand of the system.
During this dispatch period, the thermal storage system cooperates with the electric boiler to achieve the goal of low-cost heat storage of the thermal storage system based on the time-of-use electricity price. e thermal storage system uses its heat storage/release characteristics to realize the time transfer and value enhancement of thermal energy, improve the flexibility of the heat storage system and the power generation capacity of the CSP station, and deeply tap the flexible operation potential of the CSP station. At the same time, the electric boiler and the CSP station cooperate with each other to realize the two-way flow of "electricity-heat" energy, which greatly improves the energy conversion capability and operational flexibility of the system.

Gas Dispatching Results.
e natural gas consumption of the CSP-CHP microgrid system is mainly gas load, GT, and gas storage energy. e gas supply and gas consumption of the system is shown in Figure 9.-It can be seen from Figure 9 that the system can meet the gas demand of each period. e gas load demand is mainly met by the natural gas market, while the remaining outsourced natural gas and the natural gas produced by the P2G are stored in gas storage energy. When the GT unit is in the "cogeneration" mode, the cost of gas purchase and operation and maintenance per unit of electricity/heat energy is lower than that of purchased electricity, so the GT unit has been in a gas-consuming operation. During the period from 05 : 00 to 16 : 00, the venting of gas storage energy and purchasing natural gas from the market jointly meet the gas demand of the system and solve the risk of insufficient gas supply caused by the restriction of gas purchase flow. In this dispatching cycle, the gas storage energy stores gas in the low-price period of gas purchase and deflates gas in the high price   Mathematical Problems in Engineering period of gas purchase, realizing the cross-period use and value improvement of natural gas.

Operation Results' Analysis.
e system will incur multiple costs during dispatch, including electricity purchase cost, gas purchase cost, operation and maintenance cost, and carbon cost. e operating results of the CSP-CHP microgrid system are shown in Table 2.
It can be seen from Table 2 that the cost of interaction with external network accounts for about 72.35% of the total operation cost, while only the cost of gas purchase accounts for about 56.14%. At the same time, according to Figure 6, the total electricity purchase of the system in this dispatching period is 6007.02 kW · h, accounting for about 31.9% of the total electricity consumption. According to Figure 7, the total gas purchase volume of the system is 1 208.32 m 3 , accounting for about 68.93% of the total gas consumption. e carbon emission cost is 68.93 DKK, accounting for 0.88% of the total cost, indicating that the system has less carbon emission and realizes the lowcarbon operation of the system. is shows that the system is highly dependent on the external network. In order to ensure the balance of supply and demand of electricity, heat, and gas energy, the system must maintain real-time interaction with the external network at each time period.

Effectiveness Analysis of Introducing CSP Station.
In order to verify the effectiveness of the introduction of the CSP station, four operating scenes are set up in this section for comparative analysis.   T im e ( h ) P P2G P EB P cut P GT P CSP P buy P sell Figure 6: Power supply and consumption of the system. Scene 2: e CSP station is replaced by wind power with the same installed capacity to participate in the system operation. Scene 3: e CSP station adopts the traditional operation mode to participate in the system operation (that is, the electric boiler does not cooperate with the thermal storage system). Scene 4: e gas turbine is used instead of the CSP station to participate in the system operation.
e operation results of the CSP-CHP microgrid under different scenes are shown in Table 3.
It can be seen from Table 3 that the total operating cost of Scene 1 is reduced by about 27.97%, 14.98%, and 7.74% compared with Scene 2, Scene 3, and Scene 4, respectively, indicating that the introduction of CSP station and the electric boiler has good economics. Compared with Scene 1, Scene 4 uses gas turbines instead of CSP station. GT has the limitation of "determining electricity by heat" so that when the supply and demand do not match, the GT operating output needs to be increased to meet single energy demand. Electricity surplus is sold out immediately, so it is impossible to maximize the revenue from electricity sales through TOU price. In addition, the gas purchase cost of the system is high and the operation economy of the system is low.
In scene 1, the CSP station is equipped with a highcapacity thermal storage energy system, and the thermal storage energy cooperates with the electric boiler to convert the low-cost electric energy in the valley period into heat energy and store it in the thermal storage energy. is expands the heat source of the thermal storage energy, makes the operation of the thermal storage energy more flexible, and can realize two functions of heating and power generation. In addition, the "electricity-thermal-electricity" energy cycle is also realized in Scene 1, which greatly improves the power generation capacity and operational flexibility of the CSP station and effectively reduces the operation cost by using the electricity price mechanism.

Effectiveness Analysis of the DRO Model.
Comparative analysis of different dispatching methods: aiming at the uncertainty of renewable energy output, the commonly used methods are stochastic optimization (SO) and robust optimization (RO). In order to verify the advantages of the DRO method adopted in this study, DRO is compared with SO and RO. is study assumes that the output forecast error of renewable energy follows a normal distribution with a mean of 0 and a standard deviation of 10% of the predicted value. For the parameters d and α in the DRO model, both values are 0.05. e parameter α involved in SO takes a value of 0.05. e upper limit of the prediction error of renewable energy output in RO is 3 times the standard deviation of the reference distribution, and the lower limit is the opposite. e calculation results under the three dispatching methods are shown in Table 4, and the required backup conditions in each dispatch method are shown in Figure 10. In addition, when the uncertainty of renewable energy output is not considered, it is deterministic optimization. At this time, the dispatching basis is the predicted output of the energy.
Comparing the operating results of the three methods for dealing with uncertain problems, it can be seen that the operating cost of DRO is between RO and SO, but the DRO method has the shortest solution time and the lowest renewable energy abandonment rate. In deterministic optimization, since the uncertainty of renewable energy output is not considered during dispatching, the operating cost and solution time of the system are both low. However, it has resulted in a large rate of renewable energy abandonment. If the energy abandonment penalty system is considered, the total operating cost of the system will increase significantly. erefore, the uncertainty of renewable energy output cannot be ignored during system dispatching.
rough the comparison of different methods, it can be seen that when dealing with uncertainty, the more conservative the method used is, the more adjustment reserves are used to balance the predicted error of renewable energy output, and the operating cost will also increase accordingly.
e distributionally robust optimization model used in this study is more robust. Compared with the RO method that only considers the worst case, the conservativeness of the DRO method is greatly reduced. Compared with SO, the DRO method does not need to consider too many scenes, which greatly saves the solution time of the system. In addition, from the energy abandonment rate of renewable energy, it can be seen that the DRO method has the lowest energy abandonment rate, while the stochastic optimization has the highest energy abandonment rate.
In addition, using different dispatching methods, the adjustment backup situation that needs to be arranged is also different, as shown in Figure 10.
From Figure 10, we can know that the SO needs to arrange the least amount of adjustment reserve, followed by the DRO, and the RO is the most. e main reason is that RO often considers the worst scenes and is highly conservative. erefore, the greatest amount of regulation reserve is required to balance the predicted error of renewable energy output, which also leads to higher operating costs. When using SO for scheduling, only the reference distribution needs to be considered, and the conservativeness is the lowest. erefore, there is a minimum amount of regulation reserve requirements in the CSP-CHP microgrid system. e DRO method has a good balance between economy and robustness, which is also the advantage of the DRO method.
Comparison analysis of different risk preferences: the confidence level 1 − α and ambiguity set parameter d in DRO reflect the risk preference of the decision maker. In order to analyze the role of these two parameters, this section will select different parameter values and calculate the operating cost of the CSP-CHP microgrid system. e operating costs of the system under different parameters are shown in Table 5.
As can be seen from Table 5, the increase of 1 − α or d will lead to an increase in the total cost of CSP-CHP microgrid system operation. is is because the confidence level becomes larger, policymakers become conservative about the system's response to uncertainty, and their preference for risk decreases. At this time, the more the reserve demand for regulation to balance the predicted error of renewable energy output inside the CSP-CHP microgrid  system, the more natural gas consumed and the cost of operation and maintenance.

Conclusion
In order to improve the flexibility and economy of the cogeneration system, this study optimizes and adjusts the traditional CHP microgrid structure, introduces the CSP station to participate in the optimal operation of the CHP microgrid, and builds the CSP-CHP microgrid architecture. On this basis, the CSP-CHP microgrid conventional dispatching model is established. At the same time, in order to deal with the uncertainty in the CSP-CHP microgrid system, the DRO model is introduced. Finally, the CSP-CHP microgrid DRO economic dispatch model considering the uncertainty of renewable energy output is established. e following conclusions can be drawn from the simulation analysis: (1) e introduction of CSP stations to participate in the optimal operation of CSP-CHP microgrid can meet the multienergy requirements of electricity, thermal, and gas of the system and realize multienergy interconnection. However, the cost of purchasing energy for this system is relatively high, indicating that it is highly dependent on the external network. It is necessary to maintain interactive transactions with the external network in real time to ensure the security of the internal operation of the CSP-CHP microgrid system. (2) e CSP station acts as a combined heat and power unit to break the operating limitations of traditional units. Moreover, the thermal storage system and the electric boiler cooperate with each other to provide a low-cost thermal energy source for the heat storage system, making the operation of the heat storage system more flexible. is also expands its application avenues for CSP and improves the power generation potential of CSP station. And the CSP-CHP microgrid system realizes the "electricity-thermal-electricity" energy conversion, effectively using the electricity price mechanism to reduce the operating cost. (3) Energy storage (electricity ES, thermal ES, and gas ES) utilizes its energy transfer characteristics to store energy during low-price periods and release energy during high price periods, realizing the cross-period and high-value time-shift utilization of electricity, heat, and gas, and improving the economy and flexibility of the system.    (4) e introduction of the DRO method effectively solves the problem of the uncertainty of renewable energy output in the CSP-CHP microgrid system. Distributionally robust optimization is more robust than SO, more economical than traditional RO, and achieves a better balance between the two methods. In addition, the higher the risk preference of decision makers, the lower the operating cost of the optimization results, but it also means that the robustness of the decision-making scheme is reduced accordingly. erefore, the values of these two parameters should be appropriately selected according to actual requirements.
is study only considers the uncertainty of the output of renewable energy. In fact, there are many uncertain factors affecting the operation of CHP microgrid, such as the user's electrical load and thermal load. In the follow-up, we will study the impact of uncertain factors on system operation from the perspective of supply and demand.
Data Availability e datasets used and/or analyzed during the current study are available from the corresponding author upon reasonable request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.