CWM-CGAN Method for Renewable Energy Scenario Generation Based on Weather Label Multi-Factor Deﬁnition

: With the increasing installed capacity of renewable energy in the energy system, the uncertainty of renewable energy has an increasingly prominent impact on power system planning and operation. Renewable energy such as wind and solar energy is greatly affected by the external weather. How to use a reasonable method to describe the relationship between weather and renewable energy output, so as to measure the uncertainty of renewable energy more accurately, is an important problem. To solve this problem, this paper proposes a renewable energy scenario generation method based on a conditional generation countermeasure network and combination weighting method (CWM-CGAN). In this method, the combination of AHP and the entropy weight method is used to analyze the meteorological factors, the weather classiﬁcation is deﬁned as the condition label in the conditional generation countermeasure network, and the energy scenario is generated by the conditional generation confrontation network. In this paper, the proposed method is tested with actual PV data, and the results show that the proposed model can describe the uncertainty of PV more accurately.


Introduction
Accompanied by the energy system's pursuit of green energy and clean energy, and the urgent need for a reduction in energy and emissions, an increasing amount of renewable energy sources are connected to the system, and the penetration rate of renewable energy continues to increase. Renewable energy is used increasingly widely in the power industry [1].
In 2018, the global installed capacity of renewable energy increased to approximately 2378 GW [2]. For the fourth consecutive year, the new installed capacity of renewable energy exceeded the new installed capacity of fossil fuels and nuclear energy. Among these, solar photovoltaic (PV)'s newly installed capacity is about 100 GW, accounting for 55% of the newly installed capacity of renewable energy, followed by wind power (28%) and hydropower (11%). As of the end of 2018, the installed capacity of various power sources in China was 189,948 million kW, 119.98 million kW more compared to 2017, an increase of 6.7%. The installed capacity of renewable energy power generation in China is 72896 kW, accounting for 38.4% of the total installed power capacity [3]. In general, renewable energy has accounted for more than 33% of the world's total power generation, and renewable energy has an indispensable position in power energy.
However, renewable energy is an intermittent energy source [4]. Due to changes in external conditions, such as weather and the environment, there is great uncertainty in the output of renewable energy. The degree of uncertainty in renewable energy output will have a great impact on the planning, operation, and reliability analysis of the energy system. Therefore, how to define the uncertainty of the available energy in different energy systems is an urgent issue that needs to be studied.
At present, the uncertainty analysis of renewable energy generally includes interval analysis methods, random sampling simulation methods, and scenario generation methods. Among them, scenario generation technology is one of the common methods for analyzing the output characteristics of renewable energy. Scenario generation is a method for generating possible renewable energy output scenarios by analyzing the characteristics of renewable energy. It can quantitatively analyze the uncertainty of renewable energy, provide a decision-making basis for operation, planning and other tasks, and reduce the negative impact of uncertainty.
At present, the scene generation technology can be divided into the probability model method, matrix transformation method, Markov chain method and artificial intelligence scene generation method. Artificial intelligence technology includes reinforcement learning, deep learning and transfer learning [5]. The basic idea of reinforcement learning is to gain rewards through the interaction between agents and the environment, so as to learn the best strategy to achieve the goal. Therefore, the reinforcement learning method focuses more on learning problem-solving strategies [6]. Due to its strong feature representation and mining ability, deep learning focuses on the perception and expression of things, which can better mine the related features of things. Therefore, scene construction based on artificial intelligence technology often uses deep learning algorithms [7]. Among them, the artificial intelligence scenario method is not constrained by the establishment of a renewable energy scenario model. It can learn the situation of renewable energy resources in the region by analyzing the information contained in historical data and replicate the law of scenario changes. The higher the accuracy of the scene constructed in the scene analysis method, the closer the solution to the random optimization problem is to the actual optimal value. Therefore, how to accurately construct the day-ahead scene of renewable energy is an important research direction. Through a cluster analysis of the historical actual load, a set of typical time series load scenarios was obtained in [8]. The deep learning generation method is based on the deep learning framework, which can conduct in-depth data mining, deeply analyze the internal statistical laws of the data, and realize the unsupervised generation of scenes. In [9], a stacked, independently recurrent autoencoder deep-learning model considering wind-power characteristics was proposed to predict wind-power generation. In [10], wind-power and photovoltaic output scenarios were generated based on generative adversarial neural networks. Compared with other types of scene generation methods, deep learning generation methods that are completely data-driven have a strong generalization and data expression ability, and the advantages of no supervision and independent learning. As a common deep learning method in the field of data generation, GAN can also be used in the scene construction of an integrated energy system. It can build more scene sets with certain characteristics, based on limited original samples. The improved CGAN can realize a mapping between scene set and condition [11]. In [12], CGAN was used to learn the time-space correlation of renewable energy output, and Wasserstein distance, as the discriminator loss function, was used to improve network training quality. In [13], a GAN-based generator was proposed to train the input noise algorithm reversely, and the day-ahead prediction value was combined to generate the renewable energy day-ahead scene set. In the field of energy, artificial intelligence technology was mainly used for online security assessment and prediction. An online, short-term VSA scheme based on the time series shapelet classification method was proposed in [14]. Ref. [15] proposed an online voltage stability margin monitoring approach with a reactive power reserve as the predictor. Ref. [16] developed a transient stability prediction system with online updates using ensemble learning, cost-sensitive learning, active learning, and fine-tuning techniques. Due to its advantages in image recognition and generation, GAN will be further applied to online renewable energy data prediction.
At present, traditional statistical models cannot fully consider the various correlations and unknown relationships of renewable energy output. Existing study results lack the relationship between the characteristics of renewable energy output and the deep learning network structure, and the explanation of the black box model is poor. On the other hand, for wind and wind resources, which depend on external weather influences, the correspondence between weather and wind and wind scenes is currently unclear. Therefore, in response to the above problems, this paper combines two mathematical tools, CGAN and combination weighting method, to solve the problem of scenery output scene generation under the environment of uncertain scenery resources.
At present, the uncertainty analysis of renewable energy is mainly divided into three aspects. One is the scenario method [17,18], which simulates and generates scenario data that are close to history by analyzing the characteristics of historical data, such as establishing a probability distribution function or learning data characteristics through the artificial intelligence method. The second is the quantitative analysis method [19,20], which defines the uncertain specific values of the interval method or matrix method. For the planning and operation of energy system, the advantage of scenario method is that the final results can be obtained by substituting different scenarios into the calculation, and the results can be easily understood through a simulation method. The quantitative analysis method is more suitable for specific optimization methods, such as robust optimization and two-stage optimization.
The purpose of the CWM-CGAN method proposed in this paper is to expand the existing scene set. The established scene set is required to have similar characteristics to the original scene set. Compared with the traditional Monte Carlo simulation, the modeling of data characteristics is more detailed, the datasets under different weather conditions are defined in the labels, and the data features are mined by artificial intelligence. Compared with the interval method, the interval analysis method can more easily define the upper and lower boundaries of uncertainty, but also expands the scope of uncertainty.
The main innovations can be summarized as follows: (1) This paper uses CGAN instead of the traditional scerne generation method for scene generation, without presupposing the data distribution, avoiding the problem of unreasonable scene generation caused by the difference between the assumed distribution and the actual distribution in the traditional method.
(2) In this paper, the combination weighting method is applied to the weather label classification of the original wind and solar data, and the weather labels of the data are determined by determining the weights of different meteorological factors to provide support for the CGAN to generate wind and solar output scenarios.

