A method for dynamic allocation and early warning management of carbon quotas for rail transit

By dynamically adjusting carbon quota allocation values ​​and optimizing multi-level early warning thresholds, the problem of lagging carbon quota allocation and early warning in rail transit has been solved, realizing dynamic optimization and early warning of carbon quota management.

CN123117552APending Publication Date: 2026-11-17QINGDAO DONGHU GREEN ENERGY CONSERVATION RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611383971.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the carbon quota allocation method for rail transit has failed to effectively match the current operational tasks. The fixed warning threshold leads to a lag in the warning signal, making it impossible to dynamically adjust and predict the quota consumption trend.

Method used

By acquiring historical carbon emission data and operational plan data through computer equipment, the carbon quota allocation value is dynamically adjusted, and corrections are made using the difference coefficient between operating sections and vehicle usage. Multi-level early warning thresholds are set, and over-limit prediction and threshold recalculation are performed before the early warning signal is generated, thereby achieving dynamic optimization.

Benefits of technology

It improved the alignment between carbon quota allocation values ​​and current operational tasks, generated early warning signals in advance, dynamically adjusted warning thresholds, optimized the carbon quota management process, and reduced warning lag and limited adjustment scope.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123117552A_ABST
    Figure CN123117552A_ABST
Patent Text Reader

Abstract

This invention discloses a method for dynamic allocation and early warning management of carbon quotas in rail transit, belonging to the field of rail transit carbon emission management technology. The method is executed by computer equipment deployed in the rail transit operation management system: acquiring historical carbon emission data and operation plan data; establishing a carbon quota ledger after adjusting the total carbon quota ratio; collecting actual energy consumption data according to a preset collection cycle and converting it into quota usage; calculating the predicted quota usage for remaining planned tasks using a sliding window average; adding this to the cumulative quota usage to obtain the predicted quota usage for the entire cycle; performing early warning for exceeding limits; generating tiered warnings by comparing with three-level thresholds; dynamically updating the three-level thresholds according to the quota difference and matching the adjustment amount using a threshold adjustment step table; and receiving and writing back the updated operation plan to form a closed loop. This method improves the matching degree between carbon quota allocation values ​​and current operation tasks, ensuring that the early warning triggering conditions are consistent with the quota consumption progress.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of carbon emission management technology for rail transit, and relates to a method for dynamic allocation and early warning management of carbon quotas for rail transit. Background Technology

[0002] During rail transit operation, carbon emissions from each operating unit mainly come from traction energy consumption and auxiliary energy consumption. To manage carbon emission quotas, existing technologies typically rely on computer equipment deployed in the rail transit operation management system to complete carbon quota allocation and monitoring. This computer equipment collects historical carbon emission data from the rail transit operation management system, which includes the carbon emissions from traction energy consumption and auxiliary energy consumption recorded by each operating unit at a time granularity during the historical operating cycle. At the same time, it obtains the total carbon quota for the planned cycle from the carbon quota management platform. Subsequently, the computer equipment statistically summarizes the historical carbon emission data by operating unit and directly writes the summary results into the carbon quota ledger as the carbon quota allocation value for each operating unit. During the quota execution monitoring phase, the computer equipment collects actual energy consumption data from the energy consumption metering devices of each operating unit according to a preset collection cycle. Based on the mapping relationship between energy consumption type and carbon emission factor, it calculates the quota usage and compares it with the first, second, and third thresholds recorded in the ledger one by one. When the corresponding threshold is reached, an early warning signal is generated.

[0003] In the aforementioned carbon quota allocation process, the computer equipment only reads historical data from the same period in the historical carbon emission dataset and performs unit-level aggregation according to the operating unit identifier. It does not obtain information on operating sections and vehicle usage from the current operating plan data, nor does it take into account the differences between the current operating plan and the historical period in terms of operating sections and vehicle usage. As a result, the carbon quota allocation value only reflects the statistical results of the historical period and cannot reflect the changes between the current operating tasks and the historical period. The matching degree between the allocation value and the current operating tasks is obviously insufficient. In the existing technology, the warning threshold remains unchanged after being written into the carbon quota ledger at the beginning of the planning cycle and is not updated with the changes in the remaining planned tasks and quota usage. This leads to a disconnect between the warning triggering conditions and the actual quota consumption progress of the operating unit. In addition, the existing technology can only generate a warning signal when the quota usage reaches the preset threshold. It does not predict the quota consumption trend, and the warning signal generation time is too late, which limits the remaining adjustable planning range.

[0004] Based on this, the present invention discloses a method for dynamic allocation and early warning management of carbon quotas for rail transit. Summary of the Invention

