Rule engine-based intelligent configuration method for power transaction settlement strategy

By introducing an intelligent configuration method based on rules engine in the power transaction settlement strategy configuration, and using the combination of machine learning and expert knowledge base, the problems of low efficiency and poor adaptability of traditional strategy configuration are solved, achieving more efficient, flexible and accurate policy configuration and optimization.

CN119671606AActive Publication Date: 2025-03-21HUBEI CENT CHINA TECH DEV OF ELECTRIC POWER

Patent Information

Application Number
CN202411651728.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-03-21
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

Traditional power trading settlement strategies have low configuration efficiency and untimely updates of strategies, making it difficult to adapt to the complex environment of rapid market changes.

Method used

Using an intelligent configuration method based on rules engine, a configuration strategy is learned from market data through machine learning models, and dynamically adjusted and optimized in combination with expert knowledge base.

Benefits of technology

It improves the efficiency, adaptability and timeliness of strategy configuration, enhances the flexibility and accuracy of strategy, and realizes a self-optimized closed-loop mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119671606A_ABST
    Figure CN119671606A_ABST
Patent Text Reader

Abstract

The invention provides an electricity transaction settlement strategy intelligent configuration method based on a rule engine, and the method comprises the steps: obtaining transaction data and external factors from an electricity transaction market, carrying out the preprocessing operation of data cleaning, standardization, normalization and the like, transmitting the preprocessed data to a machine learning model for training, and generating a suitable machine learning strategy; performing weight summation on the machine learning strategy and an expert strategy formed by business rules and experiences in an expert knowledge base to generate a final power transaction settlement strategy; writing the generated power transaction settlement strategy into a constructed rule engine library to form a settlement strategy rule library capable of being dynamically adjusted; and writing the generated power transaction settlement strategy into the constructed rule engine library to form a settlement strategy rule library capable of being dynamically adjusted. The method not only improves the configuration efficiency of the power transaction settlement strategy, but also enhances the adaptability and timeliness of the strategy, and is especially suitable for coping with a complex power transaction environment with market dynamic changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power trading, and in particular to a method for intelligently configuring power trading settlement strategies based on a rule engine. The method aims to improve the efficiency and adaptability of power trading settlement strategy configuration by using a rule engine and an intelligent algorithm. Background Art

[0002] With the gradual opening up of the power market and the improvement of marketization, the formulation of power trading settlement strategies has become increasingly complex in the current power trading market due to the existence of various forms such as spot and medium- and long-term transactions. Traditional power trading settlement strategies usually rely on empirical rules and manual configuration, which have problems such as low efficiency, untimely strategy updates, and difficulty in adapting to rapid market changes and complex and changing trading environments.

[0003] In the prior art, although there are automated configuration methods based on data analysis, most of them lack full utilization of expert knowledge and real-time feedback, resulting in insufficient flexibility and accuracy of the strategies. Summary of the invention

[0004] The present invention proposes an intelligent configuration method for power trading settlement strategy based on a rule engine. The method generates configuration strategies by learning from market data and dynamically adjusts and optimizes power trading settlement strategies in combination with an expert knowledge base, thereby improving the efficiency, adaptability and timeliness of strategy configuration.

[0005] A method for intelligently configuring a power transaction settlement strategy based on a rule engine comprises the following steps:

[0006] Data preparation and feature engineering: Acquire transaction data and external factors from the power trading market. The transaction data includes historical electricity prices, transaction volumes, and power demand. The external factors include power dispatch information, user power consumption records, relevant policies and regulations, and meteorological data. Clean, process outliers, standardize, and normalize the collected data.

[0007] Machine learning model training: Using preprocessed data, the machine learning model is used to train the power trading settlement strategy and generate a machine learning strategy;

[0008] Intelligent configuration strategy: The machine learning strategy is weighted and summed with the expert strategy formed by business rules and experience in the expert knowledge base to generate the final power transaction settlement strategy; the weighted sum is used to dynamically adjust the relative weights of the expert strategy and the machine learning strategy based on market feedback and actual needs;

