Electric power carbon emission flow T-type power supply topology calculation method and system

By identifying and adjusting the power data of T-type power supply scenarios in the high-voltage and low-voltage substations in the power network in the smart grid scheduling and control system, the problem of large carbon flow calculation errors in the prior art is solved, and more accurate carbon emission flow calculation and load balance are achieved.

CN119692644AActive Publication Date: 2025-03-25DALIAN POWER SUPPLY COMPANY STATE GRID LIAONING ELECTRIC POWER
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411391034.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-03-25
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

In the prior art, there are scenarios in the power network where high-voltage substations supply power to T stations at the same time and unreasonable load allocation when low-voltage substations supply power to multiple users at the same time, resulting in large errors in carbon flow calculations and increased calculation amounts.

Method used

Provide a T-type power supply topology calculation method for power carbon emission flow T-type power supply. By acquiring and integrating the data of the smart grid scheduling control system, identifying T-type power supply scenarios of high-voltage and low-voltage substations, adjusting the power data between substations, ensuring that only effective data participates in carbon emission flow calculation, and load data allocation and balance in low-voltage substation T-type power supply scenarios.

Benefits of technology

It reduces the error in carbon flow calculation, improves the accuracy of calculation, ensures that the load demand is close to its actual power supply capacity, and solves the calculation problem in T-type power supply scenarios of high-voltage substations and low-voltage substations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0005072422550000011
    Figure HDA0005072422550000011
Patent Text Reader

Abstract

The invention discloses an electric power carbon emission flow T-type power supply topology calculation method and system, and the method comprises the steps: obtaining original data, carrying out the data integration of data sections of a data file of the original data, carrying out the data storage of the integrated data, comparing the integrated data, and completing the power modification of a T-type power supply field of a high-voltage and low-voltage transformer substation. According to the method, the scene of T-type power supply of two 220KV transformer substations is solved, the loop problem in carbon flow calculation is greatly reduced, part of line data with the starting end power and the tail end power being 0 is effectively supplemented, the loop problem in a power network is solved, power grid management functions such as carbon flow calculation are recovered to be normal, program endless loop is avoided, and the power grid management efficiency is improved. And the accuracy and efficiency of power grid dispatching are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power systems, and in particular relates to a method and system for calculating a T-type power supply topology of a power carbon emission flow. Background Art

[0002] In the power network structure, a T-type power supply station (T station) is found, that is, a T station connects two high-voltage substations with a reference voltage greater than or equal to 230, and radiates downward to a low-voltage substation with a reference voltage less than or equal to 66. In this structure, the power supply scenario in which two high-voltage substations simultaneously supply power to the low-voltage substation through the T station at the same time is unreasonable in the actual power network, because it violates the conventional power transmission logic, challenges the hierarchical and clear design principles of the traditional power network, and will bring a series of technical and management challenges, especially when performing carbon flow calculations (i.e., associating power production with the carbon footprint of emissions), a more accurate model is needed to simulate energy losses and carbon emissions on different paths. This may lead to an increase in the error of traditional power flow calculation methods.

[0003] In the layout of the power network, there are user substations with multiple transformers connected to transmission stations in different directions (such as left / right_T stations), and at the same time serve as the entry and exit points of these transmission stations. In this case, if the electricity generated by photovoltaic or other distributed energy sources of a user substation participates in the power network scheduling, these electricity may be injected into the power grid through different paths, further increasing the uncertainty of the power flow path and leading to an increase in loops in the power network. For the above scenarios, the traditional power flow calculation method will consider all possible power flow paths as much as possible in the carbon flow calculation due to the increase in the existence of loops in the power network, which may lead to a sharp increase in the amount of calculation, and even cause the program to fall into an infinite loop in some cases.

[0004] Smart grid dispatching and control system is an existing intelligent management system in the power grid system, including the dispatching D5000 system. The dispatching D5000 system is an advanced power grid dispatching and management system that can monitor and control the operation of the power grid in real time. The system is widely used in dispatching centers at all levels of the State Grid and is currently a widely used power grid dispatching and control system in the domestic power industry. The D5000 system adopts a distributed architecture and consists of multiple subsystems. The subsystems communicate through the network to achieve data sharing and coordination. The system can collect, process and store a large amount of power grid data in real time, such as voltage, current, power and other indicators. The dispatching D5000 system contains a variety of data files, some of which are stored in the CIME file format. It has functions such as multi-link acquisition, multi-protocol, load balancing, multi-source data acquisition, and data forwarding, and plays an important role in improving the stability, reliability, economy and reducing labor costs of the power grid.

[0005] Carbon flow calculation in power system mainly refers to the process of quantitative analysis of carbon emissions generated in the process of power production and transmission during the operation of power system. This process involves many aspects of power system, including but not limited to power generation, transmission, distribution and final power consumption. Carbon flow calculation is usually carried out on the basis of power flow calculation of power system. Power flow calculation is a method to analyze the steady-state operation of power system. It can determine the voltage, phase angle and power flow of each node in the power system under given operating conditions. Carbon flow calculation introduces the factor of carbon emission into power flow calculation, so as to focus not only on the flow of electric energy but also on the flow of carbon emission. Through such calculation, power system operators and planners can obtain detailed information about the distribution of carbon emissions in the system, which is very important for implementing emission reduction measures, optimizing grid operation and supporting policy making. Related literature on carbon flow calculation includes: A preliminary study on the calculation method of carbon emission flow in power system [J]. Zhou Tianrui; Kang Chongqing; Xu Qianyao; Chen Qixin. Automation of Electric Power System, 2012(11);