[0005] To address the problems mentioned in the background art, this invention provides a method for dynamic allocation and early warning management of carbon quotas for rail transit, which includes the following steps: S1, Data Acquisition and Preprocessing: The computer equipment acquires historical carbon emission data and operation plan data from the rail transit operation management system, performs dirty data filtering on the historical carbon emission data, and writes the filtered data into the historical carbon emission dataset according to the operation unit identifier and time granularity. The operation plan data is parsed to extract the planned task information of each operation unit within the planning period and incorporate it into the planned task dataset. S2, Carbon Quota Decomposition and Ledger Generation: The computer equipment obtains the total carbon quota for the planning period from the carbon quota management platform, summarizes the carbon emission data of each operating unit in the same historical period at the unit level, and obtains the unit-level summary results of carbon emission data for the same historical period. The operating segment mileage in the planned task information is compared with the operating segment mileage in the same historical period. The operating segment difference coefficient is the operating segment mileage in the current planned task information divided by the operating segment mileage in the same historical period. The number of vehicles used in the planned task information is compared with the number of vehicles used in the same historical period. The vehicle usage difference coefficient is the number of vehicles used in the current planned task information divided by the number of vehicles used in the same historical period, using the following formula: Calculate the initial carbon allowance allocation for each operating unit, where For operating units The initial carbon quota allocation value, For operating units Historical carbon emission data for the same period, unit-level summary results. The difference coefficient for the operating section. To determine the vehicle usage difference coefficient, the initial carbon allowance allocation values ​​for each operating unit are summed. If the summation result is greater than the total carbon allowance, it is reduced proportionally according to the proportion of each operating unit's initial carbon allowance allocation value. If the summation result is less than the total carbon allowance, the difference is allocated according to the proportion of each operating unit's initial carbon allowance allocation value, generating the final carbon allowance allocation value for each operating unit. A carbon allowance ledger record is established for each operating unit, including the operating unit identifier, allowance period, carbon allowance allocation value, first threshold, second threshold, and third threshold, and written into the carbon allowance ledger dataset. The first threshold is 70% of the carbon allowance allocation value, the second threshold is 85% of the carbon allowance allocation value, and the third threshold is 100% of the carbon allowance allocation value. S3, Quota Execution Monitoring and Multi-level Early Warning: Computer equipment collects actual energy consumption data from the energy consumption metering devices of each operating unit according to a preset collection cycle, converts it into quota usage based on the mapping relationship between energy consumption type and carbon emission factor, and records it. S3a, based on the current consumption rate, the over-limit prediction is as follows: extract the quota usage records and remaining planned tasks of each operating unit in multiple consecutive collection cycles, determine the number of collection cycles included in the preset sliding window, for each collection cycle in the sliding window, obtain the quota usage of the operating unit and the number of planned tasks completed in the collection cycle, divide the quota usage by the number of planned tasks completed to obtain the unit planned task quota usage corresponding to the collection cycle, calculate the average of the unit planned task quota usage corresponding to the valid collection cycles in the sliding window where the number of planned tasks completed is not 0, obtain the quota usage corresponding to the unit planned task, multiply the average by the remaining planned tasks to obtain the predicted quota usage, when the predicted quota usage is greater than the first threshold corresponding to the operating unit, generate an early warning signal and send it to the management terminal and the upper-level scheduling terminal of the operating unit; S3b, Tiered Early Warning: The cumulative quota usage of the operating unit up to the current collection period is compared with the first threshold, the second threshold, and the third threshold. When the first threshold is reached, a first-level early warning signal is generated and sent to the management terminal. When the second threshold is reached, a second-level early warning signal is generated and sent to the management terminal and the superior dispatch terminal. When the third threshold is reached, a third-level early warning signal is generated and sent to the management terminal, the superior dispatch terminal, and the carbon quota management terminal. S3c, Dynamic Recalculation of Warning Thresholds: Within the planned period, the period is recalculated according to preset thresholds. The carbon quota allocation value, first threshold, second threshold, and third threshold of the operating unit are read, along with the quota usage up to the current collection period and the remaining planned tasks. Based on the operating sections and vehicle usage numbers in the remaining planned tasks, carbon emission data corresponding to the same operating sections and vehicle usage numbers in the same historical period is retrieved from the historical carbon emission dataset. The retrieved carbon emission data is summarized at the unit level to obtain the historical carbon emissions of the remaining planned tasks. The carbon quota allocation value is subtracted from the cumulative quota usage up to the current collection period, and then the historical carbon emissions of the remaining planned tasks are subtracted again. The resulting difference is determined as the quota difference. Based on the interval into which the quota difference falls, the corresponding first, second, and third threshold adjustment amounts are matched in the threshold adjustment step size table. The original three thresholds are added to their corresponding adjustment amounts, and then written into the carbon quota ledger dataset, overwriting the original threshold fields. The threshold adjustment step size table is as follows: The threshold is dynamically recalculated after the graded early warning is completed, and the recalculated threshold will take effect in the graded early warning comparison in the next collection cycle. S3d, Updated Operation Plan Write-back: The computer equipment receives the updated operation plan returned by the superior dispatch terminal. This updated operation plan is generated by the superior dispatch terminal after receiving the second-level or third-level warning signal. If the updated operation plan is written back within the same planning period, only the remaining planned tasks in the planned task dataset are updated. The generated carbon quota allocation values ​​are not recalculated. The updated remaining planned tasks enter the S3c process in the next threshold recalculation cycle to participate in the quota difference calculation and threshold adjustment matching. If the updated operation plan crosses into the next planning cycle, S1-S2 is re-executed to generate new carbon quota ledger records. After the updated operation plan is written back to the operation plan data in the rail transit operation management system, the updated operation plan data participates in the data acquisition and preprocessing process of the next round of S1.

[0006] As a further improvement to this technical solution, time-granularity missing data completion and marking: Before performing dirty data filtering on historical carbon emission data, first process records where the time granularity field is empty and the same operating unit has energy consumption carbon emission records at both the immediate preceding and immediate following time granularities. Mark these records as records to be completed. Query the energy consumption carbon emission records corresponding to the immediate preceding and immediate following time granularities for the operating unit. The completion value is the average of the two energy consumption carbon emission values. Fill the completion value into the time granularity field and energy consumption carbon emission field of the record to be completed. Set a completion source flag for the completed record. This flag has a different value from the source flag of the original data record. The completed record and the original data record are written together into the historical carbon emission dataset.

