User side energy storage operation strategy generation method and system
Through multimodal data collaborative coding and dynamic feature modulation mechanism, the correlation between external environmental interference and electricity price fluctuation mode is constructed, which solves the problem that traditional methods are difficult to capture the correlation between external environmental dynamics and electricity price fluctuation mode, and realizes the precise charging and discharging strategy of the energy storage system in the peak and valley interval of electricity price, improving economic benefits.
Patent Information
- Application Number
- CN202510622610.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-05-15
AI Technical Summary
Traditional energy storage operation strategy generation methods are difficult to effectively capture the correlation between the dynamics of the external environment and the electricity price fluctuation mode, resulting in a significant increase in prediction errors in the face of multidimensional interference factors, and the strategy deviates from the optimal economic path.
Through multimodal data collaborative coding and dynamic feature modulation mechanism, the correlation between external environmental interference and electricity price fluctuation mode is constructed. The specific steps include: time-series encoding of historical electricity price data, structured joint encoding combined with weather forecast and event data, and chain interaction through internal-external collaborative response coding mechanism to generate electricity price prediction results that comprehensively consider external factors.
The energy storage system has implemented precise charging and discharging strategies in the peak and valley range of electricity prices, overcome the strategic lag problem caused by data splitting in traditional methods, and improve the economic benefits of energy storage operation.
Smart Images