[0006] Research on optimization of carbon flow calculation in power system based on graphical model[J].Qiu Bidan;Zheng Yiqiu;Huang Longjie;Peng Bin;Xiang Zouxiang.Big Data,2024(10). Summary of the invention

[0007] The purpose of the present invention is to solve the problem in the prior art that two high-voltage substations, i.e., substations with a reference voltage value greater than or equal to 230, simultaneously supply power to a T station, i.e., a high-voltage substation T-type power supply scenario. However, since two high-voltage substations will not simultaneously supply power to a T station in reality, this scenario is contrary to the real physical scenario and does not conform to common sense, which will lead to huge errors in carbon flow calculation. At the same time, the prior art also has a scenario in which a low-voltage substation, i.e., a substation with a reference voltage value less than or equal to 66, supplies power to multiple users through a T station at the same time, and the load power distribution is unreasonable, i.e., a low-voltage substation T-type power supply scenario. The load distribution will affect the carbon flow calculation and reduce the accuracy of the carbon flow calculation.

[0008] In order to solve the above problem, the present invention provides a method for calculating the T-type power supply topology of electric power carbon emission flow, comprising the following steps:

[0009] S1: Get raw data;

[0010] S1-1: Smart grid dispatching control system offline export data file, the data file content includes: static archive data section, topology information data section, operating power data section;

[0011] Static archive data nodes include: substation archive data node, generator set archive data node, load archive data node;

[0012] The topology information data section includes: substation connection file data section;

[0013] The operating power data section includes: the active power value data section of the unique line and substation associated with the metering point equipment;

[0014] S2: Raw data integration;

[0015] S2-1: file data is entered into the database;

[0016] Extract the data information of the substation archive data section, create a new substation archive table TableA, and record the data information of the substation's unique identifier, substation name, substation type and reference voltage field in TableA;

[0017] Extract the data information of the generator set archive data section, create a new generator set archive table TableB, and record the data information of the generator set's unique identifier, generator set name, voltage level, substation unique identifier, power generation and data date in TableB;

[0018] Extract the data information of the load archive data section, create a new load archive table TableC, and maintain the data information of the load's unique identifier, load name, substation unique identifier, load power and data date in the data table;

[0019] Extract the data information of the substation connection file data section, and create a new substation connection file table TableD, in which TableD records the data information of the line's unique identifier, line name, line start station identifier, line end station identifier, voltage level and data date;

[0020] Extract the data information of the active power value data node of the unique line associated with the metering point device and the substation, create a new active power management table TableE of the unique line associated with the metering point device and the substation, and record the data information of the unique device identifier at one end of the line of the metering point, the line name, the unique identifier of the substation to which it belongs, the unique identifier of the line, the power and the data date in the data table;

[0021] S2-2: Data integration;

[0022] S2-2-1: Create a new raw data integration table TableG, record the data date, line unique identifier, line name, starting station unique identifier, starting station name, terminal station unique identifier, terminal station name, voltage level, starting station metering point unique identifier, starting end power, terminal station metering point unique identifier and terminal power fields;

[0023] S2-2-2: Get all data records of a certain date from TableD, and insert them into TableG in sequence. Compare the starting station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the starting station name field value of TableG data to the substation name field value in TableA. Compare the terminal station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the terminal station name field value in TableG data to the substation name field value in TableA. The segment value is compared with the substation unique identifier field value of TableE. If the two are the same, the starting station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the starting end power field value of TableG data is modified to the power field value of TableE; the terminal station unique identifier field value in the new data just inserted into TableG is compared with the substation unique identifier field value of TableE. If the two are the same, the terminal station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the terminal power field value of TableG data is modified to the power field value of TableE;

[0024] S3: T-type power supply scenario of high voltage substation;

[0025] S3-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field digital value is greater than or equal to 230 is recorded as set RA = {RA1, RA2, RA3...};

[0026] In TableG, all the terminal station name field values ​​are suffixed with the word "T station", and the starting station unique identification field value belongs to the set RA, which is recorded as set R = {R1, R2, R3...}. The power supply of each T station in R meets the T-type power supply scenario of the high-voltage substation;

[0027] S3-2: The set R is grouped according to the terminal station name field. In each group, the starting end power field values ​​of the two data records in the group are compared, and the incoming line data record with the smallest starting end power is selected, which is recorded as Rsmall, and the incoming line data record with the largest starting end power is recorded as Rbig;

[0028] S3-3: add the starting power field value of Rbig to the starting power field value of Rsmall, modify the ending power field value of Rbig to the opposite of its starting power field value, and modify both the starting power field value and the ending power field value of Rsmall to 0;

[0029] Through the processing of step S3, there is only one data record between the two high-voltage substations, i.e., the substation with a reference voltage value greater than or equal to 230 and the T station, where the power at both ends of the line is not 0, i.e., valid data. Only this valid data is used in the calculation process of the carbon emission flow;

[0030] S4: T-type power supply scenario of low voltage substation;

[0031] S4-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field values ​​of substations are less than or equal to 66, denoted as M = {M1, M2, M3...};

[0032] In TableG, all data records that meet one of the following conditions are recorded as set Z = {Z1, Z2, Z3...}, which is determined to be a low-voltage substation T-type power supply scenario. The specific conditions are as follows:

[0033] T1: When the starting station unique identification field value belongs to the set M, the terminal station name field also contains: Left_T station or Right_T station;

[0034] T2: When the end station unique identification field value belongs to the set M, and the start station name field contains: Left_T station or Right_T station;

[0035] The set of data records that only meet the T1 condition is recorded as set ZT1 = {Z1(T1), Z2(T1), Z3(T1)...};

[0036] The set of data records that only meet the T2 condition is recorded as set ZT2 = {Z1(T2), Z2(T2), Z3(T2)...};

[0037] S4-2: Substation splitting process;

[0038] Add the suffix: _1 to the start station unique identification field value and the start station name field value of each data record in the set ZT1, and add the suffix: _2 to the end station unique identification field value and the end station name field value of each data record in the set ZT2;

[0039] S4-3: Load data distribution and balancing;

[0040] In Table C, the load name field value of each data record consists of the plant name / load number plus the suffix load. The load number consists of 3 digits, of which the first digit can only be 1 or 2, and the following two digits are arbitrary.

[0041] For each data record in the set ZT1, first remove the last two suffixes _1 from the starting station unique identification field value of the Zi(T1)(i∈N+) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE1, group all the data records in the set ZE1 according to the first digit of the load number in the load name field value, and calculate the total value of all load power field values ​​in each group. The total load of the group whose first digit of the load number is 1 is recorded as P1. Therefore, the load amount that the plant station of the Zi(T1) data record can allocate is P1, that is, the starting end power field value of the Zi(T1) data record is modified to P1.

[0042] For each data record in the set ZT2, first remove the last two suffixes _2 from the starting station unique identification field value of the Zi(T2) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE2, group all the data records in the set ZE2 according to the first digit of the load number in the load name field value, i.e., 1 or 2, and calculate the total value of all load power field values ​​in each group; the total load of the group whose first digit of the load number is 2 is recorded as P2, so the load amount that the plant station of the Zi(T2)(i∈N+) data record can allocate is P2, that is, the terminal power field value of the Zi(T2) data record is modified to P2;

[0043] When performing load balancing within the power grid, the load is distributed according to the above, that is, the starting power field value of the Zi(T1) data record is modified to P1, and the ending power field value of the Zi(T2) data record is modified to P2, which can ensure that the load demand is as close as possible to its actual power supply capacity.

[0044] A T-type power supply topology calculation system for electric power carbon emission flow, comprising: a data acquisition module, a data integration module, and a comparison module;

[0045] M1: Get the original data;

[0046] The data acquisition module exports data files offline from the smart grid dispatching and control system. The data file contents include: static archive data section, topology information data section, and operating power data section;

[0047] Static archive data nodes include: substation archive data node, generator set archive data node, load archive data node;

[0048] The topology information data section includes: substation connection file data section;

[0049] The operating power data section includes: the active power value data section of the unique line and substation associated with the metering point equipment;

[0050] M2: Raw data integration;

[0051] M2-1: file data is entered into the database;

[0052] The data integration module extracts data information of the substation archive data section, creates a new substation archive table TableA, and records data information of the substation's unique identifier, substation name, substation type, and reference voltage field in TableA;

[0053] The data integration module extracts the data information of the generator set archive data section, and creates a new generator set archive table Table B, which records the data information of the generator set's unique identifier, generator set name, voltage level, substation unique identifier, power generation and data date;

[0054] The data integration module extracts the data information of the load archive data section, creates a new load archive table TableC, and maintains the data information of the load's unique identifier, load name, substation unique identifier, load power and data date in the data table;

[0055] The data integration module extracts data information of the substation connection file data section, and creates a new substation connection file table TableD, which records the data information of the line's unique identifier, line name, line start station identifier, line end station identifier, voltage level and data date;

[0056] The data integration module extracts the data information of the active power value data node of the unique line associated with the metering point device and the substation, and creates a new active power management table Table E of the unique line associated with the metering point device and the substation. The data table records the data information of the unique device identifier at one end of the line of the metering point, the line name, the unique identifier of the substation to which it belongs, the unique identifier of the line, the power and the data date;

[0057] M2-2: Data integration;

[0058] M2-2-1: The data integration module creates a new raw data integration table TableG, which records the data date, line unique identifier, line name, starting station unique identifier, starting station name, terminal station unique identifier, terminal station name, voltage level, starting station metering point unique identifier, starting terminal power, terminal station metering point unique identifier and terminal power related fields;

[0059] M2-2-2: The data integration module obtains all data records of a certain date from TableD, and inserts them into TableG in sequence. The starting station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the starting station name field value of TableG data is modified to the substation name field value in TableA. The terminal station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the terminal station name field value in TableG data is modified to the substation name field value in TableA. The starting station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the terminal station name field value in TableG data is modified to the substation name field value in TableA. The identification field value is compared with the substation unique identifier field value of TableE. If the two are the same, the starting station metering point unique identification field value of TableG data is modified to the line end unique equipment identifier field value of TableE, and the starting end power field value of TableG data is modified to the power field value of TableE; the terminal station unique identification field value in the new data just inserted into TableG is compared with the substation unique identifier field value of TableE. If the two are the same, the terminal station metering point unique identification field value of TableG data is modified to the line end unique equipment identifier field value of TableE, and the terminal power field value of TableG data is modified to the power field value of TableE;

[0060] M3: T-type power supply scenario of high voltage substation;

[0061] M3-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field digital value is greater than or equal to 230, denoted as set RA = {RA1, RA2, RA3...};

[0062] In TableG, all the terminal station name field values ​​are suffixed with the word "T station", and the starting station unique identification field value belongs to the set RA, which is recorded as set R = {R1, R2, R3...}. The power supply of each T station in R meets the T-type power supply scenario of the high-voltage substation;

[0063] M3-2: The set R is grouped according to the terminal station name field. In each group, the comparison module compares the starting end power field values ​​of the two data records in the group, and selects the incoming line data record with the smallest starting end power, recorded as Rsmall, and the incoming line data record with the largest starting end power, recorded as Rbig;

[0064] M3-3: add the starting power field value of Rbig to the starting power field value of Rsmall, modify the ending power field value of Rbig to the opposite of its starting power field value, and modify both the starting power field value and the ending power field value of Rsmall to 0;

[0065] M4: Low voltage substation T-type power supply scenario;

[0066] M4-1: in Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field value of the substation is less than or equal to 66, denoted as M = {M1, M2, M3...};

[0067] In TableG, all data records that meet one of the following conditions are recorded as set Z = {Z1, Z2, Z3...}, which is determined to be a low-voltage substation T-type power supply scenario. The specific conditions are as follows:

[0068] T1: When the starting station unique identification field value belongs to the set M, the terminal station name field also contains: Left_T station or Right_T station;

[0069] T2: When the end station unique identification field value belongs to the set M, and the start station name field contains: Left_T station or Right_T station;

[0070] The set of data records that only meet the T1 condition is recorded as set ZT1 = {Z1(T1), Z2(T1), Z3(T1)...};

[0071] The set of data records that only meet the T2 condition is recorded as set ZT2 = {Z1(T2), Z2(T2), Z3(T2)...};

[0072] M4-2: Substation splitting process;

[0073] Add the suffix: _1 to the start station unique identification field value and the start station name field value of each data record in the set ZT1, and add the suffix: _2 to the end station unique identification field value and the end station name field value of each data record in the set ZT2;

[0074] M4-3: Load data distribution and balancing;

[0075] In Table C, the load name field value of each data record consists of the plant name / load number plus the suffix load. The load number consists of 3 digits, of which the first digit can only be 1 or 2, and the following two digits are arbitrary.

[0076] The comparison module compares each data record in the set ZT1 in turn, first removing the last two suffixes _1 from the starting station unique identification field value of the Zi(T1)(i∈N+) data record and the substation unique identification field value of each data record in the TableG table one by one. If the two are the same, the data record is put into the set ZE1, and all data records in the set ZE1 are grouped according to the first digit of the load number in the load name field value, and the total value of all load power field values ​​in each group is calculated. The total load of the group whose first digit of the load number is 1 is recorded as P1, so the load amount that the plant station of the Zi(T1) data record can allocate is P1;

[0077] The comparison module compares each data record in the set ZT2 in turn, first removing the last two suffixes _2 from the starting station unique identification field value of the Zi(T2) data record and the substation unique identification field value of each data record in the TableG table one by one. If the two are the same, the data record is put into the set ZE2, and all data records in the set ZE2 are grouped according to the first digit of the load number in the load name field value, that is, 1 or 2, and the total value of all load power field values ​​in each group is calculated; the total load of the group whose first digit of the load number is 2 is recorded as P2, so the load amount that can be allocated to the plant station of the Zi(T2)(i∈N+) data record is P2.

[0078] The beneficial effects of the present invention are as follows: by comparing the power size of the starting end of the substation, the end with the largest power at the starting end plus the end with the smallest power at the starting end is modified to the opposite number of the power field value of the starting end itself, and the starting end power field value and the terminal power field value of the starting end with the smallest power end are all modified to 0, which solves the problem that two high-voltage substations (i.e., substations with a reference voltage value greater than or equal to 230) in the original data supply power to a T station at the same time, and reduces the error in carbon flow calculation. At the same time, by comparing the unique identification field value of the starting station with the unique identification field value of each data record in the TableG table one by one, grouping according to the first digit of the load number in the load name field value, calculating the total value of all load power field values ​​in each group, and recording the total load of the group with the first digit of the load number being 1 as P1, that is, modifying the starting end power field value of the data record to P1, solving the problem of load distribution when a low-voltage substation (i.e., a substation with a reference voltage value less than or equal to 66) in the original data supplies power to multiple users through the T station at the same time, so that the influence of the load on the calculation result is considered in the carbon flow calculation process, and the accuracy of the carbon flow calculation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 It is a schematic diagram of the implementation process of the present invention. DETAILED DESCRIPTION