[0007] As a further improvement to this technical solution, the energy consumption acquisition clock alignment verification is performed as follows: the energy consumption data acquisition request carries an acquisition reference time field. After the energy consumption metering device responds to the request, it returns the actual energy consumption data and the acquisition timestamp corresponding to each data point. The computer device calculates the difference between the acquisition timestamp and the acquisition reference time. Records with differences exceeding the preset time deviation range are marked as data to be verified and are not written into the actual energy consumption dataset. Instead, they are sent to the management terminal of the operating unit. The data is written into the actual energy consumption dataset after the management terminal returns a confirmation instruction. Records with differences within the preset time deviation range are written into the actual energy consumption dataset after being aligned with the acquisition reference time.

[0008] As a further improvement to this technical solution, the early warning signal is merged and processed as follows: After generating the early warning signal in S3a and the hierarchical early warning signal in S3b, the line identifier and dispatch section identifier of each operating unit that triggered the early warning signal are extracted from the planned task dataset. Multiple early warning signals of the same level belonging to the same line identifier and the same dispatch section identifier are merged into a section-level early warning summary signal, which includes the dispatch section identifier, the early warning level, and the number of triggering operating units. The section-level early warning summary signal is sent to the upper-level dispatch terminal, and the early warning signals of each operating unit are sent to the corresponding management terminal. For operating units involving the third-level early warning signal, the section-level early warning summary signal is also sent to the carbon quota management terminal.

[0009] As a further improvement to this technical solution, conflict detection is implemented before writing back the operation plan: Before writing back the updated operation plan to the rail transit operation management system, the operation plan data of the currently registered operation units is read first. The planned running segments and running sections in the updated operation plan are compared with the registered data to detect whether the planned running segments overlap with any other operation unit in the same running section. If the intersection of the planned running segments of two operation units in the same running section is greater than 5 minutes, it is considered an overlap. At the same time, it is detected whether the number of vehicles used exceeds the number of available vehicles in the vehicle use plan dataset. If there is an overlap or over-limit situation, a conflict prompt signal is generated and sent to the upper-level dispatch terminal, and the write-back is not performed. If no such situation is detected, the updated operation plan is written back to the operation plan data in the rail transit operation management system.

[0010] As a further improvement to this technical solution, quota period settlement: after the planning period ends, the cumulative quota usage and carbon quota allocation value of each operating unit are extracted, the difference between the two is calculated, a quota settlement report is generated and sent to the carbon quota management terminal and the management terminal of each operating unit, and the settlement result is written into the quota settlement dataset in the carbon quota allocation database.

[0011] As a further improvement to this technical solution, the quota freeze instruction is as follows: When the cumulative quota usage reaches the third threshold, in addition to generating a third-level warning signal, a quota freeze instruction is also generated and sent to the management terminal of the operating unit to suspend the execution of new high-carbon emission tasks of the operating unit until the upper-level dispatch terminal confirms the updated operating plan and writes it back before the freeze is lifted.

[0012] As a further improvement to this technical solution, the present invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-mentioned method for dynamic allocation and early warning management of carbon quotas for rail transit.

[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. To address the issue of insufficient matching between carbon quota allocation values ​​and current operational tasks, computer equipment compares the current operational plan with the operating sections and vehicle usage numbers of the same period in history to obtain the operating section difference coefficient and vehicle usage number difference coefficient. The unit-level aggregated results of carbon emission data from the same period in history are multiplicatively corrected, and the initial allocation values ​​of each operating unit are proportionally adjusted using the total carbon quota to generate the final carbon quota allocation value.

[0014] 2. To address the issue of inconsistencies between the warning triggering conditions and the actual quota consumption progress caused by fixed warning thresholds, the computer equipment recalculates the cycle according to the preset threshold, performs unit-level aggregation of the historical carbon emission data corresponding to the remaining planned tasks, subtracts the cumulative quota usage from the carbon quota allocation value and then subtracts the historical carbon emissions of the remaining planned tasks to obtain the quota difference, matches the three threshold adjustment amounts through the threshold adjustment step size table, adds the original threshold and the adjustment amount, and then overwrites and writes it into the carbon quota ledger dataset.

[0015] 3. To address the issue of delayed early warning adjustments caused by the early warning signal only being triggered after the quota usage reaches a threshold, the computer equipment extracts quota usage records from multiple consecutive collection periods before comparing the cumulative quota usage with the third-level threshold. It uses a sliding window to calculate the average quota usage per unit of planned task within the effective collection period, and then multiplies it by the remaining planned task to obtain the predicted quota usage for the remaining planned task. The sum of the cumulative quota usage and the predicted quota usage for the remaining planned task is taken as the predicted quota usage for the entire period. When the predicted quota usage for the entire period is greater than the first threshold, an early warning signal is generated and sent to the management terminal and the superior dispatch terminal.

[0016] 4. The above three improvements form a dynamic closed loop. The early warning signal triggers the upper-level dispatch terminal to adjust the operation plan. The updated operation plan updates the remaining planned tasks within the same planning cycle. Changes in the remaining planned tasks enter the threshold dynamic recalculation process, changing the threshold adjustment amount in the next round. The adjusted threshold then affects the subsequent hierarchical early warning and early warning judgment, enabling the entire quota management process to be continuously and dynamically optimized. Attached Figure Description

[0017] Figure 1 This is the basic flowchart of the dynamic allocation and early warning management method for carbon quotas in rail transit in Embodiment 1 of the present invention; Figure 2 This is a preferred flowchart of the dynamic allocation and early warning management method for carbon quotas in rail transit in Embodiment 2 of the present invention. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] In this article, "exceeding" means greater than, and "reaching" means greater than or equal to.

[0020] Therefore, this invention provides a method for dynamic allocation and early warning management of carbon quotas for rail transit. Example 1 See Figures 1 to 2 As shown: This embodiment takes an operating unit as the object and fully covers all the steps of independent claim 1. The computer equipment is deployed in the rail transit operation management system, configured with a carbon quota allocation database, and establishes communication connections with the rail transit operation management system, the carbon quota management platform, the energy consumption metering devices of each operating unit, the management terminal of the operating unit, the superior dispatch terminal, and the carbon quota management terminal. In this embodiment, the time granularity is daily, the planning cycle is monthly, and the preset threshold recalculation cycle is once a day. S1, Data Acquisition and Preprocessing: Computer equipment obtains historical carbon emission data and operation plan data from the rail transit operation management system through a data interface. The historical carbon emission data includes the traction energy consumption carbon emissions and auxiliary energy consumption carbon emissions recorded on a daily basis within the historical operating cycle of the operating unit. The operation plan data includes train timetables, vehicle utilization plans, and passenger transport plans. Dirty data filtering is performed on the historical carbon emission data: records with missing operating unit identifiers, records with null values ​​in the time granularity field, records with time granularity field values ​​that do not belong to the preset time granularity set in the carbon quota allocation database, and records with negative values ​​in the energy consumption carbon emission field are all marked as dirty data. When multiple records appear in the same time granularity of the same operating unit, only the one with the latest timestamp is retained, and the rest are marked as dirty data. All dirty data are removed. The filtered data is classified according to the operating unit identifier and time granularity and written into the historical carbon emission dataset. The operation plan data is parsed to extract the planned task information of the operating unit within the planned cycle, including the planned operating hours, operating sections, and vehicle utilization numbers, which are then included in the planned task dataset.

[0021] S2, Carbon Quota Decomposition and Ledger Generation: Send a total carbon quota retrieval request to the carbon quota management platform, receive the returned total carbon quota for the planned period, write the total carbon quota record, and then read the historical carbon emission dataset, the planned task dataset, and the total carbon quota record.

[0022] The carbon emission data of this operating unit for the same historical period are summarized at the unit level to obtain the unit-level summary results of carbon emission data for the same historical period. In this embodiment, the aggregated result is taken as 1000 tons of carbon dioxide equivalent. The operating sections and vehicle usage quantities in the current planned task information of the operating unit are extracted from the planned task dataset. The operating sections and vehicle usage quantities in the same historical period are extracted from the operational plan data. In this embodiment, the operating section mileage in the same historical period is 100 kilometers, and the operating section mileage in the current planned task information is 120 kilometers. The operating section difference coefficient... The historical number of vehicles used in the same period was 10, while the number of vehicles used in the current planned task information is 12. The vehicle usage quantity difference coefficient... The initial carbon quota allocation is calculated using the following formula: in Indicates operating unit The initial carbon quota allocation value, in tons of carbon dioxide equivalent. Indicates operating unit Historical carbon emission data for the same period, summarized at the unit level, in tons of carbon dioxide equivalent. The operating segment difference coefficient is determined by dividing the operating segment mileage in the current planned task information by the operating segment mileage in the same historical period. The vehicle usage quantity difference coefficient is determined by dividing the vehicle usage quantity in the current planned task information by the vehicle usage quantity in the same historical period.

[0023] The initial carbon allowance allocation values ​​of each operating unit are summed. If the sum exceeds the total carbon allowance, it is reduced proportionally according to the proportion of the initial allocation value of each operating unit. If the sum is less than the total carbon allowance, the difference is allocated according to the proportion of the initial allocation value of each operating unit to obtain the final carbon allowance allocation value of each operating unit. In this embodiment, only one operating unit is used as an example, and the final carbon allowance allocation value is 1440 tons of carbon dioxide equivalent.

[0024] A carbon quota ledger record is established for the operating unit. The ledger fields include operating unit identifier, quota period, carbon quota allocation value, first threshold, second threshold and third threshold. The record is written into the carbon quota ledger dataset. In this embodiment, the first threshold is 70% of the carbon quota allocation value, which is 1008 tons of carbon dioxide equivalent, the second threshold is 85%, which is 1224 tons of carbon dioxide equivalent, and the third threshold is 100%, which is 1440 tons of carbon dioxide equivalent.

[0025] S3, Quota Execution Monitoring and Multi-Level Early Warning: S3a, Over-limit prediction. An energy consumption data collection request is sent to the energy metering device of the operating unit according to a preset collection cycle. The returned actual energy consumption data, including traction energy consumption data and auxiliary energy consumption data, is received and written into the actual energy consumption dataset. Based on the mapping relationship between energy consumption type and carbon emission factor, the actual energy consumption data is converted into quota usage and recorded in the quota usage dataset.

[0026] Before threshold comparison, an over-limit prediction based on the current consumption rate is performed. Quota usage records and remaining planned tasks for multiple consecutive collection cycles of the operating unit are extracted to determine the number of collection cycles included in the preset sliding window. In this embodiment, a 7-day period is used, and the data collection period within the sliding window is calculated. Obtain quota usage and the number of planned tasks completed Divide the quota usage by the number of planned tasks completed to obtain the quota usage per unit of planned task for that collection period. Calculate the average value for valid collection periods within the sliding window where the number of planned tasks completed is not zero to obtain the quota usage per unit of planned task. Multiply this average value by the remaining number of planned tasks. The remaining planned task quota usage is obtained. In this embodiment, the data for the 7 collection cycles within the sliding window are as follows: Collection cycle 1: 52 tons of carbon dioxide equivalent, 5 tasks completed; Collection cycle 2: 57 tons, 5 tasks completed; Collection cycle 3: 49 tons, 5 tasks completed; Collection cycle 4: 53 tons, 4 tasks completed; Collection cycle 5: 61 tons, 6 tasks completed; Collection cycle 6: 55 tons, 5 tasks completed; Collection cycle 7: 58 tons, 5 tasks completed. The unit planned task quota usage for each collection cycle is 10.4, 11.4, 9.8, 13.25, 10.17, 11, and 11.6 tons / task, respectively. The average value of the effective collection cycle is... The amount is rounded to two decimal places for 11.09 tons / item. The remaining planned tasks number 100, and the predicted quota usage for the remaining planned tasks is 1109 tons of carbon dioxide equivalent, rounded to the nearest integer. In this embodiment, the cumulative quota usage up to the current collection period is 950 tons of carbon dioxide equivalent, and the predicted quota usage for the entire period is 950 + 1109 = 2059 tons of carbon dioxide equivalent. This value is greater than the first threshold of 1008 tons of carbon dioxide equivalent, so an early warning signal is generated and sent to the management terminal and the superior scheduling terminal. The early warning signal carries the predicted quota usage for the entire period and the information on the remaining planned tasks.

[0027] S3b, tiered early warning: Extract the carbon quota allocation value, first threshold, second threshold, and third threshold of the operating unit from the carbon quota ledger dataset, and extract the cumulative quota usage up to the current collection period from the quota usage dataset. Compare the cumulative quota usage with the three thresholds level by level: when the first threshold is reached, a first-level early warning signal is generated and sent to the management terminal; when the second threshold is reached, a second-level early warning signal is generated and sent to the management terminal and the superior dispatch terminal; when the third threshold is reached, a third-level early warning signal is generated and sent to the management terminal, the superior dispatch terminal, and the carbon quota management terminal. At the same time, a quota freeze instruction is generated and sent to the management terminal, suspending the execution of new high-carbon emission tasks for the operating unit until the superior dispatch terminal confirms the updated operating plan and writes it back, after which the freeze is lifted.

[0028] S3c, Dynamic Recalculation of Warning Thresholds: After the tiered warning is completed, dynamic recalculation of the threshold is performed daily. This involves reading the carbon quota allocation value, the third-level threshold, the quota usage up to the current collection period, and the remaining planned tasks for the operating unit. Based on the operating sections and vehicle usage numbers in the remaining planned tasks, carbon emission data corresponding to the same operating sections and vehicle usage numbers in the same historical period is retrieved from the historical carbon emission dataset. The retrieved carbon emission data is then summarized at the unit level to obtain the historical carbon emission amount for the remaining planned tasks. In this embodiment, the historical carbon emission amount for the remaining planned tasks is 300 tons of CO2 equivalent, and the cumulative quota usage up to the current collection period is 1. With a carbon quota of 200 tons of CO2 equivalent, the carbon quota allocation is 1440 tons of CO2 equivalent. The quota difference is 1440 - 1200 - 300 = -60 tons of CO2 equivalent, falling into the range of less than -50 tons. The first threshold adjustment is -5 tons, the second threshold adjustment is -8 tons, and the third threshold adjustment is -10 tons. The original thresholds are added to the corresponding adjustments and written into the carbon quota ledger dataset, overwriting the original threshold fields. After the adjustment, the first threshold changes from 1008 tons to 1003 tons, the second threshold changes from 1224 tons to 1216 tons, and the third threshold changes from 1440 tons to 1430 tons. The recalculated thresholds will take effect in the tiered early warning comparison in the next collection cycle.

[0029] S3d, Updated Operation Plan Write-back: After receiving a Level 2 or Level 3 warning signal, the upper-level dispatch terminal adjusts the subsequent operation plan of the corresponding operation unit, generates an updated operation plan, and sends it to the computer equipment. If the updated operation plan is written back within the same planning period, only the remaining planned tasks in the planned task dataset are updated, and the generated carbon quota allocation value is not recalculated. The updated remaining planned tasks enter the S3c process in the next threshold recalculation period to participate in the quota difference calculation. If the updated operation plan crosses into the next planning period, S1-S2 is re-executed to generate a new carbon quota ledger record. The updated operation plan is written back to the operation plan data in the rail transit operation management system. The updated operation plan data participates in the data acquisition and preprocessing process of the next round of S1.

[0030] In this embodiment, the above method steps can be implemented by a computer program stored in a computer-readable storage medium. When executed by a processor, the above method steps are implemented. The computer-readable storage medium includes at least one of ROM, RAM, disk, and optical disk.

[0031] Example 2 See Figures 1 to 2 This embodiment, based on embodiment 1, further includes the following preferred technical solutions.

