CN-122020006-A - Carbon accounting data quality gating method, system and equipment
Abstract
The invention discloses a quality gating method, a system and equipment for carbon accounting data, and relates to the technical field of micro-grid energy metering and carbon emission accounting data processing; the method comprises the steps of configuring an energy mode and a direction semantic coefficient for metering points in a closed boundary of a vehicle section in a time window, collecting data, executing direction semantic correction, time alignment and offset judgment, calculating a collecting weight based on duration time of the vehicle in the closed boundary to obtain vehicle regeneration collecting energy, aggregating energy flow into input side total energy and output side total energy containing the regeneration collecting energy, establishing an energy closing equation to calculate a closing relative error, generating a gating mark and a reason code according to a judging result, a data missing state and the closing relative error, allowing the data to enter a carbon accounting account if the gating is qualified, and isolating and freezing if the gating is unqualified to be used for compensating the closing relative error. The invention realizes the closed consistency check of multi-source energy and blocks the entry of uncheckable data into the carbon account from the source.
Inventors
- YU RUNZE
- Yang Binquan
- JIANG HONGGUO
- QIU FEILI
- HUANG QI
- LI RONGGUO
- ZHOU TIANHONG
- Zhan Chongshu
- JIANG XUEJIAO
- WANG YI
- JIANG KUNLUN
Assignees
- 四川蜀道轨道交通集团有限责任公司
- 四川川南轨道交通运营有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260416
Claims (10)
- 1. A method for quality gating of carbon accounting data, comprising: Determining a metering point set belonging to a closed boundary of an intelligent rail vehicle section in a predetermined time window, and configuring an energy mode and a direction semantic coefficient for each metering point in the metering point set; Collecting data of each metering point in the metering point set in the time window, calculating energy in the window according to the energy mode, executing direction semantic correction by combining the direction semantic coefficients, performing time alignment and offset judgment, recording a judgment result, and recording a data missing state; Acquiring regenerative braking energy of each vehicle in a vehicle set associated with the intelligent rail vehicle section in the time window, and calculating a vehicle collecting weight based on the duration time of each vehicle in the vehicle set in the intelligent rail vehicle section closed boundary so as to obtain vehicle regenerative collecting energy collected to the intelligent rail vehicle section closed boundary; Aggregating energy flow within the intelligent rail vehicle segment closed boundary into an input side total energy and an output side total energy, wherein the input side total energy comprises the vehicle regeneration and aggregation energy; based on the total energy of the input side, the total energy of the output side and the calculated loss energy, an energy closure equation is established, and an energy closure residual error and a closure relative error are calculated; Generating a gating mark and a reason code according to the judging result of the time alignment and offset judgment, the data missing state and the closing relative error; And outputting the data packet to be corrected and freezing and isolating the data packet to be corrected when the gating mark indicates disqualification, wherein the data packet to be corrected carries the reason code, and the reason code is used for indicating the missing reason or the failure reason so as to carry out the repayment and the recalculation.
- 2. The method of claim 1, wherein the energy quantization method comprises a differential energy quantization method and an integral energy quantization method; when the energy quantification mode is a differential energy quantification mode, providing accumulated electric energy readings by a metering terminal, wherein the energy in the window is obtained by the difference between the accumulated electric energy readings at the boundary of the time window; When the energy quantization mode is an integral energy quantization mode, providing instantaneous power sampling by a metering terminal, wherein the energy in the window is obtained by discrete integration of power in the time window; The method comprises the steps of combining the direction semantic coefficients to execute direction semantic correction, wherein the direction semantic coefficients are solidified for each metering point in the metering point set, the direction semantic coefficients are used for unifying positive and negative directions of different metering devices to a agreed semantic that a closing boundary is positive and a closing boundary is negative, and the electric energy in a window after the unified semantic is defined as the product of the energy in the window and the corresponding direction semantic coefficient.
- 3. The method for carbon accounting data quality gating of claim 2, wherein said performing a time alignment and offset determination and recording the determination result comprises: Calculating, for each metering point in the set of metering points, an acquisition time offset representing an offset estimate of a metering point data timestamp relative to the time window boundary; when the energy mode is the differential energy mode, the acquisition time offset is the median of the difference between the reading time stamp near the starting point of the time window and the starting time of the time window and the difference between the reading time stamp near the ending time of the time window; when the energy mode is the integral energy mode, the acquisition time offset is the median of the difference between the power sampling time stamp and the grid sampling time in the window; Comparing the absolute value of the acquisition time offset of each metering point with a preset time offset threshold, judging that the corresponding time window fails in time alignment if the metering point with the absolute value larger than the time offset threshold exists, and marking the judging result as a hard failure state.
- 4. The carbon accounting data quality gating method of claim 1, wherein said calculating vehicle collection weights based on the duration of each vehicle in said set of vehicles within said closed boundaries of said intelligent rail vehicle segments to obtain vehicle regeneration collection energy collected to said closed boundaries of said intelligent rail vehicle segments comprises: calculating the vehicle collection weight, wherein the value of the vehicle collection weight is the ratio of the duration time of the target vehicle in the vehicle set, which is identified as being in the closed boundary of the intelligent rail vehicle section, to the length of the time window; Summing the product of the regenerative braking energy of each vehicle and the corresponding vehicle collecting weight to obtain the vehicle regenerative collecting energy collected to the closed boundary of the intelligent vehicle section in the time window; And when the regenerative braking energy of each vehicle is lost and the regenerative collecting energy of the vehicle cannot be calculated, the data loss state is marked as a hard loss state.
- 5. The method of claim 2, wherein the establishing an energy closure equation and calculating an energy closure residual and closure relative error based on the input side total energy, the output side total energy, and the calculated loss energy comprises: Defining the total energy of the input side as the sum of the intra-window electric energy after the unified semantics of all metering points in the subset of the metering points of the input side belonging to the closed boundary in the metering point set and the regeneration and collection energy of the vehicle; Defining the total energy of the output side as the sum of the electric energy in the window after the unified semantics of all metering points in the subset of the metering points of the output side, which are separated from the closed boundary, in the metering point set; defining the loss energy as the product of the total energy of the input side and a preset loss proportional coefficient; calculating a difference value of the total energy of the input side minus the total energy of the output side and the loss energy as the energy closure residual; And calculating the ratio of the energy closure residual error to the sum of the total energy of the input side and zero-proof small quantity as the closure relative error without dimension according to the absolute value of the energy closure residual error, wherein the zero-proof small quantity is used for preventing the ratio denominator from being zero.
- 6. The method of claim 1, wherein generating a gating flag based on the determination of the time alignment and offset determination, the data loss status, and the closure relative error comprises: The data missing state comprises a hard missing state which causes that a closed input item containing the vehicle regeneration collecting energy cannot be obtained, and the judging result comprises a hard failure state which causes that the time alignment and the offset judgment are not passed; Generating the gating mark indicating disqualification when the hard missing state or the hard failure state occurs; when the hard missing state and the hard failure state do not exist and the closing relative error is smaller than or equal to a preset closing error threshold value, generating the gating mark indicating qualification; And when the hard missing state and the hard failure state do not exist and the closing relative error is larger than the closing error threshold value, generating the gating mark which indicates disqualification.
- 7. The carbon accounting data quality gating method of claim 6, wherein the generation logic of the reason code comprises: Generating the reason code representing the passing of the closing when the gating mark indicates that the gating mark is qualified; When the hard failure state occurs, generating the reason code representing that the time offset is out of limit; When the data of the necessary metering point is missing, generating the reason code representing the metering missing; Generating the reason code indicating that regeneration data is missing when the vehicle regeneration energy is missing; Generating the reason code representing a closure failure when the closure relative error is greater than the closure error threshold; The qualified data packet and the data packet to be corrected both carry a time window identifier, and the input side total energy, the output side total energy, the loss energy, the vehicle regeneration and collection energy, the energy closure residual error, the closure relative error, the gate control mark and the reason code in the corresponding time windows.
- 8. The method of claim 2, wherein when the gating flag indicates eligibility, allowing the eligibility data packet to enter a carbon accounting and reporting link, comprising: if and only if the qualified data packet is received, executing carbon accounting and reporting; Acquiring a pre-configured power grid electricity purchasing metering point subset belonging to the metering point set, and calculating power grid electricity purchasing energy based on the sum of the power in the window after the metering points in the power grid electricity purchasing metering point subset are subjected to unified semantics; Acquiring power grid electricity purchasing carbon factors carrying a version number or an effective interval identifier from a carbon factor library; and calculating the product of the power grid electricity purchase energy and the power grid electricity purchase carbon factor to obtain the emission in the window for accounting and reporting.
- 9. The carbon accounting data quality gating system is characterized by comprising a metering terminal layer, a vehicle regenerated energy data interface, an edge check node and a cloud carbon account platform which are in communication connection; the metering terminal layer is used for collecting and providing accumulated electric energy readings or instantaneous power samples of each metering point in a time window in the closed boundary of the intelligent rail vehicle section and time stamps thereof; The vehicle regeneration energy data interface is used for acquiring the regeneration braking energy and the segment field related events of each vehicle in the vehicle set related to the intelligent rail vehicle segment in the time window; The edge check node is used for configuring an energy mode and a direction semantic coefficient for each metering point in the time window, calculating the energy in the window, executing direction semantic correction, time alignment and offset judgment, recording a judgment result and recording a data missing state; the method comprises the steps of calculating vehicle collecting weights based on duration time of each vehicle in a closed boundary to obtain vehicle regeneration collecting energy collected to the closed boundary of the intelligent rail vehicle section, aggregating energy flow in the closed boundary of the intelligent rail vehicle section into input side total energy and output side total energy, establishing an energy closed equation based on the input side total energy, the output side total energy and the calculated loss energy and calculating to obtain an energy closed residual error and a closed relative error, and generating a gating mark and a reason code according to a judging result, the data missing state and the closed relative error; The edge check node is also used for outputting a qualified data packet or a data packet to be corrected based on the gating mark shunt and freezing and isolating the data packet to be corrected; the cloud carbon account platform is used for receiving the qualified data packet, executing carbon accounting and reporting logic, and isolating and storing the data packet to be corrected so as to support recalculation based on the complement data.
- 10. An electronic device, comprising: And a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, by executing the instructions stored by the memory, causing the at least one processor to perform the method of any one of claims 1-8.
Description
Carbon accounting data quality gating method, system and equipment Technical Field The invention relates to the technical field of micro-grid energy metering and carbon emission accounting data processing, in particular to a carbon accounting data quality gating method, system and equipment. Background The statements in this section merely provide background information related to the present disclosure and may not constitute prior art. Smart rail (ART) vehicle segments typically constitute a consumer-side electricity storage and delivery micro grid covering "photovoltaic-energy storage-charging piles-feeders or summary surfaces", where electrical energy flows are frequently distributed and converted among multiple devices. With the advancement of dual carbon targets, carbon accounting for such complex micro-grids has become particularly important. The existing segment field carbon accounting practice mainly uses a total table or a single metering source to carry out electric quantity statistics, and the electric quantity is multiplied by a power grid emission factor to obtain carbon emission. However, existing carbon accounting methods have the following significant drawbacks in the context of a segment of a railcar: The statistical caliber of the multi-source data is inconsistent and can not be checked. The intelligent rail vehicle section not only comprises parking equipment such as photovoltaic, energy storage, charging piles, auxiliary loads and the like, but also has vehicle side regenerated braking energy which dynamically operates. Because of the multi-source metering and multi-caliber data sources, if only single-meter statistics is adopted, the problems that the statistical caliber is inconsistent, the data cannot be checked and the audit is difficult to reckon are very easy to occur. The "space-time reconciliation black hole" caused by the regenerated energy of the vehicle. Regenerative braking energy is typical in rail traffic scenarios, often counted or metered from the vehicle's operating side. However, the regenerated energy and the metering at the power supply and distribution sides of the segment yard are often not included in a closed account in the same time window, and an unchecked state of 'the vehicle side has regenerated energy output, but the segment yard side does not reflect' or 'the segment yard side reflects energy input but cannot explain the source' is easily formed. High cost and compliance audit risk brought by cloud review. The existing scheme often places abnormality identification and data check logic on a cloud carbon ledger platform or relies on a manual rechecking link, which not only leads to data delay and labor cost rise, but also has compliance audit risks of 'first-in account and then error correction' when forming a carbon ledger and reporting to the outside. Therefore, there is a need for a multi-source metered energy closure consistency check method for intelligent rail vehicle segments that can avoid the entry of unchecked data into the carbon accounting and reporting links from the source. Disclosure of Invention The invention aims at: In view of the above-mentioned drawbacks of the prior art, the present invention aims to provide a method and a system for controlling quality of carbon accounting data for an intelligent rail vehicle section light storage charging and discharging micro-grid, which aims to solve the following technical problems: 1. how to uniformly measure photovoltaic, energy storage, charging piles, feeder lines or summary surfaces of the intelligent rail vehicle sections and dynamic vehicle regeneration braking energy in a multi-source manner in the same time window, and form energy closed check capable of checking accounts; 2. how to scientifically generate a closing error and form a gating mark which can be used for carbon accounting and reporting, so as to avoid inconsistent caliber and uncheckable risks caused by only a voucher form or single source data; 3. How to finish time alignment, closing error calculation and gating decision on the edge node side in advance, and outputting qualified data and data to be corrected, so that cloud dependence and manual rechecking cost are reduced, and the compliance risk of 'first-in account and then error correction' is blocked. The technical scheme of the invention is as follows: A carbon accounting data quality gating method, comprising: Determining a metering point set belonging to a closed boundary of an intelligent rail vehicle section in a predetermined time window, and configuring an energy mode and a direction semantic coefficient for each metering point in the metering point set; Collecting data of each metering point in the metering point set in the time window, calculating energy in the window according to the energy mode, executing direction semantic correction by combining the direction semantic coefficients, performing time alignment and offset judgment, recording a judgment result, and