[0080] The specific process of the present invention is described below in conjunction with the accompanying drawings:

[0081] S1: Get raw data;

[0082] From the scheduling D5000 system, export the file in the format of D5000_20240701_000001.CIME offline;

[0083] The content of the CIME file includes static archive data section, topology information data section, and operating power data section;

[0084] Static archive data nodes include: substation archive data node, generator set archive data node, load archive data node;

[0085] The topology information data section includes: substation connection file data section;

[0086] The operating power data section includes: the active power value data section of the unique line and substation associated with the metering point equipment;

[0087] S2: Raw data integration;

[0088] S2-1: file data is entered into the database;

[0089] Extract the data information of the substation archive data section, create a new substation archive table TableA, and record the data information of the substation's unique identifier, substation name, substation type and reference voltage field in TableA;

[0090] Extract the data information of the generator set archive data section, create a new generator set archive table TableB, and record the data information of the generator set's unique identifier, generator set name, voltage level, substation unique identifier, power generation and data date in TableB;

[0091] Extract the data information of the load archive data section, create a new load archive table TableC, and maintain the data information of the load's unique identifier, load name, substation unique identifier, load power and data date in the data table;

[0092] Extract the data information of the substation connection file data section, and create a new substation connection file table TableD, in which TableD records the data information of the line's unique identifier, line name, line start station identifier, line end station identifier, voltage level and data date;

[0093] Extract the data information of the active power value data node of the unique line associated with the metering point device and the substation, create a new active power management table TableE of the unique line associated with the metering point device and the substation, and record the data information of the unique device identifier at one end of the line of the metering point, the line name, the unique identifier of the substation to which it belongs, the unique identifier of the line, the power and the data date in the data table;

[0094] S2-2: Data integration;

[0095] S2-2-1: Create a new raw data integration table TableG to record data date, line unique identifier, line name, starting station unique identifier, starting station name, terminal station unique identifier, terminal station name, voltage level, starting station metering point unique identifier, starting terminal power, terminal station metering point unique identifier and terminal power related fields;

[0096] S2-2-2: Get all data records of a certain date from TableD, and insert them into TableG in sequence. Compare the starting station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the starting station name field value of TableG data to the substation name field value in TableA. Compare the terminal station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the terminal station name field value in TableG data to the substation name field value in TableA. The segment value is compared with the substation unique identifier field value of TableE. If the two are the same, the starting station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the starting end power field value of TableG data is modified to the power field value of TableE; the terminal station unique identifier field value in the new data just inserted into TableG is compared with the substation unique identifier field value of TableE. If the two are the same, the terminal station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the terminal power field value of TableG data is modified to the power field value of TableE;

[0097] S3: T-type power supply scenario of high voltage substation;

[0098] S3-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field digital value is greater than or equal to 230 is recorded as set RA = {RA1, RA2, RA3...};

[0099] In TableG, all the terminal station name field values ​​are suffixed with the word "T station", and the starting station unique identification field value belongs to the set RA, which is recorded as set R = {R1, R2, R3...}. The power supply of each T station in R meets the T-type power supply scenario of the high-voltage substation;

[0100] S3-2: The set R is grouped according to the terminal station name field. In each group, the starting end power field values ​​of the two data records in the group are compared, and the incoming line data record with the smallest starting end power is selected, which is recorded as Rsmall, and the incoming line data record with the largest starting end power is recorded as Rbig;

[0101] S3-3: add the starting power field value of Rbig to the starting power field value of Rsmall, modify the ending power field value of Rbig to the opposite of its starting power field value, and modify both the starting power field value and the ending power field value of Rsmall to 0;

[0102] Through the processing of step S3, there is only one data record between the two high-voltage substations, i.e., the substation with a reference voltage value greater than or equal to 230 and the T station, where the power at both ends of the line is not 0, i.e., valid data. Only this valid data is used in the calculation process of the carbon emission flow;

[0103] S4: T-type power supply scenario of low voltage substation;

[0104] S4-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field values ​​of substations are less than or equal to 66, denoted as M = {M1, M2, M3...};

[0105] In TableG, all data records that meet one of the following conditions are recorded as set Z = {Z1, Z2, Z3...}, which is determined to be a low-voltage substation T-type power supply scenario. The specific conditions are as follows:

[0106] T1: When the starting station unique identification field value belongs to the set M, the terminal station name field also contains: Left_T station or Right_T station;

[0107] T2: When the end station unique identification field value belongs to the set M, and the start station name field contains: Left_T station or Right_T station;

[0108] The set of data records that only meet the T1 condition is recorded as set ZT1 = {Z1(T1), Z2(T1), Z3(T1)...};

[0109] The set of data records that only meet the T2 condition is recorded as set ZT2 = {Z1(T2), Z2(T2), Z3(T2)...};

[0110] S4-2: Substation splitting process;

[0111] Add the suffix: _1 to the start station unique identification field value and the start station name field value of each data record in the set ZT1, and add the suffix: _2 to the end station unique identification field value and the end station name field value of each data record in the set ZT2;

[0112] S4-3: Load data distribution and balancing;

[0113] In Table C, the load name field value of each data record consists of the plant name / load number plus the suffix load. The load number consists of 3 digits, of which the first digit can only be 1 or 2, and the following two digits are arbitrary.

[0114] For each data record in the set ZT1, first remove the last two suffixes _1 from the starting station unique identification field value of the Zi(T1)(i∈N+) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE1, group all the data records in the set ZE1 according to the first digit of the load number in the load name field value, and calculate the total value of all load power field values ​​in each group. The total load of the group whose first digit of the load number is 1 is recorded as P1. Therefore, the load amount that the plant station of the Zi(T1) data record can allocate is P1, that is, the starting end power field value of the Zi(T1) data record is modified to P1.

[0115] For each data record in the set ZT2, first remove the last two suffixes _2 from the starting station unique identification field value of the Zi(T2) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE2, group all the data records in the set ZE2 according to the first digit of the load number in the load name field value, i.e., 1 or 2, and calculate the total value of all load power field values ​​in each group; the total load of the group whose first digit of the load number is 2 is recorded as P2, so the load amount that the plant station of the Zi(T2)(i∈N+) data record can allocate is P2, that is, the terminal power field value of the Zi(T2) data record is modified to P2;

[0116] When performing load balancing within the power grid, the load is distributed according to the above, that is, the starting power field value of the Zi(T1) data record is modified to P1, and the ending power field value of the Zi(T2) data record is modified to P2, which can ensure that the load demand is as close as possible to its actual power supply capacity.

[0117] The present invention is used specifically, and is calculated based on the data of Dalian City, Liaoning Province on July 1, 2024. Through actual verification, the present invention calculates and obtains: the starting end power modification value of Shuangxi Station in the T-type power supply scenario of a high-voltage substation composed of two high-voltage substations (Wanbao New Station and Shuangxi Station) and a low-voltage substation (Gangdian Station) is 5.885522, and the incoming power modification values ​​of the two low-voltage substations split from Chengnan Station in the T-type power supply scenario of the low-voltage substation where the low-voltage substation (Chengnan Station) is located are 9.325 and 11.097 respectively. The power of the high-voltage substation obtained from the existing original data is 5.552367, and the incoming power of the low-voltage substation is always 0. After modifying the substation power value obtained by the present invention, the problem of high and low voltages in the circuit is solved, the circuit is restored to the actual power supply scenario, an accurate circuit power value is obtained, and the accuracy of the carbon flow calculation is improved.