[0032] Before filtering dirty data in Example 1, data records with empty time granularity fields are processed. When there are energy consumption and carbon emission records for the same operating unit at the immediately preceding and immediately following time granularities, the records that meet the conditions are marked as records to be completed. The energy consumption and carbon emission records corresponding to the immediately preceding and immediately following time granularities of the operating unit are queried. The completion value is the average of the energy consumption and carbon emission of the immediately preceding and immediately following time granularities. The time granularity field and energy consumption and carbon emission field of the record to be completed are filled in. The completed record is set with a completion source flag, which has a different value from the source flag of the original data record. The completion source flag is written into the historical carbon emission dataset along with the original data record.

[0033] In the energy consumption data acquisition process of Example 1, the energy consumption data acquisition request carries a data acquisition reference time field. The energy consumption metering device returns the actual energy consumption data and the acquisition timestamp corresponding to each data point. The difference between the acquisition timestamp and the data acquisition reference time is calculated. Data records whose difference exceeds the preset time deviation range are marked as data to be verified and are not written into the actual energy consumption dataset. They are sent to the management terminal and written after the management terminal returns a confirmation instruction. Data records whose difference is within the preset time deviation range are written into the actual energy consumption dataset after being aligned with the data acquisition reference time.

[0034] The early warning signal merging process is performed after generating the early warning signal and the graded early warning signal in Example 1. The line identifier and dispatch segment identifier of each operating unit that triggered the early warning signal are extracted from the planned task dataset. Multiple early warning signals of the same level belonging to the same line identifier and the same dispatch segment identifier are merged into a segment-level early warning summary signal, which includes the dispatch segment identifier, the early warning level, and the number of triggering operating units. The segment-level early warning summary signal is sent to the upper-level dispatch terminal, and the early warning signals of each operating unit are sent to the corresponding management terminal. For operating units involving the third-level early warning signal, the segment-level early warning summary signal is also sent to the carbon quota management terminal.

[0035] Before writing back the updated operation plan, conflict detection is performed. In Example 1, before writing back the updated operation plan, conflict detection is performed: the operation plan data of the currently registered operation units are read from the rail transit operation management system. The planned running segments and running sections in the updated operation plan are compared with the registered data. It is detected whether the planned running segments overlap with any other operation unit in the same running section. If the intersection of the planned running segments of two operation units in the same running section is greater than 5 minutes, it is determined to be an overlap. At the same time, it is detected whether the number of vehicles used exceeds the number of available vehicles in the vehicle use plan dataset. If at least one of the following situations is detected, a conflict prompt signal is generated and sent to the upper-level dispatch terminal, and the write-back is not performed. If the above situations are not detected, the updated operation plan is written back to the operation plan data in the rail transit operation management system.

[0036] Quota period settlement: After the planned period ends, the cumulative quota usage and carbon quota allocation value of each operating unit are extracted, the difference between the two is calculated, a quota settlement report is generated and sent to the carbon quota management terminal and the management terminal of each operating unit, and the settlement result is written into the quota settlement dataset in the carbon quota allocation database.

[0037] Example 3 See Figures 1 to 2 As shown: This embodiment takes an operating unit of a certain urban rail transit line as the object and uses this method to conduct carbon quota allocation and early warning management simulation verification. The values ​​in the following embodiments are simulation verification data, used to illustrate the technical effect of this method, and do not constitute a limitation on actual operating data. The simulation data is constructed by scaling the historical energy consumption data and operating plan of the line proportionally. The scaling ratio is the ratio of the actual historical energy consumption data of the line to the planned task.

[0038] The historical carbon emission data for this operating unit is aggregated at the unit level to 1000 tons of CO2 equivalent. The planned operating section mileage for the current period is 120 kilometers, the historical operating section mileage for the same period is 100 kilometers, the number of vehicles used in the current period is 12, and the number of vehicles used in the historical period is 10. The comparison before and after adjustment using the difference coefficient is as follows: In the above comparison, the carbon quota allocation value before correction only took the statistical results of historical carbon emission data for the same period. After correction, the carbon quota allocation value was corrected by the difference coefficient, and the deviation from the simulated actual carbon emissions was reduced from 400 tons of carbon dioxide equivalent to 40 tons of carbon dioxide equivalent.

[0039] During the operation of this unit, energy consumption data is collected daily, with a sliding window covering 7 daily cycles. The average quota usage per unit of planned tasks is 11.09 tons / item, with 100 remaining planned tasks. The predicted quota usage for the remaining planned tasks is 1109 tons of CO2 equivalent. The cumulative quota usage up to the current collection cycle is 950 tons of CO2 equivalent, and the predicted quota usage for the entire cycle is 2059 tons of CO2 equivalent. The first threshold for this operation unit is 1008 tons of CO2 equivalent. An early warning signal is generated before the quota usage reaches the first threshold. During the simulation, the cumulative quota usage was 950 tons of CO2 equivalent when the early warning signal was generated, which is 2 collection cycles earlier than the time when the cumulative quota usage reached the first threshold.

[0040] The threshold is recalculated daily. When the remaining planned task's historical carbon emissions are 300 tons and the cumulative quota usage is 800 tons, the quota difference is -500 tons. The threshold adjustment step size table matches the first threshold adjustment amount of -5 tons. The first threshold is adjusted from 1008 tons to 1003 tons. After the adjustment, the matching degree between the early warning triggering condition and the remaining planned task is improved compared with the fixed threshold.

