CN117973644A - Distributed photovoltaic power virtual acquisition method considering optimization of reference power station - Google Patents
Distributed photovoltaic power virtual acquisition method considering optimization of reference power station Download PDFInfo
- Publication number
- CN117973644A CN117973644A CN202410389240.9A CN202410389240A CN117973644A CN 117973644 A CN117973644 A CN 117973644A CN 202410389240 A CN202410389240 A CN 202410389240A CN 117973644 A CN117973644 A CN 117973644A
- Authority
- CN
- China
- Prior art keywords
- virtual
- reference power
- power station
- distributed photovoltaic
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
- G06N3/0442—Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/004—Generation forecast, e.g. methods or systems for forecasting future energy generation
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/381—Dispersed generators
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/22—The renewable source being solar energy
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Biophysics (AREA)
- Evolutionary Computation (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Power Engineering (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Photovoltaic Devices (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
技术领域Technical Field
本发明属于电力技术领域,涉及分布式光伏运行数据采集,为一种考虑参考电站优化的分布式光伏功率虚拟采集方法。The invention belongs to the field of electric power technology, relates to distributed photovoltaic operation data collection, and is a distributed photovoltaic power virtual collection method considering reference power station optimization.
背景技术Background Art
随着能源短缺和环境污染的加剧,光伏系统已成为解决能源和环境问题的重要手段之一。与集中式光伏相比,分布式光伏以其安装灵活、能源利用率高等优点得以迅速发展。然而,分布式光伏数量的增加使得监测分布式光伏的运行状态需要大量传感器和通信设备。偏远地区的分布式光伏数据传输需要高昂的通信费用,巨大的数据量还需要广泛的服务器、数据库和数据监控平台,导致许多用户由于隐私或成本原因并不愿意使用这项服务。此外,随着分布式光伏安装位置的地理环境和天气条件的复杂多变,传输过程往往存在数据缺失、传输堵塞以及设备故障等问题。因此,有必要为分布式光伏集群开发一种具有经济性、鲁棒性的数据收集方法。With the increasing shortage of energy and environmental pollution, photovoltaic systems have become one of the important means to solve energy and environmental problems. Compared with centralized photovoltaics, distributed photovoltaics have developed rapidly due to their advantages such as flexible installation and high energy utilization. However, the increase in the number of distributed photovoltaics requires a large number of sensors and communication equipment to monitor the operating status of distributed photovoltaics. Distributed photovoltaic data transmission in remote areas requires high communication costs, and the huge amount of data also requires extensive servers, databases and data monitoring platforms, resulting in many users being unwilling to use this service due to privacy or cost reasons. In addition, with the complex and changeable geographical environment and weather conditions at the installation location of distributed photovoltaics, the transmission process often has problems such as data loss, transmission congestion and equipment failure. Therefore, it is necessary to develop an economical and robust data collection method for distributed photovoltaic clusters.
发明内容Summary of the invention
本发明的目的在于:提供了一种考虑参考电站与超参数优化的分布式光伏运行数据虚拟采集方法以解决海量分布式光伏运维数据采集成本高、可靠性低的难题,主要发明内容如下:基于区域内各分布式光伏具有空间相关性这一事实,采用门控循环单元GRU作为虚拟采集器来捕捉分布式光伏的时间相关性。基于Wasserstein距离度量的损失函数和注意力机制被引入到GRU来挖掘不同电站之间复杂的映射关系。其次,在传统的蜜獾优化算法(HBA)中引入时变二进制传递函数、混沌初始化策略来搜索使虚拟采集精度最高的参考电站集合。最后,为了提高复杂天气条件下虚拟采集器的性能,采用无模型强化学习深度Q网络(DQN)自适应动态调整虚拟采集器的超参数。The purpose of the present invention is to provide a method for virtual collection of distributed photovoltaic operation data taking into account reference power stations and hyperparameter optimization to solve the problem of high cost and low reliability of massive distributed photovoltaic operation and maintenance data collection. The main invention contents are as follows: Based on the fact that each distributed photovoltaic in the region has spatial correlation, a gated recurrent unit GRU is used as a virtual collector to capture the temporal correlation of distributed photovoltaics. The loss function and attention mechanism based on Wasserstein distance metric are introduced into GRU to mine the complex mapping relationship between different power stations. Secondly, time-varying binary transfer function and chaotic initialization strategy are introduced into the traditional honey badger optimization algorithm (HBA) to search for a set of reference power stations with the highest virtual collection accuracy. Finally, in order to improve the performance of the virtual collector under complex weather conditions, a model-free reinforcement learning deep Q network (DQN) is used to adaptively and dynamically adjust the hyperparameters of the virtual collector.
本发明采用的技术方案如下:The technical solution adopted by the present invention is as follows:
一种考虑参考电站优化的分布式光伏功率虚拟采集方法,包括以下步骤:A distributed photovoltaic power virtual collection method considering reference power station optimization includes the following steps:
步骤S1:设计虚拟采集器AL-GRU,采用GRU挖掘分布式光伏之间的时空关联特性,注意力机制用于在不同时刻动态调整参考电站的权重,基于Wasserstein 距离度量的新损失函数用于提高GRU拟合性能;Step S1: Design a virtual collector AL-GRU, use GRU to mine the spatiotemporal correlation characteristics between distributed photovoltaics, use the attention mechanism to dynamically adjust the weight of the reference power station at different times, and use a new loss function based on Wasserstein distance metric to improve the GRU fitting performance;
步骤S2:以所述虚拟采集器AL-GRU为数据推理模型,对区域内的参考电站进行优化,以实现通过优化后的参考电站收集区域内所有分布式光伏电站的运行数据,引入时变二进制传递函数、混沌初始化策略的蜜獾优化算法HBA,以K折交叉验证分数最高为目标函数进行优化;Step S2: Using the virtual collector AL-GRU as a data inference model, the reference power station in the region is optimized to collect the operating data of all distributed photovoltaic power stations in the region through the optimized reference power station, and the honey badger optimization algorithm HBA with a time-varying binary transfer function and a chaotic initialization strategy is introduced, and the optimization is performed with the highest K-fold cross-validation score as the objective function;
步骤S3:设计状态空间、动作空间和奖励函数指导强化学习中的DQN学习历史场景中的超参数变化,在离线应用阶段能够根据分布式光伏的出力变化趋势自适应调整超参数。Step S3: Design state space, action space and reward function to guide the hyperparameter changes in the DQN learning history scenario in reinforcement learning, and adaptively adjust the hyperparameters according to the output change trend of distributed photovoltaics in the offline application stage.
进一步的,所述GRU的结构包括更新门和重置门,重置门的输出控制网络当前时刻的输入与历史时刻记忆之间的融合程度,更新门的输出决定了保留参考电站历史输出功率信息的比例,假设t时刻GRU的输入为,结合重置门和更新门可以得到t时刻的输出,具体计算公式如下:Furthermore, the structure of the GRU includes an update gate and a reset gate, and the output of the reset gate Control the degree of integration between the network's current input and historical memory, and update the output of the gate Determines the proportion of the historical output power information of the reference power station to be retained. Assume that the input of GRU at time t is , combined with the reset gate and the update gate, the output at time t can be obtained , the specific calculation formula is as follows:
; ;
; ;
; ;
; ;
式中:、为重置门对应的权重矩阵;W zy 、W zh 为更新门对应的权重矩阵;、为GRU输出对应的权重矩阵;表示Hadamard运算;b表示偏置向量;表示t-1时刻GRU的输出;为更新候选值;表示sigmoid激活函数。Where: , is the weight matrix corresponding to the reset gate; W zy , W zh are the weight matrices corresponding to the update gate; , Output the corresponding weight matrix for GRU; represents Hadamard operation; b represents bias vector; Represents the output of GRU at time t -1; To update the candidate value; Represents the sigmoid activation function.
进一步的,所述注意力机制考虑了历史出力状态构建输入滑窗,从而给注意力机制模块提供更多参考信息,假设t时刻下注意力机制模块的输入为,其中,为区域内所选参考电站的数量,为长度为T 1的时间滑窗,为了获取该时刻下各参考电站对当前待采集分布式光伏的重要程度,以作为输入构建三层注意力机制神经网络ANN,并通过Softmax层对ANN的输出进行归一化,具体计算过程如下:Furthermore, the attention mechanism considers the historical output state to construct the input sliding window, thereby providing more reference information to the attention mechanism module. Assume that the input of the attention mechanism module at time t is ,in, is the number of reference power stations selected in the region, is a time sliding window of length T1 In order to obtain the importance of each reference power station to the distributed photovoltaic power generation to be collected at this moment, A three-layer attention mechanism neural network ANN is constructed as input, and the output of ANN is normalized through the Softmax layer. The specific calculation process is as follows:
; ;
; ;
; ;
式中:和分别为注意力机制模块输入层和隐含层的输出;和分别为输入层和隐含层的激活函数;和分别为神经网络的权重矩阵和偏置项;为第i个参考电站的权重系数;Where: and They are the outputs of the input layer and hidden layer of the attention mechanism module respectively; and are the activation functions of the input layer and the hidden layer respectively; and They are the weight matrix and bias term of the neural network respectively; is the weight coefficient of the i- th reference power station;
将获得的参考电站注意力分布矩阵与当前时刻的输入相乘,得到不同参考电站对当前待采集分布式光伏的重要程度评估后的输入,虚拟采集器将根据输入拟合待采集电站的输出,计算过程如下:The obtained reference power station attention distribution matrix Multiply it by the current input to get the input after evaluating the importance of different reference power stations to the distributed photovoltaic power to be collected. , the virtual collector will fit the output of the power station to be collected according to the input, and the calculation process is as follows:
; ;
; ;
通过K-shape聚类算法将待采集分布式光伏的日变化曲线划分为K个模式,计算方法如下:The daily variation curve of distributed photovoltaics to be collected is divided into K modes through the K-shape clustering algorithm. The calculation method is as follows:
; ;
; ;
; ;
式中:SBD是基于形状的距离;,表示进行比较的两个分布式光伏功率时间序列;由于采样时间为15min,时间序列的长度T=96;表示互相关序列的长度;k是两个序列的相对滑动距离。Where: SBD is the shape-based distance; , Represents two distributed photovoltaic power time series for comparison; since the sampling time is 15 minutes, the length of the time series T = 96; Represents the cross-correlation sequence The length of ; k is the relative sliding distance between the two sequences.
进一步的,获取K类曲线的样本权重,采用概率分布衡量这K类曲线与整体波动情况的差异,利用Wasserstein距离对所得K类曲线的概率分布与整体概率分布进行度量,假设两个曲线类别的分布分别为P和Q,具体计算公式如下:Furthermore, the sample weights of the K -type curves are obtained, and the probability distribution is used to measure the difference between the K-type curves and the overall fluctuation situation. The Wasserstein distance is used to measure the probability distribution of the obtained K-type curves and the overall probability distribution. Assuming that the distributions of the two curve categories are P and Q respectively, the specific calculation formula is as follows:
; ;
式中:表示P和Q分布组合起来的所有联合分布的集合;x和y分别表示从联合分布中采样得到的样本;表示样本间的距离;在所有可能的联合分布中,样本对距离的期望值下界即为Wasserstein距离;Where: represents the set of all joint distributions of P and Q ; x and y represent the distributions from the joint distribution The samples obtained by sampling; Represents the distance between samples; in all possible joint distributions, the lower bound of the expected value of the distance between samples is the Wasserstein distance;
通过Softmax函数获取每类曲线所占权重,在离线训练过程中,为属于不同类别曲线的样本赋予不同的权重,Wasserstein距离度量的损失函数指导虚拟采集器的具体计算公式如下:The weight of each type of curve is obtained through the Softmax function. During the offline training process, different weights are assigned to samples belonging to different types of curves. The specific calculation formula of the loss function of the Wasserstein distance metric guiding the virtual collector is as follows:
; ;
; ;
式中:表示第i类曲线与整体概率分布的Wasserstein 距离;表示训练集中第i类曲线的样本数量;表示第i类曲线的样本权重;是属于第i类曲线中的第k个样本的虚拟采集结果;是真实功率。Where: Represents the Wasserstein distance between the i- th type curve and the overall probability distribution; Represents the number of samples of the i- th type of curve in the training set; represents the sample weight of the i -th type of curve; is the virtual acquisition result of the kth sample belonging to the i -th type of curve; is the real power.
进一步的,所述步骤S2中的参考电站选择过程包括:Furthermore, the reference power station selection process in step S2 includes:
步骤S201:定义参考电站选择问题,假定含有个分布式光伏的二元状态变量集合为,当其中的元素为1时说明该分布式光伏被选为参考电站,当其中的元素为0时说明该分布式光伏被选为待采集分布式光伏;Step S201: Define the reference power plant selection problem, assuming that The set of binary state variables of distributed photovoltaics is , when the element is 1, it means that the distributed photovoltaic is selected as the reference power station, and when the element is 0, it means that the distributed photovoltaic is selected as the distributed photovoltaic to be collected;
步骤S202:将K折交叉验证分数引入目标函数,在满足约束条件的前提下进行优化,具体描述如下:Step S202: Introduce the K-fold cross validation score into the objective function and optimize it under the premise of satisfying the constraints. The specific description is as follows:
; ;
; ;
; ;
式中:表示验证集样本数量;表示训练集样本数量;和分别表示第m个待采集分布式光伏的第i个虚拟采集值和真实值;K V 为交叉验证的折数;N cpv 表示待采集分布式光伏的数量,Where: Indicates the number of samples in the validation set; Indicates the number of training set samples; and They represent the ith virtual collection value and true value of the mth distributed photovoltaic to be collected; K V is the fold of cross-validation; N cpv represents the number of distributed photovoltaics to be collected,
优化过程中参考电站的数量计算公式为:The calculation formula for the number of reference power stations during the optimization process is:
; ;
参考电站数量的约束为:The constraint on the number of reference power stations is:
; ;
式中:为参考电站数量的最大值;Where: is the maximum number of reference power stations;
步骤S203:对HBA进行改进,引入时变二进制传递函数,使HBA适应二进制优化任务,引入混沌初始化策略,提高HBA初始解集的质量,具体描述如下:Step S203: Improve HBA by introducing a time-varying binary transfer function to adapt HBA to binary optimization tasks, introduce a chaotic initialization strategy to improve the quality of the HBA initial solution set, as described in detail below:
时变二进制传递函数计算公式为:The time-varying binary transfer function calculation formula is:
; ;
式中:控制参数,t为当前迭代次数,和分别为控制参数的上限和下限,x代表HBA个体的位置;e为自然底数;Where: Control parameter , t is the current iteration number, and are the upper and lower limits of the control parameters, respectively; x represents the position of the HBA individual; e is the natural base;
HBA个体的位置通过时变二进制传递函数的变换过程如下:The position of the HBA individual is transformed through the time-varying binary transfer function as follows:
; ;
式中:表示HBA第m个搜索代理的第d个维度;rand表示0到1的随机数,Where: represents the dth dimension of the mth search agent of HBA; rand represents a random number between 0 and 1,
所述混沌初始化策略采用tent映射产生初始种群序列,其表示式如下:The chaos initialization strategy uses tent mapping to generate the initial population sequence, which is expressed as follows:
; ;
步骤S204:基于步骤S202设定的目标函数和约束条件,以步骤S1开发的模型为虚拟采集器,通过步骤S203所提出的优化策略进行优化,得到最佳参考电站集合,随后将以选定参考电站为输入,其他待采集分布式光伏为输出训练虚拟采集器,实现区域内整个分布式光伏系统运行数据的采集。Step S204: Based on the objective function and constraints set in step S202, the model developed in step S1 is used as the virtual collector, and the optimization strategy proposed in step S203 is used to optimize the best reference power station set. Subsequently, the virtual collector is trained with the selected reference power station as input and other distributed photovoltaics to be collected as output to realize the collection of operating data of the entire distributed photovoltaic system in the area.
进一步的,所述步骤S3中的设计状态空间中,影响控制动作决策的变量被设定为系统的状态量,设定状态空间Furthermore, in the design state space in step S3, the variables affecting the control action decision are set as the state quantity of the system, and the state space is set
,其中,代表当前时段、W代表天气、DR和DP分别代表T 2时间步长内辐照度和输出功率的一阶差分、R和P代表当前时刻的辐照度和所有参考电站的输出功率、H代表虚拟采集器的超参数集。 ,in, represents the current period, W represents the weather, DR and DP represent the first-order differences of irradiance and output power in the T2 time step, R and P represent the irradiance at the current moment and the output power of all reference power stations, and H represents the hyperparameter set of the virtual collector.
进一步的,所述步骤S3中的动作空间设计,DQN中的智能体会依据当前状态空间调整虚拟采集器的超参数,超参数变化的组合构成了智能体的动作空间,其中,表示第个超参数的变化,,个超参数的动作空间大小为;g表示将连续空间离散化的颗粒度向量。Furthermore, in the action space design in step S3, the intelligent body in DQN will adjust the hyperparameters of the virtual collector according to the current state space, and the combination of hyperparameter changes It constitutes the action space of the intelligent agent, where Indicates The change of hyperparameters, , The action space size of the hyperparameter is ; g represents the granularity vector that discretizes the continuous space.
进一步的,所述步骤S3中的奖励函数,激励智能体采取提高虚拟采集精度的动作,定义如下:Furthermore, the reward function in step S3 encourages the agent to take actions to improve the accuracy of virtual acquisition, and is defined as follows:
; ;
式中:和分别表示2T 2步长内当前状态下以及智能体动作后的虚拟采集均方误差。Where: and They represent the mean square error of virtual acquisition in the current state and after the action of the agent within 2 T 2 steps respectively.
进一步的,所述步骤S3中的自适应调整超参数包括以下步骤:Furthermore, the adaptive adjustment of hyper parameters in step S3 includes the following steps:
步骤S301:为提高复杂天气条件下的虚拟采集性能,提出一种基于DQN的虚拟采集鲁棒性强化策略,通过DQN算法将超参数的动态调整转化为智能体的动作选择,采取衰减ε-greedy策略平衡智能体训练过程的随机搜索与贪婪行为,在该策略中选择动作的概率为1-ε,随机动作的概率为ε,动作选择过程表示为:Step S301: In order to improve the performance of virtual acquisition under complex weather conditions, a DQN-based virtual acquisition robustness enhancement strategy is proposed. The dynamic adjustment of hyperparameters is converted into the action selection of the agent through the DQN algorithm. The attenuated ε-greedy strategy is adopted to balance the random search and greedy behavior of the agent training process. The action is selected in this strategy. The probability of is 1- ε , the probability of random action is ε , and the action selection process is expressed as:
; ;
; ;
式中:代表t时刻时最高价值函数对应的动作;和分别为ε的下限和上限;代表强化学习训练的最大迭代次数,随着网络训练的逐渐成熟,随机动作的概率将逐渐减小;e为自然底数;Where: Represents the action corresponding to the highest value function at time t ; and are the lower and upper limits of ε respectively; Represents the maximum number of iterations of reinforcement learning training. As the network training matures, the probability of random actions will gradually decrease. e is a natural base number;
步骤S302:引入经验回放机制来提高智能体与环境交互的效率并降低样本间的相关性和依赖性,在该机制中,每一时间步智能体和环境交互得到的经验样本数据被存储到经验池中,在随后的训练过程中,DQN将基于如下损失函数更新目标网络与当前价值网络的权重:Step S302: Introduce the experience replay mechanism to improve the efficiency of the interaction between the agent and the environment and reduce the correlation and dependence between samples. In this mechanism, the experience sample data obtained by the interaction between the agent and the environment at each time step is stored in the experience pool. In the subsequent training process, DQN will update the weights of the target network and the current value network based on the following loss function:
; ;
式中:为目标价值网络的输出;为当前价值网络的输出;表示DQN训练样本的数量;和分别代表当前价值网络和目标价值网络的参数;表示回报折扣因子;max代表取最大值函数。Where: is the output of the target value network; is the output of the current value network; Represents the number of DQN training samples; and Represent the parameters of the current value network and the target value network respectively; Represents the return discount factor; max represents the maximum value function.
有益效果Beneficial Effects
本发明具有以下有益效果:The present invention has the following beneficial effects:
1.本发明提出“虚拟采集”的概念,解决海量分布式光伏建设过程中带来的数据传输设备不足以及数据传输可靠性降低等数据采集挑战。1. The present invention proposes the concept of "virtual collection" to solve the data collection challenges such as insufficient data transmission equipment and reduced data transmission reliability brought about by the construction of massive distributed photovoltaics.
2.针对虚拟采集问题,开发了面向时空特征提取的虚拟采集器。提出了一种基于Wasserstein距离度量的损失函数,以增强GRU在不同天气波动场景下的拟合能力。此外,整合了注意力机制,以在不同时间向参考电站提供不同的注意力水平。2. Aiming at the virtual collection problem, a virtual collector for spatiotemporal feature extraction is developed. A loss function based on Wasserstein distance metric is proposed to enhance the fitting ability of GRU under different weather fluctuation scenarios. In addition, an attention mechanism is integrated to provide different attention levels to the reference power station at different times.
3.为了解决参考电站选择难题,在传统蜜獾优化算法中引入时变二进制传递函数适应二进制决策变量优化,通过混沌初始化策略提高蜜獾优化算法初始解的质量。3. In order to solve the problem of reference power station selection, a time-varying binary transfer function is introduced into the traditional honey badger optimization algorithm to adapt to the optimization of binary decision variables, and the quality of the initial solution of the honey badger optimization algorithm is improved through the chaos initialization strategy.
4.本发明将深度强化学习与虚拟采集技术相结合,根据分布式光伏出力趋势的变化动态调整虚拟采集器的超参数,从而增强虚拟采集技术的鲁棒性。4. The present invention combines deep reinforcement learning with virtual collection technology, and dynamically adjusts the hyperparameters of the virtual collector according to changes in the distributed photovoltaic output trend, thereby enhancing the robustness of the virtual collection technology.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明提供的考虑参考电站与超参数优化的分布式光伏运行数据虚拟采集方法的流程图。FIG1 is a flow chart of a distributed photovoltaic operation data virtual collection method considering reference power stations and hyperparameter optimization provided by the present invention.
图2是本发明中涉及的虚拟采集器的原理图。FIG. 2 is a schematic diagram of a virtual collector involved in the present invention.
图3是本发明中涉及的参考电站选择方法的流程图。FIG3 is a flow chart of the reference power station selection method involved in the present invention.
图4是本发明中涉及的K折交叉验证的原理图。FIG4 is a schematic diagram of the K-fold cross validation involved in the present invention.
图5是本发明本发明中涉及的损失函数和传统损失函数MAE、MSE虚拟采集误差箱线图。FIG5 is a box plot of virtual acquisition errors of the loss function involved in the present invention and the traditional loss functions MAE and MSE.
图6(a)-(d)分别是在典型日1~典型日4下添加注意力机制和不添加注意力机制的虚拟采集结果对比图。Figure 6(a)-(d) are comparison diagrams of virtual acquisition results with and without adding the attention mechanism on Typical Day 1 to Typical Day 4, respectively.
图7是采用不同虚拟采集器对不同电站进行虚拟采集的误差对比图。FIG7 is a comparison diagram of the errors of virtual collection of different power stations using different virtual collectors.
图8是在不同迭代次数下虚拟采集精度的变化情况。Figure 8 shows the changes in virtual acquisition accuracy at different iteration times.
具体实施方式DETAILED DESCRIPTION
下面结合附图对本发明作进一步详细地说明:The present invention will be further described in detail below in conjunction with the accompanying drawings:
如图1所示,本发明提供一种考虑参考电站优化的分布式光伏功率虚拟采集方法,所述方法包括以下步骤:As shown in FIG1 , the present invention provides a distributed photovoltaic power virtual collection method considering reference power station optimization, the method comprising the following steps:
步骤S1:设计虚拟采集器AL-GRU。采用门控循环单元(GRU)作为虚拟采集器挖掘分布式光伏之间的时空关联特性。注意力机制用于在不同时刻动态调整参考电站的权重,基于Wasserstein 距离度量的新损失函数用于提高GRU拟合性能。Step S1: Design the virtual collector AL-GRU. The gated recurrent unit (GRU) is used as the virtual collector to mine the spatiotemporal correlation characteristics between distributed photovoltaics. The attention mechanism is used to dynamically adjust the weights of the reference power station at different times, and the new loss function based on the Wasserstein distance metric is used to improve the GRU fitting performance.
步骤S2:以上述开发的虚拟采集器为推理模型,对区域内的参考电站进行优化,以实现选定站点安装传感器收集整个系统的光伏运行数据。为提高参考电站的质量,提出引入时变二进制传递函数、混沌初始化策略的蜜獾优化算法,以K折交叉验证分数最高为目标函数进行优化。Step S2: Using the virtual collector developed above as the inference model, the reference power station in the region is optimized to install sensors at the selected sites to collect the photovoltaic operation data of the entire system. In order to improve the quality of the reference power station, a honey badger optimization algorithm with a time-varying binary transfer function and a chaotic initialization strategy is proposed, and the optimization is performed with the highest K-fold cross-validation score as the objective function.
步骤S3:为提高模型在不同天气条件下的表现,设计状态空间、动作空间和奖励函数指导强化学习中的DQN学习历史场景中的超参数变化。在离线应用阶段能够根据分布式光伏的出力变化趋势自适应调整超参数,以提高虚拟采集精度。Step S3: To improve the performance of the model under different weather conditions, the state space, action space and reward function are designed to guide the hyperparameter changes in the DQN learning history scene in reinforcement learning. In the offline application stage, the hyperparameters can be adaptively adjusted according to the output change trend of distributed photovoltaics to improve the accuracy of virtual collection.
所述步骤S1中虚拟采集器的解释为:分布式光伏虚拟采集的数据推理实质上是以参考电站的采集数据作为输入,通过回归模型实时估计区域内所有分布式光伏的运行数据。因此虚拟采集器就是为进行虚拟采集任务所开发的回归模型。The explanation of the virtual collector in step S1 is: the data reasoning of the distributed photovoltaic virtual collection is essentially to use the collection data of the reference power station as input, and to estimate the operating data of all distributed photovoltaics in the region in real time through the regression model. Therefore, the virtual collector is a regression model developed for virtual collection tasks.
所述步骤S2中参考电站优化的解释为:The explanation of the reference power station optimization in step S2 is:
本发明的目的是基于改进蜜獾优化算法选择出参考电站,其实时功率数据将作为多维特征输入智能计算模型,以估计区域内所有分布式光伏的输出。然而,在区域内随机选择参考电站是不可靠的。在电站区域内选择合理的参考电站组合可以起到相互补充的作用,进而有效提高虚拟采集的精度。The purpose of the present invention is to select reference power stations based on the improved honey badger optimization algorithm, and their real-time power data will be input into the intelligent computing model as a multi-dimensional feature to estimate the output of all distributed photovoltaics in the region. However, randomly selecting reference power stations in the region is unreliable. Selecting a reasonable combination of reference power stations in the power station area can complement each other, thereby effectively improving the accuracy of virtual acquisition.
进一步,所述步骤S1中的虚拟采集器AL-GRU的包含基础GRU、注意力机制模块和Wasserstein距离度量的损失函数:Furthermore, the virtual collector AL-GRU in step S1 includes the loss function of the basic GRU, the attention mechanism module and the Wasserstein distance metric:
步骤S101:GRU的结构包括更新门和重置门。重置门的输出控制网络当前时刻的输入与历史时刻记忆之间的融合程度。更新门的输出决定了保留参考电站历史输出功率信息的比例。假设t时刻GRU单元的输入为,结合重置门和更新门可以得到t时刻的输出。具体计算公式如下:Step S101: The structure of GRU includes an update gate and a reset gate. The output of the reset gate Controls the degree of integration between the network's current input and the memory of historical moments. Update gate output It determines the proportion of the historical output power information of the reference power station to be retained. Assume that the input of the GRU unit at time t is , combined with the reset gate and the update gate, the output at time t can be obtained The specific calculation formula is as follows:
; ;
; ;
; ;
; ;
式中:、为重置门对应的权重矩阵;W zy 、W zh 为更新门对应的权重矩阵;、为GRU单元输出对应的权重矩阵;表示Hadamard运算;b表示偏置向量;表示t-1时刻GRU单元的输出;为更新候选值;表示sigmoid激活函数。Where: , is the weight matrix corresponding to the reset gate; W zy , W zh are the weight matrices corresponding to the update gate; , Output the corresponding weight matrix for the GRU unit; represents Hadamard operation; b represents bias vector; Represents the output of the GRU unit at time t -1; To update the candidate value; Represents the sigmoid activation function.
步骤S102:引入注意力机制提高GRU的拟合能力。所述注意力机制考虑了历史出力状态构建输入滑窗,从而给注意力机制模块提供更多参考信息。假设t时刻下注意力机制模块的输入为。其中,为区域内所选参考电站的数量,为长度为T 1的时间滑窗。为了获取该时刻下各参考电站对当前待采集光伏的重要程度,以作为输入构建三层注意力机制神经网络(ANN),并通过Softmax层对ANN的输出进行归一化。具体计算过程如下:Step S102: Introduce the attention mechanism to improve the fitting ability of GRU. The attention mechanism considers the historical output state to construct the input sliding window, thereby providing more reference information to the attention mechanism module. Assume that the input of the attention mechanism module at time t is .in, is the number of reference power stations selected in the region, is a time sliding window of length T1 In order to obtain the importance of each reference power station to the current photovoltaic power to be collected at this moment, A three-layer attention mechanism neural network (ANN) is constructed as input, and the output of the ANN is normalized through the Softmax layer. The specific calculation process is as follows:
; ;
; ;
; ;
式中:和分别为注意力机制模块输入层和隐含层的输出;和分别为输入层和隐含层的激活函数;和分别为神经网络的权重矩阵和偏置项;为第i个参考电站的权重系数;Where: and They are the outputs of the input layer and hidden layer of the attention mechanism module respectively; and are the activation functions of the input layer and the hidden layer respectively; and They are the weight matrix and bias term of the neural network respectively; is the weight coefficient of the i- th reference power station;
步骤S103:将获得的参考电站注意力分布矩阵与当前时刻的输入相乘,得到不同参考电站对当前待采集光伏的重要程度评估后的输入。虚拟采集器将根据输入拟合待采集分布式光伏的输出。计算过程如下:Step S103: Obtain the reference power station attention distribution matrix Multiply it by the current input to get the input after evaluating the importance of different reference power stations to the current photovoltaic power to be collected. The virtual collector will fit the output of the distributed photovoltaic to be collected based on the input. The calculation process is as follows:
; ;
; ;
所述步骤S102引入注意力机制的原因包括:区域内各个电站具有独特的地理空间位置,而且不同时刻下各参考电站对于待采集的分布式光伏重要性并不相同。这激励了我们运用注意力机制来挖掘不同光伏之间的时空关联程度。注意力机制模仿人脑注意力的资源分配机制,在特定时刻会将注意力集中在重点需要关注的区域。因此,在虚拟采集器中引入注意力机制,结合图2,本发明中涉及的虚拟采集器的原理图,可以对不同参考电站给予不同的关注程度,从而实现参考电站权重的动态分配。The reasons for introducing the attention mechanism in step S102 include: each power station in the region has a unique geographical spatial location, and the importance of each reference power station to the distributed photovoltaics to be collected is not the same at different times. This motivates us to use the attention mechanism to explore the degree of spatiotemporal correlation between different photovoltaics. The attention mechanism imitates the resource allocation mechanism of human brain attention, and at a specific moment it will focus on the area that needs to be paid attention to. Therefore, the attention mechanism is introduced in the virtual collector. Combined with Figure 2, the schematic diagram of the virtual collector involved in the present invention can give different degrees of attention to different reference power stations, thereby realizing the dynamic allocation of reference power station weights.
步骤S104:通过K-shape聚类算法将待采集光伏的日变化曲线划分为K个模式。计算方法如下:Step S104: Divide the daily variation curve of the photovoltaic power to be collected into K modes by using the K-shape clustering algorithm. The calculation method is as follows:
; ;
; ;
; ;
式中:SBD是基于形状的距离;,表示k-shape的输入时间序列;由于采样时间为15min,时间序列的长度T=96;表示互相关序列的长度;k是两个序列的相对滑动距离。Where: SBD is the shape-based distance; , Represents the input time series of k-shape; since the sampling time is 15 minutes, the length of the time series T = 96; Represents the cross-correlation sequence The length of ; k is the relative sliding distance between the two sequences.
步骤S105:为了获取这K类曲线的样本权重,采用概率分布衡量这K类曲线与整体波动情况的差异。这样做的好处是可以避免某一条异常曲线影响整体的权重。Wasserstein距离无需2组数据的长度相同,即使在两个概率分布不发生重叠时也可以有效衡量其相似程度。因此利用 Wasserstein 距离对所得K类曲线的概率分布与整体概率分布进行度量。具体计算公式如下:Step S105: In order to obtain the sample weight of the K-type curve, the probability distribution is used to measure the difference between the K-type curve and the overall fluctuation. The advantage of this is that it can prevent a certain abnormal curve from affecting the overall weight. The Wasserstein distance does not require the length of the two sets of data to be the same, and can effectively measure their similarity even when the two probability distributions do not overlap. Therefore, the Wasserstein distance is used to measure the probability distribution of the obtained K-type curve and the overall probability distribution. The specific calculation formula is as follows:
; ;
式中:表示P和Q分布组合起来的所有联合分布的集合;x和y分别表示从联合分布中采样得到的样本;表示样本间的距离;在所有可能的联合分布中,样本对距离的期望值下界即为Wasserstein 距离。Where: represents the set of all joint distributions of P and Q ; x and y represent the distributions from the joint distribution The samples obtained by sampling; Represents the distance between samples; in all possible joint distributions, the lower bound of the expected value of the distance between samples is the Wasserstein distance.
步骤S105:通过Softmax函数获取每类曲线所占权重。在离线训练过程中,为属于不同类别曲线的样本赋予不同的权重。Wasserstein 距离度量的损失函数指导虚拟采集器的具体计算公式如下:Step S105: Obtain the weight of each type of curve through the Softmax function. During the offline training process, different weights are assigned to samples belonging to different types of curves. The specific calculation formula of the loss function of the Wasserstein distance metric guiding the virtual collector is as follows:
; ;
; ;
式中:表示第i类曲线与整体概率分布的Wasserstein 距离;表示训练集中第i类曲线的样本数量;表示第i类曲线的样本权重;是属于第i类曲线中的第k个样本的虚拟采集结果;是真实功率。Where: Represents the Wasserstein distance between the i- th type curve and the overall probability distribution; Represents the number of samples of the i- th type of curve in the training set; represents the sample weight of the i -th type of curve; is the virtual acquisition result of the kth sample belonging to the i -th type of curve; is the real power.
进一步,结合图3,参见本发明中涉及的参考电站选择方法的流程图,所述步骤S2中的参考电站选择过程包括:Further, in conjunction with FIG. 3 , referring to the flowchart of the reference power station selection method involved in the present invention, the reference power station selection process in step S2 includes:
步骤S201:定义参考电站选择问题。假定含有个分布式光伏的二元状态变量集合为。当其中的元素为1时说明该分布式光伏被选为参考电站,当其中的元素为0时说明该分布式光伏被选为待采集分布式光伏;Step S201: Define the reference power plant selection problem. Assume that The set of binary state variables of distributed photovoltaics is When the element is 1, it means that the distributed photovoltaic power station is selected as the reference power station, and when the element is 0, it means that the distributed photovoltaic power station is selected as the distributed photovoltaic power station to be collected;
步骤S202:优化过程需要考虑虚拟采集器的性能,而训练损失无法反映模型在未知条件下的拟合能力。因此,为了充分利用已有数据并反映优化过程中不同分布式光伏作为参考电站时的综合虚拟采集误差,将K折交叉验证分数引入目标函数,在满足约束条件的前提下进行优化,验证集效果见图4本发明中涉及的K折交叉验证的原理图,具体描述如下:Step S202: The optimization process needs to consider the performance of the virtual collector, and the training loss cannot reflect the model's fitting ability under unknown conditions. Therefore, in order to make full use of the existing data and reflect the comprehensive virtual collection error of different distributed photovoltaics as reference power stations during the optimization process, the K-fold cross-validation score is introduced into the objective function, and the optimization is performed under the premise of satisfying the constraints. The effect of the validation set is shown in Figure 4, which is a schematic diagram of the K-fold cross-validation involved in the present invention, and is described in detail as follows:
; ;
; ;
; ;
式中:表示验证集样本数量;表示训练集样本数量;和分别表示第m个待采集分布式光伏的第i个虚拟采集值和真实值;K V 为交叉验证的折数;表示待采集光伏的数量。Where: Indicates the number of samples in the validation set; Indicates the number of training set samples; and They represent the ith virtual collection value and true value of the mth distributed photovoltaic to be collected respectively; K V is the fold of cross-validation; Indicates the number of photovoltaics to be collected.
优化算法会偏向于增加参考电站的数量以提高虚拟采集的精度。如果不对稀疏性进行要求,则无法达到虚拟采集中降低采集成本的目的。参考电站数量计算公式为:The optimization algorithm tends to increase the number of reference power stations to improve the accuracy of virtual acquisition. If sparsity is not required, the purpose of reducing acquisition costs in virtual acquisition cannot be achieved. The calculation formula for the number of reference power stations is:
; ;
对参考电站数量的约束为:The constraint on the number of reference power stations is:
; ;
式中:为参考电站数量的最大值。Where: is the maximum number of reference power stations.
步骤S203:对HBA进行改进,引入时变二进制传递函数,使HBA适应二进制优化任务。相比于其他二进制传递函数,时变传递函数能够在不同的搜索阶段提高算法的探索能力,避免陷入局部最优。此外,引入混沌初始化策略,提高HBA初始解集的质量。具体描述如下:Step S203: Improve HBA by introducing a time-varying binary transfer function to adapt HBA to binary optimization tasks. Compared with other binary transfer functions, the time-varying transfer function can improve the algorithm's exploration ability at different search stages and avoid falling into local optimality. In addition, a chaotic initialization strategy is introduced to improve the quality of the HBA initial solution set. The specific description is as follows:
时变二进制传递函数计算公式为:The time-varying binary transfer function calculation formula is:
; ;
式中:x代表HBA个体的位置;e为自然底数;控制参数Where: x represents the position of the HBA individual; e is the natural base; control parameter
; ;
t为当前迭代次数,和分别为控制参数的上限和下限。 t is the current iteration number, and are the upper and lower limits of the control parameters respectively.
HBA个体的位置通过二进制传递函数的变换过程如下:The position of the HBA individual is transformed through the binary transfer function as follows:
; ;
式中:表示HBA第m个搜索代理的第d个维度;rand表示0到1的随机数。Where: represents the dth dimension of the mth search agent of the HBA; rand represents a random number between 0 and 1.
所述混沌初始化策略描述如下:The chaos initialization strategy is described as follows:
传统的麻雀优化算法通过随机数初始化种群,这种随机生成方式可能使得生成的个体分布不均,导致种群多样性和寻优速度降低。因此,采用tent映射产生初始种群序列,其表示式如下:The traditional sparrow optimization algorithm initializes the population through random numbers. This random generation method may cause uneven distribution of generated individuals, resulting in reduced population diversity and optimization speed. Therefore, tent mapping is used to generate the initial population sequence, which is expressed as follows:
; ;
步骤S204:基于步骤S202设定的目标函数和约束条件,以步骤S1开发的模型为虚拟采集器,通过步骤S203所提出的优化策略进行优化,得到最佳参考电站集合。随后将以选定参考电站为输入,其他待采集分布式光伏为输出训练虚拟采集器,实现区域内整个分布式光伏系统运行数据的虚拟采集。Step S204: Based on the objective function and constraints set in step S202, the model developed in step S1 is used as a virtual collector, and the optimization strategy proposed in step S203 is used to optimize and obtain the best reference power station set. Subsequently, the virtual collector is trained with the selected reference power station as input and other distributed photovoltaics to be collected as output, so as to realize the virtual collection of the operating data of the entire distributed photovoltaic system in the region.
进一步,所述步骤S3中的虚拟采集器超参数动态调整包括以下步骤:Furthermore, the dynamic adjustment of the virtual collector hyperparameters in step S3 includes the following steps:
步骤S301:为提高复杂天气条件下的虚拟采集性能,提出一种基于DQN的虚拟采集鲁棒性强化策略。该方法基于历史场景中的状态信息和采集误差,通过动态调整模型超参数提高虚拟采集的鲁棒性能,从而降低特定场景下的虚拟采集误差。通过DQN算法将超参数的动态调整转化为智能体的动作选择,采取衰减ε-greedy策略平衡智能体训练过程的随机搜索与贪婪行为。在该策略中选择动作的概率为1-ε,随机动作的概率为ε。Step S301: In order to improve the performance of virtual acquisition under complex weather conditions, a DQN-based virtual acquisition robustness enhancement strategy is proposed. This method is based on the state information and acquisition errors in historical scenes, and improves the robustness of virtual acquisition by dynamically adjusting the model hyperparameters, thereby reducing the virtual acquisition error in specific scenes. The dynamic adjustment of hyperparameters is converted into the action selection of the agent through the DQN algorithm, and the attenuated ε-greedy strategy is adopted to balance the random search and greedy behavior of the agent training process. Actions are selected in this strategy. The probability of is 1- ε , and the probability of random action is ε .
; ;
; ;
式中:代表t时刻时最高价值函数对应的动作;和分别为ε的下限和上限;代表强化学习训练的最大迭代次数。随着网络训练的逐渐成熟,随机动作的概率将逐渐减小。Where: Represents the action corresponding to the highest value function at time t ; and are the lower and upper limits of ε respectively; Represents the maximum number of iterations of reinforcement learning training. As the network training matures, the probability of random actions will gradually decrease.
所述步骤S301中的智能体解释为:强化学习中的智能体由神经网络组成,是在虚拟采集器进行数据采集过程中执行超参数调整动作的实体,以最小化虚拟采集误差完成训练。The intelligent agent in step S301 is explained as follows: the intelligent agent in reinforcement learning is composed of a neural network, and is an entity that performs hyperparameter adjustment actions during data collection by a virtual collector to complete training by minimizing virtual collection errors.
步骤S302:引入经验回放机制来提高智能体与环境交互的效率并降低样本间的相关性和依赖性。在该机制中,每一时间步智能体和环境交互得到的经验样本数据被存储到经验池中。在随后的训练过程中,DQN将基于如下损失函数更新目标网络与当前价值网络的权重。Step S302: Introduce the experience replay mechanism to improve the efficiency of the interaction between the agent and the environment and reduce the correlation and dependence between samples. In this mechanism, the experience sample data obtained by the interaction between the agent and the environment at each time step is is stored in the experience pool. In the subsequent training process, DQN will update the weights of the target network and the current value network based on the following loss function.
; ;
式中:为目标价值网络的输出;表示DQN训练样本的数量;和分别代表当前价值网络和目标价值网络的参数。Where: is the output of the target value network; Represents the number of DQN training samples; and Represent the parameters of the current value network and the target value network respectively.
步骤S303:针对虚拟采集任务,对智能体状态空间、动作空间以及奖励函数的描述如下:Step S303: For the virtual collection task, the description of the agent state space, action space and reward function is as follows:
状态空间设计:State Space Design:
影响控制动作决策的变量被设定为系统的状态量。我们的目标是在复杂天气场景下,提高虚拟采集的性能。智能体的状态空间不仅需要体现出DPV的出力趋势,还需要包含超参数状态。因此,设定状态空间。其中,代表当前时段、W代表天气、DR和DP分别代表T 2时间步长内辐照度和输出功率的一阶差分、R和P代表当前时刻的辐照度和所有参考电站的输出功率、H代表虚拟采集器的超参数集。The variables that affect the control action decision are set as the state of the system. Our goal is to improve the performance of virtual acquisition in complex weather scenarios. The state space of the agent not only needs to reflect the output trend of the DPV, but also needs to include the hyperparameter state. Therefore, the state space is set .in, represents the current period, W represents the weather, DR and DP represent the first-order differences of irradiance and output power in the T2 time step, R and P represent the irradiance at the current moment and the output power of all reference power stations, and H represents the hyperparameter set of the virtual collector.
动作空间设计:Action Space Design:
DQN中的智能体会依据当前状态调整虚拟采集器的超参数。因此,超参数变化的组合构成了智能体的动作空间。其中,表示第个超参数的变化,,个超参数的动作空间大小为;g表示将连续空间离散化的颗粒度向量。The DQN agent will adjust the hyperparameters of the virtual collector based on the current state. Therefore, the combination of hyperparameter changes It constitutes the action space of the intelligent agent. Indicates The change of hyperparameters, , The action space size of the hyperparameter is ; g represents the granularity vector that discretizes the continuous space.
奖励函数设计:Reward function design:
奖励函数激励智能体采取提高虚拟采集精度的动作,定义如下:The reward function motivates the agent to take actions that improve the accuracy of virtual acquisition and is defined as follows:
; ;
式中:和分别表示2T 2步长内当前状态下以及智能体动作后的虚拟采集均方误差。Where: and They represent the mean square error of virtual acquisition in the current state and after the action of the agent within 2 T 2 steps respectively.
具体应用的最佳实施例:Best practice for specific applications:
要实现分布式光伏功率的虚拟采集数据,首先需要找到合适的分布式光伏功率数据集,并对收集到的数据集进行预处理,为后续做算例分析提供数据支撑。本发明选择了中国江苏省南京市江宁区的29座分布式光伏(DPV)进行虚拟采集测试。从2018年2月1日至2018年12月31日收集的数据在07:15至17:00的15分钟间隔内收集。为了便于网络的训练和验证,我们将2月1日至10月31日的数据作为训练集和验证集,其余数据用于DPV虚拟采集的有效性验证。虚拟采集精度通过误差指标平均绝对误差(MAE)、均方根误差(RMSE)和平均绝对百分误差(MAPE)来评估:To realize the virtual data collection of distributed photovoltaic power, it is first necessary to find a suitable distributed photovoltaic power data set and preprocess the collected data set to provide data support for subsequent case analysis. The present invention selected 29 distributed photovoltaics (DPVs) in Jiangning District, Nanjing City, Jiangsu Province, China for virtual collection testing. The data collected from February 1, 2018 to December 31, 2018 were collected in 15-minute intervals from 07:15 to 17:00. In order to facilitate the training and verification of the network, we use the data from February 1 to October 31 as the training set and verification set, and the remaining data is used to verify the effectiveness of DPV virtual collection. The accuracy of virtual collection is evaluated by the error indicators mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE):
; ;
; ;
; ;
式中:表示测试样本的数量;和分别表示分布式光伏输出功率的虚拟采集数值和真实值;通过MAPE评估虚拟采集性能时需要去除实际功率的为0的采样点。Where: Indicates the number of test samples; and They represent the virtual collection value and real value of distributed photovoltaic output power respectively. When evaluating the virtual collection performance by MAPE, it is necessary to remove the sampling points where the actual power is 0.
为了证明本发明开发的IHBA的有效性,分别选用蜜獾优化算法(HBA)、郊狼算法(COA)、灰狼算法(GWO)和哈里斯鹰优化算法(HHO)对参考电站进行优化。在不同参考电站数量下各优化算法的目标函数值如表1所示。可以看出,本发明所使用的IHBA优化算法所得参考电站具有最优的目标函数值。In order to prove the effectiveness of the IHBA developed by the present invention, the honey badger optimization algorithm (HBA), coyote algorithm (COA), gray wolf algorithm (GWO) and Harris Hawk optimization algorithm (HHO) are selected to optimize the reference power station. The objective function values of each optimization algorithm under different numbers of reference power stations are shown in Table 1. It can be seen that the reference power station obtained by the IHBA optimization algorithm used in the present invention has the best objective function value.
表1 不同参考电站数量下各优化算法目标函数值(W2)Table 1 Objective function values of each optimization algorithm under different reference power station numbers (W 2 )
为了验证虚拟采集器的效果,选择参考电站总数量为14,通过IHBA算法进行优化,得到参考电站编号为:2、4、7、10、11、12、14、15、16、18、20、21、24、27。首先,展示本发明所提出损失函数的优越性,将经典损失函数MAE、MSE和提出的损失函数下虚拟采集的精度进行对比。不设置随机数种子,重复实验20次,得到图5,发明中涉及的损失函数和传统损失函数MAE、MSE虚拟采集误差箱线图所示误差情况。可以看出,通过所提出损失函数的虚拟采集误差最低,并且具有较低的标准差。除此之外,相比于MAE,MSE更能反映出偏差较大的采样点。而本发明提出的损失函数能够在MSE损失函数的基础上进一步反映不同波动天气条件下的虚拟采集误差,相比于其他损失函数在虚拟采集问题中更加具有竞争力。为方便表示,在下文中我们称带有注意力机制的GRU为A-GRU,带有改进损失函数的GRU为L-GRU。In order to verify the effect of the virtual collector, the total number of reference power stations is selected as 14, and the reference power stations are numbered as follows: 2, 4, 7, 10, 11, 12, 14, 15, 16, 18, 20, 21, 24, 27 through the IHBA algorithm for optimization. First, the superiority of the loss function proposed in the present invention is demonstrated, and the accuracy of virtual acquisition under the classic loss function MAE, MSE and the proposed loss function is compared. Without setting the random number seed, the experiment is repeated 20 times to obtain the error shown in Figure 5, the virtual acquisition error box plot of the loss function involved in the invention and the traditional loss function MAE, MSE. It can be seen that the virtual acquisition error of the proposed loss function is the lowest and has a lower standard deviation. In addition, compared with MAE, MSE can better reflect the sampling points with larger deviations. The loss function proposed in the present invention can further reflect the virtual acquisition error under different fluctuating weather conditions on the basis of the MSE loss function, and is more competitive in the virtual acquisition problem than other loss functions. For the convenience of representation, we call the GRU with attention mechanism A-GRU and the GRU with improved loss function L-GRU in the following text.
我们在测试集中挑选出四个不同出力趋势的典型日,以1号电站为代表验证添加注意力机制的效果。虚拟采集结果如图6所示,在4个典型日下添加注意力机制和不添加注意力机制的虚拟采集结果对比图,整体来看三条线较为接近,说明通过本发明所选择的参考电站能够以较高精度完成虚拟采集。此外,添加注意力机制的A-GRU要优于GRU的表现。这是因为注意力机制根据这一段时间滑窗的数据动态的为参考电站分配权重,提高了与待采集分布式光伏出力趋势更加接近的参考电站的权重。总之,在平稳和波动的天气条件下,所提出的方法均具有良好的虚拟采集性能。We selected four typical days with different output trends in the test set, and used Power Station No. 1 as a representative to verify the effect of adding the attention mechanism. The virtual collection results are shown in Figure 6, which is a comparison chart of the virtual collection results with and without the attention mechanism on four typical days. Overall, the three lines are relatively close, indicating that the reference power station selected by the present invention can complete virtual collection with higher accuracy. In addition, the A-GRU with the added attention mechanism performs better than the GRU. This is because the attention mechanism dynamically assigns weights to the reference power station according to the data of the sliding window during this period of time, which increases the weight of the reference power station that is closer to the distributed photovoltaic output trend to be collected. In short, the proposed method has good virtual collection performance under both stable and fluctuating weather conditions.
不同改进方案下虚拟采集精度如表2所示。L-GRU对MAE和RMSE误差的降低效果更明显。这说明本发明开发的损失函数能够提高实际出力较大时的拟合性能,而MAPE往往被实际出力较小的采样点所影响。A-GRU的MAE和RMSE降低效果不如L-GRU,而MAPE降低效果则较好。此外,注意力机制和GRU共享损失函数,所提出的损失函数能够在不同天气条件下辅助注意力机制赋予各电站更具区分度的权重,因此两者结合具有最佳的虚拟采集精度。The virtual acquisition accuracy under different improvement schemes is shown in Table 2. L-GRU has a more obvious effect on reducing MAE and RMSE errors. This shows that the loss function developed by the present invention can improve the fitting performance when the actual output is large, while MAPE is often affected by sampling points with smaller actual output. The MAE and RMSE reduction effects of A-GRU are not as good as those of L-GRU, but the MAPE reduction effect is better. In addition, the attention mechanism and GRU share the loss function. The proposed loss function can assist the attention mechanism in giving each power station a more discriminative weight under different weather conditions. Therefore, the combination of the two has the best virtual acquisition accuracy.
表2 不同改进方案下虚拟采集误差Table 2 Virtual acquisition error under different improvement schemes
进一步,为体现所提出虚拟采集器的优越性,将不同虚拟采集器的性能进行对比,如图7采用不同虚拟采集器对不同电站进行虚拟采集的误差对比图所示。从模型角度来看,BP神经网络的MAE和RMSE均为最高,难以以较高精度完成虚拟采集任务。集成学习具有良好的拟合性能。其中,XGBoost的RMSE高于LightGBM,但是MAPE低于LightGBM,这是由于XGBoost的异常点大多出现在实际功率较大的采样点,而LightGBM则相反。后续可以考虑将两种模型进行融合以提高采集精度。本发明所提出的AL-GRU具有最佳的虚拟采集精度。此外,具有时序记忆功能的GRU同样优于BP神经网络和集成学习中的RF。因此,时序分析功能对虚拟采集这一任务非常重要,后续应重点针对这一特性展开研究。从电站的角度来看,相比于其他电站,1号电站和13号电站的虚拟采集精度较低。倘若将其作为参考电站可能会影响所有电站的虚拟采集精度,因此IHBA将其作为非参考电站,侧面反映了IHBA选择参考电站的合理性。Furthermore, in order to reflect the superiority of the proposed virtual collector, the performance of different virtual collectors is compared, as shown in the error comparison diagram of virtual collection of different power stations using different virtual collectors in Figure 7. From the perspective of the model, the MAE and RMSE of the BP neural network are both the highest, and it is difficult to complete the virtual collection task with high accuracy. Ensemble learning has good fitting performance. Among them, the RMSE of XGBoost is higher than that of LightGBM, but the MAPE is lower than that of LightGBM. This is because most of the abnormal points of XGBoost appear at sampling points with large actual power, while LightGBM is the opposite. In the future, it can be considered to fuse the two models to improve the collection accuracy. The AL-GRU proposed in the present invention has the best virtual collection accuracy. In addition, the GRU with time series memory function is also better than the BP neural network and the RF in the ensemble learning. Therefore, the time series analysis function is very important for the task of virtual collection, and the subsequent research should focus on this feature. From the perspective of the power station, the virtual collection accuracy of Power Station No. 1 and Power Station No. 13 is lower than that of other power stations. If it is used as a reference power station, it may affect the virtual acquisition accuracy of all power stations. Therefore, IHBA regards it as a non-reference power station, which indirectly reflects the rationality of IHBA's selection of a reference power station.
分布式光伏的出力趋势并不是一直像β分布那样规范,在不同天气条件下趋势变化明显。为了验证本发明所提出DQN动态调整超参数方法的有效性,我们基于6种虚拟采集器进行仿真验证。为清楚的显示不同迭代次数下模型性能的变化情况,我们选取AL-GRU作为典型进行展示,如图8所示,在不同迭代次数下虚拟采集精度的变化情况,为了使展示更加清晰,仅显示了RMSE的变化情况。可以看出,初期由于DQN经验不足,使得AL-GRU模型性能严重下降。这说明模型的超参数设置严重影响着虚拟采集的性能。随着迭代次数的增加,DQN通过学习更多的交互信息有效提高了超参数动态调整的能力。当最大迭代次数超过1000时,具有DQN辅助调整超参数的ALGRU虚拟采集性能趋于稳定。因此,我们选择Max_iter=1200进行实验,重复实验15次,观察不同VCM在DQN辅助下的虚拟采集误差。The output trend of distributed photovoltaics is not always as standardized as the β distribution, and the trend changes significantly under different weather conditions. In order to verify the effectiveness of the DQN dynamic hyperparameter adjustment method proposed in the present invention, we conducted simulation verification based on 6 virtual collectors. In order to clearly show the changes in model performance under different iteration numbers, we selected AL-GRU as a typical example for display. As shown in Figure 8, the changes in virtual acquisition accuracy under different iteration numbers, in order to make the display clearer, only the changes in RMSE are shown. It can be seen that the performance of the AL-GRU model has seriously declined due to insufficient DQN experience in the early stage. This shows that the hyperparameter setting of the model seriously affects the performance of virtual acquisition. With the increase in the number of iterations, DQN effectively improves the ability to dynamically adjust hyperparameters by learning more interactive information. When the maximum number of iterations exceeds 1000, the virtual acquisition performance of ALGRU with DQN-assisted hyperparameter adjustment tends to be stable. Therefore, we selected Max_iter=1200 for the experiment, repeated the experiment 15 times, and observed the virtual acquisition errors of different VCMs assisted by DQN.
各模型的虚拟采集精度如表3所示。可以看出,在DQN的辅助下各VCM的虚拟采集精度均有所提高。由于集成学习中的LightGBM、XGBoost的超参数较多,具有更大的超参数调整空间,因此精度提升更为明显。并且,集成学习模型的标准差偏大,这是因为需要更多的迭代次数从而使模型更加稳定。The virtual acquisition accuracy of each model is shown in Table 3. It can be seen that the virtual acquisition accuracy of each VCM has been improved with the assistance of DQN. Since LightGBM and XGBoost in ensemble learning have more hyperparameters and have a larger hyperparameter adjustment space, the accuracy improvement is more obvious. In addition, the standard deviation of the ensemble learning model is larger because more iterations are required to make the model more stable.
表3 不同虚拟采集器自适应调整超参数后的虚拟采集误差Table 3 Virtual collection errors of different virtual collectors after adaptively adjusting hyperparameters
进一步,我们观察不同训练集比例下DQN动态调整超参数的虚拟采集效果。训练集比例分别从40%提升到80%的平均虚拟采集误差如表4所示。可以看出,参数提升效果会随着训练集的增加而得以改善,这说明强化学习需要更多的历史状态场景进行学习。因此,该技术改进后续应重点关注多样化出力场景的收集。Furthermore, we observe the virtual acquisition effect of DQN dynamically adjusting hyperparameters under different training set ratios. The average virtual acquisition error when the training set ratio increases from 40% to 80% is shown in Table 4. It can be seen that the parameter improvement effect will improve with the increase of training sets, which shows that reinforcement learning requires more historical state scenarios for learning. Therefore, the subsequent improvement of this technology should focus on the collection of diversified output scenarios.
表4 不同训练集比例时的虚拟采集误差Table 4 Virtual acquisition error at different training set ratios
一种电子设备,包括存储器所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行上述任一项所述的考虑参考电站与超参数优化的分布式光伏运行数据虚拟采集方法。An electronic device includes a memory, wherein the processors are communicatively connected to each other, the memory stores computer instructions, and the processor executes any of the above-mentioned methods for virtual collection of distributed photovoltaic operation data taking into account reference power stations and hyperparameter optimization by executing the computer instructions.
一种计算机存储介质,所述计算机可读存储介质上存储有计算机指令,所述计算机指令用于使计算机执行上述任一项所述的考虑参考电站与超参数优化的分布式光伏运行数据虚拟采集方法。A computer storage medium having computer instructions stored thereon, wherein the computer readable storage medium is used to enable a computer to execute any of the above-mentioned methods for virtual collection of distributed photovoltaic operation data taking into account reference power stations and hyperparameter optimization.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本发明实施例中的方案可以采用各种计算机语言实现,例如,面向对象的程序设计语言Java和直译式脚本语言JavaScript等。It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The solutions in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and interpreted scripting language JavaScript, etc.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
申请人结合说明书附图对本发明的实施例做了详细的说明与描述,但是本领为了帮助读者更好地理解本发明精神,而并非对本发明保护范围的限制,相反,任何基于本发明的发明精神所作的任何改进或修饰都应当落在本发明的保护范围之内。The applicant has made a detailed illustration and description of the embodiments of the present invention in conjunction with the drawings in the specification. However, this is for the purpose of helping readers better understand the spirit of the present invention rather than limiting the scope of protection of the present invention. On the contrary, any improvement or modification based on the spirit of the present invention should fall within the scope of protection of the present invention.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410389240.9A CN117973644B (en) | 2024-04-02 | 2024-04-02 | A distributed photovoltaic power virtual collection method considering reference power station optimization |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410389240.9A CN117973644B (en) | 2024-04-02 | 2024-04-02 | A distributed photovoltaic power virtual collection method considering reference power station optimization |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN117973644A true CN117973644A (en) | 2024-05-03 |
| CN117973644B CN117973644B (en) | 2024-06-14 |
Family
ID=90863099
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410389240.9A Active CN117973644B (en) | 2024-04-02 | 2024-04-02 | A distributed photovoltaic power virtual collection method considering reference power station optimization |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117973644B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118281959A (en) * | 2024-06-03 | 2024-07-02 | 东莞理工学院 | Virtual power-based micro-grid distributed regulation and control method |
| CN118484666A (en) * | 2024-07-16 | 2024-08-13 | 浙江兴创新能源有限公司 | Energy storage power station evaluation method and system for source network load multi-element application |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111898812A (en) * | 2020-07-17 | 2020-11-06 | 国网江苏省电力有限公司南京供电分公司 | A method for virtual collection of distributed photovoltaic data |
| CN112052913A (en) * | 2020-09-27 | 2020-12-08 | 国网江苏省电力有限公司南京供电分公司 | A virtual collection method for power data of distributed photovoltaic power station |
| CN112100904A (en) * | 2020-08-12 | 2020-12-18 | 国网江苏省电力有限公司南京供电分公司 | ICOA-BPNN-based distributed photovoltaic power station active power virtual acquisition method |
| CN113962357A (en) * | 2021-09-14 | 2022-01-21 | 天津大学 | GWO-WNN-based distributed photovoltaic power data virtual acquisition method |
| CN114186475A (en) * | 2021-10-28 | 2022-03-15 | 南京工业大学 | A life prediction method of slewing bearing based on Attention-MGRU |
| WO2022236064A2 (en) * | 2021-05-06 | 2022-11-10 | Strong Force Iot Portfolio 2016, Llc | Quantum, biological, computer vision, and neural network systems for industrial internet of things |
| CN116796194A (en) * | 2023-06-27 | 2023-09-22 | 国网宁夏电力有限公司石嘴山供电公司 | Virtual collection method of active power of distributed photovoltaic power stations based on IDBO-KELM-BiGRU neural network |
| CN117134334A (en) * | 2023-08-28 | 2023-11-28 | 淮阴工学院 | A photovoltaic power generation power prediction method based on mechanism-data-driven hybrid integration |
-
2024
- 2024-04-02 CN CN202410389240.9A patent/CN117973644B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111898812A (en) * | 2020-07-17 | 2020-11-06 | 国网江苏省电力有限公司南京供电分公司 | A method for virtual collection of distributed photovoltaic data |
| CN112100904A (en) * | 2020-08-12 | 2020-12-18 | 国网江苏省电力有限公司南京供电分公司 | ICOA-BPNN-based distributed photovoltaic power station active power virtual acquisition method |
| CN112052913A (en) * | 2020-09-27 | 2020-12-08 | 国网江苏省电力有限公司南京供电分公司 | A virtual collection method for power data of distributed photovoltaic power station |
| WO2022236064A2 (en) * | 2021-05-06 | 2022-11-10 | Strong Force Iot Portfolio 2016, Llc | Quantum, biological, computer vision, and neural network systems for industrial internet of things |
| CN113962357A (en) * | 2021-09-14 | 2022-01-21 | 天津大学 | GWO-WNN-based distributed photovoltaic power data virtual acquisition method |
| CN114186475A (en) * | 2021-10-28 | 2022-03-15 | 南京工业大学 | A life prediction method of slewing bearing based on Attention-MGRU |
| CN116796194A (en) * | 2023-06-27 | 2023-09-22 | 国网宁夏电力有限公司石嘴山供电公司 | Virtual collection method of active power of distributed photovoltaic power stations based on IDBO-KELM-BiGRU neural network |
| CN117134334A (en) * | 2023-08-28 | 2023-11-28 | 淮阴工学院 | A photovoltaic power generation power prediction method based on mechanism-data-driven hybrid integration |
Non-Patent Citations (3)
| Title |
|---|
| LEIJIAO GE等: "A Virtual Data Collection Model of Distributed PVs Considering Spatio-Temporal Coupling and Affine Optimization Reference", 《IEEE》, 31 July 2023 (2023-07-31), pages 3939 - 3951 * |
| 白星振等: "基于EWT-GRU-RR的配电网短期电力负荷预测模型", 《山东科技大学学报(自然科学版)》, 31 October 2023 (2023-10-31) * |
| 葛磊蛟等: "分布式光伏功率数据的IMOWOA 和 LightGBM 混合虚拟采集方法", 《中国电机工程学报》, 5 February 2024 (2024-02-05) * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118281959A (en) * | 2024-06-03 | 2024-07-02 | 东莞理工学院 | Virtual power-based micro-grid distributed regulation and control method |
| CN118484666A (en) * | 2024-07-16 | 2024-08-13 | 浙江兴创新能源有限公司 | Energy storage power station evaluation method and system for source network load multi-element application |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117973644B (en) | 2024-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Li et al. | Probabilistic charging power forecast of EVCS: Reinforcement learning assisted deep learning approach | |
| CN117973644B (en) | A distributed photovoltaic power virtual collection method considering reference power station optimization | |
| CN114648176B (en) | Wind-solar power supply consumption optimization method based on data driving | |
| CN112215428B (en) | Photovoltaic power generation power prediction method and system based on error correction and fuzzy logic | |
| CN113554466A (en) | Construction method, forecasting method and device for short-term electricity consumption forecasting model | |
| CN107609667B (en) | Heating load prediction method and system based on Box_cox transform and UFCNN | |
| CN103793887B (en) | Short-term electric load on-line prediction method based on self-adaptive enhancement algorithm | |
| CN112100911A (en) | Solar radiation prediction method based on deep BISLTM | |
| CN116796194A (en) | Virtual collection method of active power of distributed photovoltaic power stations based on IDBO-KELM-BiGRU neural network | |
| CN113887141B (en) | A method for evolving microgrid cluster operation strategies based on federated learning | |
| CN116894384A (en) | A multi-wind turbine wind speed spatio-temporal prediction method and system | |
| CN117454939A (en) | A wind power power prediction method based on NSABO-Gold algorithm optimizing BP neural network | |
| CN116911459A (en) | Multi-input multi-output ultra-short-term power load prediction method suitable for virtual power plant | |
| CN115759458A (en) | Load prediction method based on comprehensive energy data processing and multi-task deep learning | |
| CN119765252A (en) | New energy photovoltaic power station power generation prediction method and system | |
| CN117354846A (en) | A 5G power network slicing traffic prediction method | |
| Lin et al. | Deep reinforcement learning and LSTM for optimal renewable energy accommodation in 5G internet of energy with bad data tolerant | |
| CN116432812A (en) | Salp Algorithm Optimization LSTM New Energy Power Prediction Method | |
| He et al. | Short-term power load forecasting based on self-adapting PSO-BP neural network model | |
| Li et al. | Short-term Power Load Forecasting Based on Gate Recurrent Unit Network and Cloud Computing Platform | |
| CN110674460A (en) | Data-driven intelligent decision-making method for unit combination based on E-Seq2Seq technology | |
| Zhang | Short‐Term Power Load Forecasting Based on SAPSO‐CNN‐LSTM Model considering Autocorrelated Errors | |
| CN119130033A (en) | Optimal dispatching method, system, equipment and medium for 5G base station and active distribution network | |
| CN118630745A (en) | Power System Net Load Forecasting Method Based on Neural Network and Gaussian Regression Model | |
| CN113516521B (en) | Energy Internet user energy consumption data prediction method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |