A data error prevention method and device for energy storage participating in power market based on scenario check rules
By establishing a scenario-based verification rule base and a unified parameter base, the problem of inconsistent verification thresholds and judgment standards for energy storage participation in the electricity market data in different business stages has been solved, enabling the identification and blocking of data anomalies and improving the accuracy and traceability of electricity market data processing.
Patent Information
- Application Number
- CN202611319394.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
The existing verification of energy storage participation data in the electricity market is scattered across different business segments, resulting in inconsistent verification thresholds and judgment standards. It is difficult to block severely abnormal data in a timely manner. The existing verification methods do not adequately cover the constraint relationships between data such as energy storage charging and discharging power, state of charge (SOC), maintenance status, and charging and discharging plans.
Establish a scenario-based validation rule base and a unified parameter base. By mapping the data validation entry point to the business scenario, bind different business scenarios to the corresponding validation rule set. Perform integrity, rationality, mutation and correlation validation according to the execution priority and generate validation results. Block data flow when there is a serious error. Update the unified parameter base after the threshold parameter is modified.
It achieves consistency in verification thresholds and judgment standards across different business scenarios, can identify data anomalies and block serious errors, reduces the possibility of abnormal data entering subsequent business processing, and facilitates tracing the abnormal data handling process.
Smart Images

Figure CN123159665A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity market data processing technology, and in particular to a method and device for preventing errors in electricity market data related to energy storage based on scenario-based verification rules. Background Technology
[0002] With the development of the electricity spot market and the large-scale integration of new energy storage technologies, market players such as independent and shared energy storage are gradually participating in day-ahead and real-time market transactions. Compared with conventional generating units, energy storage units have bidirectional charging and discharging characteristics. Their business data in the electricity market includes not only market model data such as rated power and maintenance status, but also operational sequence data such as power and state of charge (SOC), as well as data such as application plans, clearing results, and dispatch plans. These data come from different sources, have different time-series granularities, and need to flow continuously between multiple business stages, including data access, clearing calculations, and result publication.
[0003] Existing electricity market business systems typically set up mandatory field checks, numerical range checks, adjacent time period jump checks, or data correlation checks at each business stage, with each corresponding business module maintaining its own verification conditions and judgment thresholds. Because different business modules are relatively independent, the same data indicator or constraint may be configured repeatedly in multiple business stages. When the judgment threshold changes, the corresponding configuration needs to be modified separately, which can easily lead to omissions or inconsistent judgment standards across different business stages. Furthermore, existing verification methods do not adequately cover the constraint relationships between data such as energy storage charging and discharging power, state of charge (SOC), maintenance status, and charging and discharging plans. Moreover, different levels of data anomalies are often handled with the same alarm processing methods, making it difficult to promptly prevent severely abnormal data from continuing into subsequent business processes. Summary of the Invention
[0004] The technical objective of this invention is to provide a method and device for preventing errors in energy storage participation in the power market based on scenario-based verification rules, in order to solve the problems of existing energy storage participation in the power market data being verified in different business stages, resulting in inconsistent verification thresholds and judgment standards, and difficulty in timely blocking of serious abnormal data.
[0005] To achieve the above-mentioned technical objectives, the present invention provides the following technical solution: To achieve the above objectives, this invention provides a method for preventing data errors in energy storage participation in the electricity market based on scenario-based verification rules, comprising the following steps: Establish a scenario-based validation rule library and a unified parameter library. The scenario-based validation rule library stores validation rules according to business scenarios. Each validation rule has a validation type, execution priority, and exception level. For validation rules that require calling threshold parameters, associate the validation rule with the corresponding threshold parameter in the unified parameter library.
[0006] Configure the correspondence between the data verification entry point and the business scenario, and bind the business scenario to the corresponding set of verification rules.
[0007] Obtain the business data to be verified. The business data to be verified includes at least one of the following: market model data, time-series business data, clearing case data, clearing result data, and clearing result or scheduling plan data to be released.
[0008] When the business data to be verified enters the data verification entry point, the target business scenario is determined according to the correspondence between the data verification entry point and the business scenario. The set of verification rules bound to the target business scenario is loaded, and the threshold parameters called by the verification rules are read.
[0009] Based on the execution priority, the business data to be verified is subjected to integrity verification, rationality verification, mutation verification, and correlation verification, and verification results are generated.
[0010] Process the business data to be verified based on the verification results. When the verification result is no anomaly, allow the data to flow normally and archive it; when the verification result is a general alarm, allow the data to continue flowing and generate an alarm; when the verification result is a serious error, block the data entry, clearing, or release process of the business data to be verified.
[0011] Specifically, when the absolute power value does not exceed the rated power, the power is considered to be within the normal range and no abnormality is generated; when the absolute power value exceeds the rated power, but the excess does not exceed 5% of the rated power, a general alarm is generated; when the absolute power value exceeds 5% of the rated power, a serious error is generated.
[0012] Record the verification process and processing results. When the threshold parameter is modified, update the unified parameter library and read the updated threshold parameter in subsequent verifications.
[0013] Furthermore, each validation rule is configured with a rule code, business scenario identifier, data type, validation type, exception level, execution priority, and effective status. A unified parameter library configures a globally unique parameter code for each threshold parameter and stores the correspondence between parameter codes and parameter values. For validation rules that require invoking threshold parameters, the validation rule is associated with one or more threshold parameter codes. Validation rules for different business scenarios can be associated with the same parameter code and invoke the same threshold parameter corresponding to that parameter code.
[0014] Furthermore, the target business scenarios include market model management scenarios, data access scenarios, clearing case verification scenarios, clearing result monitoring scenarios, and data release scenarios.
[0015] Market model management scenarios include static model maintenance and time-series data editing, with verification triggered during model data or time-series data editing; data access scenarios trigger verification when external data is received or entered into the database; clearing case verification scenarios trigger verification before clearing calculations, including day-ahead market sub-scenarios with a time-series granularity of 15 minutes and real-time market sub-scenarios with a time-series granularity of 5 minutes; clearing result monitoring scenarios trigger verification after clearing calculations are completed; and data publishing scenarios trigger verification before clearing results or scheduling plans are published.
[0016] Furthermore, the time-series business data includes energy storage operation time-series data, grid measurement time-series data, load forecast time-series data, and renewable energy forecast time-series data. Energy storage operation time-series data is obtained from the energy storage battery management system (BMS) and includes the energy storage unit's power, state of charge (SOC), data timestamp, and measurement quality code. Grid measurement time-series data is obtained from the grid energy management system (EMS). Load forecast time-series data and renewable energy forecast time-series data are obtained from the forecasting system.
[0017] Market model data includes the rated power and maintenance status of energy storage units, with maintenance status including maintenance periods and maintenance lockout markers. Clearing case data, clearing result data, and clearing results or dispatch plans to be released are obtained from the electricity market business system or generated by the corresponding business processing procedures.
[0018] Furthermore, starting from the hour, the received time-series service data is aligned according to the timing granularity configured for the target service scenario. Late time-series data is discarded, and missing time-series service data is marked as integrity abnormal; for duplicate time-series service data, the first valid record is retained; for time-series service data with invalid measurement quality codes, a quality code abnormality flag is set.
[0019] Furthermore, the integrity check is used to check whether required fields, equipment data, and time-of-use time sequence data are missing, based on the equipment ledger and time-of-use time periods. The rationality check is used to compare the power and state of charge (SOC) of the energy storage unit with the corresponding threshold parameters, where the physical boundary of the SOC is 0% to 100%, and the operating range of the SOC is configured by a unified parameter library.
[0020] Sudden change verification is used to calculate the power difference or state of charge (SOC) difference between adjacent time periods and compare the calculated difference with the corresponding jump threshold. Correlation verification is used to check the constraint relationship between energy storage charging and discharging plans and maintenance status, rated power and declared power of energy storage units, and total power generation of the entire grid and equivalent total load.
[0021] Furthermore, the set of verification rules for the market model management scenario includes model parameter integrity verification, model parameter value range verification, post-edited time series data jump verification, and maintenance period conflict verification. The set of verification rules for the data access scenario includes energy storage power value range verification, state of charge (SOC) value range verification, measurement quality code verification, and adjacent time series jump verification. The set of verification rules for the clearing case verification scenario includes energy storage application charge / discharge plan value range verification, and correlation verification between energy storage charge / discharge plans and maintenance status.
[0022] Both the monitoring and data release scenarios for clearing results include system imbalance verification in their respective rule sets. System imbalance is the absolute value of the difference between the equivalent total load and the total power generation of the entire grid. When calculating the equivalent total load, the absolute value of energy storage charging power is included in the load; when calculating the total power generation of the entire grid, energy storage discharging power is included in the power generation. The calculated system imbalance is then compared with the system imbalance threshold in the unified parameter library.
[0023] Furthermore, each verification rule in the verification rule set is executed sequentially according to its execution priority. When the exception level corresponding to the verification result of any verification rule is a critical error, the execution of the verification rule that has not yet been completed is stopped, and the subsequent flow of the business data to be verified in the target business scenario is blocked.
[0024] If the verification rule set fails to load or the threshold parameter fails to read, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a fault log is generated. If the verification time of the business data to be verified exceeds 10 seconds, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a fault log is generated.
[0025] Furthermore, when modifying the threshold parameter, the business scenario identifier and rule code referencing the threshold parameter are displayed. After receiving confirmation of the parameter modification, the threshold parameter value is updated and a parameter change log is recorded. The updated parameter value is read the next time a validation rule referencing the threshold parameter is executed.
[0026] A verification log is generated during the verification process. The verification log includes the log number, business scenario identifier, device number, data timestamp, original value, hit rule code, parameter values used during verification, anomaly level, and handling action.
[0027] The present invention also provides a data error prevention device for energy storage participating in the power market based on scenario-based verification rules, including a rule base management module, a unified parameter base module, a scenario configuration module, a business verification module, an anomaly handling module, and a log tracing module.
[0028] The rule base management module is used to establish a scenario-based validation rule base and store validation rules according to business scenarios. Validation rules are assigned a validation type, execution priority, and exception level. The rule base management module is also used to establish the association between validation rules that require threshold parameters and the corresponding threshold parameters in the unified parameter library module.
[0029] The unified parameter library module is used to establish a unified parameter library, store the threshold parameters called by the validation rules, and update the corresponding parameter values when the threshold parameters are modified.
[0030] The scenario configuration module is used to establish the correspondence between data verification entry points and business scenarios, and to bind business scenarios with a set of verification rules.
[0031] The business verification module receives the business data to be verified entering the data verification entry point and determines the target business scenario based on the corresponding relationship. The business verification module also loads the set of verification rules bound to the target business scenario from the rule base management module, reads the threshold parameters called by the verification rules from the unified parameter library module, performs integrity verification, rationality verification, mutation verification, and correlation verification according to execution priority, and generates verification results.
[0032] The business validation module is also used to process the business data to be validated based on the validation results. When the validation result is no anomaly, the data flows normally and is archived; when the validation result is a general alarm, the data continues to flow, and an exception message is sent to the exception handling module; when the validation result is a serious error, the corresponding data entry, clearing, or release process is blocked, and an exception message is sent to the exception handling module. The business validation module is also used to read updated threshold parameters in subsequent validations.
[0033] The exception handling module receives exception information and generates alarm information. The log tracing module records the verification process and processing results.
[0034] Furthermore, the business verification module includes a market model management module, a data access module, a clearing case verification module, a clearing result monitoring module, and a data publishing module. These five modules respectively form the data verification entry points for market model management, data access, clearing case verification, clearing result monitoring, and data publishing.
[0035] Furthermore, the device also includes external interfaces. These external interfaces include a Battery Management System (BMS) interface, a Power Grid Management System (EMS) interface, and a power market business interface. Each external interface is communicatively connected to a corresponding module among the five modules included in the business verification module.
[0036] Furthermore, the device adopts a three-layer architecture, including an operations and maintenance workstation layer, a backend service layer, and a persistent database layer. The operations and maintenance workstation layer includes a visual configuration and data editing unit, which communicates with the backend service layer and is used to configure verification rules, threshold parameters, and scenario correspondences, as well as to edit market model data and time-series data.
[0037] The rule base management module, unified parameter base module, scenario configuration module, business verification module, exception handling module, and log tracing module are all deployed in the backend service layer. The persistent database layer communicates with the backend service layer and is used to store scenario-based verification rule base, unified parameter base, business scenario logs, and basic ledger data of the electricity market.
[0038] The beneficial effects of this invention are as follows: 1. This invention establishes a correspondence between data verification entry points and business scenarios, and binds different business scenarios with corresponding sets of verification rules, enabling data entering different business processes to call verification rules that match their business scenarios; at the same time, by centrally managing the threshold parameters called by the verification rules through a unified parameter library, it is beneficial to maintain the consistency of verification thresholds and judgment standards between different business scenarios.
[0039] 2. This invention performs integrity, rationality, mutation, and correlation checks on the business data to be verified according to execution priority. It can identify data anomalies in the process of energy storage participating in the electricity market from aspects such as data missing, numerical exceeding limits, jumps between adjacent time periods, and cross-data constraints. For serious errors, it blocks the corresponding data entry, clearing, or release process, thereby reducing the possibility of abnormal data entering the subsequent business processing.
[0040] 3. Based on the verification results, this invention implements normal flow, alarm release, or blocking processing of the business data to be verified, and records the verification process and processing results. After the threshold parameter is modified, subsequent verification reads the updated parameter value, which facilitates the tracing of abnormal data and its handling process, and reduces the situation where the original parameter value is used for verification after the threshold is updated. Attached Figure Description
[0041] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0042] The above and other aspects of the invention will now be described by way of example only, with reference to the accompanying drawings, in which: Figure 1This is a schematic diagram of the overall process in an embodiment of the present invention.
[0043] Figure 2 This is a schematic diagram of the module connection relationship in an embodiment of the present invention.
[0044] Figure 3 This is a schematic diagram illustrating the process of scenario-based verification and hierarchical handling performed by the business verification module in an embodiment of the present invention.
[0045] Figure 4 This is a schematic diagram illustrating how threshold parameters are referenced in different business scenarios in embodiments of the present invention. Detailed Implementation
[0046] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.
[0047] Example 1: like Figure 1 As shown in the figure, this embodiment provides a method for preventing data errors in energy storage participation in the electricity market based on scenario-based verification rules, which specifically includes the following steps.
[0048] S1. Establish a scenario-based validation rule base and a unified parameter base. The scenario-based validation rule library stores validation rules according to business scenarios. Each validation rule is configured with a rule code, business scenario identifier, data type, validation type, exception level, execution priority, and effective status.
[0049] The verification types include integrity verification, rationality verification, mutation verification, and correlation verification. Anomaly levels include general alarms and critical errors. The effective status includes enabled and disabled states. Verification rules in the enabled state participate in data verification for the corresponding business scenario, while verification rules in the disabled state do not participate in data verification for the corresponding business scenario.
[0050] A unified parameter library is used to centrally store the threshold parameters invoked by validation rules. The library assigns a globally unique parameter code to each threshold parameter and stores the correspondence between parameter codes and parameter values. For a validation rule that requires a threshold parameter, the rule is associated with the parameter codes of one or more threshold parameters. When a validation rule is executed, the corresponding parameter value is read from the unified parameter library based on the parameter code.
[0051] For the same business data to be verified, multiple verification rules with different anomaly levels and execution priorities can be configured. For example, for the State of Charge (SOC), separate verification rules for the operating range and physical boundary can be set. The operating range verification rules correspond to general alarms, while the physical boundary verification rules correspond to critical errors.
[0052] like Figure 4 As shown, verification rules in different business scenarios can be associated with the same parameter code and call the same threshold parameter corresponding to that parameter code. For example, the system imbalance verification rules in the clearing result monitoring scenario and the data publishing scenario can be associated with the same system imbalance threshold parameter code. The unified parameter library only maintains one set of parameter values corresponding to the parameter code, eliminating the need to store independent parameter values in different business scenarios.
[0053] In this embodiment, the discharge power of the energy storage unit is represented by a positive value, and the charging power is represented by a negative value. The power unit is MW, and the state of charge (SOC) is expressed as a percentage. The physical boundary of the SOC is 0% to 100%, and the preferred operating range of the SOC is 5% to 95%. This operating range can be adjusted through a unified parameter library.
[0054] S2, Configure data verification entry point, business scenarios, and verification rule set Configure the correspondence between the data verification entry point and the business scenario, and bind each business scenario to the corresponding set of verification rules.
[0055] This embodiment sets up a market model management scenario, a data access scenario, a clearing case verification scenario, a clearing result monitoring scenario, and a data release scenario.
[0056] The market model management scenario includes static model maintenance and time-series data editing. When market model data or time-series data is added, modified, or saved, verification is triggered through the data verification entry point of the market model management. The set of verification rules bound to the market model management scenario includes model parameter integrity verification, model parameter value range verification, post-edit time-series data jump verification, and maintenance period conflict verification.
[0057] In data access scenarios, verification is triggered before external data is received or written to the database. The set of verification rules bound to the data access scenario includes energy storage power range verification, state of charge (SOC) range verification, measurement quality code verification, and adjacent timing transition verification.
[0058] The clearing case verification scenario is triggered before the clearing calculation. The clearing case verification scenario includes a day-ahead market sub-scenario and a real-time market sub-scenario. The day-ahead market sub-scenario uses a 15-minute time series granularity, while the real-time market sub-scenario uses a 5-minute time series granularity. The set of verification rules bound to the clearing case verification scenario includes the value range verification of energy storage application charging and discharging plans, as well as the correlation verification between energy storage charging and discharging plans and maintenance status.
[0059] The clearing result monitoring scenario triggers verification after the clearing calculation is completed, while the data publishing scenario triggers verification before the clearing result or scheduling plan is published. The verification rule sets bound to both the clearing result monitoring scenario and the data publishing scenario include system imbalance verification.
[0060] Multiple validation rules can be bound to the same business scenario; validation rules in different business scenarios can be associated with the same parameter code and call the same threshold parameter corresponding to that parameter code.
[0061] S3. Obtain and preprocess the business data to be verified. The business data to be verified includes at least one of the following: market model data, time-series business data, clearing case data, clearing result data, and clearing result or scheduling plan data to be released.
[0062] Market model data includes the rated power and maintenance status of the energy storage units. Maintenance status includes maintenance periods and maintenance lockout flags. When an energy storage unit is under maintenance during a given period, the maintenance lockout flag for that period is set to active.
[0063] The time-series business data includes energy storage operation time-series data, power grid measurement time-series data, load forecast time-series data, and new energy forecast time-series data.
[0064] Energy storage operation time-series data is obtained from the energy storage battery management system (BMS), including the energy storage unit's power, state of charge (SOC), data timestamp, and measurement quality code. Grid measurement time-series data is obtained from the grid energy management system (EMS). Load forecast time-series data and renewable energy forecast time-series data are obtained from the forecasting system.
[0065] Clearing case data, clearing result data, and clearing result or dispatch plan data to be released are obtained from the power market business system, or generated by corresponding business processes such as clearing calculation, clearing result processing, and dispatch plan preparation.
[0066] For received time-series service data, alignment is performed starting from the hour and according to the time-series granularity configured for the target service scenario. For example, in the real-time market sub-scenario, time-series service data is aligned with a 5-minute time-series granularity; in the day-ahead market sub-scenario, time-series service data is aligned with a 15-minute time-series granularity.
[0067] Late time-series data arriving after the corresponding data reception window has ended should be discarded. For time-series service data that should exist according to equipment ledgers or time-segmentation guidelines but were not actually received, an integrity exception flag should be set. For duplicate time-series service data with the same equipment number and data timestamp, the first valid record should be retained. For time-series service data with invalid measurement quality codes, a quality code exception flag should be set.
[0068] S4. Determine the target business scenario and load validation resources. like Figure 3 As shown, when the business data to be verified enters the data verification entry point, the target business scenario to which the business data to be verified belongs is determined according to the pre-configured correspondence between the data verification entry point and the business scenario.
[0069] After determining the target business scenario, load the set of verification rules that are bound to the target business scenario and are in an enabled state from the scenario-based verification rule library.
[0070] For validation rules that require threshold parameters, the parameter code associated with the validation rule is read, and the corresponding parameter value is retrieved from the unified parameter library based on the parameter code. For validation rules that do not require threshold parameters, validation is performed directly based on the field relationships or status relationships configured in the rule.
[0071] S5. Execute the verification rules sequentially according to execution priority. like Figure 3 As shown, after loading the set of verification rules and the corresponding threshold parameters, integrity verification, rationality verification, mutation verification and correlation verification are performed sequentially according to the execution priority of each verification rule.
[0072] The integrity check checks whether required fields, equipment data, and time-series data are missing based on the equipment records in the basic ledger of the electricity market and the time periods corresponding to the target business scenario.
[0073] For energy storage units recorded in the equipment ledger, if the corresponding equipment data cannot be obtained from the business data to be verified, it is determined that there is missing equipment data. For time-series data that should exist in the target business scenario but for which the corresponding time-series data is not obtained, it is determined that there is missing time-series data. For fields configured as mandatory fields such as rated power, maintenance status, power, state of charge (SOC), and data timestamp, if the corresponding field values are not obtained, it is determined that there is missing mandatory field.
[0074] The rationality verification compares the power and state of charge (SOC) of the energy storage unit with the corresponding threshold parameters.
[0075] For the power of the energy storage unit, first obtain the absolute value of the power to be verified, and then compare this absolute value with the rated power of the energy storage unit. When the absolute value of the power does not exceed the rated power, the power is determined to be within the normal range; when the absolute value of the power exceeds the rated power, but the excess does not exceed 5% of the rated power, a general alarm is generated; when the excess of the absolute value of the power exceeds 5% of the rated power, a serious error is generated.
[0076] For State of Charge (SOC), the SOC verification passes when the SOC is within the operating range of 5% to 95%; a general alarm is generated when the SOC is below 5% but not below 0%, or above 95% but not above 100%; and a serious error is generated when the SOC is below 0% or above 100%.
[0077] The mutation verification selects time-series business data from two adjacent time periods according to the data timestamp, calculates the absolute value of the difference between the power of the current time period and the power of the previous time period, or calculates the absolute value of the difference between the state of charge (SOC) of the current time period and the state of charge (SOC) of the previous time period.
[0078] The calculated power difference or state of charge (SOC) difference is compared with the corresponding transition threshold in the unified parameter library. When the difference exceeds the corresponding transition threshold, a verification result is generated according to the anomaly level configured by the corresponding verification rules.
[0079] Correlation verification is used to check the constraints between energy storage charging and discharging plans and maintenance status, rated power and declared power of energy storage units, and total power generation of the entire grid and equivalent total load.
[0080] In the correlation verification between energy storage charging and discharging plans and maintenance status, the charging and discharging plans and maintenance lock flags of the same energy storage unit in the same time period are read. When the maintenance lock flag is valid, the energy storage charging and discharging plan for that time period should be zero; when the maintenance lock flag is valid and the energy storage charging and discharging plan is not zero, it is determined that there is a conflict between the energy storage charging and discharging plan and the maintenance status, and a serious error is generated.
[0081] In the correlation verification between the rated power and the declared power of the energy storage unit, the absolute value of the declared power is compared with the rated power of the energy storage unit and the corresponding power fluctuation threshold to determine whether the declared power exceeds the power range that the energy storage unit can provide.
[0082] In the correlation verification between the total power generation of the entire grid and the equivalent total load, the equivalent total load is first calculated based on the base load and the energy storage charging power, with the absolute value of the energy storage charging power included in the load; then, the total power generation of the entire grid is calculated based on the power generation of conventional units, the power generation of new energy sources, and the power discharge of energy storage. The absolute value of the difference between the equivalent total load and the total power generation of the entire grid is determined as the system imbalance, and the system imbalance is compared with the system imbalance threshold in a unified parameter library.
[0083] Each verification rule is executed sequentially according to its execution priority. When any verification rule generates a critical error, the execution of any remaining verification rules is stopped, and the subsequent flow of the business data to be verified in the target business scenario is blocked.
[0084] When the set of verification rules fails to load, data verification will not continue, blocking the subsequent flow of the business data to be verified in the target business scenario, and generating a rule loading failure log.
[0085] When the threshold parameter reading fails, the default parameter value is not used to continue the verification, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a parameter reading failure log is generated.
[0086] The verification time begins to be calculated when the business data to be verified enters the data verification entry point. When the verification time exceeds 10 seconds, the current verification is terminated, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a verification timeout fault log is generated.
[0087] S6. Process the business data to be verified based on the verification results. like Figure 3 As shown, after executing the corresponding verification rules, verification results are generated, and the business data to be verified is processed in a hierarchical manner according to the verification results.
[0088] When no anomalies are detected by any of the verification rules in the verification rule set, the business data to be verified is allowed to flow normally, and the corresponding business data and verification results are archived.
[0089] When a general alarm is detected but no serious error is detected, the business data to be verified continues to flow, and an alarm is generated simultaneously. For example, a state of charge (SOC) exceeding the operating range but not exceeding the physical boundary, energy storage power exceeding the rated power but not exceeding 5% of the rated power, or an invalid measurement quality code can all be configured as a general alarm.
[0090] When a serious error is detected, the subsequent flow of the business data to be verified is blocked according to the target business scenario. In the data access scenario, the entry of the corresponding business data into the database is blocked; in the clearing case verification scenario, the entry of the corresponding clearing case into the clearing calculation is blocked; in the clearing result monitoring scenario or data release scenario, the release of the corresponding clearing result or scheduling plan is blocked.
[0091] Missing required model data or time-series business data, State of Charge (SOC) exceeding physical boundaries, energy storage power exceeding rated power by more than 5%, conflict between energy storage charging / discharging plans and maintenance lockout status, and system imbalance exceeding the system imbalance threshold can all be configured as serious errors.
[0092] S7. Record the verification process and processing results. A verification log is generated for each verification. The verification log includes the log number, business scenario identifier, device number, data timestamp, original value, hit rule code, parameter values used during verification, anomaly level, and handling action.
[0093] The verification process and processing results for no abnormalities, general alarms, serious errors, failure to load the verification rule set, failure to read the threshold parameter, and verification timeout are all recorded.
[0094] The action record for a general alarm is to generate an alarm and continue the process; the action record for a serious error is to block data entry, block data clearing, or block data release, depending on the target business scenario; the action record for a fault is to block the subsequent data flow in the current target business scenario.
[0095] S8. Modify and update the threshold parameter. like Figure 4 As shown, when modifying a threshold parameter in the unified parameter library, the verification rules referencing the threshold parameter are retrieved based on the parameter code of the threshold parameter, and the business scenario identifier and rule code referencing the threshold parameter are displayed through the visual configuration and data editing unit.
[0096] After receiving confirmation of parameter modification, update the parameter value corresponding to the parameter code in the unified parameter library and record the parameter change log. The parameter change log records the parameter code, the parameter value before modification, the parameter value after modification, and the modification time.
[0097] Each validation rule referencing this parameter code does not need to have its modified parameter value written separately. The next time a validation rule referencing this threshold parameter is executed, the updated parameter value is read from a unified parameter library based on the parameter code, thus ensuring that validation rules in different business scenarios use the same updated threshold parameter.
[0098] Example 2: Based on Example 1, this embodiment, in a data access scenario, involves the data access module receiving 5-minute time-series data of system load prediction. The upper limit for system load prediction in the unified parameter library is configured as 100,000 MW, and the 5-minute system load jump threshold is configured as 5,000 MW.
[0099] The data to be verified for the three consecutive time periods include: a load forecast of 92,000 MW at 10:00, a load forecast of 99,000 MW at 10:05, and no load forecast data received at 10:10.
[0100] In this verification, the rationality verification rules, mutation verification rules, and integrity verification rules are configured with execution priority in that order.
[0101] During the rationality check, the load forecast values at 10:00 and 10:05 did not exceed the upper limit of the system load forecast, and no rationality anomaly was generated.
[0102] When performing the mutation check, the difference between the predicted load value at 10:00 and 10:05 is 7000MW, which exceeds the system load jump threshold of 5000MW in 5 minutes, and a general alarm is generated.
[0103] During integrity verification, missing load forecast data at 10:10 was detected, generating a critical error. The data access module stopped executing the verification rules that had not yet been completed and blocked the import of this batch of time-series business data into the database.
[0104] The log traceability module records the data missing at 10:10, the load forecast values at 10:00 and 10:05, the difference between adjacent time periods, the hit rule code, the upper limit of system load forecast used during verification, the 5-minute jump threshold of system load, and the corresponding handling actions for general alarms and serious errors.
[0105] The system load prediction upper limit and the system load 5-minute jump threshold can be jointly referenced by the corresponding verification rules in the data access scenario, market model management scenario, and clearing case verification scenario. After modifying the above threshold parameters, the corresponding verification rules in each business scenario will read the updated parameter values during the next execution.
[0106] In the clearing case verification scenario, the rated power of a certain energy storage unit is 20MW, the operating range of the state of charge (SOC) is configured to be 5% to 95%, and the physical boundary is 0% to 100%.
[0107] When the absolute power of the energy storage unit does not exceed 20MW, the power is considered to be within the normal range; when the absolute power exceeds 20MW but does not exceed 21MW, it indicates that the power exceeds the rated power by no more than 5%, and a general alarm is generated; when the absolute power exceeds 21MW, it indicates that the power exceeds the rated power by more than 5%, and a serious error is generated.
[0108] In the real-time market sub-scenario, with a time granularity of 5 minutes, the energy storage unit declared a discharge power of 21MW and a state of charge (SOC) of 97%. A general alarm is generated if the declared discharge power exceeds the rated power by 5%; a general alarm is also generated if the SOC is above 95% but below 100%. Since no serious error was detected, this real-time market clearing case continues to circulate, generating corresponding alarm information.
[0109] In the day-ahead market sub-scenario, with a time granularity of 15 minutes, the same energy storage unit reported a discharge power of 20.8MW and a state of charge (SOC) of 96%. The reported discharge power exceeded the rated power by 4%, generating a general alarm; the SOC was above 95% but below 100%, also generating a general alarm. Since no serious error was detected, this day-ahead market clearing case continued to circulate.
[0110] Currently, both the market sub-scenario and the real-time market sub-scenario can use the same rated power floating parameters and State of Charge (SOC) operating range parameters, only adopting different timing granularities according to the corresponding business scenarios.
[0111] In the real-time market sub-scenario, an energy storage unit reported a discharge power of 18MW and a state of charge (SOC) of 82% at 10:05. The rated power of this energy storage unit is 20MW, and both the reported discharge power and SOC are within the normal range.
[0112] Market model data indicates that the energy storage unit was under maintenance at 10:05, and the corresponding maintenance lockout marker was valid.
[0113] The clearing case verification module first verifies the rationality of the declared power and state of charge (SOC), and then performs a correlation verification between the energy storage charging / discharging plan and the maintenance status. Because the energy storage unit still had a non-zero declared discharge power during the period when the maintenance lockout flag was valid, it was determined that there was a conflict between the energy storage charging / discharging plan and the maintenance status, and a serious error was generated.
[0114] The clearing case verification module stops executing verification rules that have not yet been completed, preventing the clearing case from entering subsequent clearing calculations, and sends an exception information to the exception handling module. The log tracing module records the energy storage unit's equipment number, conflict period, declared discharge power, maintenance lock mark, hit rule code, exception level, and clearing blocking action.
[0115] In the scenario of clearing results monitoring, the system imbalance threshold in the unified parameter library is configured as 300MW.
[0116] In one clearing result, the base load was 95,000 MW, the total generating capacity of conventional units was 88,000 MW, the total generating capacity of new energy was 6,000 MW, the total charging capacity of energy storage was 3,200 MW, and the total discharging capacity of energy storage was 1,200 MW.
[0117] When calculating the equivalent total load, the total charging power of energy storage is included in the base load, resulting in an equivalent total load of 98,200 MW. When calculating the total power generation of the entire grid, the total power generation of conventional units, the total power generation of new energy sources, and the total discharge power of energy storage are added together, resulting in a total power generation of 95,200 MW.
[0118] The absolute value of the difference between the equivalent total load and the total power generation of the entire grid is 3000MW. Therefore, the system imbalance is 3000MW. This system imbalance exceeds the system imbalance threshold of 300MW, and is therefore judged as a serious error.
[0119] The clearing result monitoring module blocks the flow of the clearing result to the data publishing scenario and sends anomaly information to the anomaly handling module. The log tracing module records the base load, total power generation of conventional units, total power generation of new energy sources, total charging power of energy storage, total discharging power of energy storage, system imbalance, system imbalance threshold used during verification, and blocking and handling actions.
[0120] In data publishing scenarios, system imbalance verification rules can be associated with parameter codes that share the same system imbalance threshold. When a clearing result or scheduling plan enters the data publishing entry point, the data publishing module performs system imbalance verification again before publishing. If the detected system imbalance exceeds the system imbalance threshold, the publishing of the corresponding clearing result or scheduling plan is blocked.
[0121] Example 3: like Figure 2 As shown, this embodiment provides a data error prevention device for energy storage participating in the electricity market based on scenario-based verification rules, including an operation and maintenance workstation layer, a back-end service layer, and a persistent database layer.
[0122] The operations and maintenance workstation layer includes a visual configuration and data editing unit. This unit communicates with the backend service layer and is used to configure the mapping between validation rules, threshold parameters, data validation entry points, and business scenarios, as well as the binding relationship between business scenarios and the set of validation rules.
[0123] The visual configuration and data editing unit is also used to edit market model data and time series data. When editing is completed and a save operation is performed, the corresponding data enters the data verification entry point of the market model management and triggers the verification process corresponding to the market model management scenario.
[0124] When a threshold parameter is modified, the visual configuration and data editing unit displays the business scenario identifier and rule code that references that threshold parameter. After receiving confirmation of the parameter modification, the modified parameter value is sent to the unified parameter library module.
[0125] The backend service layer deploys a rule base management module, a unified parameter base module, a scenario configuration module, a business verification module, an exception handling module, and a log tracing module.
[0126] The rule base management module is used to establish and maintain a scenario-based validation rule base. It stores validation rules according to business scenarios and establishes the association between validation rules that require threshold parameters and the corresponding threshold parameters in the unified parameter base. The rule base management module is also used to add, edit, enable, and disable validation rules based on their rule codes.
[0127] The unified parameter library module is used to establish and maintain a unified parameter library, centrally storing the threshold parameters called by the validation rules, and storing the correspondence between parameter codes and parameter values. When a threshold parameter is modified, the unified parameter library module updates the parameter value corresponding to the relevant parameter code and records the parameter change process.
[0128] The scenario configuration module is used to establish the correspondence between data verification entry points and business scenarios, and to bind each business scenario to the corresponding set of verification rules. After the business data to be verified enters the data verification entry point, the business verification module determines the target business scenario based on the correspondence provided by the scenario configuration module.
[0129] The business verification module includes a market model management module, a data access module, a clearing case verification module, a clearing result monitoring module, and a data publishing module. These five modules respectively form the data verification entry points for market model management, data access, clearing case verification, clearing result monitoring, and data publishing.
[0130] The market model management module is used to trigger verification when market model data or time series data is edited, and to perform model parameter integrity verification, model parameter value range verification, time series data jump verification after editing, and maintenance period conflict verification.
[0131] The data access module is used to receive energy storage operation timing data, power grid measurement timing data, load forecast timing data and new energy forecast timing data, and performs energy storage power value range verification, state of charge (SOC) value range verification, measurement quality code verification and adjacent timing jump verification before the data is stored.
[0132] The clearing case verification module is used to receive or obtain clearing case data before clearing calculation, and to perform value range verification of energy storage application charging and discharging plans, as well as correlation verification between energy storage charging and discharging plans and maintenance status. The clearing case verification module forms data verification entry points for day-ahead market sub-scenarios and real-time market sub-scenarios respectively.
[0133] The clearing result monitoring module is used to obtain clearing result data after the clearing calculation is completed and to perform system imbalance verification. The data publishing module is used to obtain the data to be published before the clearing result or scheduling plan is published and to perform system imbalance verification before publication.
[0134] like Figure 3 As shown, after the business verification module determines the target business scenario, it loads the set of verification rules bound to the target business scenario from the rule base management module, reads the threshold parameters called by the verification rules from the unified parameter library module, and performs integrity verification, rationality verification, mutation verification and correlation verification according to the execution priority.
[0135] After generating the verification results, the business verification module processes the business data to be verified based on the results. If no anomalies are found, the business data to be verified is allowed to flow normally and archived. In the event of a general alarm, the business data to be verified continues to flow, and an anomaly message is sent to the anomaly handling module. In the event of a serious error, the corresponding data entry, clearing, or publishing process is blocked, and an anomaly message is sent to the anomaly handling module.
[0136] The exception handling module receives exception information sent by the business verification module and generates alarms based on the exception information. For general alarms, the alarm content includes the corresponding business scenario, device, data timestamp, and exception type; for critical errors, the alarm content also includes the blocked business process.
[0137] The log traceability module records the verification process and processing results, as well as the parameter change process. It stores the verification logs and parameter change logs generated by various business scenarios in a unified manner, allowing for querying based on business scenario identifier, device number, data timestamp, hit rule code, or anomaly level.
[0138] like Figure 2 As shown, the device also includes external interfaces. These external interfaces include a Battery Management System (BMS) interface, a Power Grid Management System (EMS) interface, and a power market business interface. Each external interface is communicatively connected to a corresponding module in the business verification module.
[0139] The Battery Management System (BMS) interface is used to obtain the power, state of charge (SOC), data timestamp, and measurement quality code of the energy storage unit, and to transmit the energy storage operation sequence data to the corresponding data verification entry.
[0140] The Power Grid Energy Management System (EMS) interface is used to acquire power grid measurement time series data and transmit the power grid measurement time series data to the corresponding data verification entry.
[0141] The electricity market business interface is used to acquire or transmit clearing case data, clearing result data, and clearing result or dispatch plan data to be published. Depending on the business processing stage of the data, the electricity market business interface communicates with the corresponding modules in the clearing case verification module, clearing result monitoring module, and data publishing module.
[0142] like Figure 2 As shown, the persistent database layer communicates with the backend service layer to store scenario-based verification rule base, unified parameter base, business scenario logs, and basic ledger data of the power market.
[0143] A scenario-based verification rule library is used to persistently store verification rules categorized according to business scenarios. A unified parameter library is used to persistently store the correspondence between parameter codes and parameter values. Business scenario logs are used to store verification logs, fault logs, and parameter change logs. Electricity market basic ledger data is used to store basic information such as equipment number, rated power, and maintenance status of energy storage units.
[0144] The business verification module can read basic electricity market ledger data to perform equipment data integrity verification, correlation verification between rated power and declared power of energy storage units, and correlation verification between energy storage charging and discharging plans and maintenance status.
[0145] like Figure 2 and Figure 3 As shown, the business data to be verified enters the corresponding data verification entry point through the relevant external interface or business processing procedure. The scenario configuration module provides the correspondence between the data verification entry point and the business scenario, and the business verification module determines the target business scenario accordingly.
[0146] The rule base management module provides the business verification module with a set of verification rules bound to the target business scenario, while the unified parameter library module provides the business verification module with the threshold parameters called by the corresponding verification rules.
[0147] The business verification module completes the corresponding verifications according to the execution priority and generates verification results. When a general alarm or a serious error is detected, the business verification module sends an exception information to the exception handling module; after completing the verification, the business verification module sends the verification process and processing results to the log tracing module.
[0148] like Figure 4 As shown, when a threshold parameter in the unified parameter library is modified, the unified parameter library module updates the parameter value corresponding to the relevant parameter code. The business verification module reads the updated parameter value the next time it executes a verification rule that references this parameter code, thus ensuring that different business scenarios referencing the same parameter code use a consistent threshold parameter.
[0149] The description herein is provided to enable those skilled in the art to implement or use the present disclosure. Various modifications to the present disclosure will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other variations without departing from the scope of the disclosure. Therefore, this disclosure is not limited to the examples and designs described herein, but should be given the broadest scope consistent with the principles and novel features disclosed herein.
[0150] Although one or more exemplary embodiments of this disclosure have been described with reference to the accompanying drawings, those skilled in the art will understand that various changes in form and detail may be made therein without departing from the spirit and scope of this disclosure as defined by the appended claims.
[0151] The foregoing description is merely illustrative of this disclosure, and modifications may be made to the invention in light of the above detailed description. The terminology used in the appended claims should not be construed as limiting the invention to the specific embodiments disclosed in the specification. Rather, the scope of the invention will be fully defined by the appended claims, which will be interpreted according to established principles of claim interpretation.
Claims
1. A method for preventing data errors in energy storage participation in the electricity market based on scenario-based verification rules, characterized in that, Includes the following steps: Establish a scenario-based validation rule base and a unified parameter base; The scenario-based verification rule library stores verification rules according to business scenarios; each verification rule has a verification type, execution priority, and exception level; verification rules that require the use of threshold parameters are associated with the corresponding threshold parameters in the unified parameter library. Configure the correspondence between the data verification entry point and the business scenario, and bind the business scenario to the corresponding set of verification rules; Acquire the business data to be verified; the business data to be verified includes at least one of market model data, time-series business data, clearing case data, clearing result data, and clearing result or scheduling plan data to be released. When the business data to be verified enters the data verification entry point, the target business scenario is determined according to the corresponding relationship; Load the set of validation rules bound to the target business scenario, and read the threshold parameters called by the validation rules; According to the execution priority, perform integrity verification, rationality verification, mutation verification, and correlation verification on the business data to be verified, and generate verification results; Process the business data to be verified based on the verification results; Record the verification process and processing results; When the threshold parameter is modified, the unified parameter library is updated, and the updated threshold parameter is read in subsequent verifications.
2. The method for preventing data errors in energy storage participation in the electricity market according to claim 1, characterized in that, Each of the aforementioned verification rules is configured with a rule code, business scenario identifier, data type, verification type, exception level, execution priority, and effective status; The unified parameter library configures a globally unique parameter code for each threshold parameter and stores the correspondence between the parameter code and the parameter value; For validation rules that require calling threshold parameters, the validation rule is associated with parameter codes of one or more threshold parameters; The validation rules for different business scenarios can be associated with the same parameter code and call the same threshold parameter corresponding to the parameter code.
3. The method for preventing data errors in energy storage participation in the electricity market according to claim 1, characterized in that, The step of processing the business data to be verified based on the verification result includes: If there are no abnormalities, allow the data to flow normally and be archived; In the event of a normal alarm, the data continues to flow and the alarm is generated. In case of a serious error, the process of storing, clearing, or publishing the business data to be verified will be blocked. Specifically, when the absolute power value does not exceed the rated power, the power is considered to be within the normal range and no abnormality is generated; when the absolute power value exceeds the rated power, but the excess does not exceed 5% of the rated power, a general alarm is generated; when the absolute power value exceeds 5% of the rated power, a serious error is generated.
4. The method for preventing data errors in energy storage participation in the electricity market according to claim 3, characterized in that, The target business scenario is one of the following: Market model management scenarios include static model maintenance and time series data editing, and triggering validation when editing model data or time series data; In data access scenarios, verification is triggered when external data is received or entered into the database; In the clearing case verification scenario, verification is triggered before the clearing calculation. The clearing case verification scenarios include a day-ahead market sub-scenario with a time-series granularity of 15 minutes and a real-time market sub-scenario with a time-series granularity of 5 minutes. In the clearing result monitoring scenario, a verification is triggered after the clearing calculation is completed. In data publishing scenarios, verification is triggered before the clearing results or scheduling plan are published. The time-series business data includes energy storage operation time-series data, power grid measurement time-series data, load forecast time-series data, and new energy forecast time-series data. The energy storage operation sequence data is obtained from the energy storage battery management system (BMS) and includes the power of the energy storage unit, state of charge (SOC), data timestamp, and measurement quality code. The power grid measurement time series data are obtained from the power grid energy management system (EMS); the load forecast time series data and the new energy forecast time series data are obtained from the forecasting system. The market model data includes the rated power and maintenance status of the energy storage units; the maintenance status includes maintenance periods and maintenance lockout markers. The clearing case data, clearing result data, and clearing result or dispatch plan data to be released are obtained from the power market business system or generated by the corresponding business processing process; Starting from the hour, the received time-series service data is aligned according to the time-series granularity configured for the target service scenario; Discard late time-series data; mark missing time-series service data as having integrity issues; For duplicate time-series service data, retain the first valid record; for time-series service data with invalid measurement quality codes, set an anomaly flag for the quality code.
5. The method for preventing data errors in energy storage participation in the electricity market according to claim 4, characterized in that, The integrity check is used to check whether the required fields, equipment data, and time-series data are missing based on the equipment ledger and time period. The rationality check is used to compare the power and state of charge (SOC) of the energy storage unit with the corresponding threshold parameters, respectively. The physical boundary of the State of Charge (SOC) is 0% to 100%, and the operating range is configured by the unified parameter library. The abrupt change check is used to calculate the power difference or state of charge (SOC) difference between adjacent time periods, and compare the difference with the corresponding jump threshold. The correlation verification is used to check the constraint relationship between the energy storage charging and discharging plan and maintenance status, the rated power and declared power of the energy storage unit, and the total power generation of the entire network and the equivalent total load.
6. The method for preventing data errors in energy storage participation in the electricity market according to claim 5, characterized in that, The set of verification rules for the market model management scenario includes model parameter integrity verification, model parameter value range verification, post-edit time series data jump verification, and maintenance period conflict verification. The set of verification rules for the data access scenario includes energy storage power value range verification, state of charge (SOC) value range verification, measurement quality code verification, and adjacent timing jump verification. The set of verification rules for the clearing case verification scenario includes the value range verification of the energy storage application charging and discharging plan, as well as the correlation verification between the energy storage charging and discharging plan and the maintenance status. The set of verification rules for both the clearing result monitoring scenario and the data release scenario includes system imbalance verification. The system imbalance is the absolute value of the difference between the equivalent total load and the total power generation of the entire network; When calculating the equivalent total load, the absolute value of the energy storage charging power is included in the load; When calculating the total power generation of the entire network, the energy storage discharge power is included in the power generation. The system imbalance is compared with the system imbalance threshold in the unified parameter library.
7. The method for preventing data errors in energy storage participation in the electricity market according to claim 1, characterized in that, Each verification rule in the set of verification rules is executed sequentially according to the execution priority. When the exception level corresponding to the verification result of any verification rule is a critical error, the execution of the verification rule that has not yet been completed is stopped, and the subsequent flow of the business data to be verified in the target business scenario is blocked. When the set of verification rules fails to load or the threshold parameter fails to be read, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a fault log is generated. When the verification time of the business data to be verified exceeds 10 seconds, the subsequent flow of the business data to be verified in the target business scenario is blocked, and a fault log is generated.
8. The method for preventing data errors in energy storage participation in the electricity market according to claim 2, characterized in that, When the threshold parameter is modified, the business scenario identifier and rule code that reference the threshold parameter are displayed; After receiving confirmation of parameter modification, update the value of the threshold parameter and record the parameter change log; The updated parameter value is read the next time the validation rule referencing this threshold parameter is executed; A verification log is generated when the verification process is recorded; The verification log includes log number, business scenario identifier, device number, data timestamp, original value, hit rule code, parameter value used during verification, anomaly level, and handling action.
9. A data error prevention device for energy storage participating in the electricity market based on scenario-based verification rules, characterized in that, include: The rule base management module is used to establish a scenario-based verification rule base and store verification rules according to business scenarios. The verification rules are configured with verification type, execution priority, and exception level. The rule base management module is also used to establish the association between verification rules that need to call threshold parameters and the corresponding threshold parameters in the unified parameter base module. The unified parameter library module is used to establish a unified parameter library, store the threshold parameters called by the validation rules, and update the corresponding parameter values when the threshold parameters are modified. The scenario configuration module is used to establish the correspondence between data verification entry points and business scenarios, and to bind business scenarios to a set of verification rules. The business verification module is used to receive the business data to be verified entering the data verification entry point, and determine the target business scenario according to the corresponding relationship; the business data to be verified includes at least one of market model data, time series business data, clearing case data, clearing result data, and clearing result or scheduling plan data to be released; The business verification module is also used to load a set of verification rules bound to the target business scenario from the rule base management module, read the threshold parameters called by the verification rules from the unified parameter library module, perform integrity verification, rationality verification, mutation verification and correlation verification according to the execution priority, and generate verification results; The business verification module is also used to process the business data to be verified based on the verification results. If there are no abnormalities, allow the data to flow normally and be archived; In the event of a normal alarm, the data continues to flow and an exception message is sent to the exception handling module. In the event of a serious error, the corresponding data entry, clearing, or publishing process will be blocked, and an error message will be sent to the exception handling module. An exception handling module is used to receive the exception information and generate alarm information; The log traceability module is used to record the verification process and processing results; The business verification module is also used to read the updated threshold parameters in subsequent verifications.
10. The data error prevention device for energy storage participating in the electricity market according to claim 9, characterized in that, The business verification module includes a market model management module, a data access module, a clearing case verification module, a clearing result monitoring module, and a data publishing module; The five modules respectively form the data verification entry points for market model management, data access, clearing case verification, clearing result monitoring, and data release; The device also includes external interfaces; the external interfaces include a battery management system (BMS) interface, a power grid energy management system (EMS) interface, and a power market business interface, and each of the external interfaces is communicatively connected to a corresponding module among the five modules. The device adopts a three-layer architecture; the three-layer architecture includes an operation and maintenance workstation layer, a backend service layer, and a persistent database layer; The operation and maintenance workstation layer includes a visual configuration and data editing unit; the visual configuration and data editing unit is connected to the backend service layer and is used to configure verification rules, threshold parameters and scenario correspondences, and to edit market model data and time series data; The rule base management module, unified parameter base module, scenario configuration module, business verification module, exception handling module, and log tracing module are all deployed in the backend service layer; The persistent database layer communicates with the backend service layer and is used to store scenario-based verification rule base, unified parameter base, business scenario logs, and basic ledger data of the power market.