[0041] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0042] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for dynamic allocation and early warning management of carbon quotas for rail transit, applied to computer equipment deployed in a rail transit operation management system, characterized in that, Includes the following steps: S1, Data Acquisition and Preprocessing: The computer equipment acquires historical carbon emission data and operation plan data from the rail transit operation management system, performs dirty data filtering on the historical carbon emission data, and writes the filtered data into the historical carbon emission dataset according to the operation unit identifier and time granularity. The operation plan data is parsed to extract the planned task information of each operation unit within the planning period and incorporate it into the planned task dataset. S2, Carbon Quota Decomposition and Ledger Generation: The computer equipment obtains the total carbon quota for the planning period from the carbon quota management platform, summarizes the carbon emission data of each operating unit in the same historical period at the unit level, and obtains the unit-level summary results of carbon emission data for the same historical period. The operating segment mileage in the planned task information is compared with the operating segment mileage in the same historical period. The operating segment difference coefficient is the operating segment mileage in the current planned task information divided by the operating segment mileage in the same historical period. The number of vehicles used in the planned task information is compared with the number of vehicles used in the same historical period. The vehicle usage difference coefficient is the number of vehicles used in the current planned task information divided by the number of vehicles used in the same historical period, using the following formula: Calculate the initial carbon allowance allocation for each operating unit, where For operating units The initial carbon quota allocation value, For operating units Historical carbon emission data for the same period, unit-level summary results. The difference coefficient for the operating section. To determine the vehicle usage difference coefficient, the initial carbon allowance allocation values ​​for each operating unit are summed. If the summation result is greater than the total carbon allowance, it is reduced proportionally according to the proportion of each operating unit's initial carbon allowance allocation value. If the summation result is less than the total carbon allowance, the difference is allocated according to the proportion of each operating unit's initial carbon allowance allocation value, generating the final carbon allowance allocation value for each operating unit. A carbon allowance ledger record is established for each operating unit, including the operating unit identifier, allowance period, carbon allowance allocation value, first threshold, second threshold, and third threshold, and written into the carbon allowance ledger dataset. The first threshold is 70% of the carbon allowance allocation value, the second threshold is 85% of the carbon allowance allocation value, and the third threshold is 100% of the carbon allowance allocation value. S3, Quota Execution Monitoring and Multi-level Early Warning: Computer equipment collects actual energy consumption data from the energy consumption metering devices of each operating unit according to a preset collection cycle, converts it into quota usage based on the mapping relationship between energy consumption type and carbon emission factor, and records it. S3a, Over-limit prediction based on the current consumption rate: Extract quota usage records and remaining planned tasks for each operating unit across multiple consecutive collection cycles; determine the number of collection cycles included in the preset sliding window; for each collection cycle within the sliding window, obtain the quota usage of the operating unit and the number of planned tasks completed within that collection cycle; divide the quota usage by the number of completed planned tasks to obtain the unit planned task quota usage for that collection cycle; calculate the average of the unit planned task quota usage for valid collection cycles within the sliding window where the number of completed planned tasks is not zero to obtain the unit planned task... The corresponding quota usage is multiplied by the remaining planned tasks to obtain the remaining planned task predicted quota usage. When the number of completed planned tasks in all collection cycles within the sliding window is 0, no over-limit prediction is performed. When the number of completed planned tasks in at least one collection cycle within the sliding window is not 0, the sum of the cumulative quota usage up to the current collection cycle and the remaining planned task predicted quota usage is taken as the full-cycle predicted quota usage. When the full-cycle predicted quota usage is greater than the first threshold corresponding to the operation unit, an early warning signal is generated and sent to the management terminal and the superior scheduling terminal of the operation unit. S3b, Tiered Early Warning: The cumulative quota usage of the operating unit up to the current collection period is compared with the first threshold, the second threshold, and the third threshold. When the first threshold is reached, a first-level early warning signal is generated and sent to the management terminal. When the second threshold is reached, a second-level early warning signal is generated and sent to the management terminal and the superior dispatch terminal. When the third threshold is reached, a third-level early warning signal is generated and sent to the management terminal, the superior dispatch terminal, and the carbon quota management terminal. S3c, Dynamic Recalculation of Warning Thresholds: Within the planned period, the period is recalculated according to preset thresholds. The carbon quota allocation value, first threshold, second threshold, and third threshold of the operating unit are read, along with the quota usage up to the current collection period and the remaining planned tasks. Based on the operating sections and vehicle usage numbers in the remaining planned tasks, carbon emission data corresponding to the same operating sections and vehicle usage numbers in the same historical period are retrieved from the historical carbon emission dataset. The retrieved carbon emission data is summarized at the unit level to obtain the historical carbon emissions of the remaining planned tasks. The carbon quota allocation value is subtracted from the cumulative quota usage up to the current collection period, and then subtracted from the historical carbon emissions of the remaining planned tasks. The resulting difference is determined as the quota difference. The threshold adjustment step size table is retrieved. This table contains the following four quota difference intervals and the corresponding first, second, and third threshold adjustment amounts for each interval: When the quota difference is greater than or equal to 50 tons of CO2 equivalent, the first threshold adjustment is +5 tons of CO2 equivalent, the second threshold adjustment is +8 tons of CO2 equivalent, and the third threshold adjustment is +10 tons of CO2 equivalent. When the quota difference is greater than or equal to 0 tons of CO2 equivalent and less than 50 tons of CO2 equivalent, the first threshold adjustment is +2 tons of CO2 equivalent, the second threshold adjustment is +3 tons of CO2 equivalent, and the third threshold adjustment is +4 tons of CO2 equivalent. When the quota difference is greater than or equal to -50 tons of CO2 equivalent and less than 0 tons of CO2 equivalent, the first threshold adjustment is -2 tons of CO2 equivalent, the second threshold adjustment is -3 tons of CO2 equivalent, and the third threshold adjustment is -4 tons of CO2 equivalent. When the quota difference is less than -50 tons of CO2 equivalent, the first threshold adjustment is -5 tons of CO2 equivalent, the second threshold adjustment is -8 tons of CO2 equivalent, and the third threshold adjustment is -10 tons of CO2 equivalent. Based on the interval into which the quota difference falls, the first threshold adjustment, the second threshold adjustment, and the third threshold adjustment corresponding to that interval are matched. The original first threshold, the second threshold, and the third threshold are added to the corresponding threshold adjustment and written into the carbon quota ledger dataset, overwriting the original threshold field. The recalculated threshold takes effect in the next S3b execution cycle. S3d, Updated Operation Plan Write-back: Receives the updated operation plan returned by the superior scheduling terminal. If the updated operation plan is written back within the same planning period, only the remaining planned tasks in the planned task dataset are updated. The generated carbon quota allocation values ​​are not recalculated. The updated remaining planned tasks enter the S3c process in the next threshold recalculation period. If it crosses into the next planning period, S1-S2 are re-executed to generate new carbon quota ledger records. The updated operation plan is then written back to the operation plan data in the rail transit operation management system to participate in the data acquisition and preprocessing process of the next round of S1.

2. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, In S1, before the computer equipment performs dirty data filtering on historical carbon emission data, it also performs time-granularity missing data completion processing: data records with empty time granularity fields and energy consumption carbon emission records at the immediate preceding and immediate following time granularities within the same operating unit are marked as records to be completed. The energy consumption carbon emission records corresponding to the immediate preceding and immediate following time granularities within the same operating unit are queried. The completion value is the average of the energy consumption carbon emission values ​​at the immediate preceding and immediate following time granularities. The completion value is filled into the time granularity field and energy consumption carbon emission field of the record to be completed. A completion source flag is set for the record to be completed. The completion source flag has a different value from the original data record source flag. The completion source flag and the original data record are written together into the historical carbon emission dataset.

3. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, In S3, the computer equipment collects actual energy consumption data from the energy consumption metering devices of each operating unit according to a preset collection cycle. Specifically, this includes: adding a collection reference time field to the energy consumption data collection request; the energy consumption metering device responding to the collection request returns the actual energy consumption data and the collection timestamp corresponding to each actual energy consumption data; the computer equipment calculates the time difference between the collection timestamp and the collection reference time; energy consumption data records whose time difference exceeds the preset time deviation range are marked as data to be verified; the data to be verified is not written into the actual energy consumption dataset for the time being; the data to be verified is sent to the management terminal of the operating unit; after the management terminal returns a confirmation instruction, the data to be verified is written into the actual energy consumption dataset; and for energy consumption data records whose time difference is within the preset time deviation range, they are aligned with the collection reference time and then written into the actual energy consumption dataset.

4. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, S3 also includes early warning signal merging processing: After generating early warning signals in S3a and generating tiered early warning signals in S3b, the line identifier and dispatch segment identifier of each operating unit that triggered the early warning signal are extracted from the planned task dataset. Multiple early warning signals of the same level belonging to the same line identifier and the same dispatch segment identifier are merged into a segment-level early warning summary signal, which includes the dispatch segment identifier, early warning level, and number of triggering operating units. The segment-level early warning summary signal is sent to the upper-level dispatch terminal, and the early warning signals of each operating unit are sent to the management terminal of each operating unit. For operating units involving third-level early warning signals, the segment-level early warning summary signal is also sent to the carbon quota management terminal.

5. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, In S3, before the updated operation plan is written back to the operation plan data in the rail transit operation management system, conflict detection before writing back is also included: reading the operation plan data of the currently registered operation units from the rail transit operation management system, comparing the planned running segments and running sections in the updated operation plan with the planned running segments and running sections in the registered operation plan data, detecting whether the planned running segments in the updated operation plan overlap with the planned running segments of any other operation unit in the same running section. If the intersection of the planned running segments of two operation units in the same running section is greater than 5 minutes, it is determined to be an overlap. Detecting whether the number of vehicles used in the updated operation plan exceeds the number of available vehicles in the vehicle use plan dataset, when at least one of the following situations is detected (overlapping planned running segments and the number of vehicles used exceeding the number of available vehicles), a conflict prompt signal is generated and sent to the superior dispatch terminal, and the write-back operation is not performed. When no of the above situations is detected, the updated operation plan is written back to the operation plan data in the rail transit operation management system.

6. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, The method also includes S4, quota cycle settlement: after the planning cycle ends, the cumulative quota usage of each operating unit is extracted from the quota usage dataset, the carbon quota allocation value of each operating unit is extracted from the carbon quota ledger dataset, the difference between the cumulative quota usage and the carbon quota allocation value is calculated, a quota settlement report is generated, and it is sent to the carbon quota management terminal and the management terminal of each operating unit. The quota settlement result is written into the quota settlement dataset in the carbon quota allocation database.

7. The method for dynamic allocation and early warning management of carbon quotas for rail transit according to claim 1, characterized in that, In S3, when the cumulative quota usage reaches the third threshold, in addition to generating a third-level warning signal, a quota freeze instruction is also generated and sent to the management terminal of the operating unit to suspend the execution of new high-carbon emission tasks for the operating unit until the upper-level dispatch terminal confirms the updated operating plan and writes it back before the freeze is lifted.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for dynamic allocation and early warning management of carbon quotas for rail transit as described in any one of claims 1 to 7.