[0009] Update and optimize the rule engine library: write the generated power transaction settlement strategy into the constructed rule engine library to form a settlement strategy rule library that can be dynamically adjusted;

[0010] Real-time monitoring and feedback: By real-time monitoring of the dynamic changes in the power market and combining market feedback data, the power trading settlement strategies in the settlement strategy rule base are dynamically adjusted and optimized. The adjusted power trading settlement strategies are again input into the rule engine and machine learning model for updating and optimization.

[0011] Furthermore, the machine learning model includes a LightGBM model or a deep neural network model.

[0012] Furthermore, the machine learning model adopts the LightGBM model, and the machine learning model training specifically includes:

[0013] Step 2.1, model initialization: Use the LightGBM library to build the LightGBM model, define the loss function mean square error MSE, the evaluation indicator root mean square error RMSE, and the model parameters. The maximum number of leaves for each tree in the model parameters is 31, the depth of the tree is -1, the learning rate is 0.05, the total number of trees is 1000, and other parameters use the default recommended values; the loss function mean square error MSE is defined as follows:

[0014]

[0015] Among them, y i is the actual value, i.e. the actual electricity price or actual transaction volume in the electricity market, is the model prediction value, that is, the electricity price or transaction volume predicted by LightGBM; n is the total number of data points; the mean square error MSE is an indicator to measure the difference between the model prediction value and the actual value. It reflects the overall level of prediction error by averaging the square of the difference between the prediction value and the actual value of each data point; the smaller the MSE value, the more accurate the model prediction; the evaluation indicator root mean square error RMSE is defined as follows:

[0016]

[0017] RMSE is the square root of MSE, which is used to more intuitively represent the size of the error;

[0018] Step 2.2, model training: input the preprocessed training data into the LightGBM model, gradually build a set of decision trees through the gradient boosting algorithm, optimize the loss function, and during the training process, the model automatically processes category features, calculates the importance of features, and generates prediction values ​​based on multiple decision trees;

[0019] Step 2.3, model tuning: Use cross-validation and grid search to adjust the model's hyperparameters, including learning rate, maximum depth, number of leaf nodes, and subsampling rate, to improve the model's generalization ability and prediction accuracy;

[0020] Step 2.4, Model Validation: Evaluate model performance on the validation set, record prediction error and feature importance, and retrain or fine-tune the model as needed.

[0021] Furthermore, the machine learning model adopts the LightGBM model, and the intelligent configuration strategy specifically includes:

[0022] Step 3.1. Initialize weights: Let the weight of LightGBM prediction be ω L , the weight of the expert knowledge base prediction value is ω E , set the initial weights ω of the LightGBM model and the expert knowledge base L =0.5,ω E =0.5;

[0023] Step 3.2, fuzzy rule setting: set fuzzy rules according to market environment and transaction data, define the fuzzy set of market changes and strategy effects and the corresponding membership function. The membership function uses the Sigmoid function, which is defined as:

[0024]

[0025] Among them, FB L It is an indicator related to LightGBM prediction obtained from market feedback. The indicators related to LightGBM prediction include prediction error and accuracy. α is a parameter that controls the rate of change of weights, which is determined based on historical data optimization. Th is the threshold for weight adjustment, which is determined based on actual market feedback and strategy requirements.

[0026] Step 3.3: Construct a fuzzy inference system: Construct a fuzzy inference system based on the fuzzy rules defined in step 3.2. The fuzzy inference system dynamically adjusts the weight of the expert knowledge base prediction value according to the real-time market feedback data. E and the weight ω of the LightGBM prediction value L , wherein the real-time market feedback data includes forecast error, yield, and stability;

[0027] Step 3.4, weight adjustment: Whenever the system obtains new market feedback data, calculate the effect of the current strategy and adjust the weight through the fuzzy inference system constructed in step 3.3. When the market fluctuates greatly, increase the weight of the LightGBM prediction value ω L ; When the market is stable, increase the weight of the expert knowledge base prediction value;

[0028] Step 3.5, strategy execution: Generate the final strategy based on the adjusted weights. The calculation of the final strategy combines the LightGBM prediction value and the expert knowledge base recommendation value. The calculation formula is:

[0029]

[0030] The final strategy is input into the rule engine for execution, and the strategy execution effect is monitored in real time, with continuous fuzzy reasoning and weight adjustment.

[0031] Furthermore, the rule engine library supports modular design based on LiteFlow, and can dynamically add or update rule modules to adapt to market changes and policy requirements.

[0032] Furthermore, the expert knowledge base includes the medium- and long-term trading rules, spot trading rules, retail rules, historical violation events, technical equipment knowledge and abnormal event handling experience of the electricity market, and can be dynamically updated and expanded.

[0033] Furthermore, the machine learning strategy is weighted and added with the expert strategy formed by the business rules and experience in the expert knowledge base, and an adaptive fuzzy weighted algorithm is used to weight the expert strategy and the machine learning strategy, and the weights of the two are dynamically adjusted to adapt to the complex changes in the electricity market and generate the final electricity trading settlement strategy.

[0034] An electronic device comprising: a computer-readable storage medium and a processor;

[0035] The computer-readable storage medium is used to store executable instructions;

[0036] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the intelligent configuration method of power transaction settlement strategy based on the rule engine.

[0037] A non-transitory computer-readable storage medium stores a computer program, which, when executed by a processor, implements the intelligent configuration method of power transaction settlement strategy based on a rule engine.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] 1. Intelligent configuration: Combine machine learning with expert knowledge to automatically generate power trading settlement strategies, reduce manual intervention, and improve configuration efficiency and accuracy.

[0040] 2. Dynamic adjustment: Dynamic configuration and real-time adjustment of strategies are achieved through the rule engine, which enhances the flexibility and adaptability of strategies.

[0041] 3. Self-optimization: Through real-time monitoring and feedback, strategies can self-learn and optimize, continuously improving the scientificity and rationality of electricity trading. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1It is a diagram of the overall implementation steps of the present invention.

[0043] Figure 2 It is a system structure diagram of the present invention.

[0044] Figure 3 The present invention is a flowchart of a method for intelligently configuring power transaction settlement strategies based on a rule engine according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] See also Figure 1-3 The embodiment of the present invention provides a method for intelligently configuring a power transaction settlement strategy based on a rule engine, comprising the following steps:

[0047] Step 1: Data preparation and feature engineering

[0048] Step 1 corresponds to Figure 1 The data collection and data preprocessing part specifically includes: Step 1.1, data collection: collecting transaction data and external factors from the power market, the transaction data includes historical electricity prices, transaction volume, and power demand, and the external factors include power dispatch information, user electricity consumption records, relevant policies and regulations, and meteorological data.

[0049] Step 1.2, data preprocessing: perform data cleaning, outlier processing, missing value filling and standardization on the collected multi-dimensional data. For time series data, time features (such as hours, days, weeks, months, etc.) can be extracted, and lag features can be constructed to capture time dependencies.

[0050] Step 1.3, feature selection: Based on business understanding and correlation analysis, select the features that have a significant impact on the power trading settlement strategy from the pre-processed data in step 1.2 as training data to form Figure 2 CSV file as shown to reduce model complexity and improve computational efficiency.

[0051] Step 2: LightGBM model training

[0052] Step 2 corresponds to Figure 1 The LightGBM model part includes:

[0053] Step 2.1, model initialization: Use the LightGBM library to build the LightGBM model. The model structure is as follows Figure 2 As shown in the dotted box in the figure, the loss function mean square error (MSE), the evaluation indicator root mean square error (RMSE), and the model parameters are defined. The maximum number of leaves per tree in the model parameters is 31, the depth of the tree is -1, the learning rate is 0.05, the total number of trees is 1000, and the other parameters use the default recommended values. The loss function mean square error MSE is defined as follows:

[0054]

[0055] Among them, y i is the actual value, i.e. the actual electricity price or actual transaction volume in the electricity market, is the model prediction value, that is, the electricity price or transaction volume predicted by LightGBM. n is the total number of data points. The mean square error (MSE) is an indicator to measure the difference between the model prediction value and the actual value. It reflects the overall level of prediction error by averaging the square of the prediction error (the difference between the predicted value and the actual value) of each data point. The smaller the value of MSE, the more accurate the model's prediction. The evaluation indicator root mean square error RMSE is defined as follows:

[0056]

[0057] RMSE is the square root of MSE and is used to more intuitively express the size of the error because RMSE is in the same unit as the original data. It provides a more understandable model error measure, especially in the electricity market, for comparing the difference between the model prediction value and the actual electricity price or transaction volume.

[0058] Step 2.2, model training: input the preprocessed training data into the LightGBM model, gradually build a set of decision trees through the gradient boosting algorithm, and optimize the loss function. During the training process, the model automatically processes category features, calculates the importance of features, and generates prediction values ​​based on multiple decision trees;

[0059] Step 2.3, model tuning: Use cross-validation and grid search to adjust the model's hyperparameters, such as learning rate, maximum depth, number of leaf nodes, subsampling rate, etc., to improve the model's generalization ability and prediction accuracy.

[0060] Step 2.4, Model Validation: Evaluate model performance on the validation set, record prediction error and feature importance, and retrain or fine-tune the model as needed.

[0061] Step 3: Intelligent configuration strategy:

[0062] In order to integrate expert knowledge with the prediction results of the machine learning model (i.e., machine learning strategy) to form the final configuration strategy, an adaptive fuzzy weighted algorithm is used. This algorithm can dynamically adjust the weights between the expert strategy and the machine learning strategy to ensure the optimal combination of strategies under different market environments. Step 3 specifically includes:

[0063] Step 3.1. Initialize weights: Let the weight of LightGBM prediction be ω L , the weight of the expert knowledge base prediction value is ω E , set the initial weights ω of the LightGBM model and the expert knowledge base L =0.5,ω E =0.5, the weight can be initially set based on the performance of historical data.

[0064] Step 3.2, fuzzy rule setting: Fuzzy rules are set according to the market environment and transaction data, and fuzzy sets (such as high, medium, and low) of indicators such as market changes and strategy effects and corresponding membership functions are defined. The membership function uses the Sigmoid function, which is defined as:

[0065]

[0066] Among them, FB L It is an indicator related to LightGBM prediction obtained from market feedback (such as prediction error, accuracy, etc.), α is a parameter that controls the rate of change of weights, which is usually determined based on historical data optimization; Th is the threshold for weight adjustment, which is determined based on actual market feedback and strategy requirements.

[0067] Step 3.3: Construct a fuzzy inference system: Construct a fuzzy inference system based on the fuzzy rules defined in step 3.2. The system can dynamically adjust the weight of the expert knowledge base prediction value according to the real-time market feedback data (prediction error, yield, stability). E and the weight ω of the LightGBM prediction value L .

[0068] Step 3.4, weight adjustment: Whenever the system obtains new market feedback data, calculate the effect of the current strategy and adjust the weight through the fuzzy inference system built in step 3.3. When the market fluctuates greatly, increase the weight of the LightGBM prediction value ω L ; When the market is stable, increase the weight of the expert knowledge base prediction value.

[0069] Step 3.5, strategy execution: Generate the final strategy based on the adjusted weights. The calculation of the final strategy combines the LightGBM prediction value and the expert knowledge base recommendation value, and the calculation formula is:

[0070]

[0071] The final strategy is input into the rule engine for execution, and the strategy execution effect is monitored in real time, with continuous fuzzy reasoning and weight adjustment.

[0072] Step 4: Update and optimize the rule engine library

[0073] After the strategy is generated, the system will incorporate it into the rule engine library and continuously obtain market feedback by connecting with the real-time monitoring system. Based on the feedback data, the system conducts online learning and optimization of the strategy to form a closed-loop mechanism of continuous self-optimization. Under the guidance of real-time monitoring, the strategies in the rule engine library can be automatically adjusted to adapt to the ever-changing market environment. The rule engine library supports modular design based on LiteFlow, and can dynamically add or update rule modules to adapt to market changes and strategy requirements.

[0074] Step 5: Real-time monitoring and feedback