[0118] The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for calculating a T-type power supply topology of electric power carbon emission flow, characterized in that: The steps include: S1: Get raw data; S1-1: Smart grid dispatching control system offline export data file, the data file content includes: static archive data section, topology information data section, operating power data section; Static archive data nodes include: substation archive data node, generator set archive data node, load archive data node; The topology information data section includes: substation connection file data section; The operating power data section includes: the active power value data section of the unique line and substation associated with the metering point equipment; S2: Raw data integration; S2-1: File data is entered into the database; Extract the data information of the substation archive data section, create a new substation archive table TableA, and record the data information of the substation's unique identifier, substation name, substation type and reference voltage field in TableA; Extract the data information of the generator set archive data section, create a new generator set archive table TableB, and record the data information of the generator set's unique identifier, generator set name, voltage level, substation unique identifier, power generation and data date in TableB; Extract the data information of the load archive data section, create a new load archive table TableC, and maintain the data information of the load's unique identifier, load name, substation unique identifier, load power and data date in the data table; Extract the data information of the substation connection file data section, and create a new substation connection file table TableD, in which TableD records the data information of the line's unique identifier, line name, line start station identifier, line end station identifier, voltage level and data date; Extract the data information of the active power value data node of the unique line associated with the metering point device and the substation, create a new active power management table TableE of the unique line associated with the metering point device and the substation, and record the data information of the unique device identifier at one end of the line of the metering point, the line name, the unique identifier of the substation to which it belongs, the unique identifier of the line, the power and the data date in the data table; S2-2: Data integration; S2-2-1: Create a new raw data integration table TableG, record the data date, line unique identifier, line name, starting station unique identifier, starting station name, terminal station unique identifier, terminal station name, voltage level, starting station metering point unique identifier, starting end power, terminal station metering point unique identifier and terminal power fields; S2-2-2: Get all data records of a certain date from TableD, and insert them into TableG in sequence. Compare the starting station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the starting station name field value of TableG data to the substation name field value in TableA. Compare the terminal station unique identification field value in the newly inserted data of TableG with the substation unique identifier field value in TableA one by one. If the two are the same, modify the terminal station name field value in TableG data to the substation name field value in TableA. The segment value is compared with the substation unique identifier field value of TableE. If the two are the same, the starting station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the starting end power field value of TableG data is modified to the power field value of TableE; the terminal station unique identifier field value in the new data just inserted into TableG is compared with the substation unique identifier field value of TableE. If the two are the same, the terminal station metering point unique identifier field value of TableG data is modified to the line end unique device identifier field value of TableE, and the terminal power field value of TableG data is modified to the power field value of TableE; S3: T-type power supply scenario of high voltage substation; S3-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field digital value is greater than or equal to 230 is recorded as set RA = {RA1, RA2, RA3...}; In TableG, all the terminal station name field values ​​are suffixed with the word "T station", and the starting station unique identification field value belongs to the set RA, which is recorded as set R = {R1, R2, R3...}. The power supply of each T station in R meets the T-type power supply scenario of the high-voltage substation; S3-2: The set R is grouped according to the terminal station name field. In each group, the starting end power field values ​​of the two data records in the group are compared, and the incoming line data record with the smallest starting end power is selected, which is recorded as Rsmall, and the incoming line data record with the largest starting end power is recorded as Rbig; S3-3: add the starting power field value of Rbig to the starting power field value of Rsmall, modify the ending power field value of Rbig to the opposite of its starting power field value, and modify both the starting power field value and the ending power field value of Rsmall to 0; Through the processing of step S3, there is only one data record between the two high-voltage substations, i.e., the substation with a reference voltage value greater than or equal to 230 and the T station, where the power at both ends of the line is not 0, i.e., valid data. Only this valid data is used in the calculation process of the carbon emission flow, which is close to the actual power supply capacity; S4: T-type power supply scenario of low voltage substation; S4-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field values ​​of substations are less than or equal to 66, denoted as M = {M1, M2, M3...}; In TableG, all data records that meet one of the following conditions are recorded as set Z = {Z1, Z2, Z3...}, which is determined to be a low-voltage substation T-type power supply scenario. The specific conditions are as follows: T1: When the starting station unique identification field value belongs to the set M, the terminal station name field also contains: Left_T station or Right_T station; T2: When the end station unique identification field value belongs to the set M, and the start station name field contains: Left_T station or Right_T station; The set of data records that only meet the T1 condition is recorded as set ZT1 = {Z1(T1), Z2(T1), Z3(T1)...}; The set of data records that only meet the T2 condition is recorded as set ZT2 = {Z1(T2), Z2(T2), Z3(T2)...}; S4-2: Substation splitting process; Add the suffix: _1 to the start station unique identification field value and the start station name field value of each data record in the set ZT1, and add the suffix: _2 to the end station unique identification field value and the end station name field value of each data record in the set ZT2; S4-3: Load data distribution and balancing; In Table C, the load name field value of each data record consists of the plant name / load number plus the suffix load. The load number consists of 3 digits, of which the first digit can only be 1 or 2, and the following two digits are arbitrary. For each data record in the set ZT1, first remove the last two suffixes _1 from the starting station unique identification field value of the Zi(T1)(i∈N+) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE1, group all data records in the set ZE1 according to the first digit of the load number in the load name field value, and calculate the total value of all load power field values ​​in each group. The total load of the group whose first digit of the load number is 1 is recorded as P1. Therefore, the load amount that the plant station of the Zi(T1) data record can allocate is P1, that is, the starting end power field value of the Zi(T1) data record is modified to P1; For each data record in the set ZT2, first remove the last two suffixes _2 from the starting station unique identification field value of the Zi(T2) data record and compare it with the substation unique identification field value of each data record in the TableG table. If the two are the same, put the data record into the set ZE2, group all the data records in the set ZE2 according to the first digit of the load number in the load name field value, i.e., 1 or 2, and calculate the total value of all load power field values ​​in each group; the total load of the group whose first digit of the load number is 2 is recorded as P2, so the load amount that the plant station of the Zi(T2)(i∈N+) data record can allocate is P2, that is, the terminal power field value of the Zi(T2) data record is modified to P2; When performing load balancing within the power grid, the load is distributed according to the above, that is, the starting power field value of the Zi(T1) data record is modified to P1, and the ending power field value of the Zi(T2) data record is modified to P2, ensuring that the load demand is as close as possible to its actual power supply capacity.