Figure CN120146916A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage strategy generation, and more specifically, to a method and system for generating an operation strategy for user-side energy storage. Background Art
[0002] With the deepening of the electricity market mechanism and the increasing penetration rate of distributed energy, user-side energy storage has become a key facility for reducing electricity costs and enhancing the energy self-balancing ability. The core lies in dynamically adjusting the charging and discharging behavior of energy storage to minimize electricity costs and maximize economic benefits. As the electricity market gradually opens up, time-of-use electricity price mechanisms and demand charge models are widely implemented, and the economic benefits of user-side energy storage systems highly depend on the accurate prediction of peak and valley periods of electricity prices and load peaks.
[0003] Since users' electricity consumption behaviors are easily affected by external events such as sudden weather changes and holiday activities, the load curve shows non-stationary fluctuation characteristics. At the same time, the electricity market is driven by factors such as supply and demand relationships and fluctuations in new energy output, and electricity price signals often contain complex non-linear dynamic characteristics.
[0004] Traditional prediction methods usually independently analyze electricity price or load data using a single-dimensional time series model. They neither perform multi-modal feature fusion of structured parameters such as temperature and light in weather forecasts and unstructured information of special events, nor establish an associative mapping between the dynamic nature of the external environment and historical electricity price fluctuation patterns. For example, when a cold snap strikes, the traditional ARIMA model may underestimate the time period when peak electricity prices occur due to its lack of ability to predict a sharp increase in air-conditioning loads. And if the superimposed lighting loads caused by family gatherings during holidays are not included in the prediction system, it will lead to the premature discharge of the energy storage system, missing higher spread benefits. More critically, in the prior art, external factors such as weather and events and the time series characteristics of electricity prices are often in a fragmented analysis dimension, making it difficult to capture the relationship between a sudden rise in temperature and the advance of the electricity price peak period, and also unable to analyze the potential impact of load mutations triggered by special events on the market supply-demand balance. This causes the prediction error of traditional methods to increase significantly when facing multi-dimensional interference factors, ultimately leading the energy storage operation strategy to deviate from the optimal economic path.
[0005] Therefore, an optimized solution for generating an operation strategy for user-side energy storage is desired. Summary of the Invention
[0006] To solve the above technical problems, the present application is proposed. According to one aspect of the present application, a method for generating a user-side energy storage operation strategy is provided, which includes: obtaining historical market electricity price data; obtaining short-term weather forecast data and short-term event data; performing time series encoding on the historical market electricity price data to obtain an electricity price time series pattern feature encoding vector; performing structured joint encoding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured encoding vector; performing time series prediction based on short-term electricity prices on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a short-term electricity price prediction result, including: performing inner-outer collaborative response encoding with chain-like local interaction on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time series pattern feature modulation encoding vector; performing feature decoding on the electricity price time series pattern feature modulation encoding vector to obtain the short-term electricity price prediction result; and determining a user-side energy storage operation strategy based on the short-term electricity price prediction result.
[0007] According to another aspect of the present application, a system for generating a user-side energy storage operation strategy is provided, which includes: a historical market electricity price data acquisition module for obtaining historical market electricity price data; a short-term data acquisition module for obtaining short-term weather forecast data and short-term event data; an electricity price time series encoding module for performing time series encoding on the historical market electricity price data to obtain an electricity price time series pattern feature encoding vector; an external factor joint module for performing structured joint encoding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured encoding vector; a short-term electricity price prediction module for performing time series prediction based on short-term electricity prices on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a short-term electricity price prediction result, wherein the short-term electricity price prediction module is configured to: perform inner-outer collaborative response encoding with chain-like local interaction on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time series pattern feature modulation encoding vector; perform feature decoding on the electricity price time series pattern feature modulation encoding vector to obtain the short-term electricity price prediction result; and a user-side energy storage operation strategy generation module for determining a user-side energy storage operation strategy based on the short-term electricity price prediction result.
[0008] Compared with the prior art, a method and system for generating a user-side energy storage operation strategy provided by the present application first perform temporal encoding on historical electricity prices to extract periodic patterns. At the same time, parameters such as temperature and sunlight in weather forecasts and holiday event information are converted into structured vectors, and semantic alignment is achieved in a high-dimensional latent space to form a feature combination body containing external interference factors. Then, an internal-external collaborative response coding mechanism is adopted to jointly encode the electricity price temporal features and external factors for chain interaction. Finally, the generated electricity price prediction result comprehensively considers the dual effects of external factors on load and market supply and demand, thereby supporting the energy storage system to execute precise charge and discharge strategies in the peak and valley intervals of electricity prices, effectively overcoming the problem of strategy lag caused by data fragmentation in traditional methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other objects, features, and advantages of the present application will become more apparent by describing the embodiments of the present application in more detail with reference to the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. They are used to explain the present application together with the embodiments of the present application and do not constitute a limitation to the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0010] Figure 1 It is a flowchart of a method for generating a user-side energy storage operation strategy according to an embodiment of the present application.
[0011] Figure 2 It is a flowchart of step S140 in the method for generating a user-side energy storage operation strategy according to an embodiment of the present application.
[0012] Figure 3 It is a flowchart of step S150 in the method for generating a user-side energy storage operation strategy according to an embodiment of the present application.
[0013] Figure 4 It is a flowchart of step S151 in the method for generating a user-side energy storage operation strategy according to an embodiment of the present application.
[0014] Figure 5 It is a block diagram of a system for generating a user-side energy storage operation strategy according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0016] Therefore, in view of the problems in the above background art, the technical concept of this application is to construct the association between external environmental interference and electricity price fluctuation patterns through a multi-modal data collaborative encoding and dynamic feature modulation mechanism. Specifically, first, perform temporal encoding on historical electricity prices to extract periodic patterns, and at the same time convert the temperature, light parameters of weather forecasts and event information such as holidays into structured vectors respectively; achieve semantic alignment of meteorological data and event data through high-dimensional latent space mapping to form a feature union that integrates external interference factors. Subsequently, adopt an internal-external collaborative response encoding mechanism to jointly encode the electricity price temporal features and external factors for chain interaction. For example, capture the correlation intensity between cold wave forecast data and historical electricity price peak sections, and dynamically adjust the electricity price prediction weights for future periods. This mechanism enables the model to analyze the conduction effect of the change in supply-demand relationship caused by the sharp increase in air-conditioning load on electricity prices without explicitly inputting load data - indirectly representing the impact of load mutations on the market through implicit correlation modeling of temperature parameters and electricity price fluctuations. The finally generated electricity price prediction results essentially integrate the dual effects of external factors on load and market supply-demand, thereby supporting the energy storage system to execute precise charge and discharge strategies during peak and valley periods of electricity prices, and overcoming the problem of strategy lag caused by data fragmentation in traditional methods.
[0017] Figure 1 FIG. is a flowchart of a method for generating a user-side energy storage operation strategy according to an embodiment of the present application. As Figure 1 shown, the method for generating a user-side energy storage operation strategy according to an embodiment of the present application includes: S110, obtaining market historical electricity price data; S120, obtaining short-term weather forecast data and short-term event data; S130, performing temporal encoding on the market historical electricity price data to obtain an electricity price temporal pattern feature encoding vector; S140, performing structured joint encoding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured encoding vector; S150, performing temporal prediction based on short-term electricity prices on the electricity price temporal pattern feature encoding vector and the external factor joint structured encoding vector to obtain a short-term electricity price prediction result; S160, determining a user-side energy storage operation strategy based on the short-term electricity price prediction result.
[0018] In step S110, market historical electricity price data is obtained. It should be understood that market historical electricity price data refers to the recorded data of the change of electricity prices over time in the power market in the past period, including electricity price information in different time periods, different seasons, different electricity consumption scenarios, etc. In particular, the electricity prices in the power market have certain periodicity and regularity. By analyzing market historical electricity price data, it is possible to discover the change patterns of electricity prices on different time scales such as daily, weekly, monthly, and even annually. For example, the occurrence time and price level of peak-valley electricity prices, as well as seasonal electricity price fluctuation characteristics, etc. These regularities are crucial for predicting future electricity price trends.
[0019] In the specific implementation process, when obtaining historical market electricity price data, the power market data service platform is called through the interface to batch collect multi-period electricity price data such as intraday electricity price curve, day-ahead electricity price curve, and real-time settlement price. After collection, these data are uniformly time-series standardized to eliminate the time alignment error of data from different sources, ensure that the obtained market historical electricity price data is consistent and comparable in time dimension, and provide accurate and standardized basic data for subsequent time series coding and other processing of market historical electricity price data, so that subsequent analysis can be implemented based on a unified time benchmark, avoiding the interference of data source time series offset on the accuracy of strategy generation.
[0020] In step S120, short-term weather forecast data and short-term event data are obtained. Accordingly, short-term weather forecast data refers to forecast information on weather conditions in the near future (usually the next few days), including factors such as temperature, humidity, and light intensity. Short-term event data refers to calendar information and event markers related to a specific date, including date types (such as weekdays, weekends), holiday markers, and special event markers (such as large-scale events, emergencies, etc.). Since users' electricity consumption behavior is easily affected by weather changes and special events, the electricity price in the power market will also be driven by factors such as supply and demand relationships and fluctuations in new energy output. By obtaining short-term weather forecast data and short-term event data, these external factors can be taken into consideration to more comprehensively analyze and predict the changing trend of electricity prices.
[0021] In the specific implementation process, when obtaining short-term weather forecast data, real-time capture is carried out by connecting to the National Meteorological Administration, regional meteorological centers or third-party meteorological data API interfaces. At the technical implementation level, the open API interface of the meteorological data network can be called to obtain various types of meteorological data such as ground, high altitude, and satellite, or the meteorological data unified service interface (MUSIC) can be used to realize site data retrieval, grid data analysis and file product download, supporting multiple data formats such as XML / JSON and programming languages such as C# and Java. Third-party meteorological data services such as Xinzhi Weather and QWeather provide high-precision grid-level forecasts, and minute-level updated meteorological actual and forecast data can be obtained through the RestfulAPI interface to meet the refined requirements of short-term energy storage strategies for meteorological parameters. The acquisition of short-term event data requires the combination of multi-source information, including official holiday arrangements issued by the government, event announcements on social media platforms, and user-defined event lists. User-defined events establish standardized data formats and are integrated into the system through interfaces or manual entry.
[0022] In step S130, the market historical electricity price data is time-series encoded to obtain an electricity price time-series pattern feature encoding vector. Specifically, in an embodiment of the present application, the market historical electricity price data is time-series encoded to obtain an electricity price time-series pattern feature encoding vector, including: performing time-series encoding based on causal expansion convolution on the market historical electricity price data to obtain the electricity price time-series pattern feature encoding vector. It should be understood that considering that the historical electricity price data not only contains periodic laws (such as daily peaks and valleys, weekly cycles), but also implicitly contains non-stationary time series characteristics triggered by events such as sudden changes in supply and demand relationships and fluctuations in new energy output. Although traditional time series encoding methods (such as sliding averages and Fourier transforms) can extract explicit periodic patterns, it is difficult to capture causal dependencies across time scales in electricity price sequences. For example, a surge in load caused by a cold wave may cause the peak of the next day's electricity price to be advanced by several hours. This delayed causal effect needs to be identified through long-term time series modeling. However, ordinary convolutional neural networks are limited by local receptive fields and cannot effectively model potential correlations across dozens of hours or even days in electricity price fluctuations, resulting in key features (such as market inertia after extreme events) being ignored, which directly affects the accuracy of subsequent electricity price forecasts. Based on this, in this application, the market historical electricity price data is time-series encoded based on causal expansion convolution to obtain the electricity price time series pattern feature encoding vector. Specifically, the time series encoding based on causal expansion convolution expands the receptive field layer by layer under the premise of strictly maintaining time causality by superimposing multiple layers of expansion convolution kernels. For example, the first layer of convolution captures hourly fluctuations (such as intraday peaks and valleys), the second layer is expanded to the daily cycle pattern through the expansion coefficient, and the third layer further associates the weekly cycle trend. The features output by each layer depend only on the current and historical time data to avoid future information leakage. Through this hierarchical feature extraction, short-term disturbances (such as a sudden rise in electricity prices at noon), medium-term cycles (such as differences between weekdays and weekends), and long-term event associations (such as the continued high price trend after extreme weather) in electricity price data are encoded as multi-dimensional electricity price time series pattern feature vectors.
[0023] In step S140, the short-term weather forecast data and the short-term event data are structured jointly encoded to obtain an external factor joint structured coding vector. Figure 2 Flow chart of step S140 in the method for generating a user-side energy storage operation strategy according to an embodiment of the present application. Specifically, in the embodiment of the present application, Figure 2As shown, in step S140, performing structured joint encoding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured encoding vector, including: S141, performing structured encoding on the short-term weather forecast data and the short-term event data to obtain a short-term weather forecast data structured encoding vector and a short-term event data structured encoding vector; S142, mapping the short-term weather forecast data structured encoding vector and the short-term event data structured encoding vector to the same high-dimensional latent space to obtain an aligned short-term weather forecast data structured encoding vector and an aligned short-term event data structured encoding vector; S143, combining the aligned short-term weather forecast data structured encoding vector and the aligned short-term event data structured encoding vector to obtain the external factor joint structured encoding vector.
[0024] Specifically, in step S141, performing structured encoding on the short-term weather forecast data and the short-term event data to obtain a short-term weather forecast data structured encoding vector and a short-term event data structured encoding vector. Correspondingly, considering that short-term weather forecasts (such as temperature, light intensity) and special events (such as holidays, family gatherings) essentially belong to multi-modal heterogeneous data: weather forecasts contain continuous structured parameters (such as temperature values), while event data are mostly discrete unstructured information (such as the label "National Day holiday"). If these raw data are directly input into the model, there will be a semantic gap problem - it is difficult to establish an effective association between the time series changes in temperature and the sudden characteristics of event labels within the same analysis framework. For example, there are significant differences in the data forms between the continuous low-temperature curve of a cold wave forecast and the single-point marker of the "family gathering" event. Without unified representation, the model cannot capture the synergistic impact of the sudden drop in temperature and the superimposed lighting load during the gathering period on electricity prices. Based on this, in the technical solution of this application, performing structured encoding on the short-term weather forecast data and the short-term event data to obtain a short-term weather forecast data structured encoding vector and a short-term event data structured encoding vector. Specifically, for weather forecast data, extracting parameters strongly related to the electricity load such as temperature and light, and converting its time series (such as the hourly temperature for the next 24 hours) into a structured vector with physical meaning, for example, capturing the time series information through one-dimensional convolution. For event data, a semantic embedding method is used to map discrete event labels (such as "cold wave warning", "Spring Festival holiday") to low-dimensional dense vectors.
[0025] Specifically, in step S142, the structured encoding vectors of the short-term weather forecast data and the structured encoding vectors of the short-term event data are mapped to the same high-dimensional latent space to obtain the aligned structured encoding vectors of the short-term weather forecast data and the aligned structured encoding vectors of the short-term event data. It should be understood that considering that the operation strategy of user-side energy storage highly depends on the coupling relationship between the external environment dynamics and electricity price fluctuations, there are essential differences in the data forms between weather forecast data (such as temperature curves, light intensity) and event data (such as holiday labels, special events): the former is a continuous time series, and the latter is mostly discrete semantic labels. If the two are directly concatenated or processed independently, cross-modal semantic associations cannot be established. For example, the continuous low temperature during a cold wave and the "family gathering" event belong to different dimensions in the original data space, and it is difficult for the model to identify the possible resonance effect of air conditioner and lighting loads caused by their superposition. This semantic fragmentation of heterogeneous data will lead to a fragmented analysis of the impact of external factors on electricity prices and cannot accurately capture the sudden change of supply-demand relationship under the synergistic effect of multiple factors. Based on this, in the technical solution of this application, the structured encoding vectors of the short-term weather forecast data and the structured encoding vectors of the short-term event data are mapped to the same high-dimensional latent space to obtain the aligned structured encoding vectors of the short-term weather forecast data and the aligned structured encoding vectors of the short-term event data. Specifically, a non-linear transformation matrix is used to perform spatial transformation on meteorological feature vectors such as temperature and light, and event embedding vectors respectively, so that they have comparable vector distributions in the hidden layer. For example, after mapping, the temperature drop trend vector of the cold wave forecast may show a neighboring distribution with the "extreme weather warning" event vector in the high-dimensional space, while the "holiday" event vector has a topological association with the electricity price peak period vector in the same historical period. In actual calculation, the parameters of the non-linear transformation matrix can be continuously optimized through model training. Its core idea is similar to finding a suitable "coordinate transformation" method for different modal data in the high-dimensional space, so that they can be compared and fused under the same metric system.
[0026] Specifically, a non-linear transformation matrix is used to perform spatial transformation on meteorological feature vectors and event embedding vectors. Taking the cold wave forecast as an example, its temperature drop trend vector and the "extreme weather warning" event vector are significantly different in the original data space, but through the action of the non-linear transformation matrix, they can show a neighboring distribution in the hidden layer. This means that in the high-dimensional space, they are closer in position, which is convenient for the model to identify the potential connection between the two. Similarly, after the "holiday" event vector is transformed, it can have a topological association with the electricity price peak period vector in the same historical period. This association can be understood as in the high-dimensional space, their relative positions and connection relationships reflect the internal connection between the actual data.
[0027] In actual calculations, the parameters of the non-linear transformation matrix are continuously optimized through model training. The model training process is like a process of continuous exploration and adjustment. Based on a large amount of historical data, it searches for the most suitable matrix parameters, enabling different modal data to be compared and fused under the same metric system. For example, during multiple trainings, the model will continuously adjust the non-linear transformation matrix according to the actual data feedback of the impact of sudden temperature drops and "extreme weather warnings" on electricity prices, making the distributions of these two vectors in the high-dimensional space more reasonable and better reflecting their synergistic effects on electricity prices. In this way, the structured encoded vectors of short-term weather forecast data and the structured encoded vectors of short-term event data are mapped to the same high-dimensional latent space, obtaining comparable and correlated aligned vectors, laying a solid foundation for subsequent analysis of the comprehensive impact of external factors on electricity prices.
[0028] Specifically, in step S143, the aligned structured encoded vectors of short-term weather forecast data and the aligned structured encoded vectors of short-term event data are combined to obtain the jointly structured encoded vectors of external factors. Correspondingly, considering that the generation of the user-side energy storage strategy needs to comprehensively consider the synergistic effects of multiple external factors, but the weather forecast data and event data are still independently represented after being aligned in the high-dimensional space and cannot directly reflect the joint impact mechanism of the two on electricity price fluctuations. When the method only conducts isolated analysis of weather or events, it will ignore the interaction between the two in the time and space dimensions (such as load resonance when extreme weather and special events occur simultaneously), resulting in the model being unable to accurately predict the intensity and duration of electricity price peaks and valleys. Therefore, in this application, the aligned structured encoded vectors of short-term weather forecast data and the aligned structured encoded vectors of short-term event data are combined to obtain the jointly structured encoded vectors of external factors. Specifically, in an example of this application, an attention-driven feature cross mechanism is adopted to dynamically calculate the correlation weights between the weather vector and the event vector. For example, after the event vector of "cold wave warning" and the temperature drop curve vector in the next 24 hours are aligned in the latent space, by calculating their attention scores, the correlation intensity of the overlapping area between the temperature drop period and the event validity period is identified. Subsequently, based on the attention weights, the aligned vectors are weighted and concatenated or tensor fused to generate a jointly encoded vector. This process not only retains the independent semantics of the original aligned vectors (such as temperature trends, event types), but also captures the synergistic influence patterns of the two in a specific time and space range through the cross terms (such as the probability of a sharp increase in load caused by the superposition of the first day of a cold wave and a holiday).
[0029] In step S150, a time series prediction based on short-term electricity prices is performed on the electricity price time series pattern feature encoded vector and the jointly structured encoded vectors of external factors to obtain a short-term electricity price prediction result. Figure 3 It is a flowchart of step S150 in the method for generating a user-side energy storage operation strategy according to an embodiment of the present application. Specifically, asFigure 3 As shown, in step S150, a short-term electricity price prediction is performed on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a short-term electricity price prediction result, including: S151, performing an internal-external collaborative response encoding with chain local interaction on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time-series pattern feature modulation encoding vector; S152, performing feature decoding on the electricity price time-series pattern feature modulation encoding vector to obtain the short-term electricity price prediction result.
[0030] Specifically, in step S151, an internal-external collaborative response encoding with chain local interaction is performed on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time-series pattern feature modulation encoding vector. Further, considering that the generation of the user-side energy storage operation strategy depends on the deep coupling of the electricity price time-series characteristics and external environmental disturbances, but there are significant limitations in traditional methods when dealing with the relationship between the two: on the one hand, there are essential differences in the data form and action mechanism between the electricity price time-series pattern (such as daily peak-valley cycle, weekly cycle trend) and external factors (such as sudden temperature change, special event), and simple feature splicing or linear superposition cannot capture the dynamic interaction effect between the two; on the other hand, the impact of external factors on the electricity price often has locality and delay. For example, the sudden increase in air-conditioning load caused by a cold wave may trigger a jump in the electricity price at a specific time period (such as at night), and it is difficult for traditional global interaction models to finely model such local spatio-temporal correlations. Due to the lack of fine-grained modeling of the interaction mechanism of multi-source heterogeneous data in the prior art, the energy storage strategy cannot dynamically respond to the combined action of environmental disturbances and market behaviors. Therefore, in this application, an internal-external collaborative response encoding with chain local interaction is performed on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time-series pattern feature modulation encoding vector.
[0031] Specifically, first, one-dimensional convolutional processing is performed on the electricity price time-series pattern feature encoding vector and the external factor joint encoding vector respectively to extract local implicit features (such as hourly fluctuation segments in the electricity price sequence and temperature drop trend segments in weather data). Subsequently, through single-feature interaction, the local features of the electricity price and the local features of external factors are matched group by group to generate interaction vectors, capturing the correlation between the two within specific spatio-temporal segments (such as the co-variation pattern of electricity price fluctuations at night on the first day of a cold snap and the temperature curve). Then, a chain perception weight mechanism is introduced to evaluate the importance of each local interaction. For example, identify the key impact of local interactions during the mid-term of a cold snap superimposed on holidays on electricity price forecasting, and accordingly perform weighted modulation on the interaction response vectors. Finally, use a forward LSTM to reason about the set of weighted local interactions, integrating cross-time-slice interaction information in the time series dimension (such as the conduction path of the cumulative effect of daily loads during the duration of a cold snap on electricity prices), and generate an electricity price time-series pattern feature modulation encoding vector.
[0032] Figure 4 The flowchart of step S151 in the method for generating the user-side energy storage operation strategy according to the embodiment of the present application. Specifically, as Figure 4 shown, in step S151, the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector are subjected to in-out collaborative response encoding of chain local interaction to obtain an electricity price time-series pattern feature modulation encoding vector, including: S1511, respectively performing local implicit feature single interaction on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a set of electricity price-external factor joint local implicit feature interaction encoding vectors; S1512, performing chain perception weighted modulation on the set of electricity price-external factor joint local implicit feature interaction encoding vectors to obtain a set of electricity price-external factor joint local implicit feature interaction modulation encoding vectors; S1513, inputting the set of electricity price-external factor joint local implicit feature interaction modulation encoding vectors into a forward LSTM model to obtain the electricity price time-series pattern feature modulation encoding vector.
[0033] Specifically, in the embodiment of the present application, step S1511, respectively performing local implicit feature single interaction on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a set of electricity price-external factor joint local implicit feature interaction encoding vectors, includes: respectively performing local implicit feature one-dimensional convolutional encoding on the electricity price time-series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a set of electricity price local time-series pattern implicit feature encoding vectors and a set of external factor joint local structured implicit encoding vectors. This process can be represented by the formula: ; where is the electricity price time-series pattern feature encoding vector, is the external factor combined with the structured coding vector, is the one-dimensional convolutional coding of local implicit features, is the length of the one-dimensional convolutional kernel, and are respectively the 1st, 2nd, th, and th electricity price local temporal pattern implicit feature coding vectors in the set of electricity price local temporal pattern implicit feature coding vectors, and are respectively the 1st, 2nd, th, and th external factor combined with local structured implicit coding vectors in the set of external factor combined with local structured implicit coding vectors, is and is the number of vectors in, and and have the same length.
[0034] Perform single-entity feature interaction on each group of corresponding electricity price local temporal pattern implicit feature coding vectors and external factor combined with local structured implicit coding vectors in the set of electricity price local temporal pattern implicit feature coding vectors and the set of external factor combined with local structured implicit coding vectors respectively to obtain the set of electricity price - external factor combined local implicit feature interaction coding vectors. This process can be expressed by the formula: ; where is the th electricity price local temporal pattern implicit feature coding vector in the set of electricity price local temporal pattern implicit feature coding vectors, is the th external factor combined with local structured implicit coding vector in the set of external factor combined with local structured implicit coding vectors, is dot product by position, is addition by position, is subtraction by position, is concatenation operation, is the th local implicit feature interaction weight matrix in the set of local implicit feature interaction weight matrices, is the th local implicit feature interaction bias vector in the set of local implicit feature interaction bias vectors, is the th electricity price - external factor combined local implicit feature interaction coding vector in the set of electricity price - external factor combined local implicit feature interaction coding vectors.
[0035] It should be understood that since the optimization of the user-side energy storage strategy needs to accurately capture the local coupling effect of electricity price fluctuations and external environmental disturbances, when the electricity price time-series characteristics and the joint coding vector of external factors are used as the overall features, the internal implicit local dynamic correlations are often masked by the global statistical features. For example, a sudden spike in a certain period of the electricity price sequence may only be related to the sharp increase in air-conditioning load caused by a sudden drop in temperature in the next few hours, while the impact of the "cold wave warning + holiday" event in the joint coding vector of external factors may be concentrated in a specific date range. When directly operating on the overall features with a global interaction model, it is impossible to focus on these local key segments, resulting in a lag or misjudgment in the model's response to emergencies. Based on this, in this application, one-dimensional convolutional coding of local implicit features is performed on the electricity price time-series pattern feature coding vector and the joint structured coding vector of external factors respectively to efficiently extract local patterns (such as the load accumulation effect during continuous high-temperature periods) in the serialized features through convolution operations, obtaining a set of electricity price local time-series pattern implicit feature coding vectors and a set of joint local structured implicit coding vectors of external factors.
[0036] Correspondingly, considering that the interaction effects between the two often exhibit locality and heterogeneity. For example, a sudden drop in temperature caused by a cold wave may trigger a sharp increase in air-conditioning load during the night period, thereby driving up the electricity price at that time, while the same cold wave event may have a weaker impact on the electricity price during the day due to sufficient sunlight. Traditional global interaction methods (such as fully connected layers) ignore this spatio-temporal local correlation and interact the electricity price sequence and external factors as a whole, resulting in the model being unable to focus on the feature coupling at key times and weakening the response ability to sudden disturbances. In addition, the action mechanisms of electricity price fluctuations and external factors may be non-linear or conditionally dependent. For example, the synergistic effect of the "high temperature + commercial promotion" event in the evening period is much higher than that in other periods, and such complex patterns need to be captured through fine-grained interaction. For this reason, in this application, the monomer feature interaction is performed on each group of corresponding electricity price local time-series pattern implicit feature coding vectors and joint local structured implicit coding vectors of external factors respectively to obtain a set of electricity price-external factor joint local implicit feature interaction coding vectors. In particular, the electricity price-external factor joint local interaction coding vectors generated in this process not only retain the independent semantics of the original local features but also encode the synergistic action patterns between the two in specific spatio-temporal segments.
[0037] Specifically, in the embodiment of the present application, step S1512 of performing chained perception weighted modulation on the set of electricity price-external factor joint local implicit feature interaction coding vectors to obtain a set of electricity price-external factor joint local implicit feature interaction modulation coding vectors includes: S1512-1, determining the chained perception modulation weights of the respective electricity price-external factor joint local implicit feature interaction coding vectors based on the feature distribution characteristics of the respective electricity price-external factor joint local implicit feature interaction coding vectors in the set of electricity price-external factor joint local implicit feature interaction coding vectors to obtain a set of electricity price-external factor joint local implicit feature interaction chained perception modulation weights; S1512-2, performing weighted modulation on the set of electricity price-external factor joint local implicit feature interaction coding vectors based on the set of electricity price-external factor joint local implicit feature interaction chained perception modulation weights to obtain the set of electricity price-external factor joint local implicit feature interaction modulation coding vectors.
[0038] Specifically, in step S1512-1, based on the feature distribution characteristics of the respective electricity price-external factor joint local implicit feature interaction coding vectors in the set of electricity price-external factor joint local implicit feature interaction coding vectors, the chained perception modulation weights of the respective electricity price-external factor joint local implicit feature interaction coding vectors are determined to obtain a set of electricity price-external factor joint local implicit feature interaction chained perception modulation weights. This process can be expressed by the formula: ; where is the -th electricity price-external factor joint local implicit feature interaction coding vector in the set of electricity price-external factor joint local implicit feature interaction coding vectors, is the -th eigenvalue in is the square of the Euclidean norm of the calculation vector, is the number of eigenvalues in is a is the -th electricity price-external factor joint local implicit feature interaction chained perception modulation weight in the set of electricity price-external factor joint local implicit feature interaction chained perception modulation weights.
[0039] It should be understood that there are significant differences in the contributions of different interaction features to electricity price forecasting. For example, the local interaction between the sharp temperature drop at night on the first day of a cold snap and the sharp rise in electricity price may be more valuable for decision-making than the interaction during the subsequent gentle cooling stage; while the synergistic effect of the "high temperature + commercial promotion" event in the evening may be much higher than that in other periods. When equal treatment is given to all local interactions, noise segments and key signals will be integrated with equal weights, resulting in the model being unable to focus on the spatio-temporal coupling effect that truly affects the market supply and demand balance. In addition, there may be a chain dependence relationship between local interactions (such as the load accumulation effect caused by continuous high temperatures needs to be transmitted across time periods), and it is necessary to explicitly model the association strength of interaction units in the time dimension. Therefore, in this application, based on the characteristic distribution characteristics of the joint local implicit feature interaction coding vectors of each electricity price - external factor, the chain-aware modulation weights of the joint local implicit feature interaction coding vectors of each electricity price - external factor are determined, so that the finally generated set of chain-aware modulation weights of the joint local implicit feature interaction of electricity price - external factors quantifies the relative importance of each interaction unit in subsequent inferences.
[0040] More specifically, in the embodiment of this application, step S1512-2, based on the set of chain-aware modulation weights of the joint local implicit feature interaction of electricity price - external factors, performs weighted modulation on the set of joint local implicit feature interaction coding vectors of electricity price - external factors to obtain the set of joint local implicit feature interaction modulation coding vectors of electricity price - external factors, including: performing semantic space reconstruction and feature enhancement on the set of chain-aware modulation weights of the joint local implicit feature interaction of electricity price - external factors for dynamic specification regulation to obtain the set of chain-aware enhanced modulation weights of the joint local implicit feature interaction of electricity price - external factors, and this process can be expressed by the formula: ; where is the th electricity price - external factor joint feature linear interaction energy operator in the set of electricity price - external factor joint feature linear interaction energy operators, is the th electricity price - external factor joint feature difference measurement operator in the set of electricity price - external factor joint feature difference measurement operators, is the th electricity price - external factor joint feature non-linear coupling strength operator in the set of electricity price - external factor joint feature non-linear coupling strength operators, is the value of the logarithmic function with the natural constant as the base, is the th electricity price - external factor joint feature periodic local compensation factor in the set of electricity price - external factor joint feature periodic local compensation factors, is the An electricity price - external factor joint characteristic periodic phase co - modulation factor, and are respectively and the corresponding weight coefficients, is the th electricity price - external factor joint local implicit feature interaction chain - type perception reinforcement modulation weight in the set of electricity price - external factor joint local implicit feature interaction chain - type perception reinforcement modulation weights.
[0041] Based on the set of electricity price - external factor joint local implicit feature interaction chain - type perception reinforcement modulation weights, perform weighted modulation on the set of electricity price - external factor joint local implicit feature interaction - encoded vectors to obtain the set of electricity price - external factor joint local implicit feature interaction - modulated encoded vectors. This process can be expressed by the formula: ; where, and are respectively the 1st, 2nd, th, and th electricity price - external factor joint local implicit feature interaction - modulated encoded vectors in the set of electricity price - external factor joint local implicit feature interaction - modulated encoded vectors, is the set of electricity price - external factor joint local implicit feature interaction - modulated encoded vectors.
[0042] Specifically, when calculating each electricity price - external factor joint local implicit feature interaction - encoded vector, it is necessary to introduce the interaction features between the electricity price local temporal pattern implicit feature - encoded vector and the external factor joint local structured implicit encoding vector, such as etc. These operations essentially correspond to different interaction specifications, and thus form a differentiated spatial constraint association mechanism in the interaction space.
[0043] To enhance the dynamic specification regulation gain of the electricity price - external factor joint local implicit feature interaction chain - type perception modulation weights, it is necessary to correct the weights based on the multi - dimensional decomposition of the interaction specifications. Specifically, and can be regarded as the action of linear transformation (i.e., the gradient direction is consistent with the spatial interaction direction), while represents the action of non - linear oscillation (i.e., the gradient direction is orthogonal to the spatial interaction direction). For the vector statistics of different actions (such as ), the non - linear oscillation action will cause a local periodic modulation effect in the direction of linear local feature representation. Therefore, it is necessary to calculate its periodic local compensation factor: ; where, as the linear local feature representation, the growth of its logarithmic size will enhance the non - linear oscillation action Contributions. At the same time, the non - linear oscillation effect will also cause the phase transition of the phase representation of the linear local characteristics, thus obtaining periodic phase collaborative modulation: .
[0044] Finally, based on and the weighted sum of modifies the interaction chain - type perception modulation weight of the electricity price - external factor joint local implicit feature .
[0045] By distinguishing the spatial constraint paradigm of the interaction norm in the interaction space, this method effectively enhances the collaborative correlation between different spatial constraint association mechanisms, thus significantly improving the calculation accuracy of the interaction chain - type perception modulation weight of the electricity price - external factor joint local implicit feature.
[0046] After that, each interaction chain - type perception modulation weight of the electricity price - external factor joint local implicit feature is weighted - modulated with the corresponding interaction - encoded vector of the electricity price - external factor joint local implicit feature to ensure that the feature activation intensity of the high - weight interaction vector is significantly higher than that of the low - weight unit, obtaining a set of interaction - modulated encoded vectors of the electricity price - external factor joint local implicit feature. That is, the set of weighted - modulated interaction - encoded vectors highlights the decision - making value of key spatio - temporal segments, enabling the model inference to focus on high - impact coupling events. For example, after modulation, the high - weight interaction vector on the first night of the cold wave has its associated features of temperature drop and electricity price jump strengthened, driving the model to accurately predict that this period is the core window of the charge - discharge strategy; while the low - weight interaction at noon on holidays is weakened by modulation, avoiding misleading the strategy generation.
[0047] Specifically, in step S1513, the set of interaction - modulated encoded vectors of the electricity price - external factor joint local implicit feature is input into the forward LSTM model to obtain the feature - modulated encoded vector of the electricity price time - series pattern, and this process can be expressed by the formula: ; where is the set of interaction - modulated encoded vectors of the electricity price - external factor joint local implicit feature, is the forward LSTM encoding, is the feature - modulated encoded vector of the electricity price time - series pattern.
[0048] Finally, input the set of the electricity price - external factor jointly local implicit feature interaction modulation coding vectors into the forward LSTM model to obtain the electricity price time - series pattern feature modulation coding vector. Specifically, input the vector set into the LSTM in chronological order, and use its gating mechanism (forget gate, input gate, output gate) to gradually integrate the chronological context information. For example, when processing the interaction vector on the first day of a cold snap, the LSTM memory cell stores the associated features of the sudden temperature drop and electricity price jump during this period; when processing the interaction vector on the next day, the model combines the historical memory and the current input to identify the trend of the intensified supply - demand tension caused by the cumulative load, and dynamically adjusts the electricity price prediction logic for subsequent periods. Through this iterative process, the scattered local interaction information (such as the hourly load increase during high - temperature periods) is encoded into a coherent global feature representation, capturing the cross - period causal relationships (such as the daily forward shift of the electricity price peak period caused by consecutive high temperatures), so that the generated electricity price time - series pattern feature modulation coding vector contains global market dynamics.
[0049] Specifically, in step S152, perform feature decoding on the electricity price time - series pattern feature modulation coding vector to obtain the short - term electricity price prediction result. Specifically, in the technical solution of this application, performing feature decoding on the electricity price time - series pattern feature modulation coding vector to obtain the short - term electricity price prediction result includes: using a short - term predictor based on a decoder to perform feature decoding on the electricity price time - series pattern feature modulation coding vector to obtain the short - term electricity price prediction result. In particular, the short - term electricity price prediction result refers to the predicted value of the electricity price in the short future. It should be understood that the electricity price time - series pattern feature modulation coding vector obtained through the previous encoding process is a processed and transformed high - dimensional feature vector, which contains the comprehensive information of the electricity price time - series pattern and external factors. However, this vector form cannot be directly used to represent the actual electricity price prediction result. The role of the decoder is to convert this encoded feature vector into an understandable and applicable short - term electricity price prediction data form, making it correspond to the actual electricity price value. It is worth mentioning that the decoder usually has the ability to restore specific data from the abstract feature representation. When dealing with the electricity price prediction problem, it can, based on the various feature information contained in the coding vector, through a series of decoding operations, convert this information into the predicted value of the electricity price in the short future. This conversion process from features to specific values is realized based on the structure and training mechanism of the decoder, and can effectively utilize the information in the coding vector to generate meaningful prediction results. In this way, through feature decoding of the electricity price time - series pattern feature modulation coding vector, the various feature information extracted and fused before is converted into specific short - term electricity price prediction values, thereby providing an expectation of the electricity price change in the short future for power market participants, power system operators, etc., and helping them make reasonable decisions, such as adjusting the power generation plan and formulating electricity - using strategies.
[0050] In specific implementation, the short-term predictor based on the decoder usually includes a series of neural network structures, which have the ability to restore specific data from the abstract feature representation. When dealing with the electricity price prediction problem, the decoder performs decoding operations according to various feature information contained in the encoded vector. For example, the encoded vector may contain the periodic law information of historical electricity prices, such as daily peak-valley, weekly cycle and other patterns, as well as the influence information of external factors such as sudden temperature changes and holidays on electricity prices. The decoder will analyze and process this information and convert it into the predicted value of the electricity price in the short term in the future.
[0051] During the decoding process, the decoder will use its internal parameters and training mechanism to correspond the feature information in the encoded vector with the actual electricity price values. The training mechanism is obtained by training based on a large amount of historical data. By continuously adjusting the parameters of the decoder, the decoder can more accurately extract useful information from the encoded vector and convert it into an accurate electricity price prediction. For example, during the training process, a large amount of historical data containing different external factors and electricity price changes will be input, allowing the decoder to learn the internal connections between these data, so that when facing a new encoded vector, it can accurately predict the short-term electricity price.
[0052] In step S160, based on the short-term electricity price prediction result, determine the operation strategy of the user-side energy storage. It should be understood that the charging and discharging behavior of the user-side energy storage will be directly affected by the electricity price. The fluctuation of the electricity price provides an arbitrage space for the energy storage system. By charging when the electricity price is low and discharging when the electricity price is high, the energy storage system can help users reduce the electricity cost. Therefore, the accurate short-term electricity price prediction result is the key basis for formulating a reasonable energy storage operation strategy. That is to say, by reasonably arranging the charging and discharging of the energy storage according to the short-term electricity price prediction result, users can avoid consuming a large amount of electricity during high electricity price periods, but use the electric energy stored by the energy storage system during low electricity price periods, thereby reducing the electricity bill expenditure and achieving the maximization of economic benefits.
[0053] In an embodiment of the present application, the implementation process of determining the operation strategy of the user-side energy storage based on the short-term electricity price prediction result is as follows: First, deeply analyze the short-term electricity price prediction result. Identify the peak and trough periods of the predicted electricity price, as well as the specific values of the electricity price in each period. At the same time, combine the user's historical electricity consumption data to understand the electricity consumption demand characteristics in different periods. For example, industrial users have a large and relatively stable electricity consumption demand during production periods, commercial users have a high electricity consumption demand during business hours, and residential users have obvious electricity consumption peaks during morning and evening rush hours.
[0054] Next, based on the peak-valley periods of electricity prices and the electricity consumption demands of users, a preliminary charge-discharge strategy is formulated. During the low-valley periods of electricity prices, the energy storage system should conduct charging operations as much as possible. Taking a residential user as an example, if it is predicted that the electricity price is low during the early morning hours and the electricity consumption demand of the user is extremely small during this period, the energy storage system can fully charge during this time to store electrical energy. For industrial users, if the low-valley electricity price period coincides with the production intermission period, this period can also be used to charge the energy storage system. During the peak periods of electricity prices, the energy storage system needs to discharge to meet the electricity consumption demands of users. Suppose it is predicted that the electricity price is high during the evening hours. At this time, the residential user turns on various electrical appliances and the electricity consumption demand increases significantly. Then the energy storage system starts to discharge, reducing the amount of electricity directly purchased by the user from the power grid, thereby reducing the electricity consumption cost.
[0055] In the process of formulating the charge-discharge strategy, the characteristics of the energy storage system itself also need to be considered. Attention should be paid to the charge-discharge efficiency of the energy storage system because there will be certain energy losses during the charge-discharge process. If the charge-discharge efficiency is low, it is necessary to balance the charge amount and the discharge amount when formulating the strategy to avoid excessive charge-discharge resulting in energy waste. At the same time, the capacity limit of the energy storage system should be considered. If the capacity of the energy storage system is small, it may not be able to store enough electrical energy during the low-valley electricity price period for use during the peak period. At this time, it is necessary to reasonably arrange the charging time and the charging amount to give priority to ensuring the electricity consumption demands during key periods. For example, commercial users have a large demand for electricity during the business peak period, and the energy storage system should give priority to ensuring that there is enough electricity supply during this period and reasonably plan the charging in combination with this demand.
[0056] In addition, it is also necessary to monitor in real time and dynamically adjust the energy storage operation strategy. The power market and the electricity consumption situation of users may change at any time. For example, sudden weather changes may cause a sharp increase in the electricity consumption demand of users, or changes in the supply-demand relationship in the power market may cause fluctuations in electricity prices. By monitoring the electricity price and the electricity consumption data of users in real time, once it is found that there is a deviation between the actual situation and the predicted result, the energy storage operation strategy should be adjusted in a timely manner. If the originally predicted peak electricity price period arrives earlier and the electricity consumption demand increases earlier, the energy storage system should start discharging earlier to meet the electricity consumption demands of users and avoid purchasing a large amount of electricity from the power grid during the high electricity price period.
[0057] Finally, the formulated energy storage operation strategy is applied to the actual user-side energy storage system, and the implementation effect of the strategy is continuously tracked and evaluated. By comparing the electricity consumption cost and economic benefits before and after implementing the strategy, the energy storage operation strategy is continuously optimized and improved. If it is found that the strategy implemented in a certain stage has poor results in reducing the electricity consumption cost, it is necessary to analyze the reasons. It may be that the prediction result is not accurate enough, or some factors are not fully considered in the process of formulating the strategy. Then targeted improvements are made so that the energy storage system can better adapt to different electricity consumption scenarios and market changes and achieve long-term stable economic benefits.
[0058] In another embodiment of the present application, the implementation process of determining the user-side energy storage operation strategy based on the short-term electricity price prediction results is as follows: First, identify peak and valley periods based on the short-term electricity price prediction results. Formulate a charging strategy during the low electricity price period, and preferentially use low-cost electric energy to fill the energy storage system. At this time, it is necessary to ensure that the state of charge (SOC) of the energy storage does not exceed the capacity limit and the charging power does not exceed the rated power of the equipment. Implement a discharging strategy during the high electricity price period, and meet part or all of the load demand through energy storage discharging to reduce the expenditure on purchasing high-cost electricity. At the same time, ensure that the SOC after discharging is not lower than the safety threshold to cope with subsequent load fluctuations.
[0059] In addition, for load mutations caused by external factors, when formulating the strategy, combine the short-term electricity price prediction results with the load prediction output. When it is predicted that the load demand in a specific period exceeds the normal level and the electricity price is at a high level, preferentially dispatch the energy storage to discharge to match the load peak, avoiding a decline in revenue due to excessive grid electricity purchase costs. If external factors cause the peak period of the electricity price to shift forward or extend, dynamically adjust the charging and discharging time windows, complete the charging reserve in advance and extend the discharging period to ensure the response accuracy of the energy storage system within the electricity price fluctuation range.
[0060] In summary, the method for generating the user-side energy storage operation strategy based on the embodiments of the present application is elucidated. First, perform time series encoding on historical electricity prices to extract periodic patterns. At the same time, convert parameters such as temperature and light in the weather forecast and holiday event information into structured vectors, and achieve semantic alignment in a high-dimensional hidden space to form a feature combination body containing external interference factors. Then, adopt an internal-external collaborative response coding mechanism to jointly encode the electricity price time series features and external factors for chain interaction. The finally generated electricity price prediction results comprehensively consider the dual effects of external factors on load and market supply and demand, thereby supporting the energy storage system to execute precise charging and discharging strategies in the electricity price peak and valley intervals, effectively overcoming the problem of strategy lag caused by data fragmentation in traditional methods.
[0061] Figure 5 It is a block diagram of a system for generating a user-side energy storage operation strategy according to an embodiment of the present application. As Figure 5As shown in the figure, a system 100 for generating a user-side energy storage operation strategy according to an embodiment of the present application includes: a market historical electricity price data acquisition module 110 for acquiring market historical electricity price data; a short-term data acquisition module 120 for acquiring short-term weather forecast data and short-term event data; a electricity price time series encoding module 130 for performing time series encoding on the market historical electricity price data to obtain an electricity price time series pattern feature encoding vector; an external factor joint module 140 for performing structured joint encoding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured encoding vector; a short-term electricity price prediction module 150 for performing time series prediction based on short-term electricity prices on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain a short-term electricity price prediction result; a user-side energy storage operation strategy generation module 160 for determining a user-side energy storage operation strategy based on the short-term electricity price prediction result. Among them, the short-term electricity price prediction module is used to: perform in-out collaborative response encoding with chain local interaction on the electricity price time series pattern feature encoding vector and the external factor joint structured encoding vector to obtain an electricity price time series pattern feature modulation encoding vector; perform feature decoding on the electricity price time series pattern feature modulation encoding vector to obtain the short-term electricity price prediction result.
[0062] Specifically, first, it is composed of a market historical electricity price data acquisition module and a short-term data acquisition module. The market historical electricity price data acquisition module docks with the power market data platform, collects multi-period electricity price data and performs unified time series standardization processing to form a continuous electricity price data set. The short-term data acquisition module, through the meteorological API interface and the event information system, real-time captures weather forecast parameters such as temperature and light, and event markers such as holidays and special events. The two types of data are strictly aligned based on the unified time axis, providing input support with the same source time dimension for subsequent processing.
[0063] Secondly, the electricity price time series encoding module uses causal dilated convolution technology to perform time series encoding on historical electricity price data, and layer by layer extracts time series pattern features such as daily peak-valley, weekly cycle, and long-range event correlation to generate an electricity price time series pattern feature encoding vector. The external factor joint module synchronously processes weather forecast and event data. First, it separately converts continuous meteorological parameters and discrete event labels into independent structured vectors, and then realizes semantic alignment through high-dimensional latent space mapping. Finally, it uses an attention-driven feature cross mechanism to generate an external factor joint structured encoding vector that integrates the synergistic effects of weather changes and event impacts.
[0064] Then, as the core of data fusion, the short-term electricity price prediction module receives the combined structured coding vectors of the electricity price time series pattern feature coding vector and external factors, and performs chained interaction processing through the internal-external collaborative response coding mechanism: First, it extracts local hidden features through one-dimensional convolution and performs group-by-group interaction, then highlights the influence of key spatio-temporal segments through chained perceptual weighted modulation, and finally integrates cross-period correlations using a forward LSTM model to generate an electricity price time series pattern feature modulation coding vector containing external factor modulation. This vector is converted into a short-term electricity price prediction result by a decoder, which directly drives the formulation of energy storage strategies.
[0065] Finally, the user-side energy storage operation strategy generation module constructs an optimization model with the goal of minimizing the electricity consumption cost based on the prediction results, and determines the charging and discharging power and energy scheduling plans for each period in combination with the physical constraints of the energy storage system and the user load characteristics. This module monitors the actual electricity price and load response in the market in real time. When the prediction deviation or load mutation exceeds the threshold, it triggers the short-term electricity price prediction module to run again through the feedback link, updates the prediction results based on the latest data, and adjusts the strategy. This closed-loop mechanism prompts the electricity price time series coding and external factor joint module to dynamically optimize the feature extraction parameters, ensuring that the prediction results fit the actual market environment and forming a full-process adaptive system of "data collection - feature processing - prediction generation - strategy formulation - real-time feedback".
[0066] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned user-side energy storage operation strategy generation system have been introduced in detail in the description of the Figures 1 to 4 user-side energy storage operation strategy generation method, and therefore, the repeated description will be omitted.
[0067] In particular, in another example of this application, a user-side energy storage optimization and control system based on multi-factor collaboration is also proposed. Specifically, it includes: 1. The optimal operation strategy of the user-side energy storage that integrates multiple factors. Considering the mutual influence of energy storage configuration and operation, starting from analyzing the energy storage configuration constraint conditions, energy transfer formula, and charging and discharging constraint conditions, with the goal of minimizing the comprehensive economic cost and voltage deviation of energy storage configuration operation, combined with the constraint conditions for the safe and stable operation of the distribution network, an optimization configuration model of distributed energy storage in the active distribution network is established. Since the optimization of this model is a complex dynamic multi-objective optimization problem and traditional methods have defects, the teaching learning-based optimization (TLBO) algorithm is used to improve the search mechanism of the particle swarm optimization (PSO) algorithm, and the multi-objective HTL-MOPSO algorithm with enhanced performance is explored in combination with the leader particle selection strategy. The energy storage configuration model is transformed into a two-layer hierarchical structure multi-objective optimization model. The outer layer determines the energy storage configuration plan, and the inner layer optimizes the energy storage operation strategy. The inner and outer layers interact with each other, and the multi-objective HTL-MOPSO algorithm is used for optimization and solution to obtain the optimal capacity configuration of the energy storage and the corresponding optimal operation strategy.
[0068] 2. Exploration and Benefit Evaluation of Potential Energy Storage Users Considering Economy and Distribution Network Stability. Starting from the two dimensions of the diverse electricity consumption demand characteristics of users and the operating characteristics on the grid side, record the diverse electricity consumption demands on the user side (such as user load capacity and composition, fee reduction demand indicators, etc.) and the operating characteristics on the grid side (such as voltage fluctuations, frequency fluctuations, and power quality, etc.) on a daily and monthly basis, and establish a feature library for exploring target users of energy storage services on the user side. Based on the analytic hierarchy process and the method of determining weights by maximizing the deviation, determine the subjective weights and objective weights of each level of features and indicators respectively, and introduce the concept of connection numbers to determine their combined weights. Construct the GRA-TOPSIS quantization model, the entropy weight method model, and the fuzzy analytic hierarchy process respectively, comprehensively consider multiple indicators and factors for quantifying and grading user demands and grid-side operating characteristics, introduce a non-linear information aggregation method, add the indicator grading vector and the optimal and worst indicator value vectors to the decision matrix, realize the classification of user characteristics, and accurately identify energy storage users. Intuitively display the quantitative results of user classification in a visual way and convert them into a qualitative form. Combining the energy storage operation strategy and capacity configuration, calculate the economic benefits from three aspects: arbitraging the peak-valley electricity price difference using electrochemical energy storage, the environmental benefits brought by energy storage devices, and subsidy income. Quantify the distribution network stability benefits from the improvement of power quality (severity of transient and steady-state power quality, economic losses, etc.) before and after installing energy storage devices. Design a visual software platform for grading energy storage users, record relevant data to calculate various benefits, comprehensively evaluate and determine whether users are suitable for installing distributed energy storage, and help promote the energy storage market on the user side.
[0069] 3. User-side energy storage optimizes the power quality of the distribution network and the grid development plan. Based on the mining and benefit evaluation of existing potential energy storage users, the K-Means clustering algorithm is used to divide the multi-dimensional features into operational categories, the Monte Carlo algorithm is introduced to build a time series data prediction model, and the multi-layer weighted long short-term memory model (LSTM) is used to predict time series data, accurately capture long-term and short-term dependencies, evaluate the constraints of the system supply and demand balance, obtain the supply and demand balance conditions and the regional power grid capacity and the user-side configuration transformer capacity limit data, mathematically model the capacity limit data as a constraint, jointly establish the main optimization goals of the optimal energy storage device configuration planning, establish a multi-objective optimization mathematical model for the configuration planning of energy storage devices in the region, and use the dual optimization method in convex optimization theory to solve the model, and obtain the supply and demand balance conditions that can reasonably utilize the upper and lower limits of the user-side and regional equipment performance. On the basis of the above, determine the grid development planning strategy required to cope with the dynamic changes in user demand, mathematically model the key equipment in the grid (such as transformers, harmonic removal devices, etc.), obtain various performance optimization parameters as the main goal, and use the previously obtained supply and demand balance conditions as constraints to establish an optimization model for achieving the optimal distribution network supply and demand stability. The optimization model is simplified by relaxing the objective function and constraints, and is converted into a two-layer optimization problem of optimal energy storage capacity configuration and grid power supply stability. The outer layer optimizes the supply and demand balance indicators and power supply stability of the regional distribution network to determine the overall configuration of the energy storage device; the lower layer optimizes the supply and demand balance conditions of the multidimensional feature labels of the electricity users under the premise of the energy storage device configuration plan in the given optimal area, and takes grid stability as the main optimization goal. The particle swarm algorithm or alternating direction multiplier algorithm is used to solve the inner and outer optimization problems according to the multidimensional feature labels of users in different regions and the electrical effects of user-side energy storage on the grid. Finally, the grid operation is simulated to determine the accuracy.
[0070] 4. User-side energy storage status monitoring and energy storage benefit evaluation system. Design a health monitoring module and a net income calculation module based on the status evaluation criteria, record the charge and discharge conditions of the user-side energy storage device on a daily and monthly basis, draw a power curve, calculate the net income according to the charge and discharge data combined with the income model, design the health status evaluation criteria for the energy storage device, and develop a monitoring module for real-time monitoring of the health status of the energy storage device, so as to monitor the health status of the energy storage device in real time and maximize the comprehensive income of users through effective charge and discharge strategies. Based on the measurement data, develop a system to monitor the voltage at the energy storage connection point, the active power in the line, the reactive power flow, and the available margin of the energy storage itself, research and develop an intelligent sensing detection module to monitor the operating status of the connection point in real time, use a time series neural network to predict future state variables, and when there is a large deviation between the prediction result and the set target, send a warning signal to the superior dispatching center and assist in the timely adjustment of the energy storage operation strategy, so as to solve the complexity of the connection point status monitoring and the reliability of the status prediction, and realize the monitoring of the impact of the user-side energy storage on the grid voltage and power after connecting to the grid, as well as the prediction and warning of the future changes in the grid operating status.
[0071] In summary, it is intended that the above detailed description be regarded as illustrative rather than restrictive, and it should be understood that the above embodiments should be construed as only for illustrating the present invention and not for limiting the scope of protection of the present invention.
Claims
1. A method for generating a user-side energy storage operation strategy, characterized in that: include: Obtain historical market electricity price data; obtain short-term weather forecast data and short-term event data; Performing time series coding on the market historical electricity price data to obtain a characteristic coding vector of the electricity price time series pattern; Performing structured joint coding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured coding vector; The electricity price time series pattern feature coding vector and the external factor joint structured coding vector are subjected to time series prediction based on short-term electricity prices to obtain a short-term electricity price prediction result, including: performing chained local interactive inside-outside collaborative response coding on the electricity price time series pattern feature coding vector and the external factor joint structured coding vector to obtain an electricity price time series pattern feature modulation coding vector; performing feature decoding on the electricity price time series pattern feature modulation coding vector to obtain the short-term electricity price prediction result; and determining a user-side energy storage operation strategy based on the short-term electricity price prediction result.
2. The method for generating a user-side energy storage operation strategy according to claim 1, characterized in that: The historical market electricity price data is time-series encoded to obtain an electricity price time-series pattern feature encoding vector, including: the historical market electricity price data is time-series encoded based on causal dilation convolution to obtain the electricity price time-series pattern feature encoding vector.
3. The method for generating a user-side energy storage operation strategy according to claim 1, characterized in that: The short-term weather forecast data and the short-term event data are structured jointly encoded to obtain an external factor joint structured coding vector, including: structured encoding the short-term weather forecast data and the short-term event data to obtain a short-term weather forecast data structured coding vector and a short-term event data structured coding vector; mapping the short-term weather forecast data structured coding vector and the short-term event data structured coding vector to the same high-dimensional implicit space to obtain an aligned short-term weather forecast data structured coding vector and an aligned short-term event data structured coding vector; combining the aligned short-term weather forecast data structured coding vector and the aligned short-term event data structured coding vector to obtain the external factor joint structured coding vector.
4. The method for generating a user-side energy storage operation strategy according to claim 1, characterized in that: The electricity price time series pattern feature coding vector and the external factor joint structured coding vector are subjected to chained local interactive inside-outside collaborative response coding to obtain an electricity price time series pattern feature modulation coding vector, including: performing local implicit feature monomer interaction on the electricity price time series pattern feature coding vector and the external factor joint structured coding vector respectively to obtain a set of electricity price-external factor joint local implicit feature interaction coding vectors; performing chained perceptual weighted modulation on the set of electricity price-external factor joint local implicit feature interaction coding vectors to obtain a set of electricity price-external factor joint local implicit feature interaction modulation coding vectors; and inputting the set of electricity price-external factor joint local implicit feature interaction modulation coding vectors into a forward LSTM model to obtain the electricity price time series pattern feature modulation coding vector.
5. The method for generating a user-side energy storage operation strategy according to claim 4, characterized in that: The electricity price time series pattern feature coding vector and the external factor joint structured coding vector are respectively subjected to local implicit feature monomer interaction to obtain a set of electricity price-external factor joint local implicit feature interaction coding vectors, including: performing local implicit feature one-dimensional convolution coding on the electricity price time series pattern feature coding vector and the external factor joint structured coding vector to obtain a set of electricity price local time series pattern implicit feature coding vectors and a set of external factor joint local structured implicit coding vectors; performing monomer feature interaction on each corresponding group of electricity price local time series pattern implicit feature coding vectors and external factor joint local structured implicit coding vectors in the set of electricity price local time series pattern implicit feature coding vectors and the set of external factor joint local structured implicit coding vectors to obtain the set of electricity price-external factor joint local implicit feature interaction coding vectors.
6. The method for generating a user-side energy storage operation strategy according to claim 5, characterized in that: The set of electricity price-external factor combined local implicit feature interaction coding vectors is subjected to chain perceptual weighted modulation to obtain a set of electricity price-external factor combined local implicit feature interaction modulation coding vectors, including: based on the characteristic distribution characteristics of each electricity price-external factor combined local implicit feature interaction coding vector in the set of electricity price-external factor combined local implicit feature interaction coding vectors, the chain perceptual modulation weight of each electricity price-external factor combined local implicit feature interaction coding vector is determined to obtain a set of electricity price-external factor combined local implicit feature interaction chain perceptual modulation weights; based on the set of electricity price-external factor combined local implicit feature interaction chain perceptual modulation weights, the set of electricity price-external factor combined local implicit feature interaction coding vectors is subjected to weighted modulation to obtain the set of electricity price-external factor combined local implicit feature interaction modulation coding vectors.
7. The method for generating a user-side energy storage operation strategy according to claim 6, characterized in that: Based on the set of electricity price-external factors combined with local implicit features interactive chain perception modulation weights, the set of electricity price-external factors combined with local implicit features interactive coding vectors is weighted modulated to obtain the set of electricity price-external factors combined with local implicit features interactive modulation coding vectors, including: dynamically and normatively regulating the set of electricity price-external factors combined with local implicit features interactive chain perception modulation weights to reconstruct the semantic space and enhance the features to obtain the set of electricity price-external factors combined with local implicit features interactive chain perception enhancement modulation weights; based on the set of electricity price-external factors combined with local implicit features interactive chain perception enhancement modulation weights, weighted modulating the set of electricity price-external factors combined with local implicit features interactive coding vectors to obtain the set of electricity price-external factors combined with local implicit features interactive modulation coding vectors.
8. The method for generating a user-side energy storage operation strategy according to claim 7, characterized in that: Feature decoding is performed on the characteristic modulation coding vector of the electricity price time series pattern to obtain the short-term electricity price prediction result, including: using a decoder-based short-term predictor to feature decode the characteristic modulation coding vector of the electricity price time series pattern to obtain the short-term electricity price prediction result.
9. A system for generating a user-side energy storage operation strategy, characterized in that: include: The market historical electricity price data acquisition module is used to obtain the market historical electricity price data; the short-term data acquisition module is used to obtain short-term weather forecast data and short-term event data; An electricity price time series coding module is used to perform time series coding on the market historical electricity price data to obtain an electricity price time series pattern feature coding vector; an external factor joint module is used to perform structured joint coding on the short-term weather forecast data and the short-term event data to obtain an external factor joint structured coding vector; a short-term electricity price prediction module is used to perform time series prediction based on the short-term electricity price on the electricity price time series pattern feature coding vector and the external factor joint structured coding vector to obtain a short-term electricity price prediction result, wherein the short-term electricity price prediction module is used to: perform chain-type local interactive inside-outside collaborative response coding on the electricity price time series pattern feature coding vector and the external factor joint structured coding vector to obtain an electricity price time series pattern feature modulation coding vector; perform feature decoding on the electricity price time series pattern feature modulation coding vector to obtain the short-term electricity price prediction result; a user-side energy storage operation strategy generation module is used to determine the user-side energy storage operation strategy based on the short-term electricity price prediction result.
Citation Information
Patent Citations
Control method of energy storage system and battery management system
CN116933999A
Prediction-based energy storage regulation and control method and system
CN117013580A
Enterprise short-term energy consumption configuration method and system based on park enterprise power consumption characteristics
CN118365481A
Cited By
Power generation strategy adjustment method and device based on multi-modal electricity price prediction result, equipment and medium
CN121120306A