[0075] The rule engine monitors the changes in the power market in real time and collects relevant feedback data, such as actual electricity prices, transaction volume, revenue and other key indicators. Figure 1 The intelligent configuration strategy and data preprocessing module in the algorithm are compared and analyzed with the pre-set key performance indicators (such as prediction error, yield, stability, etc.). The parameter configuration and weight distribution of the strategy are dynamically adjusted through the LightGBM model and fuzzy inference system to continuously optimize the strategy performance.

[0076] If the strategy prediction error is smaller, the rate of return is higher, and the stability is stronger, then the strategy is more reasonable and can better adapt to changes in the power market. The rule engine will continuously monitor the execution of the strategy, identify problems in a timely manner and make optimization adjustments, forming a closed-loop mechanism of self-learning and optimization. This ensures that the strategy always maintains the best state and brings stable and reliable benefits to power trading participants.

[0077] The present invention proposes to automatically generate and optimize settlement strategies by combining machine learning models with expert knowledge bases, which can dynamically adapt to market changes and improve the efficiency and accuracy of electricity trading.

[0078] Another aspect of the present invention provides an electronic device, comprising: a computer-readable storage medium and a processor;

[0079] The computer-readable storage medium is used to store executable instructions;

[0080] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the intelligent configuration method of power transaction settlement strategy based on the rule engine.

[0081] On the other hand, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the intelligent configuration method of power trading settlement strategy based on a rule engine.

[0082] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0083] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

[0087] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for intelligent configuration of power transaction settlement strategy based on rule engine, characterized in that: The following steps are involved: Data preparation and feature engineering: Acquire transaction data and external factors from the power trading market. The transaction data includes historical electricity prices, transaction volumes, and power demand. The external factors include power dispatch information, user power consumption records, relevant policies and regulations, and meteorological data. Clean, process outliers, standardize, and normalize the collected data. Machine learning model training: Using preprocessed data, the machine learning model is used to train the power trading settlement strategy and generate a machine learning strategy; Intelligent configuration strategy: The machine learning strategy is weighted and summed with the expert strategy formed by business rules and experience in the expert knowledge base to generate the final power transaction settlement strategy; the weighted sum is used to dynamically adjust the relative weights of the expert strategy and the machine learning strategy based on market feedback and actual needs; Update and optimize the rule engine library: write the generated power transaction settlement strategy into the constructed rule engine library to form a settlement strategy rule library that can be dynamically adjusted; Real-time monitoring and feedback: By real-time monitoring of the dynamic changes in the power market and combining market feedback data, the power trading settlement strategies in the settlement strategy rule base are dynamically adjusted and optimized. The adjusted power trading settlement strategies are again input into the rule engine and machine learning model for updating and optimization.

2. The method according to claim 1, characterized in that The machine learning model includes a LightGBM model or a deep neural network model.

3. The method according to claim 2, characterized in that The machine learning model adopts the LightGBM model, and the machine learning model training specifically includes: Step 2.1, model initialization: Use the LightGBM library to build the LightGBM model, define the loss function mean square error MSE, the evaluation indicator root mean square error RMSE, and the model parameters. The maximum number of leaves for each tree in the model parameters is 31, the depth of the tree is -1, the learning rate is 0.05, the total number of trees is 1000, and other parameters use the default recommended values; the loss function mean square error MSE is defined as follows: Among them, y i is the actual value, i.e. the actual electricity price or actual transaction volume in the electricity market, is the model prediction value, that is, the electricity price or transaction volume predicted by LightGBM; n is the total number of data points; the mean square error MSE is an indicator to measure the difference between the model prediction value and the actual value. It reflects the overall level of prediction error by averaging the square of the difference between the prediction value and the actual value of each data point; the smaller the MSE value, the more accurate the model prediction; the evaluation indicator root mean square error RMSE is defined as follows: RMSE is the square root of MSE, which is used to more intuitively represent the size of the error; Step 2.2, model training: input the preprocessed training data into the LightGBM model, gradually build a set of decision trees through the gradient boosting algorithm, optimize the loss function, and during the training process, the model automatically processes category features, calculates the importance of features, and generates prediction values ​​based on multiple decision trees; Step 2.3, model tuning: Use cross-validation and grid search to adjust the model's hyperparameters, including learning rate, maximum depth, number of leaf nodes, and subsampling rate, to improve the model's generalization ability and prediction accuracy; Step 2.4, Model Validation: Evaluate model performance on the validation set, record prediction error and feature importance, and retrain or fine-tune the model as needed.