2. A T-type power supply topology calculation system for electric power carbon emission flow, characterized in that: include: Data acquisition module, data integration module, comparison module; M1: Get the original data; The data acquisition module exports data files offline from the smart grid dispatching and control system. The data file contents include: static archive data section, topology information data section, and operating power data section; Static archive data nodes include: substation archive data node, generator set archive data node, load archive data node; The topology information data section includes: substation connection file data section; The operating power data section includes: the active power value data section of the unique line and substation associated with the metering point equipment; M2: Raw data integration; M2-1: file data is entered into the database; The data integration module extracts data information of the substation archive data section, creates a new substation archive table TableA, and records data information of the substation's unique identifier, substation name, substation type, and reference voltage field in TableA; The data integration module extracts the data information of the generator set archive data section, and creates a new generator set archive table Table B, which records the data information of the generator set's unique identifier, generator set name, voltage level, substation unique identifier, power generation and data date; The data integration module extracts the data information of the load archive data section, creates a new load archive table TableC, and maintains the data information of the load's unique identifier, load name, substation unique identifier, load power and data date in the data table; The data integration module extracts data information of the substation connection file data section, and creates a new substation connection file table TableD, which records the data information of the line's unique identifier, line name, line start station identifier, line end station identifier, voltage level and data date; The data integration module extracts the data information of the active power value data node of the unique line associated with the metering point device and the substation, and creates a new active power management table Table E of the unique line associated with the metering point device and the substation. The data table records the data information of the unique device identifier at one end of the line of the metering point, the line name, the unique identifier of the substation to which it belongs, the unique identifier of the line, the power and the data date; M2-2: Data integration; M2-2-1: The data integration module creates a new raw data integration table TableG, which records the data date, line unique identifier, line name, starting station unique identifier, starting station name, terminal station unique identifier, terminal station name, voltage level, starting station metering point unique identifier, starting terminal power, terminal station metering point unique identifier and terminal power related fields; M2-2-2: The data integration module obtains all data records of a certain date from TableD, and inserts them into TableG in sequence. The starting station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the starting station name field value of TableG data is modified to the substation name field value in TableA. The terminal station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the terminal station name field value in TableG data is modified to the substation name field value in TableA. The starting station unique identification field value in the newly inserted data of TableG is compared with the substation unique identifier field value in TableA. If the two are the same, the terminal station name field value in TableG data is modified to the substation name field value in TableA. The identification field value is compared with the substation unique identifier field value of TableE. If the two are the same, the starting station metering point unique identification field value of TableG data is modified to the line end unique equipment identifier field value of TableE, and the starting end power field value of TableG data is modified to the power field value of TableE; the terminal station unique identification field value in the new data just inserted into TableG is compared with the substation unique identifier field value of TableE. If the two are the same, the terminal station metering point unique identification field value of TableG data is modified to the line end unique equipment identifier field value of TableE, and the terminal power field value of TableG data is modified to the power field value of TableE; M3: T-type power supply scenario of high voltage substation; M3-1: In Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field digital value is greater than or equal to 230, denoted as set RA = {RA1, RA2, RA3...}; In TableG, all the terminal station name field values ​​are suffixed with the word "T station", and the starting station unique identification field value belongs to the set RA, which is recorded as set R = {R1, R2, R3...}. The power supply of each T station in R meets the T-type power supply scenario of the high-voltage substation; M3-2: The set R is grouped according to the terminal station name field. In each group, the comparison module compares the starting end power field values ​​of the two data records in the group, and selects the incoming line data record with the smallest starting end power, recorded as Rsmall, and the incoming line data record with the largest starting end power, recorded as Rbig; M3-3: add the starting power field value of Rbig to the starting power field value of Rsmall, modify the ending power field value of Rbig to the opposite of its starting power field value, and modify both the starting power field value and the ending power field value of Rsmall to 0; M4: Low voltage substation T-type power supply scenario; M4-1: in Table A, the set of substation unique identifier field values ​​of all data records whose reference voltage field value of the substation is less than or equal to 66, denoted as M = {M1, M2, M3...}; In TableG, all data records that meet one of the following conditions are recorded as set Z = {Z1, Z2, Z3...}, which is determined to be a low-voltage substation T-type power supply scenario. The specific conditions are as follows: T1: When the start station unique identification field value belongs to the set M, the end station name field also contains: left_T station or right_T station; T2: When the end station unique identification field value belongs to the set M, and the start station name field contains: Left_T station or Right_T station; The set of data records that only meet the T1 condition is recorded as set ZT1 = {Z1(T1), Z2(T1), Z3(T1)...}; The set of data records that only meet the T2 condition is recorded as set ZT2 = {Z1(T2), Z2(T2), Z3(T2)...}; M4-2: Substation splitting process; Add the suffix: _1 to the start station unique identification field value and the start station name field value of each data record in the set ZT1, and add the suffix: _2 to the end station unique identification field value and the end station name field value of each data record in the set ZT2; M4-3: Load data distribution and balancing; In Table C, the load name field value of each data record consists of the plant name / load number plus the suffix load. The load number consists of 3 digits, of which the first digit can only be 1 or 2, and the following two digits are arbitrary. The comparison module compares each data record in the set ZT1 in turn, first removing the last two suffixes _1 from the starting station unique identification field value of the Zi(T1)(i∈N+) data record and the substation unique identification field value of each data record in the TableG table one by one. If the two are the same, the data record is put into the set ZE1, and all data records in the set ZE1 are grouped according to the first digit of the load number in the load name field value, and the total value of all load power field values ​​in each group is calculated. The total load of the group whose first digit of the load number is 1 is recorded as P1, so the load amount that the plant station of the Zi(T1) data record can allocate is P1; The comparison module compares each data record in the set ZT2 in turn, first removing the last two suffixes _2 from the starting station unique identification field value of the Zi(T2) data record and the substation unique identification field value of each data record in the TableG table one by one. If the two are the same, the data record is put into the set ZE2, and all data records in the set ZE2 are grouped according to the first digit of the load number in the load name field value, that is, 1 or 2, and the total value of all load power field values ​​in each group is calculated; the total load of the group whose first digit of the load number is 2 is recorded as P2, so the load amount that can be allocated to the plant station of the Zi(T2)(i∈N+) data record is P2.

Citation Information

Patent Citations

  • Method and system for assessing distributed photovoltaic access capability in low-voltage area

    CN107508323A

  • Power grid topology model construction method, device and system

    CN110783922A

  • Distributed real-time carbon flow calculation method

    CN116205521A

  • Hybrid Energy Storage System

    KR102035223B1