Optical storage load collaborative optimization scheduling system and method based on multi-source data fusion
Through the coordinated optimization of photovoltaic storage and load-based optimization scheduling systems and methods based on multi-source data fusion, the aging and life problems of energy storage equipment are solved, the robustness and reliability of energy storage scheduling are improved, and the economy and sustainability of photovoltaic power generation and energy storage systems are realized.
Patent Information
- Application Number
- CN202510577397.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2045-05-06
AI Technical Summary
The prior art ignores the aging and life problems of energy storage equipment in photovoltaic power generation and energy storage system scheduling, resulting in deviations from the actual operation of the optimization results.
A photovoltaic storage and load-collective collaborative optimization scheduling system and method based on multi-source data fusion is proposed. By obtaining historical photovoltaic power generation data, load power consumption data and meteorological data, a photovoltaic power generation scenario tree model and load prediction model are constructed, taking into account the operating benefits and energy storage aging costs, an adaptive optimization scheduling model is established, and the optimal energy storage charging and discharge strategy is solved.
While ensuring the economicality of photovoltaic power generation, it improves the robustness and reliability of energy storage scheduling, extends the life of the energy storage system, and reduces the operating costs of the power system.
Smart Images

Figure CN120087726A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of photovoltaic energy storage optimization, and particularly to a photovoltaic-storage-load collaborative optimization scheduling system and method based on multi-source data fusion. Background Art
[0002] Photovoltaic-storage-load collaborative optimization scheduling refers to an advanced scheduling method in the power system that coordinates and optimizes photovoltaic power generation, energy storage systems, and load demands to improve the utilization efficiency of renewable energy, smooth the load curve, and reduce the operating cost of the power system. This research field involves multiple disciplines such as power systems, renewable energy, energy storage technologies, and optimization algorithms, and has broad application prospects.
[0003] Due to its advantages such as cleanliness and sustainability, photovoltaic power generation has developed rapidly globally. However, photovoltaic power generation also faces problems such as intermittency and large fluctuations, posing challenges to power grid dispatching and operation. Energy storage systems can, to a certain extent, smooth the fluctuations of photovoltaic power generation and improve its utilization efficiency through reasonable charging and discharging. At the same time, with the development of demand-side management technologies, some load demands have certain flexibility and can respond to the power supply-demand balance through optimized scheduling. Photovoltaic-storage-load collaborative optimization scheduling is to formulate the optimal scheduling strategies for each subsystem based on comprehensive consideration of photovoltaic power generation prediction, energy storage system characteristics, and load demand response capabilities, so as to maximize the benefits of the entire system.
[0004] Chinese Patent with application publication number CN119602358A discloses a multi-energy virtual power plant optimization scheduling method considering source-load collaboration, including data collection, data preprocessing, establishing models for wind turbines, photovoltaic units, gas turbines, distributed energy storage, and demand-side response, establishing a two-layer optimization scheduling model, and solving the two-layer optimization scheduling model to obtain the optimized scheduling results.
[0005] Most of the existing technologies ignore the aging and lifespan problems of energy storage devices, resulting in deviations between the optimization results and actual operation. How to optimize the charging and discharging strategies of energy storage power stations while considering the aging and lifespan loss of energy storage devices to maximize their economic benefits and operation reliability has become an urgent problem to be solved. Summary of the Invention
[0006] This application aims to solve at least one of the technical problems in the related technologies to some extent. For this reason, one objective of this application is to propose a photovoltaic-storage-load collaborative optimization scheduling system and method based on multi-source data fusion, which realizes improving the robustness and reliability of energy storage scheduling while ensuring the economy of photovoltaic power generation.
[0007] One aspect of this application provides a photovoltaic-storage-load collaborative optimization scheduling method based on multi-source data fusion, including: Step S100: Obtain historical photovoltaic power generation data, load power consumption data, and meteorological data, and construct a photovoltaic power generation scenario tree model and a load forecasting model; Step S200: Consider the operating revenue and energy storage aging cost to construct the first optimization objective and the second optimization objective. Based on the photovoltaic power generation scenario tree model, consider the uncertainty of photovoltaic power, and combine with the load demand predicted by the load forecasting model to establish an adaptive optimal scheduling model; Step S300: Embed the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimal scheduling model to solve the optimal energy storage charge and discharge strategy for the current period; The specific method for obtaining historical photovoltaic power generation data, load power consumption data, and meteorological data, and constructing a photovoltaic power generation scenario tree model and a load forecasting model is as follows: Step S110: Obtain historical photovoltaic power generation data, load power consumption data, and meteorological data, and perform preprocessing; The historical photovoltaic power generation data includes power generation power, inverter temperature, and power generation amount data; Step S120: Extract features from the historical photovoltaic power generation data and meteorological data to obtain input features. According to the input features and the historical photovoltaic power generation data, construct a photovoltaic power generation scenario tree model. The photovoltaic power generation scenario tree model divides the input features into N sub-regions, and each sub-region corresponds to a photovoltaic power generation scenario; Step S140: Define a deviation measurement index and set a deviation threshold. When the deviation measurement index MA is greater than the deviation threshold, it is considered that a significant deviation has occurred, and update the parameters of the photovoltaic power generation scenario tree model based on the current photovoltaic power generation data and meteorological data; Step S140: Construct a load forecasting model based on the load power consumption data to predict the future load demand; The specific method of the preprocessing includes: triggering data cleaning according to the power station alarm status, identifying and removing the power generation power, inverter temperature, and power generation amount data under abnormal power generation states; triggering data cleaning according to the electrical maintenance records, marking or removing the power generation power, inverter temperature, and power generation amount data during the power station maintenance period; performing outlier detection on the load power consumption data, and removing the load power consumption data in abnormal power consumption states; The specific method for constructing a photovoltaic power generation scenario tree model according to the input features and the historical photovoltaic power generation data is as follows: Step S121: Select a long short-term memory network as the initial network, construct training samples based on the sliding window method, preset the time window size, and extract input features based on the historical photovoltaic power generation data and meteorological data within each time window; Step S122: Preset the prediction step length T. For each time window, extract the power generation within the prediction step length in the future time as the output label, and combine the input features and output labels extracted from each time window into a training sample; Step S123: Slide the time window to obtain a training sample set, and train the photovoltaic power generation scenario tree model based on the training sample set. Use the recursive partitioning method to divide the input features into N sub-regions, and each sub-region corresponds to a photovoltaic power generation scenario; The training process of the photovoltaic power generation scenario tree model is as follows: Step S123.1: Starting from the root node, recursively partition the training sample set of the current node. Select a partitioning feature from the input features, and divide the training sample set into a high feature set and a low feature set to obtain a photovoltaic power generation scenario tree containing N sub-regions; Step S123.2: For each sub-region, count the number of training samples falling into this node, and calculate the proportion of it in the total number of training samples as the occurrence probability of this photovoltaic power generation scenario; Step S123.3: For each sub-region, count the power generation distribution parameters under each photovoltaic power generation scenario; Step S123.4: Use the training sample set to optimize the parameters of the photovoltaic power generation scenario tree model by minimizing the loss function; when the value of the loss function converges, the training is completed; Step S123.5: Use the trained photovoltaic power generation scenario tree model to predict the occurrence probability and power generation distribution parameters of the photovoltaic power generation scenario to which the new input features belong. The distribution parameters include the mean and variance; The update method for the parameters of the photovoltaic power generation scenario tree model is as follows: Calculate the adaptive learning rate according to the gradient of the model parameters at each update; Introduce a forgetting factor , when a significant deviation occurs, based on the adaptive learning rate of the previous update , the gradient of the model parameters and the forgetting factor , calculate the value of the model parameters at the current update ; The construction and training method of the load prediction model is as follows: Step S141: Extract load characteristics based on the load power consumption data of historical time, construct a load characteristic clustering model, and divide the load characteristics into different load patterns. Each clustering category in the load curve clustering model represents a load pattern; Step S142: Train the corresponding load prediction sub-model for each load pattern; Step S143: Combine each load prediction sub-model into a load prediction model to predict the future load demand ; The load forecasting sub - model uses the historical load power consumption data as training data, forms a time series in chronological order, adopts the LSTM model as the initial model, and uses the sliding window method to construct training samples on the time series. In each training sample, the load power consumption data of the current window is used as input data, and the load power consumption data on the future time series of the current window is predicted as the load demand.
[0008] The specific method for constructing the first optimization objective and the second optimization objective considering the operation revenue and the energy storage aging cost, considering the photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combining the load demand predicted by the load forecasting model to establish an adaptive optimal scheduling model is as follows: Step S210: Input the energy storage device parameters, energy storage aging model parameters, electricity price information, and load demand; Step S220: Establish a dynamic model of the energy storage device between the state variable SOC and the output variable charge - discharge power based on the energy storage device parameters ; Step S230: Construct a decay model of the maximum energy storage capacity based on the energy storage aging model parameters and an internal resistance increase model ; Step S240: Define the operation revenue and the energy storage aging cost based on the energy storage device parameters, energy storage aging model parameters, electricity price information, and load demand, and construct the first optimization objective and the second optimization objective; Step S250: Construct the uncertainty constraint of the photovoltaic power generation power based on the photovoltaic power generation scenario tree model; Step S260: Introduce a risk - measurement index to quantify the risk loss function of the uncertainty constraint of the photovoltaic power generation power ; Step S270: Construct the constraint conditions based on the energy storage device dynamic model, decay model, internal resistance increase model, load demand, and risk loss function, and construct an adaptive optimal scheduling model based on the first optimization objective and the second optimization objective; Specifically, the construction method of the first optimization objective and the second optimization objective is as follows: Step S241: Based on the electricity price information, which includes the electricity selling price, electricity purchasing price, energy storage charging and discharging prices, take maximizing the operation revenue as the first optimization objective ; Step S242: Based on the internal resistance increase model, decay model, energy storage aging model parameters, and load demand, take minimizing the energy storage aging cost as the second optimization objective ; Specifically, the method for constructing the uncertainty constraint of the photovoltaic power generation power based on the photovoltaic power generation scenario tree includes: Step S251: For each photovoltaic power generation scenario and time period in the photovoltaic power generation scenario tree model, obtain the corresponding power generation power distribution parameters; Step S252: Describe the uncertainty constraint of the photovoltaic power generation power based on the power generation power distribution parameters. The specific method is as follows: For the th time period, define the uncertain parameter vector of the photovoltaic power generation power; describe the uncertainty constraint of the uncertain parameter vector based on the ellipsoid set; The adaptive optimal scheduling model specifically includes: using the dynamic model of the energy storage device as the energy storage dynamic constraint, the attenuation model and the internal resistance increase model as the energy storage aging cost constraint, the linear constraint of calculating the risk metric index based on the risk loss function, using the risk loss function as the risk constraint, using the load demand as the load balance constraint, and constructing an adaptive optimal scheduling model based on the first optimization goal, the second optimization goal and the risk metric index; The specific method of embedding the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimal scheduling model to solve the optimal energy storage charge and discharge strategy for the current time period is as follows: Step S310: Embed the photovoltaic power generation scenario tree model into the adaptive optimal scheduling model, and generate an optimization sub-problem for the predicted value and uncertainty constraint of the power generation power corresponding to each photovoltaic power generation scenario; Step S320: Embed the load forecasting model into the adaptive optimal scheduling model, and introduce the predicted load demand as a known parameter into the optimization sub-problem; Step S330: Perform weighted summation on each optimization sub-problem to obtain the expected objective function of the overall optimization problem; Step S340: Solve the expected objective function of the overall optimization problem to generate the optimal energy storage charge and discharge strategy for the current time period. The optimal energy storage charge and discharge strategy includes the optimal charging and discharging power; Step S350: Adopt a rolling optimization mechanism to periodically roll the optimization time domain forward; repeat steps S310 - S340 on the new optimization time domain, and update the optimal energy storage charge and discharge strategy according to the latest predicted value of the photovoltaic power generation power; Step S360: Output the optimal energy storage charge and discharge strategy for each optimization time domain to form a complete energy storage optimal scheduling plan.
[0009] One aspect of the present application provides an optical storage load collaborative optimal scheduling system based on multi-source data fusion, including: A scenario tree model construction module, configured to obtain historical photovoltaic power generation data, load power consumption data and meteorological data, and construct a photovoltaic power generation scenario tree model and a load forecasting model; An adaptive model construction module, which is used to construct a first optimization objective and a second optimization objective by considering the operating revenue and the energy storage aging cost, consider the photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combine the load demand predicted by the load forecasting model to establish an adaptive optimal scheduling model; A charge and discharge strategy output module, which is used to embed the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimal scheduling model to solve the optimal energy storage charge and discharge strategy for the current period.
[0010] One aspect of the present application provides a readable storage medium storing a computer program suitable for being loaded by a processor to execute the steps in the method for collaborative optimal scheduling of photovoltaic energy storage and load based on multi-source data fusion.
[0011] The collaborative optimal scheduling system and method for photovoltaic energy storage and load based on multi-source data fusion proposed in the present application have the following advantages compared with the prior art: The present application innovatively introduces a scenario tree model. By recursively dividing, the photovoltaic output is divided into multiple discrete scenarios, and each scenario corresponds to a power generation power distribution and a probability of occurrence, which better captures the uncertainty and volatility of the photovoltaic output in time and space, and improves the fineness and comprehensiveness of modeling.
[0012] Aiming at the problem that the load curves of different users and different periods vary greatly, the present application proposes a load forecasting method in different modes. By clustering to divide different load modes, training corresponding prediction sub-models for each mode, and finally combining the sub-models to form an overall load forecasting model. Compared with a single model, the model in different modes can more accurately capture the load characteristics in different modes.
[0013] The present application constructs a first optimization objective and a second optimization objective including the energy storage aging cost and the operating revenue, balances the operating revenue and the energy storage life through a weighting coefficient, and at the same time introduces a risk measurement index to quantify the impact of photovoltaic uncertainty, realizing the collaborative optimization of energy storage aging and photovoltaic uncertainty, making the scheduling plan more comprehensive and practical.
[0014] The present application introduces a risk measurement index. Through a risk loss function and risk constraints, the risk preference of the optimization result can be flexibly controlled, avoiding extreme risks while pursuing revenue, and realizing robust optimization based on risk measurement.
[0015] The present application adopts an adaptive data-driven optimization framework. By real-time updating the photovoltaic power generation scenario tree model and the rolling optimal scheduling strategy, it can adapt to the change of photovoltaic output and improve the robustness of optimal scheduling. At the same time, through methods such as data preprocessing, feature extraction and deviation detection, the accuracy and applicability of the scenario tree model are ensured.
[0016] All links of this application cooperate with each other to form a closed-loop adaptive scheduling system. The photovoltaic power generation prediction provides the power upper limits of multiple scenarios for the energy storage optimal scheduling, reducing uncertainties. The load demand prediction provides accurate demand-side information for the energy storage optimal scheduling, realizing the interaction between the power source and the load. Driven by the two-way information of the power source side and the load side, the energy storage optimal scheduling weighs multiple objectives such as benefits, costs, and risks, generates an optimal strategy that takes into account both the current and the long term, and the rolling optimization mechanism ensures that the scheduling plan can be updated in real time with new information, achieving continuous improvement. Description of the Drawings
[0017] Figure 1 It is the flowchart of the method for the collaborative optimization scheduling method of photovoltaic energy storage and load based on multi-source data fusion provided by this application; Figure 2 It is the flowchart of the method for constructing the photovoltaic power generation scenario tree model provided by this application; Figure 3 It is the flowchart of the method for solving the optimal energy storage charge and discharge strategy provided by this application; Figure 4 It is the software interface diagram of the historical total power generation curve of the photovoltaic operation software provided by this application; Figure 5 It is the software interface diagram of the historical total power generation curve of the photovoltaic operation software provided by this application; Figure 6 It is the functional module diagram of the collaborative optimization scheduling system of photovoltaic energy storage and load based on multi-source data fusion provided by this application. Detailed Embodiments
[0018] To better understand this application, more detailed descriptions of various aspects of this application will be made with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of the exemplary embodiments of this application and do not limit the scope of this application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0019] In the drawings, for ease of illustration, the sizes, dimensions, and shapes of the elements have been slightly adjusted. The drawings are only examples and are not drawn strictly to scale. As used herein, terms such as "substantially", "approximately", and similar terms are used as terms indicating approximation and not as terms indicating degree, and are intended to illustrate the inherent deviations in measured or calculated values that would be recognized by those of ordinary skill in the art. Additionally, in this application, the order of description of each step process does not necessarily represent the order in which these processes occur in actual operation, unless otherwise clearly defined or derivable from the context.
[0020] It should also be understood that expressions such as "including", "comprising", "having", "containing" and / or "consisting of" are open-ended rather than closed-ended expressions in this specification, which means that the stated features, elements and / or components exist, but do not exclude the existence of one or more other features, elements, components and / or combinations thereof. In addition, when an expression such as "at least one of..." appears after a list of listed features, it modifies the entire list of features rather than just an individual element in the list. In addition, when describing the embodiments of the present application, the use of "may" means "one or more embodiments of the present application". And the term "exemplary" is intended to refer to an example or illustration.
[0021] Unless otherwise defined, all terms used herein (including engineering terms and scientific and technical terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It should also be understood that, unless clearly stated otherwise in this application, words defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense.
[0022] It should be noted that, without conflict, the embodiments in this application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and in combination with the embodiments.
[0023] Embodiment 1 As Figure 1 shown, the present application provides an optical storage charge collaborative optimization scheduling method based on multi-source data fusion, including: Step S100: Obtain historical photovoltaic power generation data, load power consumption data and meteorological data, and construct a photovoltaic power generation scenario tree model and a load prediction model; The specific method for obtaining historical photovoltaic power generation data, load power consumption data and meteorological data and constructing a photovoltaic power generation scenario tree model and a load prediction model is as follows: Step S110: Obtain historical photovoltaic power generation data, load power consumption data and meteorological data, and perform preprocessing; The historical photovoltaic power generation data includes power generation power, inverter temperature, and power generation amount data; The power generation power reflects the real-time power generation power of the photovoltaic power station at a certain moment, and is one of the core input data for training the scenario tree model.
[0024] The temperature of the inverter reflects the operating status and health level of the inverter device, and is closely related to the photovoltaic power generation efficiency and reliability. The inverter temperature is used as an auxiliary input feature of the scenario tree model to describe the impact of the operating conditions of the power generation equipment on the power generation power. By analyzing the relationship between the inverter temperature and the power generation power, problems such as equipment anomalies and efficiency decline can be discovered, providing a basis for optimizing operation and maintenance.
[0025] The power generation data includes the total power generation, monthly power generation, and daily power generation, which reflect the cumulative power generation of the photovoltaic power station at different time scales and contain the time accumulation effect of the power generation power. The power generation data is used as an auxiliary input feature of the scenario tree model to describe the long-term power generation capacity and efficiency level of the photovoltaic power station. By analyzing the power generation data in different periods, the changing trend of the power generation capacity of the photovoltaic power station can be discovered, providing a reference for optimizing production operations.
[0026] The power generation data is obtained by extracting the characteristics of the historical total power generation curve.
[0027] The load power consumption data includes the power consumption load data on the user side and the power consumption characteristics of different types of loads.
[0028] As Figure 4 shown, it is a software interface diagram of the historical total power generation curve of the photovoltaic operation software provided by this application. The historical total power generation, monthly power generation, and daily power generation are visualized in the form of bar charts and curves. In addition, Figure 4 the information on the inverter temperature is also displayed.
[0029] The specific methods of the preprocessing include: triggering data cleaning according to the alarm status of the power station, identifying and removing the power generation power, inverter temperature, and power generation data under abnormal power generation states; triggering data cleaning according to the electrical maintenance records, marking or removing the power generation power, inverter temperature, and power generation data during the power station maintenance period; detecting outliers in the load power consumption data and removing the load power consumption data in abnormal power consumption states. The judgment formula for the abnormal power generation state is: ; where is the abnormal power generation state indication variable, is the alarm status of the power station at time , is the predefined set of abnormal power generation states, represents a fault, represents an alarm.
[0030] When , it indicates that the power station is in an abnormal power generation state, and the corresponding photovoltaic power generation data should be removed.
[0031] The judgment formula during maintenance is as follows: ; Wherein, is an indication variable during maintenance, is the current moment, and are respectively the start time and end time in the electrical maintenance record.
[0032] When it indicates that the power station is under maintenance, and the corresponding photovoltaic power generation data should be excluded.
[0033] The judgment formula for the abnormal power consumption state is as follows: Wherein, is an indication variable for the abnormal power consumption state, is the power consumption alarm state on the user side at time , is a predefined set of abnormal power consumption states, indicates a power consumption fault, indicates power consumption maintenance.
[0034] As Figure 5 shown, it is the operation and maintenance interface diagram of the photovoltaic operation software provided by this application. The alarm state and electrical maintenance record of the power station are displayed in a visual way. Specifically, when abnormal states such as faults and alarms occur in the power station, or when abnormal states such as overheating and faults occur in the inverter, abnormal values or invalid values may appear in the power generation power, inverter temperature, and power generation amount data during the corresponding time period, and identification and exclusion are required; during the planned maintenance or fault repair period of the power station, or during the operations such as maintenance, repair, or replacement of the inverter, the power generation power, inverter temperature, and power generation amount data may be affected and cannot be normally collected or reflect the actual power generation situation, and the data during the corresponding time period needs to be marked or excluded according to the maintenance record.
[0035] Step S120: Extract features from historical photovoltaic power generation data and meteorological data to obtain input features. According to the input features and historical photovoltaic power generation data, construct a photovoltaic power generation scenario tree model. The photovoltaic power generation scenario tree model divides the input features into N sub-regions, and each sub-region corresponds to a photovoltaic power generation scenario; The photovoltaic power generation scenario tree model selects a long short-term memory network as the initial network, and predicts the photovoltaic power generation scenario in the future for a period of time according to the input features. The predicted photovoltaic power generation scenario includes the probability of the occurrence of the photovoltaic power generation scenario and the power generation power distribution under the photovoltaic power generation scenario; The probability of the occurrence of the photovoltaic power generation scenario reflects the likelihood of the scenario occurring under the given input conditions.
[0036] The power generation power distribution in the photovoltaic power generation scenario depicts the probabilities of different power generation power values occurring in this scenario.
[0037] The specific method for constructing a photovoltaic power generation scenario tree model based on input features and historical photovoltaic power generation data is as follows: Step S121: Select a long short-term memory network as the initial network, construct training samples based on the sliding window method, preset the time window size, and extract input features based on historical photovoltaic power generation data and meteorological data within each time window; The selection of the time window size is set by those skilled in the art by weighing factors such as the prediction time scale, the time granularity of the data, and the complexity of the model. Exemplarily, if it is necessary to predict the power generation power in the next 1 hour, 1 hour can be selected as the time window size.
[0038] Step S122: Preset the prediction step length T. For each time window, extract the power generation power within the prediction step length of the future time as the output label, and combine the input features and output labels extracted from each time window into a training sample; Step S123: Slide the time window to obtain a training sample set, train the photovoltaic power generation scenario tree model based on the training sample set, and divide the input features into N sub-regions in a recursive partitioning manner, with each sub-region corresponding to a photovoltaic power generation scenario; The training process of the photovoltaic power generation scenario tree model is as follows: Step S123.1: Starting from the root node, recursively partition the training sample set of the current node, select a partitioning feature from the input features, divide the training sample set into a high feature set and a low feature set, and obtain a photovoltaic power generation scenario tree containing N sub-regions; Step S123.2: For each sub-region, count the number of training samples falling into this node, and calculate the proportion of it in the total number of training samples as the occurrence probability of this photovoltaic power generation scenario; Step S123.3: For each sub-region, count the power generation power distribution parameters under each photovoltaic power generation scenario; Step S123.4: Use the training sample set to optimize the parameters of the photovoltaic power generation scenario tree model by minimizing the loss function; when the value of the loss function converges, the training is completed; The scenario tree model provides fine-grained photovoltaic output scenarios for subsequent optimal scheduling, and considers extreme cases, enabling the optimal scheduling plan to adapt to various possible situations and greatly improving the robustness of the scheduling strategy.
[0039] The loss function uses the mean square error; Step S123.5: Use the trained photovoltaic power generation scenario tree model to predict the occurrence probability of the photovoltaic power generation scenario to which the new input features belong and its power generation power distribution parameters, where the distribution parameters include the mean and variance; The high feature set and the low feature set refer to dividing the sample set into a sub-node above the division threshold and a sub-node below the division threshold according to the division feature and a preset division threshold; Exemplarily, the input features include power generation amount, inverter temperature, and temperature; at the root node, the power generation amount is selected as the division feature, and the sample set is divided into two sub-nodes of high power generation amount and low power generation amount. For the high power generation amount sub-node, the inverter temperature is further selected as the division feature, and the sample set is divided into two sub-nodes of high inverter temperature and low inverter temperature; for the low power generation amount sub-node, the temperature is further selected as the division feature, and the sample set is divided into two sub-nodes of high temperature and low temperature; the recursive division process continues until the stop condition is met, and a scenario tree containing multiple leaf nodes can be obtained. Each leaf node is a sub-region corresponding to a photovoltaic power generation scenario; the stop condition can be reaching the maximum tree depth or the number of node samples being less than the threshold.
[0040] Exemplarily, the scenario tree contains four leaf nodes. Scenario 1 is: high power generation amount, high inverter temperature. The number of training samples falling into this scenario is 100, and the total number of training samples is 500. Then the occurrence probability of this scenario is 0.2. Assuming that the training samples falling into this leaf node are those with the power generation power in the range of 80 - 120, estimate the Gaussian distribution parameters of the power generation power in this scenario, where the Gaussian distribution parameters include the mean and variance.
[0041] Step S130: Define a deviation metric index and set a deviation threshold. When the deviation metric index is greater than this deviation threshold, it is considered that a significant deviation has occurred, and update the parameters of the photovoltaic power generation scenario tree model based on the current photovoltaic power generation data and meteorological data; The calculation formula of the deviation metric index is: ; Among them, is the actual power generation power, is the power generation power corresponding to the predicted photovoltaic power generation scenario, n is the number of training samples, is the abnormal power generation state indicator variable at the corresponding moment of the ni-th training sample; The deviation metric index introduces the abnormal power generation state indicator variable to appropriately reduce the weight of the deviation in the abnormal state and improve the robustness of the deviation metric.
[0042] Preferably, the deviation threshold is equal to 20%; when the actual deviation metric index exceeds this threshold, it is considered that a significant deviation has occurred and the update of the scenario tree needs to be triggered.
[0043] The method for updating the parameters of the photovoltaic power generation scenario tree model is as follows: Calculate the adaptive learning rate according to the gradient of the model parameters at each update; Introduce a forgetting factor , when a significant deviation occurs, calculate the value of the model parameters at the current update based on the adaptive learning rate, the gradient of the model parameters, and the forgetting factor at the previous update; The calculation formula for the adaptive learning rate is: ; where, is the learning rate of the i-th update for the th model parameter, is the initial learning rate, is the th update for the th model parameter gradient, is the smoothing term to prevent the denominator from being zero; The calculation formula for the value of the model parameters at the current update is: ; where, is the value of the i-th update for the th model parameter, is the training sample weight at the th update; The training sample weight is used to perform time weighting on the training samples, so that the new training samples have higher weights.
[0044] Step S140: Construct a load prediction model based on the load electricity consumption data to predict the future load demand; The construction and training method of the load prediction model is as follows: Step S141: Extract load characteristics based on the load electricity consumption data of historical time, construct a load characteristic clustering model, and divide the load characteristics into different load patterns. Each clustering category in the load curve clustering model represents a load pattern; The load characteristic clustering model uses the k-means clustering algorithm to cluster the load characteristics; the load characteristic clustering model divides the load characteristics into K different clustering categories, and each category corresponds to a load pattern.
[0045] Step S142: Train the corresponding load prediction sub-model for each load pattern; The load prediction sub-model uses the load power consumption data of historical time as training data, forms a time series in chronological order, adopts the LSTM model as the initial model, and uses the sliding window method to construct training samples on the time series. In each training sample, the load power consumption data of the current window is used as input data, and the load power consumption data on the future time series of the current window is predicted as the load demand.
[0046] Step S143: Combine each load prediction sub-model into a load prediction model for predicting future load demand ; The load prediction by sub-pattern improves the load prediction accuracy on the basis of segmenting users and grasping differences. High-quality load prediction provides reliable demand-side information for optimal scheduling, helps to make scheduling decisions matching the actual load, and reduces the grid operation cost while ensuring power consumption demand.
[0047] The above-mentioned photovoltaic power generation scenario tree model in the steps realizes the modeling and prediction of the uncertainty of photovoltaic power generation through a series of methods such as data preprocessing, feature extraction, and machine learning algorithms. The data cleaning step based on the power station alarm status, abnormal power consumption detection, and electrical maintenance records can effectively eliminate the power generation data and load power consumption data during abnormal and maintenance periods, improve the data quality and prediction accuracy of the scenario tree model and the load prediction model. At the same time, a power station alarm status indicator variable is introduced into the deviation measurement index, which improves the robustness of the deviation measurement. Through online learning and adaptive update, the model can dynamically adapt to the changes in the actual power generation status and improve the accuracy and reliability of the prediction.
[0048] It should be noted that in actual applications, it is also necessary to make appropriate adjustments and optimizations to each link in step S100 according to the specific characteristics of the photovoltaic power station and data quality, such as feature selection, model parameter tuning, threshold setting, etc., to improve the performance and practicability of the photovoltaic power generation scenario tree model. In addition, it is necessary to retrain and evaluate the model regularly to adapt to the long-term data distribution changes and system evolution.
[0049] Step S200: Construct a first optimization objective and a second optimization objective considering the operation income and energy storage aging cost, consider the photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combine the load demand predicted by the load prediction model to establish an adaptive optimal scheduling model; The specific method of constructing a first optimization objective and a second optimization objective considering the operation income and energy storage aging cost, considering the photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combining the load demand predicted by the load prediction model to establish an adaptive optimal scheduling model is as follows: Step S210: Input energy storage device parameters, energy storage aging model parameters, electricity price information, and load demand; The above data are various parameters and data required for constructing an optimized scheduling model, providing basic information for subsequent modeling and solving.
[0050] Step S220: Establish a dynamic model of the energy storage device between the state variable SOC and the output variables of charge and discharge power based on the energy storage device parameters; The energy storage device parameters include the maximum energy storage capacity, upper and lower limits of charge and discharge power, charge and discharge efficiency, and self-discharge rate at each moment; The calculation formula of the energy storage device dynamic model is: ; where represents the state of charge at time t, and are the charge and discharge powers respectively, and are the charge and discharge efficiencies, is the maximum energy storage capacity at time t, is the self-discharge rate, is the time interval between two moments.
[0051] The energy storage device dynamic model describes the dynamic changes of the energy storage SOC during the charging, discharging, and self-discharging processes, and is an important part of the energy storage constraints in the optimized scheduling.
[0052] Step S230: Construct a decay model of the maximum energy storage capacity and an internal resistance increase model based on the energy storage aging model parameters; The energy storage aging model parameters include decay model parameters, power-law equation parameters, unit capacity decay cost, and unit internal resistance increase cost; The calculation formula of the decay model is: ; where is the initial energy storage capacity, are the decay model parameters; The decay model parameters are related to the number of charge and discharge cycles and the depth, and are set by those skilled in the art according to the number of charge and discharge cycles and the depth.
[0053] The decay model assumes that the energy storage capacity consists of two exponential decay terms, respectively reflecting the short-term and long-term characteristics of energy storage aging. By fitting historical data, the decay model parameters can be obtained for predicting future changes in energy storage capacity.
[0054] The calculation formula of the internal resistance increase model is: ; where is the internal resistance value at time t, is the initial internal resistance, is the cumulative number of charge and discharge cycles, is the rated cycle life, and is the parameter of the power-law equation.
[0055] The internal resistance increase model assumes a power-law relationship between the internal resistance and the number of cycles, and the parameters of the power-law equation can be identified through experimental data.
[0056] Step S240: Define the operation revenue and the energy storage aging cost based on the energy storage device parameters, the energy storage aging model parameters, the electricity price information, and the load demand, and construct the first optimization objective and the second optimization objective; The construction methods of the first optimization objective and the second optimization objective are as follows: Step S241: Based on the electricity price information, which includes the selling electricity price, the purchasing electricity price, the energy storage charging and discharging prices, the first optimization objective is to maximize the operation revenue ; The calculation formula of the first optimization objective is: ; The calculation formula of the operation revenue is: ; where is the selling electricity price, is the selling electric power, represents taking the positive part, is the purchasing electricity price, and are the energy storage charging and discharging prices respectively.
[0057] The first optimization objective means that the selling electricity revenue is the selling electricity quantity multiplied by the selling electricity price, the selling electricity quantity is equal to the selling electric power minus the curtailed electric power, and the curtailed electric power is the part where the selling electric power exceeds the load demand; the electricity consumption cost is the purchasing electricity quantity multiplied by the supply price, and the purchasing electricity quantity is the part where the load demand exceeds the selling electric power.
[0058] Step S242: Based on the internal resistance increase model, the attenuation model, the energy storage aging model parameters, and the load demand, the second optimization objective is to minimize the energy storage aging cost ; The calculation formula of the second optimization objective is: ; The calculation formula of the energy storage aging cost is: ; where is the unit capacity attenuation cost, is the unit internal resistance increase cost, is the unit load scheduling cost, represents the absolute value of the deviation between the predicted value and the actual value of the load demand at time t.
[0059] The second optimization objective quantifies energy storage aging into economic costs, where the capacity decay cost reflects the irrecoverable loss of the energy storage capacity, and the internal resistance increase cost reflects the decline in the energy storage efficiency.
[0060] Step S250: Construct the uncertainty constraint of the photovoltaic power generation based on the photovoltaic power generation scenario tree model; The uncertainty constraint adopts an ellipsoidal set, and describes the distribution characteristics of the uncertain parameters through the ellipsoidal inequality constraint; Specifically, the method for constructing the uncertainty constraint of the photovoltaic power generation based on the photovoltaic power generation scenario tree includes: Step S251: For each photovoltaic power generation scenario and time period in the photovoltaic power generation scenario tree model, obtain the corresponding power generation power distribution parameters; Step S252: Describe the uncertainty constraint of the photovoltaic power generation based on the power generation power distribution parameters; Specifically, the description of the uncertainty constraint of the photovoltaic power generation based on the power generation power distribution parameters is specifically: for the th time period, define the uncertain parameter vector of the photovoltaic power generation; describe the uncertainty constraint of the uncertain parameter vector based on the ellipsoidal set; The uncertain parameter vector can be expressed as: , where is the number of photovoltaic power generation scenarios, is the th photovoltaic power generation scenario at time; The expression of the uncertainty constraint is: ; where is the mean value in the power generation power distribution parameters at time, is the covariance matrix of the photovoltaic power generation at time, and its th element is , is the scale parameter of the ellipsoidal set, which controls the size of the uncertainty set.
[0061] Covariance matrix can be estimated according to the correlation and transition probability between photovoltaic power generation scenarios, and its calculation formula is: ; where is the occurrence probability of the photovoltaic power generation scenario s, is the photovoltaic power generation power vector of the photovoltaic power generation scenario s at time.
[0062] The selection of the scale parameter needs to balance robustness and conservatism. A larger means that a larger range of uncertainties is considered, and the optimization result is more robust but also more conservative; a smaller means that a smaller range of uncertainties is considered, and the optimization result is more aggressive but also more vulnerable. A commonly used selection method is based on confidence level, that is, to select such that the ellipsoidal set covers the uncertainty range with a certain confidence level, for example, the confidence level is selected as 95%.
[0063] It should be noted that the above uncertainty constraint is a second-order cone constraint and can be directly embedded into the optimization model.
[0064] Optionally, the ellipsoidal set can also be combined with other forms of uncertain sets to better characterize the distribution characteristics of uncertainties.
[0065] In summary, by transforming the photovoltaic power generation scenario tree model into an ellipsoidal uncertain set, the uncertainty of photovoltaic power generation can be directly characterized and managed in the optimization model, and the balance between robustness and conservativeness can be achieved by adjusting the set parameters. This method makes full use of the statistical information provided by the scenario tree model and is also closely combined with the robust optimization framework, reflecting the idea of multi-source data fusion optimization.
[0066] Step S260: Introduce a risk measurement index to quantify the risk loss function of the uncertainty constraint of photovoltaic power generation ; The calculation formula of the risk measurement index is: , where is the confidence level, is the risk loss function, is the auxiliary variable, represents the maximum value of and 0, is the expectation operator, represents the risk measurement index; The confidence level is a real number between 0 and 1, representing the risk confidence level of concern; preferably, is equal to 0.9; the larger the confidence level, the more concerned about the risk in extreme cases, and the larger the value of CVaR.
[0067] The auxiliary variable is a real variable, which plays an auxiliary role in the definition of CVaR and is an approximation of VaR, used to represent CVaR as a convex optimization problem. During the optimization solution process, z will be automatically adjusted to minimize CVaR.
[0068] The design purpose of the risk measurement index is to find a minimum z - value among all possible z - values so as to minimize the expected value.
[0069] The calculation formula of the risk - loss function is as follows: ; where represents the risk - loss function in the photovoltaic power generation scenario s, is the photovoltaic curtailment cost coefficient; Step S270: Based on the energy - storage device dynamic model, attenuation model, internal - resistance increase model, load demand, and risk - loss function, construct constraint conditions, and construct an adaptive optimal scheduling model based on the first optimization objective and the second optimization objective; The adaptive optimal scheduling model specifically includes: using the energy - storage device dynamic model as the energy - storage dynamic constraint, the attenuation model and the internal - resistance increase model as the energy - storage aging cost constraint, the linear constraint for calculating the risk measurement index based on the risk - loss function, using the risk - loss function as the risk constraint, using the load demand as the load - balance constraint, and constructing an adaptive optimal scheduling model based on the first optimization objective, the second optimization objective, and the risk measurement index; The constraint expression for using the load demand as the load - balance constraint is: ; where represents the load demand of the m - th load unit, and M is the total number of load units; This constraint means that at any moment t, the sum of the power generation power on the power - supply side and the energy - storage discharge power should be equal to the sum of the power consumption power on the load side and the energy - storage charging power, that is, the power supply and the load are balanced.
[0070] The calculation formula of the adaptive optimal scheduling model is: ; where are the minimum and maximum values of the first optimization objective and the second optimization objective, is the weighting coefficient, and .
[0071] The adaptive optimal scheduling model first normalizes the two objective functions to make their dimensions consistent, and then determines the relative importance of the two objectives through the weighting coefficient to obtain the comprehensive objective function. By adjusting the value of the weighting coefficient, the operation benefit and the energy - storage life can be flexibly balanced.
[0072] The calculation formula of the linear constraint for calculating the risk measurement index based on the risk - loss function is: , where is the part where the risk - loss function exceeds the auxiliary variable z in the photovoltaic power generation scenario s.
[0073] Robust optimization based on risk measurement enables scheduling decisions to control risks in extreme cases within an acceptable range while pursuing maximum benefits. By quantitatively weighing benefits and risks, the generated scheduling strategy is more robust and reliable, ensuring the economic and secure operation of the system even in adverse situations. This greatly enhances the power grid's ability to cope with uncertainties.
[0074] Step S300: Embed the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimization scheduling model, and solve the optimal energy storage charging and discharging strategy for the current period; The specific method for embedding the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimization scheduling model to solve the optimal energy storage charging and discharging strategy for the current period is as follows: Step S310: Embed the photovoltaic power generation scenario tree model into the adaptive optimization scheduling model, and generate an optimization sub-problem for the predicted value and uncertainty constraints of the generated power corresponding to each photovoltaic power generation scenario; Step S320: Embed the load forecasting model into the adaptive optimization scheduling model, and introduce the predicted load demand as a known parameter into the optimization sub-problem; Step S330: Perform weighted summation on each optimization sub-problem to obtain the expected objective function of the overall optimization problem; The calculation formula for the expected objective function of the overall optimization problem is: ; where represents the occurrence probability of the photovoltaic power generation scenario s, , , represent the first optimization objective, the second optimization objective, and the risk loss function under the photovoltaic power generation scenario s; Step S340: Solve the expected objective function of the overall optimization problem to generate the optimal energy storage charging and discharging strategy for the current time period, and the optimal energy storage charging and discharging strategy includes the optimal charging and discharging power; Step S350: Adopt a rolling optimization mechanism to regularly roll the optimization time domain forward; repeat steps S310~S340 on the new optimization time domain, and update the optimal energy storage charging and discharging strategy according to the latest predicted value of the photovoltaic power generation; Exemplarily, it rolls once every 1 hour, and the time domain length of each roll is 24 hours.
[0075] Step S360: Output the optimal energy storage charging and discharging strategy for each optimization time domain to form a complete energy storage optimization scheduling plan.
[0076] The output of the above steps is the optimal energy storage charge and discharge strategy for each scheduling period, which is the core result of the energy storage optimal scheduling. Through rolling optimization and adaptive adjustment, this strategy can dynamically adapt to the uncertainty changes of photovoltaic power generation, improving the robustness and reliability of energy storage scheduling while ensuring the economy of the system.
[0077] This application innovatively comprehensively considers energy storage aging, photovoltaic uncertainty, and risk management, constructs an adaptive data-driven optimal scheduling framework, effectively solves the problem that traditional methods are difficult to balance economy, reliability, and adaptability, extends the energy storage life while improving the operation revenue of the photovoltaic-energy storage system, has significant technical and economic benefits, provides new ideas and methods for solving the uncertainty problem in new energy optimal scheduling, and is of great significance for promoting the development of the energy Internet and smart grid.
[0078] Embodiment 2 To verify the effectiveness and creativity of the photovoltaic-energy storage-load collaborative optimal scheduling system based on multi-source data fusion of this application, an embodiment of this application designs a comprehensive test scenario and compares and analyzes the performance differences between this application and the prior art through simulation experiments.
[0079] First, a typical industrial park microgrid is selected as the test object. This microgrid consists of a 2MW photovoltaic power station, a 1MW / 4MWh energy storage system, a load center, etc. The experimental data includes photovoltaic power output, load electricity consumption, electricity price information, etc. for a continuous year, with a time granularity of 15 minutes. Among them, the photovoltaic power output data includes 5000 measured data and 5000 simulated data. The simulated data is generated by adding random perturbations to cover more power output fluctuation scenarios; the load electricity consumption data includes 8000 regular loads and 2000 schedulable loads, and the load fluctuations are set according to factors such as season and weather; the electricity price information refers to the local actual peak-valley electricity price and interruptible load electricity price, and random fluctuations are added to simulate the changes in the electricity market.
[0080] In the test, two optimal scheduling schemes are adopted: Scheme 1 is the photovoltaic-energy storage-load collaborative optimal scheduling system based on multi-source data fusion of this application, adopting the technical route of scenario tree + CVaR risk measure + energy storage aging model + rolling optimization; Scheme 2 is a traditional scheduling strategy based on robust optimization, using confidence intervals to describe photovoltaic uncertainty and aiming at minimizing the operation cost. Both schemes are run on a computer equipped with a 2.5GHz Intel Core i7 processor and 16GB of memory.
[0081] The test first preprocesses and extracts features from the photovoltaic output and load power consumption data, and divides the data into a training set and a test set, with the ratio of the training set to the test set being 80%:20%. Subsequently, the model parameters of the two schemes are trained and optimized using the training set data, and an optimal scheduling simulation is carried out on the test set to generate a one-year scheduling strategy. Finally, the test compares and analyzes the performance of the two schemes in terms of key performance indicators, as shown in Table 1 for details.
[0082] Table 1 Results of Optimal Scheduling Simulation The experimental results show that this application is significantly superior to the prior art in all key indicators. In terms of operating costs, the total cost of this application is 3.282 million yuan, a 18.3% reduction compared to 4.015 million yuan of the prior art. This is mainly due to the adaptive optimization and CVaR risk control, which avoid the high costs in extreme situations while ensuring economy. In terms of photovoltaic utilization rate, this application reaches 92.5%, a 9.7% increase compared to the prior art. The reason is that the scenario tree model can finely depict the uncertainty of photovoltaic output and generate targeted optimization strategies to maximize the utilization of photovoltaic energy. In terms of load satisfaction rate, this application reaches 98.2%, a 2.7% increase compared to the prior art. This is attributed to demand response and energy storage optimal scheduling, ensuring continuous and reliable power supply for the load.
[0083] In terms of the energy storage cycle life, the expected life of this application is 8.2 years, a 28.1% extension compared to 6.4 years of the prior art. The main reason is the energy storage aging model and multi-objective optimization, which reasonably control the charge and discharge of the energy storage in the scheduling strategy and delay the decay of the energy storage capacity and efficiency. Finally, in terms of computational efficiency, the calculation time of this application is 15.6 minutes, a 44.7% reduction compared to 28.2 minutes of the prior art. Thanks to the adaptive rolling optimization framework, the original problem is decomposed into multiple sub-problems and solved in parallel, greatly improving the calculation speed.
[0084] In summary, this application has achieved an overall improvement in multiple aspects such as operating economy, energy utilization rate, power supply reliability, energy storage life, and computational efficiency, innovatively solving the problem that it is difficult for the prior art to balance economic benefits and risk management. The integration of the photovoltaic power generation scenario tree and the CVaR risk metric constructs an optimization framework for accurately quantifying uncertainty; the introduction of the energy storage aging model and rolling optimization realizes coordinated scheduling on multiple time scales; the adaptive optimization mechanism and parallel computing architecture ensure the real-time processing of massive heterogeneous data. The systematic integration of these innovative technical routes provides an efficient, reliable, and economic solution for new energy optimal scheduling, making an important contribution to promoting the technological progress of the energy Internet and smart grid.
[0085] Embodiment 3 AsFigure 6 As shown in the figure, the present application provides a collaborative optimization scheduling system for optical storage and charge based on multi-source data fusion, including: A scenario tree model construction module, configured to obtain historical photovoltaic power generation data, load power consumption data, and meteorological data, and construct a photovoltaic power generation scenario tree model and a load prediction model; An adaptive model construction module, configured to construct a first optimization target and a second optimization target by considering operation revenue and energy storage aging cost, consider photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combine the load demand predicted by the load prediction model to establish an adaptive optimization scheduling model; A charge and discharge strategy output module, configured to embed the photovoltaic power generation scenario tree model and the load prediction model into the adaptive optimization scheduling model to solve the optimal energy storage charge and discharge strategy for the current time period.
[0086] Embodiment 4 According to an embodiment of the present application, a readable storage medium is further provided. A computer-readable instruction is stored on the computer-readable storage medium. When the computer-readable instruction is run by a processor, it can execute the collaborative optimization scheduling method for optical storage and charge based on multi-source data fusion according to the embodiment of the present application described with reference to the above drawings. The storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory, etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0087] In addition, according to the embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium storing machine-readable instructions that can be run by a processor to execute instructions corresponding to the method steps provided by the present application, such as: obtaining historical photovoltaic power generation data, load power consumption data, and meteorological data, constructing a photovoltaic power generation scenario tree model and a load prediction model; constructing a first optimization target and a second optimization target by considering operation revenue and energy storage aging cost, considering photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combining the load demand predicted by the load prediction model to establish an adaptive optimization scheduling model; embedding the photovoltaic power generation scenario tree model and the load prediction model into the adaptive optimization scheduling model to solve the optimal energy storage charge and discharge strategy for the current time period. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.
[0088] The methods, apparatuses, and devices of the present application may be implemented in many ways. For example, the methods, apparatuses, and devices of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is only for illustration purposes, and the steps of the method of the present application are not limited to the specific order described above, unless otherwise specifically stated. In addition, in some embodiments, the present application may also be implemented as a program recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0089] In addition, parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
[0090] As described above in the specific embodiments, the objectives, technical solutions, and beneficial effects of the present application have been further described in detail. It should be understood that the above is only the specific embodiment of the present application and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A method for optimizing the coordinated scheduling of optical storage and load based on multi-source data fusion, characterized in that: include: Obtain historical photovoltaic power generation data, load power consumption data and meteorological data, and build a photovoltaic power generation scenario tree model and load forecasting model; The first and second optimization objectives are constructed by considering the operating income and energy storage aging cost. Based on the photovoltaic power generation scenario tree model, the photovoltaic uncertainty is considered, and the load demand predicted by the load forecasting model is combined to establish an adaptive optimization scheduling model. The photovoltaic power generation scenario tree model and load forecasting model are embedded in the adaptive optimization scheduling model to solve the optimal energy storage charging and discharging strategy for the current period.
2. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 1 is characterized in that: The specific method of obtaining historical photovoltaic power generation data, load power consumption data and meteorological data and constructing a photovoltaic power generation scenario tree model and a load forecasting model is: Obtain historical photovoltaic power generation data and meteorological data and perform preprocessing; The historical photovoltaic power generation data includes power generation power, inverter temperature, and power generation data; Extracting features from historical photovoltaic power generation data and meteorological data to obtain input features, and constructing a photovoltaic power generation scenario tree model based on the input features and the historical photovoltaic power generation data. The photovoltaic power generation scenario tree model divides the input features into N sub-regions, each of which corresponds to a photovoltaic power generation scenario. Define the deviation measurement index and set the deviation threshold. When the deviation measurement index MA is greater than the deviation threshold, it is considered that a significant deviation has occurred. The parameters of the photovoltaic power generation scenario tree model are updated based on the current photovoltaic power generation data and meteorological data. A load forecasting model is built based on load power consumption data to predict future load demand.
3. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 2 is characterized in that: The specific method of constructing the photovoltaic power generation scenario tree model according to the input characteristics and historical photovoltaic power generation data is: The long short-term memory network is selected as the initial network, and the training samples are constructed based on the sliding window method. The time window size is preset, and input features are extracted based on historical photovoltaic power generation data and meteorological data in each time window; The prediction step size T is preset. For each time window, the power generation within the prediction step size in the future time is extracted as the output label. The input features and output labels extracted from each time window are combined into a training sample. The training sample set is obtained by sliding the time window. The photovoltaic power generation scenario tree model is trained based on the training sample set. The input features are divided into N sub-areas by recursive partitioning, and each sub-area corresponds to a photovoltaic power generation scenario.
4. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 3 is characterized in that: The training process of the photovoltaic power generation scenario tree model is: Starting from the root node, the training sample set of the current node is recursively divided, a division feature is selected from the input features, the training sample set is divided into a high feature set and a low feature set, and a photovoltaic power generation scenario tree containing N sub-areas is obtained; For each sub-region, the number of training samples falling into the node is counted, and the proportion of the total number of training samples is calculated as the occurrence probability of the photovoltaic power generation scenario; For each sub-region, the power generation distribution parameters under each photovoltaic power generation scenario are counted; Using the training sample set, the parameters of the photovoltaic power generation scenario tree model are optimized by minimizing the loss function; the training is completed when the value of the loss function converges; The trained photovoltaic power generation scenario tree model is used to predict the occurrence probability of the photovoltaic power generation scenario to which the new input feature belongs and its power generation distribution parameters, wherein the distribution parameters include the mean and variance.
5. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 4 is characterized in that: The construction and training method of the load forecasting model is: Step S141: extracting load characteristics based on historical load power consumption data, constructing a load characteristic clustering model, and dividing the load characteristics into different load modes. Each clustering category in the load curve clustering model represents a load mode. Step S142: training a corresponding load prediction sub-model for each load mode; Step S143: Combining the load forecasting sub-models into a load forecasting model to predict future load demand ; The load forecasting sub-model uses the load power consumption data of historical time as training data, constructs a time series in chronological order, adopts the LSTM model as the initial model, and uses the sliding window method to construct training samples on the time series. In each training sample, the load power consumption data of the current window is used as input data, and the load power consumption data on the future time series of the current window is predicted as the load demand.
6. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 5 is characterized in that: The specific method of considering the operation income and the energy storage aging cost to construct the first optimization target and the second optimization target, considering the photovoltaic uncertainty based on the photovoltaic power generation scenario tree model, and combining the load demand predicted by the load forecasting model to establish the adaptive optimization scheduling model is as follows: Input energy storage equipment parameters, energy storage aging model parameters, electricity price information, and load demand; Establish a dynamic model of energy storage equipment between state variable SOC and output variable charging and discharging power based on energy storage equipment parameters ; Constructing a maximum energy storage capacity attenuation model based on energy storage aging model parameters and internal resistance increase model ; Based on the energy storage equipment parameters, energy storage aging model parameters, electricity price information and load demand, the operation benefits and energy storage aging costs are defined, and the first optimization goal and the second optimization goal are constructed; Construct uncertainty constraints on photovoltaic power generation based on photovoltaic power generation scenario tree model; Introducing risk measurement indicators to quantify the risk loss function of uncertainty constraints on photovoltaic power generation ; Based on the dynamic model of energy storage equipment, attenuation model, internal resistance increase model, load demand and risk loss function, constraints are established, and an adaptive optimization scheduling model is established based on the first optimization goal and the second optimization goal; The adaptive optimization scheduling model specifically includes: using the dynamic model of energy storage equipment as the dynamic constraint of energy storage, the attenuation model and the internal resistance increase model as the energy storage aging cost constraint, calculating the linear constraint of the risk measurement index based on the risk loss function, using the risk loss function as the risk constraint, using the load demand as the load balance constraint, and constructing an adaptive optimization scheduling model based on the first optimization goal, the second optimization goal and the risk measurement index.
7. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 6 is characterized in that: The method for constructing the first optimization target and the second optimization target is: Based on the electricity price information, which includes electricity sales price, electricity purchase price and energy storage charging and discharging price, the first optimization goal is to maximize the operating profit. ; Based on the internal resistance increase model, attenuation model, energy storage aging model parameters and load demand, minimizing the energy storage aging cost is taken as the second optimization goal. .
8. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 7 is characterized in that: The method for constructing uncertainty constraints of photovoltaic power generation power based on a photovoltaic power generation scenario tree includes: For each photovoltaic power generation scenario and time period in the photovoltaic power generation scenario tree model, the corresponding power generation distribution parameters are obtained; The uncertainty constraint of photovoltaic power generation is described based on power generation distribution parameters. The specific method is as follows: The uncertain parameter vector of photovoltaic power generation is defined in each time period; the uncertainty constraints of the uncertain parameter vector are described based on the ellipsoid set.
9. The optical-storage-load coordinated optimization scheduling method based on multi-source data fusion according to claim 8, characterized in that: The specific method of embedding the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimization scheduling model to solve the optimal energy storage charging and discharging strategy for the current period is: Step S310: embedding the photovoltaic power generation scenario tree model into the adaptive optimization scheduling model, and generating optimization sub-problems for the predicted value of power generation and uncertainty constraints corresponding to each photovoltaic power generation scenario; Step S320: embedding the load forecasting model into the adaptive optimization scheduling model, and introducing the predicted load demand as a known parameter into the optimization sub-problem; Step S330: Perform weighted summation on each optimization sub-problem to obtain the expected objective function of the overall optimization problem; Step S340: solving the desired objective function of the overall optimization problem, and generating an optimal energy storage charging and discharging strategy for the current time period, wherein the optimal energy storage charging and discharging strategy includes optimal charging and discharging power; Step S350: adopting a rolling optimization mechanism to periodically roll the optimization time domain forward; repeatedly executing steps S310 to S340 on the new optimization time domain, and updating the optimal energy storage charging and discharging strategy according to the latest predicted value of photovoltaic power generation; Step S360: Output the optimal energy storage charging and discharging strategy for each optimized time domain to form a complete energy storage optimization scheduling plan.
10. A system for optimizing the coordinated scheduling of light-storage and load based on multi-source data fusion, which is implemented based on the method for optimizing the coordinated scheduling of light-storage and load based on multi-source data fusion according to any one of claims 1 to 9, characterized in that: include: The scenario tree model building module is used to obtain historical photovoltaic power generation data, load power consumption data and meteorological data, and build a photovoltaic power generation scenario tree model and a load forecasting model; The adaptive model building module is used to consider the operating benefits and energy storage aging costs to build the first optimization goal and the second optimization goal. Based on the photovoltaic power generation scenario tree model, the photovoltaic uncertainty is considered, and the load demand predicted by the load forecasting model is combined to establish an adaptive optimization scheduling model; The charging and discharging strategy output module is used to embed the photovoltaic power generation scenario tree model and the load forecasting model into the adaptive optimization scheduling model to solve the optimal energy storage charging and discharging strategy for the current period.
Citation Information
Patent Citations
Multi-energy virtual power plant optimal scheduling method considering source-load cooperation
CN119602358A
Multi-time scale energy scheduling method for integrated energy systems considering multi-energy collaborative optimization
CN110417006A
Day-ahead optimal scheduling method for electric heating integrated energy system
CN115544856A
Building energy storage day-ahead optimization scheduling method, system and device and storage medium
CN118983831A
Method for predicting generating capacity of distributed photovoltaic power station by combining grid point meteorological data
CN119253623A
Cited By
Virtual power plant source load resource intelligent aggregation optimization system and method
CN120320389A
Photovoltaic energy storage system and energy storage method thereof
CN120566583A
Optical storage integrated intelligent scheduling system
CN120582263A
Optical storage cooperative scheduling method, system and equipment for intelligent construction site equipment
CN120613795A
Energy storage-photovoltaic-electrolytic aluminum system dynamic optimization method suitable for multiple scenes
CN120824764A