GAN and CGAN
As a generative model, the generative adversarial network (GAN) received widespread attention as soon as it was proposed [21]. It does not need to make any assumptions about the distribution of data, and can directly learn from the data and generate new data samples. The core idea of generating adversarial networks is derived from the two-person zero-sum game in game theory. The two parties involved in the game are composed of a generator and a discriminator. The generator simulates the generation of new data samples by learning the potential distribution of real data; the discriminator is essentially a two-classifier, with the function of determining accurately as possible whether the input data are real data or fake data generated by the generator. The whole process of the game requires the generator and the discriminator to seek the Nash equilibrium between the two through continuous learning and optimization to improve their generation ability and discrimination ability, respectively.
Assume that there are n years of historical wind/light output data: each year is divided into T time periods. p g (x) represents the true distribution of the observation data. Then, provide a set of noise data z ∼ p z (z) sampled from a known distribution (any distribution that is easy to sample can be selected; this paper uses the most commonly used normal distribution). The goal of GAN is to make the sampled data z as close to the real distribution p g (x) as possible through training. The training process is completed by two deep neural networks: generator network G(z; θ (G) ) and discriminator network D(x; θ (D) ), where θ (G) and θ (D) represent the weight parameters of the two networks, respectively.
For the generator network, its input is the noise data z sampled from distribution p z (z), and its mapping space is defined as G(z; θ (G) ), where G is a differentiable function, and its output denoted as p G (z) is the generated data sample. The goal of the generator network is to make the generated data samples as close to the real distribution as possible, ideally, p G (z) ∼ p g (x).
For the discriminator network, its input is real data or data generated by the generator, and its mapping space is also defined as D(x; θ (D) ), where D is differentiable, and its output is a scalar p real , which represents the probability that the input data obey the real distribution p g (x). The goal of the discriminator network is to determine the source of the input data as accurately as possible.
After defining the training objectives of the generator and the discriminator, it is necessary to construct the loss functions L G and L D of the generator and the discriminator respectively for training. For the generator, a smaller L G means a higher probability that the generated data obey p g (x). For the discriminator, a smaller L D means that the discriminator has a stronger ability to distinguish data sources. According to the reference, L G and L D can be expressed as follows: (1) where E(·) represents the calculation expectation, which is equal to the empirical average of the historical observation value and the generator output value. It should be noted that functions D and G are parameterized by the weights of two networks. GAN is based on the zero-sum non-cooperative game. If one side wins, the other side loses. Zero-sum games are also called minimax games. In the process of training, discriminator D is to distinguish all the pictures generated by generator G. The goal of generator G is to generate enough real data to confuse discriminator D. In this way, the two are playing games with each other. The ultimate goal is to achieve a balance, that is, a Nash equilibrium [22]. In order to build the game between the generator G and the discriminator D so that they can be trained at the same time, a game value function V(G,D) needs to be constructed. As shown in Equation (3), a minimax game model on the value function V(G,D) is built, combining Equations (1) and (2).
In the initial stage of training, the data samples generated by the generator network are quite different from the real data samples, so the discriminator network can distinguish between the two with higher accuracy. In this case, L D is small, while L G and V(G, D) are both large; as the iteration progresses, the generator network adjusts the weight of the network to make the generated sample more similar to the real sample, and the discriminator network also improves discriminative ability through learning. In this way, through repeated iterations, until the final discriminator network cannot accurately distinguish the source of the input data samples, the generator network has been trained and can be used to simulate wind and light resource scenarios.
A condition generative adversarial network (CGAN) is an improvement made on the basis of GAN [23]. By adding labels, it realizes the classification of data samples, so that the discriminator can achieve faster convergence. However, in the process of adding data tags, the identification of the different categories of the original data so that the original data can be sufficiently distinguished is a key factor that can affect the result and speed of the CGAN scene generation. The combination weighting method analyzes the components of weights, analyzes the size of weights, and implements the accurate classification of data through subjective and objective weighting methods.
On the input side of the CGAN generator, noise z and condition c are combined as the input of generator G, and sample x = G(z|c) is generated through generator G output. The discriminator D of CGAN not only needs to judge the similarity between the generated sample distribution p(x ) and the real sample distribution p(x), but also needs to determine whether the generated sample x satisfies the condition c. Therefore, the loss functions of the generator and discriminator in CGAN are shown in Equations (4) and (5).
The original generative adversarial network is prone to training difficulties and mode collapse during training. This is because the original GAN uses the JS divergence as the loss function of the discriminator D. When the generated sample does not overlap the real sample distribution, the JS divergence will always be constant. For renewable energy day-ahead scene generation, the generator needs to learn the mapping relationship of the day-ahead scene distribution. If the discriminator uses the JS divergence as the loss function, it will not be able to accurately measure the distance between the sample distributions, and the gradient will disappear in the reverse transfer. The difficulty of network training affects the accuracy of the generated scene set. The Wasserstein distance can effectively measure the distance between two probability distributions: even when there is no overlap between the two probability distributions, it can still effectively describe the distance between the distributions.
The difference between CGAN and GAN is that CGAN has conditional value or label value input. The function of the label is to enable CGAN to quickly identify the characteristics of certain data, so that it can learn more quickly. For example, the wind and light intensity data of a certain area can be generated from the scene, and weather tags such as sunny, cloudy, and rain can be added to the historical data to make the generated data more consistent with the historical weather distribution of the area. For example, load data are generated through scenarios, and behavior tags such as work, commuting, home, rest, etc., are added by defining user behavior, so that the generated data are more in line with the user's habitual energy consumption behavior.
When using CGAN, outsiders caused by poor quality measurements, overtraining of the learning data, and undertraining of the learning data may occur. Outliers caused by low-quality measurements can be detected and processed by the probabilistic statistical outlier detection method and machine-learning-based outlier detection method. The probabilistic statistical outlier detection methods include extreme value analysis and probabilistic hybrid model [24]. The machine-learning-based outlier detection methods include anomaly detection based on a linear model, anomaly detection based on proximity, integration method of anomaly detection, etc. The instability of CGAN can be solved by giving the generator a new training target, which can avoid overtraining the generator. If over-training occurs, the amount of input data can be increased. If the overall dataset is small, the batch size should be reduced accordingly [25]. For the problem of under-training, methods such as increasing the training time or network structure's complexity should be taken [26].

Analytic Hierarchy Process
The analytic hierarchy process (AHP) is used to determine the role of decision-makers in multi-objective decision-making in selecting and judging factors that are difficult to quantify and cannot be avoided. Specific steps are as follows: (1) Establish a hierarchical analysis structure model including a target layer, criterion layer and indicator layer; (2) Construct a judgment matrix of indicators at all levels; (3) Test the consistency of the matrix: the consistency index C I and the consistency ratio C R of the judgment matrix are as follows: where λ max is the maximum eigenvalue of the judgment matrix, n is the n elements of AHP scheme layer. R I is only related to n, and its value is shown in Table 1. (4) Determine the subjective weight, that is, take the largest eigenvector of the judgment matrix and standardize it.
In this paper, the AHP method is used for subjective weather weighting. The weather is generally divided into four or five types [28,29]. For common weather types, this paper selected five weather types, which are sunny, cloudy, rainy, snowy and windy, and six meteorological factors, dew point, wind speed, humidity, temperature, light intensity and air pressure, as indicators for the assessment of weather conditions.
The weather condition assessment is taken as an example. According to Figure 1, the weather condition assessment index system is decomposed into a target layer, index layer and object layer. Construct a judgment matrix of indicators based on the correlation between historical data and subjective judgment. For historical meteorological data, X = {x 1 , x 2 , . . . x n }, Y = {y 1 , y 2 , . . . y n } represents the n-dimensional data of dew point, wind speed, temperature, etc., and X, Y is its average value. For the correlation, to characterize the correlation between random variables, Pearson correlation coefficient was the commonly used indices [30]. The Pearson correlation coefficient can be calculated according to Equation (8), and the correlation coefficient matrix between historical meteorological data can be formed, as shown in Equation (9) and Figure 2.  According to the correlation coefficient, the judgment matrix C is calculated as: Therefore, the weight coefficients of dew point, wind speed, humidity and temperature determined by AHP are:

Entropy Weight Method
In the entropy weight method, entropy is a measure of the degree of disorder of the system, which can measure the effective information provided by the data, and the entropy weight method can effectively use the index value. Specific steps are as follows: (1) Standardize the data of each indicator. Assume that k indicators X 1 , X 2 , . . . , X k are given, where X i = {x 1 , x 2 , · · · , x n }. Assuming that the standardized value of each indicator data is Y 1 , Y 2 , . . . , Y k , and Y i = (2) Find the information entropy of each index. According to the definition of information entropy in information theory, the information entropy of a set of data is p ij ln p ij = 0.
(3) Determine the weight of each indicator, and calculate the weight of each indicator through information entropy: After substituting Equation (11) to complete the combination weighting process, use the following equation to judge the rationality of weighting.
Calculate the degree of closeness d sk (k = 1, 2, · · · , q) between the combination weighting method s and the weighting result of the original k-th weighting method, W s is the combination weighting vector obtained by the combination weighting method s, and W (k) is the attribute weight vector obtained by the original k-th weighting method, and 0 ≤ d sk ≤ 1, and then use d s = 1 q q ∑ k=1 d sk to reflect the average degree of correlation (average fit) between the combination weighting method s and the original q weighting methods. It is easy to know that 0 ≤ d s ≤ 1 and, the larger the d s , the more reasonable the result obtained by the corresponding combination weighting method s.
In this paper, the weight coefficient of each index calculated by the entropy weight method is:

Combination Weighting Method
Figures 3-5 show the flow of the proposed CWM-CGAN method. First, historical data were collected and divided into historical renewable energy data, including wind speed and illumination, and historical meteorological data, including dew point, humidity and temperature, etc. The historical meteorological data were used for the weight analysis of label factors, and the historical renewable energy data were used as the reference for generating new data by generator and discriminator.   After the tag weight analysis, the combined weight method was used to calculate the historical meteorological data. On the one hand, AHP method ias used to build the decision layer, criterion layer and scheme layer of AHP and analyze the weight of AHP. The decision layer takes AHP weight as the goal, the criterion layer is composed of various meteorological indicators, and the scheme layer is historical meteorological data. The steps are shown in Section 3.
On the other hand, entropy weight method was used to find the target weight of the entropy weight through historical evaluation data, data standardization, information entropy calculation and other steps. The specific steps are shown in Section 3. Finally, the final label value was obtained from the combined weight of Equation (7), and different data category labels were given to the historical data samples of renewable energy and the data samples generated by CGAN generator.
The historical data of renewable energy were input to the discriminator as the standard data, and the discriminator generated the data until qualified.
Tags play a role in highlighting data characteristics in CGAN data processing. A reasonable tag definition can make the results of data generation more realistic and effective. Confusing and meaningless tags will reduce the effectiveness of the data generated by the scene. Therefore, a reasonable definition of tags in DCGAN is an important link in the use of DCGAN for artificial intelligence scene generation. Using a reasonable method to define the characteristics of different data types in the mass data, to summarize and classify the operating data, and characterize the attribute classification of different data, is the key.
For volatile data such as wind and light intensity, which are affected by natural weather conditions, it is more reasonable to use weather conditions to define labels. As a state quantity that changes at any moment, the actual weather state is difficult to define.
However, historical weather data often do not have clear and direct weather information, but contain information such as humidity, dew point, temperature, and air pressure. It is difficult to fully characterize the weather conditions using the above information. Therefore, it is more effective to use a reasonable method to integrate the above meteorological measurement factors to define the label. There are many types of meteorological state variables, such as air pressure, humidity, light, wind speed, wind direction, etc. How to determine the weight of each state variable and thus determine the weather is a key issue.
At present, there are two main methods for determining the weight of indicators, namely the subjective weighting method and objective weighting method. The weight determined by the subjective weighting method reflects the intention of the decision maker and is greatly affected by the subjective influence of the evaluation subject; the objective weighting method mainly relies on complete mathematical theories and methods, starts from objective data, ignores the subjective information of the decision maker, and does not consider the difference in the indicator, so it is possible to ignore the true situation. Therefore, the combination of subjective weighting method and objective weighting method using the following equation can avoid the respective defects of the two methods, thereby improving the accuracy of weighting [31].
Define the qualitative relationship between weather and meteorological measurement as shown in Equation (15), where x i (i ∈ [1, n]) is the meteorological measurement factor and a, b, c is the corresponding weight. However, because it is difficult to establish a quantitative analysis model of weather formation, it is impossible to directly obtain the weight relationship between each weather measurement information and the weather in Equation (15). Therefore, the use of a combined weighting method based on AHP and entropy weight method is proposed for analysis and calculation. AHP is a multi-criteria decision-making method for the quantitative analysis of qualitative problems [32]. The entropy method is a method of quantitative analysis of weight indicators [33]. For an indicator, entropy value can be used to judge the degree of dispersion of an indicator. The smaller the entropy value, the greater the degree of dispersion of the indicator, and the greater the influence (weight) of the index on the comprehensive evaluation.
Where θ represents the relative importance of the decision-maker's preference for a certain weighting method in determining the combined weight, and 0 ≤ θ ≤ 1; 1 − θ represents the relative importance of the decision-maker's degree of consistency of a certain weighting method among the weighting methods; λ k represents the decision maker's preference for the two weighting methods, which satisfies 2 ∑ k=1 λ k = 1; β k represents the relative degree of consistency of weighting between the k-th weighting method and other weighting methods, which satisfies 2 ∑ k=1 β k = 1.