4. The method according to claim 3, characterized in that The machine learning model adopts the LightGBM model, and the intelligent configuration strategy specifically includes: Step 3.

1. Initialize weights: Let the weight of LightGBM prediction be ω L , the weight of the expert knowledge base prediction value is ω E , set the initial weights ω of the LightGBM model and the expert knowledge base L =0.5,ω E =0.5; Step 3.2, fuzzy rule setting: Fuzzy rules are set according to the market environment and transaction data, and the fuzzy sets of market changes and strategy effects and the corresponding membership functions are defined. The membership function uses the Sigmoid function, which is defined as: Among them, FB L It is an indicator related to LightGBM prediction obtained from market feedback. The indicators related to LightGBM prediction include prediction error and accuracy. α is a parameter that controls the rate of change of weights, which is determined based on historical data optimization. Th is the threshold for weight adjustment, which is determined based on actual market feedback and strategy requirements. Step 3.3: Construct a fuzzy inference system: Construct a fuzzy inference system based on the fuzzy rules defined in step 3.

2. The fuzzy inference system dynamically adjusts the weight of the expert knowledge base prediction value according to the real-time market feedback data. E and the weight ω of the LightGBM prediction value L , wherein the real-time market feedback data includes forecast error, yield, and stability; Step 3.4, weight adjustment: Whenever the system obtains new market feedback data, calculate the effect of the current strategy and adjust the weight through the fuzzy inference system constructed in step 3.

3. When the market fluctuates greatly, increase the weight of the LightGBM prediction value ω L ; When the market is stable, increase the weight of the expert knowledge base prediction value; Step 3.5, strategy execution: Generate the final strategy based on the adjusted weights. The calculation of the final strategy combines the LightGBM prediction value and the expert knowledge base recommendation value. The calculation formula is: The final strategy is input into the rule engine for execution, and the strategy execution effect is monitored in real time, with continuous fuzzy reasoning and weight adjustment.

5. The method according to claim 1, characterized in that The rule engine library supports modular design based on LiteFlow and can dynamically add or update rule modules to adapt to market changes and policy requirements.

6. The method according to claim 1, characterized in that The expert knowledge base includes the medium- and long-term trading rules, spot trading rules, retail rules, historical violation events, technical equipment knowledge and abnormal event handling experience of the electricity market, and can be dynamically updated and expanded.

7. The method according to claim 1, characterized in that The machine learning strategy is weighted and added with the expert strategy formed by the business rules and experience in the expert knowledge base. An adaptive fuzzy weighted algorithm is used to weight the expert strategy and the machine learning strategy, and the weights of the two are dynamically adjusted to adapt to the complex changes in the power market and generate the final power trading settlement strategy.

8. An electronic device, characterized in that: include: A computer readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the intelligent configuration method of power trading settlement strategy based on a rule engine according to any one of claims 1-7.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the intelligent configuration method for power transaction settlement strategy based on a rule engine as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Intelligent management expert system of grain storage environment of bulk grain transportation vehicle

    CN106971231A

  • Power distribution network auxiliary decision-making method and system fusing deep reinforcement learning and expert experience

    CN113159341A

  • Method for learning maneuvering flight of unmanned aerial vehicle by guiding neural network through expert rules

    CN113625753A

  • Financial risk control method and system integrating deep learning and expert experience

    CN117235444A

  • Adaptive decision-making method and system based on large language model, and storage medium

    CN118503394A

Cited By

  • Intelligent settlement system and method for short-term electricity transaction of electricity spot market

    CN121685116A

  • Intelligent settlement system and method for short-term power transactions in an electricity spot market

    CN121685116B

  • Rule-engine-based intelligent configuration method for power transaction settlement strategy

    WO2026108526A1