Case Study
In order to study the effectiveness of the proposed method for wind speed and solar scenario generation, this case selected the hourly irradiance, wind speed and other meteorological data of 256 locations in the Las Vegas area of the United States in 2018 [34]. The case set up three methods: historical data (HD), Monte Carlo sampling (MC) and autoregressive moving average model (ARMA), which were compared with the CWM-CGAN methods proposed in this paper. The program tools and computing environment were set as follows. The processor is Inter(R) Core(TM) i7-1065G7 CPU @ 1.30GHz. The RAM is 16 GB. The program is calculated on Python platform.
The generator G included two deconvolution layers with a step size of 2 × 2. As shown in Table 2, first, the input noise z was up-sampled, and the scene x was downsampled by the discriminator D, including two convolutional layers with a step size of 2 × 2, and the generator began up-sampling from the fully connected multilayer perceptron.
The discriminator has a reverse structure and can perform a single sigmoid output. Two convolutional layers were enough to represent the daily dynamics of the training set. All models in this paper were trained using the RmsProp optimizer, and the minimum batch size was 32. The ownership values of neurons in the neural network were all initialized by the central normal distribution, and the standard deviation was 0.02. Except for the input layer, a batch normalization method was used before each layer, and the learning was stabilized by normalizing the input of each layer to zero mean and unit variance. ReLU activation was used for the generator, and leaked ReLU activation was used for the discriminator.
Based on the weather weight calculated by the above equation, the weather was divided into five categories, and the labels of the historical data were defined accordingly. Figure 6 shows the training process of CGAN learning. It can be seen that the initial discriminator could clearly distinguish the real data from the generated data, but after 10,000 trainings, the training results converged, and the discriminator was difficult to distinguish, and reached the Nash equilibrium state. The data generated by the generator were close to the real data distribution, but the discriminator could not identify the true and false (generated) images, and the probability of true prediction for a given piece of data was close to 0.5. Therefore, D(x) is similar to D(G(z)) [35]. Figures 6 and 7 show the variation in the Wasserstein distance of the generated samples during the training process. It can be seen that as the number of trainings increases, it basically converges to near 0 after 10,000 trainings.  The outer region is the scene generated by the Monte Carlo sampling method according to the wind speed and irradiance probability model. According to the Weibull distribution of wind speed and beta distribution of irradiance, the probability distribution parameters were fitted from the historical data and then sampled. The second region is the range of historical data: the inner side is the scene range generated by the CW-CGAN method proposed in this paper, and the innermost side is the generation range of ARMA method. It can be seen from Figures 8 and 9 that the scene generated by Monte Carlo method had the most complete coverage, but it also reduced the fit with the historical scene. The scene range generated by ARMA method was relatively conservative. Although it can better represent the characteristics of irradiance and wind speed, it was partially inconsistent with the historical scene data. Most of the proposed CWM-CGAN methods fit the upper and lower limits of historical data and, to some extent, the generated scene has the characteristics of historical wind speed and irradiance.  Figures 10 and 11 are comparisons of the probability distribution function (PDF) and cumulative probability density function (CDF) of historical data, scene samples generated by CGAN with tags defined based on the proposed method, and scene samples generated by CGAN with unreasonably defined tags. It can be seen that the samples generated by the proposed method (red line) are closer to the historical data (blue line), and unreasonably defined labels will greatly reduce the accuracy of CGAN-generated samples.   Figures 10 and 11 are comparisons of the probability distribution function (PDF), cumulative probability density function (CDF) and some indicators of three methods and historical data. By comparing the fitting degree of curve PDF and CDF in the figure, it can be seen that, among the three methods, CWM-CGAN had the best effect, followed by ARMA, and finally Monte Carlo sampling. A comparison of mean, standard deviation, skewness and determination coefficient index also shows that the proposed CWM-CGAN method is effective in scene generation (Table 3). As the CWM-CGAN method integrates many factors to define labels, it is more detailed in weather division and can generate scenes for each weather condition. In summary, using the combination weighting method to define weather classification and combining this with CGAN to generate renewable energy output scenarios has a good effect. Compared with traditional methods, the weather definition method using the combination weighting method can more accurately describe the daily weather conditions, and the generated scenes are more satisfactory. Through a method comparison, it can be seen that the scenario generation method proposed in this paper can more accurately describe the uncertainty of the output of renewable energy.

Conclusions
This paper proposes a renewable energy scenario generation method based on a condition generative adversarial network and combination weighting method. It analyzes meteorological data with an analytic hierarchy process and entropy weight method to measure weather labels, and uses a condition generative adversarial network to generate energy scenarios with historical scenario characteristics. In the case study, illumination is used as an example to verify the effectiveness and accuracy of the scene generation method proposed in this paper compared with the unreasonable weather definition method.
Since GAN does not need any specific statistical assumptions, it can be widely used in scenario generation, load forecasting and other aspects. This will be of great significance for follow-up research on the planning and operation of a multi-energy power system with a high proportion of renewable energy penetration. However, due to the influence of external environment and policy factors, different scenarios often have specific probability characteristics. Therefore, GAN generation in different probability scenarios will be investigated in future research.