Closed-loop operation customer charge settlement method and system applying crossing power
By establishing a daily clearing and monthly cumulative quantity and fee settlement model, using multi-point collection curve table data to process and smooth outliers, and combining it with the Marketing 2.0 system to achieve automated settlement, the problems of difficult dynamic tracking of power flows, large errors in metering equipment, and heavy workload in manual settlement in traditional electricity bill settlement methods have been solved, achieving precise and automated electricity bill settlement and improving the operational efficiency of the power market.
Patent Information
- Application Number
- CN202511284685.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-10
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-09-10
AI Technical Summary
Traditional electricity bill settlement methods are difficult to accurately track complex and changeable power flows. Inconsistent metering equipment accuracy leads to large data collection errors, inaccurate electricity metering when circulation anomalies occur, and the workload of manual settlement is large, which cannot meet the precision and automation needs of the power market.
Establish a daily clearing and monthly cumulative quantity and fee settlement model, collect curve table code data at multiple points, perform outlier detection and elimination, smoothing and missing value processing, calculate the daily clearing electricity volume at each preset time, use the daily clearing cumulative electricity volume as the final settlement electricity volume for monthly electricity bill settlement, and use the preset multiple of the maximum daily clearing electricity volume as the maximum value of the transmission and distribution demand electricity fee. Use 96 points of curve table code data collected every 15 minutes, and combine it with the Marketing 2.0 system for automated settlement.
It has achieved precision and automation in electricity bill settlement, reduced manual intervention, improved the accuracy and efficiency of settlement, met the rapid development needs of the electricity market, reduced operating costs, and enhanced the competitiveness of power companies.
Smart Images

Figure CN120804544A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of power system quantity settlement, and particularly relates to a method and system for ring closing operation customer quantity settlement by applying through power. BACKGROUND
[0002] In a power system, 220kV large industrial users usually adopt double power supply mode, and double power supply ring closing operation is a common operation mode. Ring closing operation of a substation is also a common operation mode, and there are also line interconnection ring closing operation between power lines and enterprise lines. When ring closing operation provides power supply to substations or users of the same voltage level through a high-voltage bus, through power is generated. At present, there are many problems in quantity settlement of customers with through power: The traditional electricity settlement mode is difficult to accurately track the complex and changeable power flow due to its fixed settlement period and simple calculation method. In the scene involving through power, different types of metering devices of multiple substations need to work cooperatively. The metering devices of customers of different substations are different in manufacturer, technical parameter and accuracy level, which leads to large errors in data acquisition. Meanwhile, data transmission needs to pass through multiple links, from metering devices to data acquisition terminals and then to a higher-level data processing center, and problems such as data loss and delay may occur at each link. In the case of abnormal loop current, the actual power flow cannot be accurately captured, resulting in deviation between the recorded power of the electric meter and the actual power, affecting the accuracy of power acquisition, and further affecting subsequent metering and accounting work, so that the operation of the power system cannot be truly reflected, which may cause errors in electricity settlement and even affect the balance analysis and dispatching decision of the power system. SUMMARY
[0003] The application is proposed to solve the above problems, and provides a method and system for ring closing operation customer quantity settlement by applying through power. The application establishes a daily clearing and monthly cumulative quantity settlement mode, uses multi-point acquisition curve table code data to calculate daily clearing power, and takes the daily clearing cumulative power as the final settlement power and the preset multiple of the maximum daily clearing power as the maximum demand power for transmission and distribution in monthly electricity settlement, so as to meet the needs of precise and automatic settlement operation of customers with through power.
[0004] To achieve the above purpose, the application is implemented by the following technical scheme: In a first aspect, the application provides a method for ring closing operation customer quantity settlement by applying through power, comprising: acquiring multi-point acquisition curve table code data of the ring closing operation customer; The multi-point collected curve table code data is subjected to outlier detection and elimination processing, smoothing processing and missing value processing. Using the processed data, daily clearing power is calculated every preset time, daily clearing cumulative power is taken as the final settlement power for monthly electricity bill settlement, and a preset multiple of the maximum daily clearing power is taken as the maximum demand for power distribution demand charge.
[0005] Further, power data is collected from the loop operation substation, the high-voltage bus of the customer and the measurement point of the substation or customer of the same voltage level.
[0006] Further, 96-point collected curve table code data of the loop operation customer is obtained, i.e., power data is collected every 15 minutes.
[0007] Further, the multi-point collected curve table code data includes active power, reactive power, voltage, current and time stamp information.
[0008] Further, the first quartile and the third quartile of the active power or reactive power data are determined, and then the interquartile range is obtained; the outliers are determined according to the interquartile range and eliminated.
[0009] Further, the moving average method is used, the moving window size is set, for the active power or reactive power value of each time point, the average value of the data of the current time point and a preset number of historical time points is used to replace, and smoothing processing is realized.
[0010] Further, if there is a missing voltage or current data, linear interpolation is used for filling, according to the current or voltage value of the adjacent known time, the value of the missing time is calculated according to the time interval ratio.
[0011] Further, the power consumption calculation on the power supply side includes: The 15-minute power of the measurement point is calculated: ; Among them, is the 15-minute daily clearing power; is the average active power in 15 minutes; is the time interval; The 15-minute power consumption calculation of the user: power consumption = Q1+Q2+Q3+Q4+……QX; Q=(LI 15min positive power + L2 15min positive power + L3 15min positive power……+ LN 15min positive power)-(LI 15min negative power + L2 15min negative power + L3 15min negative power……+ LN 15min negative power); Where LI, L2…LN represent the lines at the metering point; X represents the number of valid records of daily 15-minute electricity consumption; and 15-minute electricity consumption is the electricity value generated within the same 15-minute time period.
[0012] Furthermore, the daily cleared electricity at 96 time points is summarized to obtain the daily total cleared electricity: ; in, The daily electricity consumption; The daily electricity consumption is calculated at the 15-minute level. The monthly cumulative electricity consumption is obtained by adding up the daily electricity consumption: ; in, Monthly cumulative electricity consumption; is the daily electricity consumption on day d; N is the number of days in the month.
[0013] Furthermore, the maximum value is extracted from the 96 daily cleared electricity values and recorded as ; Take 4 times the maximum daily cleared electricity volume as the maximum demand volume for transmission and distribution demand charges: Maximum demand value = max(Q1, Q2, Q3, Q4, ... QX) / (15 / 60); P = W / t = the maximum power consumption within 15 minutes of the entire month / (15 / 60), that is, the maximum average power value within 15 minutes of the entire month; Where P is the maximum average power in a 15-minute time period throughout the month; W is the maximum power consumption in a 15-minute time period throughout the month.
[0014] Furthermore, Internet power = F1 + F2 + F3 + F4 + ... FX; F=(LI 15min forward charge + L2 15min forward charge + L3 15min forward charge... + LN 15min forward charge) - (LI 15min reverse charge + L2 15min reverse charge + L3 15min reverse charge... + LN 15min reverse charge).
[0015] In a second aspect, the present invention further provides a closed-loop operation customer volume and fee settlement system using ride-through power, comprising: The data acquisition module is configured to: obtain multi-point acquisition curve table code data of the closed-loop operation customer; The data processing module is configured to: perform outlier detection and elimination, smoothing and missing value processing on the multi-point acquisition curve table code data; The settlement module is configured to: utilize the processed data to calculate daily clearing electric quantity of each preset time, take daily clearing cumulative electric quantity as final settlement electric quantity of monthly electric fee settlement, and take preset multiple of daily clearing electric quantity maximum value as maximum demand of transmission and distribution demand electric fee.
[0016] In a third aspect, the application further provides a computer readable storage medium, having stored thereon a computer program, which, when executed by a processor, implements the steps of the method for customer quantity fee settlement of loop operation with crossing power according to the first aspect.
[0017] In a fourth aspect, the application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the method for customer quantity fee settlement of loop operation with crossing power according to the first aspect when executing the program.
[0018] In a fifth aspect, the application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method for customer quantity fee settlement of loop operation with crossing power according to the first aspect.
[0019] Compared with the prior art, the application has the following beneficial effects: 1. Firstly, the application performs outlier detection and elimination processing, smoothing processing and missing value processing on the multi-point collected curve table code data; then, the processed data is utilized to calculate daily clearing electric quantity of each preset time, take daily clearing cumulative electric quantity as final settlement electric quantity of monthly electric fee settlement, and take preset multiple of daily clearing electric quantity maximum value as maximum demand of transmission and distribution demand electric fee; by establishing a daily clearing and monthly cumulative settlement mode, the multi-point collected curve table code data is utilized to calculate daily clearing electric quantity of each preset time, and daily clearing cumulative electric quantity is taken as final settlement electric quantity in monthly electric fee settlement, and preset multiple of daily clearing electric quantity maximum value is taken as maximum demand of transmission and distribution demand electric fee, thereby meeting the needs of precise and automatic settlement operation of customers with crossing power.
[0020] 2. The application can effectively eliminate the interference of crossing power on metering data through outlier processing and smoothing optimization of multi-point collected curve table code data, ensure the accuracy of electric quantity statistics, and combine the daily clearing electric quantity accumulation mechanism to directly take the time-of-use metering result as the basis for monthly settlement, which meets the fine settlement trend of the power market; the daily clearing electric quantity is calculated in units of preset time, which can capture the changes in power supply and demand in time, and the design of daily clearing peak value multiple as maximum demand can not only reflect the actual occupation of transmission and distribution capacity, but also guide users to optimize power consumption behavior; the outlier detection and missing value processing mechanism can identify metering equipment failure or communication anomaly, avoid the influence of false data on settlement results, and meet the needs of traceability and checkability of metering data in the power market.
[0021] 3、The present application takes the preset multiple of the daily maximum power as the maximum demand of the power supply demand, which can more truly reflect the instantaneous impact load of the loop operation customer on the power transmission and distribution network, avoid the problem of low estimation of capacity occupation caused by the smoothing processing of the traditional monthly maximum demand; through the 15-minute granularity daily power monitoring, the user can master the load characteristics in real time and actively adjust the production plan to reduce the peak demand; combined with the daily power data and demand multiple rules, the interference of the crossing power on the metering data can be accurately identified, and the electricity fee allocation dispute caused by loop operation can be avoided.
[0022] 4、The present application uses 96-point acquisition curve table code data collected every 15 minutes to accurately capture the subtle changes of power flow in different periods, so that the electricity fee calculation is no longer limited to the traditional rough estimation, but the accurate electricity consumption and on-grid electricity quantity accounting is carried out according to the actual electricity consumption of the customer, which perfectly meets the complex and changeable settlement demand of the crossing power customer, effectively avoids the electricity fee calculation deviation caused by the rough calculation method due to the fluctuation of power flow, and ensures the scientificity and fairness of the electricity fee settlement. BRIEF DESCRIPTION OF DRAWINGS
[0023] The drawings constituting a part of this embodiment are used to provide further understanding of the embodiment, and the illustrative embodiment and its description are used to explain the embodiment, and do not constitute improper limitation on the embodiment.
[0024] Figure 1 The method flowchart of the embodiment 1 of the present application is shown in the following table: Figure 2 The special formula table configuration example of the embodiment 1 of the present application is shown in the following table: Figure 3 The 96-point metering data example of the embodiment 1 of the present application is shown in the following table: DETAILED DESCRIPTION
[0025] The present application will be further described below in combination with the drawings and embodiments.
[0026] It should be pointed out that the following detailed description is exemplary and is intended to provide further description of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as generally understood by those skilled in the art to which the present application belongs.
[0027] Embodiment 1: As described in the background art, at present, there are many problems in the settlement of the quantity fee (electricity quantity and electricity fee) of the crossing power customer: Dynamic changes in power flow: The crossing power is jointly influenced by various complex factors such as grid operation state, load changes, and new energy access. During the operation of the power grid, situations such as line maintenance and equipment failure will change the structure of the power grid, thereby affecting the size and direction of the crossing power. Load changes are also characterized by obvious randomness and periodicity. During peak electricity consumption periods, the load increases sharply, and the crossing power also fluctuates greatly. During off-peak electricity consumption periods, the load decreases, and the crossing power also decreases accordingly. In addition, with the large-scale access of new energy such as solar and wind energy to the power grid, the intermittency and uncertainty of power generation further exacerbate the real-time fluctuations of power flow. The traditional electricity settlement method is difficult to accurately track the complex and variable power flow due to its fixed settlement period and simple calculation method.
[0028] Complex metering and data collection: In scenarios involving crossing power, multiple substations and different types of metering devices need to work together. The production manufacturers, technical parameters, and accuracy levels of metering devices in different substations and for different customers are different, which leads to large errors in data collection. At the same time, data transmission needs to go through multiple links, from metering devices to data collection terminals and then to higher-level data processing centers. Each link may have problems such as data loss and delay. The accumulation of these errors and delays makes the final obtained data difficult to truly reflect the actual use of electricity.
[0029] Accurate measurement of electricity is difficult due to loop current operation: When loop current operation occurs, there is electricity crossing between grid electricity and grid-connected electricity. Loop current makes the current path disordered, and part of the current deviates from the conventional measurement path and flows in a roundabout manner between different lines and devices. Measurement devices are designed based on normal current flow direction and electricity transmission mode, and cannot accurately capture actual electricity flow under abnormal loop current conditions, resulting in deviations between meter-recorded electricity and actual electricity, affecting the accuracy of electricity collection, and further affecting subsequent measurement and accounting work, making it difficult to truly reflect the operation of the power system and may cause errors in electricity settlement, and even affect the supply and demand balance analysis and dispatching decisions of the power system. The traditional measurement method mainly uses monthly forward and reverse electricity measurement, which usually has large errors due to the neglect of electricity changes during the process, which is not conducive to accurate measurement and calculation Manual settlement requires a large amount of work: Due to the dynamic changes in power flow and the complex relationship between metering and data collection, manual settlement requires a large amount of manpower and time. Staff not only need to collect, organize, and check a large amount of power data, but also need to perform complex calculations according to different billing rules. In this process, errors caused by human factors are difficult to avoid, such as data entry errors and calculation errors. Moreover, manual settlement is inefficient and cannot meet the needs of the rapid development of the electricity market.
[0030] With the continuous development of the electricity market, especially the introduction of spot trading, higher requirements are put forward for the efficiency and accuracy of electricity settlement. The traditional settlement mode obviously cannot adapt to this new market environment, seriously hindering the smooth conduct of electricity trading.
[0031] To solve at least one of the above problems, the embodiment provides a method for ring operation customer quantity fee settlement of through power, to solve the problems of difficulty in tracking power flow dynamics, complex metering and collection relationship, inaccurate electricity measurement caused by ring operation, large amount of manual settlement work and the like in existing through power customer quantity fee settlement, to realize accurate and automated electricity settlement, reduce the amount of manual settlement work, improve work quality and efficiency, and meet the development needs of the electricity market.
[0032] It should be noted that the method in the embodiment is not directly applied to the conventional functions of the marketing 2.0 system, but is modified for the particularity of the through power ring operation scenario. By establishing a 15-minute level quantity fee settlement mode of "daily clearing and monthly accumulation", using 96-point collection curve table code data, when calculating the daily clearing electricity of every 15 minutes, the rule of "the sum of forward electricity minus the sum of reverse electricity and zero for negative values" is adopted (eliminate the interference of reverse electricity caused by ring current); in monthly settlement, the daily clearing accumulated electricity processed by the above rule is taken as the final settlement electricity, and for the non-real load fluctuation caused by through power, 4 times of the maximum daily clearing electricity is taken as the maximum demand of electricity fee. Through these adaptive improvements, the marketing 2.0 system can accurately capture the real electricity characteristics under through power, so as to realize accurate and automated settlement of ring operation customer quantity fee. Relying on the marketing 2.0 system, 96-point collection curve table code data of ring operation customers is collected in real time to ensure the accuracy and real-time nature of the data. The specific data collection process is as follows: S1.1, data source: Electricity data is collected from the ring operation substation, the high-voltage bus of the customer and the same voltage level substation or the metering point of the customer; the above metering points are distributed in various key positions, which can comprehensively and accurately capture the changes of the electricity parameters involved in the through power. In order to ensure the reliability of the data, high-precision metering equipment is selected, and these equipment is calibrated and maintained regularly to ensure that they are always in the best working condition.
[0033] S1.2, collection frequency: 96-point collection curve table code data is used, i.e. electricity data is collected every 15 minutes (96 time points in 24 hours), to ensure the real-time nature and continuity of the data. This high-frequency data collection method can effectively capture the dynamic changes of power flow, providing a solid data foundation for subsequent accurate electricity calculation.
[0034] S1.3, Data Types: The collected data includes active power, reactive power, voltage, current, and other power parameters, as well as timestamp information. The rich data types can comprehensively reflect the operation state of the power system, and the timestamp information can accurately record the collection time of each data point, facilitating subsequent data sorting and analysis. During data collection, different types of data are classified and labeled to facilitate efficient processing by the system.
[0035] S1.4, Data Processing: To improve the accuracy of active power, reactive power, voltage, current, and other parameters, the following corrections are made after data collection: S1.4.1, Improvement of Active Power and Reactive Power Data Processing Method: Outlier detection and elimination: The method based on interquartile range (IQR) is adopted. First, calculate the first quartile (Q1) and the third quartile (Q3) of the active power or reactive power data, and then obtain IQR = Q3 - Q1. Values less than Q1 - 1.5*IQR or greater than Q3 + 1.5*IQR are determined as outliers. In addition, based on the outlier detection method based on interquartile range (IQR), a dynamic threshold adjustment mechanism is introduced. According to the historical fluctuation data of active power and reactive power during the closing operation, a fluctuation model is established to calculate the reasonable fluctuation range in real time, and then the threshold of IQR (i.e. 1.5 times IQR) is dynamically adjusted (i.e. 1.2-1.8 times IQR can be dynamically adjusted according to the fluctuation).
[0036] Data smoothing processing: The moving average method of adaptive moving window is used. By monitoring the change rate of active power and reactive power in real time, when the change rate is small, a larger window size (such as n=7) is used to achieve better smoothing effect; when the change rate is large, the window size is automatically reduced (such as n=3) to quickly respond to power changes and reduce the lag of smoothing processing, so that the processed data can better reflect the true dynamics of power. For each time point of active power or reactive power value, the average value of the data at this time point and its previous n-1 time points is used to replace it.
[0037] S1.4.2, Improvement of Voltage and Current Data Processing Method: Missing value processing: If there is a missing voltage or current data, first determine the system operating state before and after the missing data. If it is in the stable operation stage, linear interpolation method can be used to fill in the missing data. According to the adjacent known time of current or voltage value, the missing time value is calculated according to the time interval proportion; If it is in a larger fluctuation stage, introduce the data of adjacent multiple time to establish a quadratic interpolation model for filling to improve the accuracy of missing value filling. Error correction: Considering the possible system error in the process of voltage and current measurement, it can be compared with the measurement value of high-precision standard table. S1.5, data storage: The collected data is stored in the database of marketing 2.0 system, which is used for subsequent calculation and analysis.
[0038] S2, net electricity consumption calculation on the selling side: 15-minute daily clear electricity consumption calculation: according to high-frequency period division, it is more accurate than traditional extensive statistics, and can adapt to short-time power fluctuation caused by through power.
[0039] Positive and negative electricity separation and negative value zero: Q value calculation distinguishes positive (net) and negative (sending electricity) electricity, and negative value is zero, which avoids the cancellation or error calculation of electricity caused by circulating current due to through power.
[0040] Flexible demand calculation: based on 15-minute maximum electricity conversion demand (instead of traditional fixed method), it can be corrected by parameters to adapt to the non-real load peak value caused by through power in the loop operation.
[0041] Multi-metering point adaptation: support multi-line (L1~LN) data aggregation, adapt to multi-metering point in loop operation, and exclude abnormal data interference.
[0042] These improvements are the core of high-frequency granularity, direction distinction and flexible correction, which solve the measurement distortion problem caused by through power and ensure the accuracy of customer's quantity and fee settlement.
[0043] S2.1, daily net electricity consumption calculation: 1) 15-minute electricity consumption calculation at metering point: daily clear electricity consumption refers to the electricity consumption of each 15 minutes per day, and its calculation process is as follows:
[0044] Among them, is the 15-minute daily clear electricity consumption; is the average active power in this 15 minutes; is the time interval, i.e. 15 minutes.
[0045] This algorithm calculates the electricity based on the product of power and time, which can accurately reflect the electricity consumption in each 15-minute period.
[0046] 2) User 15-minute online electricity consumption calculation: online electricity consumption = Q1 + Q2 + Q3 + Q4 + … QX (Q only takes >0 value, X≤2976) (calculated for 31 days in a month); Q = (LI 15min positive charge + L2 15min positive charge + L3 15min positive charge … + LN 15min positive charge) - (LI 15min negative charge + L2 15min negative charge + L3 15min negative charge … + LN 15min negative charge).
[0047] Wherein, 15min electric quantity is the electric quantity value generated in the same 15min time period. If Q value is positive, it is equivalent to mainly using network electricity, if it is negative, it is equivalent to reverse power transmission, negative value is 0.
[0048] 3) Daily clear electric quantity summary: the daily clear electric quantity of 96 time points is summarized to obtain the total daily clear electric quantity of each day:
[0049] Wherein, is the daily clear electric quantity; is the 15-minute level daily clear electric quantity. The calculation method of positive and negative peak, peak, flat and valley electric quantity is the same.
[0050] S2.2, monthly online electricity consumption calculation: Monthly electric quantity is the basic data for monthly electric fee settlement, and its calculation process is as follows: 1) The daily clear electric quantity is accumulated to obtain the monthly cumulative electric quantity. The specific formula is:
[0051] Wherein, is the monthly cumulative electric quantity; is the daily clear electric quantity of the dth day; N is the number of days in the month.
[0052] In actual calculation process, considering the difference of days in different months, the system can automatically identify the number of days in the month and carry out corresponding calculation. At the same time, in order to prevent data overflow, data type conversion and range check are carried out in the calculation process, to ensure the stability of calculation.
[0053] 2) Settlement electric quantity determination: the monthly cumulative electric quantity is taken as the final settlement electric quantity, which is used for electric fee calculation.
[0054] S2.3, maximum demand calculation: the maximum demand is the key parameter for power transmission and distribution demand electric fee calculation, and 4 times of the maximum value of daily clear electric quantity is taken as the maximum demand of power transmission and distribution demand electric fee.
[0055] 1) Daily maximum power extraction: Extract the maximum value from the daily 96 daily power, recorded as ; 2) Maximum demand calculation: The maximum demand of daily maximum power is 4 times the maximum demand of electricity charge. The specific formula is: Maximum demand value = max (Q1, Q2, Q3, Q4, … QX) / (15 / 60); P = W / t = the maximum power value in the whole month 15 minutes / (15 / 60), that is, the maximum average power value in the whole month 15 min.
[0056] 3) Demand charge calculation: According to the maximum demand and the price of power transmission and distribution, the demand charge of power transmission and distribution is calculated. In the calculation process, considering the difference of power transmission and distribution price in different regions and different customer types, the system can automatically match the corresponding price according to the specific information of the customer, and accurately calculate.
[0057] S3, on the side of the purchase of electricity online power calculation: Online power = F1 + F2 + F3 + F4 + … FX (F only takes <0 value, X ≤ 2976) (calculated for a month of 31 days) (power takes absolute value); F = (LI 15min positive power + L2 15min positive power + L3 15min positive power … + LN 15min positive power) - (LI 15min negative power + L2 15min negative power + L3 15min negative power … + LN 15min negative power).
[0058] Among them, 15min power is the power value generated in the same 15min period. The subsequent daily, monthly and peak valley power calculation process is the same as above.
[0059] S4, automation processing: The above algorithm is solidified into marketing 2.0 system, realizing the automatic processing of electricity settlement, reducing manual intervention and improving settlement efficiency.
[0060] Table 1 Special formula explanation
[0061] Special formula refers to the power calculation rules or algorithms that are different from the regular electricity settlement for special users. Its core function is to solve the problem that the regular algorithm is not applicable to special users due to limited metering conditions (such as power crossing, multi-line complex metering, etc.). It is realized through the parameter configuration in the "special user classification table" and "special user classification parameter table".
[0062] Automatic data collection and calculation: The system automatically collects 96 points of data and uses algorithm formulas to calculate daily power consumption, monthly cumulative power consumption and maximum power demand.
[0063] Exception handling and alarms: The system monitors the data collection and calculation process in real time, automatically triggering alarms and logging any anomalies. A comprehensive exception handling mechanism is in place. For common anomalies, such as data loss and calculation errors, the system automatically repairs or takes appropriate remedial measures. Exception information is also promptly notified to relevant technical personnel for further processing and analysis.
[0064] This example uses a company as an example. Due to the 220kV circulating current operation, there is a flow through of electricity consumed by the grid and electricity fed to the grid, and the metering device cannot accurately measure it. Therefore, the metering and calculation method in this example is used to calculate the electricity. There are 4 meters in total, all of which are main meters. The meter information is as follows: Table 2 Meter information
[0065] The four main meters extract 96 points of data (once every fifteen minutes) through the collection system, and then calculate the power consumption through a special formula and put the power consumption into the left iron wire meter.
[0066] 1. Calculation method: (1) Grid electricity consumption = Q1 + Q2 + Q3 + Q4 + ... QX (Q only takes values > 0, X ≤ 2976) (calculated based on a 31-day month); Q=(15-minute forward electricity of Lanzhu Line + 15-minute forward electricity of Beitie Line + 15-minute forward electricity of Shanzuo Line + 15-minute forward electricity of Zuotie Line) - (15-minute reverse electricity of Lanzhu Line + 15-minute reverse electricity of Beitie Line + 15-minute reverse electricity of Shanzuo Line + 15-minute reverse electricity of Zuotie Line); 15-minute electricity refers to the electricity value generated in the same 15-minute time period.
[0067] (2) Online power consumption = F1 + F2 + F3 + F4 + …FX (F only takes values < 0, X ≤ 2976) (calculated based on a 31-day month); F=(15-minute forward electricity of Lanzhu Line + 15-minute forward electricity of Beitie Line + 15-minute forward electricity of Shanzuo Line + 15-minute forward electricity of Zuotie Line) - (15-minute reverse electricity of Lanzhu Line + 15-minute reverse electricity of Beitie Line + 15-minute reverse electricity of Shanzuo Line + 15-minute reverse electricity of Zuotie Line); 15-minute electricity refers to the electricity value generated in the same 15-minute time period.
[0068] 2. The calculation methods for forward and reverse peaks, flats, and valleys are the same.
[0069] 3. The maximum demand value = max (Q1, Q2, Q3, Q4, … QX) / (15 / 60); P = W / t = the maximum power value in 15 minutes of the whole month / (15 / 60), that is, the maximum average power value in 15 minutes of the whole month.
[0070] The daily settlement hourly power is calculated by the above formula, and the monthly settlement power is calculated according to the daily settlement power.
[0071] The meter reading calculation method in the system is: the first step is to summarize the 96-point meter reading data; the second step is to calculate the daily settlement power of the user, as shown in Tables 3-5. Table 3: 96-point meter reading power example of each metering point of the user
[0072] Table 4: Daily settlement power example of each metering point of the user
[0073] Table 5: Daily settlement power example of the user
[0074] The monthly settlement power is calculated according to the daily settlement power. After the special formula calculates the power, the power is placed in the metering point of the left iron line meter.
[0075] In summary, in terms of realizing accurate settlement, the embodiment relies on advanced technical architecture and real-time data acquisition system, and can track the dynamic changes of power flow in all directions and in real time. With 96-point acquisition curve table code data collected every 15 minutes, the subtle changes of power flow in different periods are accurately captured. This makes the electricity fee calculation no longer limited to traditional rough estimation, but accurate electricity consumption and on-grid power accounting according to the actual electricity consumption of the customer, perfectly meeting the complex and changing settlement needs of the power transmission customers, effectively avoiding the electricity fee calculation deviation caused by the fluctuation of power flow and the rough calculation method, and ensuring the scientificity and fairness of the electricity fee settlement.
[0076] The embodiment reduces the manual workload, and through the automation processing realized by the marketing 2.0 system, the entire process from data acquisition, calculation to bill generation almost does not need too much manual intervention. Automatic data acquisition avoids errors that may occur in manual meter reading, and automatic calculation of the algorithm formula eliminates errors in manual calculation, thereby greatly reducing the probability of human error. The automation of electricity fee settlement not only improves the accuracy of settlement, but also enhances the stability of the settlement process, so that the power enterprise can invest more manpower and energy into more valuable business expansion and customer service.
[0077] From the perspective of improving work efficiency, since the application of the method of the embodiment, the results have been remarkable. The daily reduction of labor hours for electricity settlement is 2.5 hours, which means that the power enterprise has achieved significant reduction in labor costs. At the same time, the efficiency of spot transaction electricity settlement has increased by 90%, which directly reflects the efficiency of the invention technology in dealing with complex power transactions. The originally tedious and lengthy settlement process has now become fast and convenient, greatly improving the operational efficiency of power enterprises, speeding up the collection of funds, reducing operating costs, and making the enterprise more competitive in the market.
[0078] In terms of quickly adapting to the development of the electricity market, the embodiment has shown strong flexibility and adaptability. With the continuous development of spot transactions in the electricity market, the requirements for electricity settlement are becoming increasingly stringent. The embodiment, with its advanced technology and innovative concept, can effectively cope with the complex and variable demands in spot transactions. Whether it is the fluctuation of real-time electricity prices or the calculation of electricity quantity in different transaction periods, it can quickly respond and accurately complete the settlement task. This not only improves the competitiveness of power enterprises in spot transactions, but also provides strong support for the healthy and stable development of the entire electricity market, promoting the optimal allocation and efficient use of power resources. At the same time, the method in the embodiment is also applicable to users equipped with self-provided power plants, clean energy power generation equipment, and other users with both grid electricity consumption and grid electricity supply, facilitating the rapid development of clean energy and the green transformation of enterprise energy use.
[0079] Embodiment 2: The embodiment provides a loop operation customer quantity fee settlement system applying through power, comprising: The data acquisition module is configured to acquire multi-point acquisition curve table code data of the loop operation customer; The data processing module is configured to perform outlier detection and rejection processing, smoothing processing, and missing value processing on the multi-point acquisition curve table code data; The settlement module is configured to use the processed data to calculate daily clean electricity quantity for each preset time, take the daily clean electricity quantity as the final settlement electricity quantity for monthly electricity fee settlement, and take a preset multiple of the maximum daily clean electricity quantity as the maximum demand quantity for transmission and distribution demand quantity electricity fee.
[0080] The working method of the system is the same as the loop operation customer quantity fee settlement method applying through power of embodiment 1, mainly comprising: S1, data acquisition and processing: Relying on the marketing 2.0 system, 96-point acquisition curve table code data of the loop operation customer is acquired in real time to ensure the accuracy and real-time nature of the data. The specific data acquisition process is as follows: S1.1, data source: Power data is collected from the interlocking operation substation, the customer's high-voltage bus, and the same voltage level substation or customer's metering point. The above-mentioned metering points are distributed at various key locations, which can comprehensively and accurately capture the changes in power parameters involved in the crossing power. To ensure the reliability of the data, high-precision metering equipment is selected, and these devices are calibrated and maintained regularly to ensure that they are always in the best working condition.
[0081] S1.2, Collection frequency: 96-point collection curve table code data is used, that is, power data is collected every 15 minutes (96 time points in 24 hours), ensuring the real-time and continuity of the data. This high-frequency data collection method can effectively capture the dynamic changes of power flow, providing a solid data foundation for subsequent accurate electricity fee calculation.
[0082] S1.3, Data type: The collected data includes active power, reactive power, voltage, current, and timestamp information. The rich data types can comprehensively reflect the operation state of the power system, and the timestamp information can accurately record the collection time of each data point, facilitating subsequent data sorting and analysis. During data collection, different types of data are classified and labeled to facilitate efficient processing by the system.
[0083] S1.4, Data processing: To improve the accuracy of active power, reactive power, voltage, current, and other parameters, the following corrections are made after data collection: S1.4.1, Active power and reactive power data processing: Outlier detection and elimination: The method based on interquartile range (IQR) is used. First, calculate the first quartile (Q1) and the third quartile (Q3) of the active power or reactive power data, and then obtain IQR = Q3-Q1. Values less than Q1-1.5*IQR or greater than Q3+1.5*IQR are determined as outliers and are removed.
[0084] Data smoothing processing: Moving average method is used, and the moving window size is set to n (determined according to data fluctuation, such as n = 5). For the active power or reactive power value at each time point, the average value of the data at this time point and the previous n-1 time points is used to replace it.
[0085] S1.4.2, Voltage and current data correction: Missing value processing: If there is missing voltage or current data, linear interpolation method can be used for filling. According to the current or voltage values at adjacent known time, the missing time value is calculated according to the time interval ratio.
[0086] Error correction: Considering the possible systematic errors in the voltage and current measurement process, the measured values can be compared with those of a high-precision standard meter.
[0087] S1.5. Data storage: The collected data is stored in the database of the Marketing 2.0 system for subsequent calculation and analysis.
[0088] S2. Calculation of grid electricity consumption on the electricity sales side: S2.1. Calculation of daily network electricity consumption: 1) Calculation of 15-minute electricity consumption at the metering point: Daily electricity consumption refers to the electricity consumption results every 15 minutes every day. The calculation process is as follows:
[0089] in, It is a daily power consumption of 15 minutes; is the average active power during the 15 minutes; is the time interval, i.e. 15 minutes.
[0090] The algorithm calculates power consumption based on the product of power and time, and can accurately reflect the power consumption in each 15-minute time period.
[0091] 2) Calculation of a user's 15-minute network electricity consumption: Network electricity consumption = Q1 + Q2 + Q3 + Q4 + ... QX (Q can only be greater than 0, X ≤ 2976) (calculated based on a 31-day month); Q=(LI 15min forward charge + LI 15min forward charge + L3 15min forward charge... + LN 15min forward charge) - (LI 15min reverse charge + L2 15min reverse charge + L3 15min reverse charge... + LN 15min reverse charge).
[0092] The 15-minute power consumption is the amount of power generated during the same 15-minute period. If the Q value is positive, it means that the main power source is the grid. If it is negative, it means that the power is fed back into the grid. Negative values are recorded as 0.
[0093] 4) Daily electricity consumption summary: Summarize the daily electricity consumption at 96 time points each day to obtain the total daily electricity consumption:
[0094] in, The daily electricity consumption; This is the daily electricity consumption at the 15-minute level. The calculation method for forward and reverse peak, peak, flat and valley electricity is similar.
[0095] S2.2. Calculation of monthly network electricity consumption: Monthly electricity is the basic data of monthly electricity settlement, and its calculation process is as follows: 1) Accumulate the daily daily electricity to obtain the monthly cumulative electricity. The specific formula is:
[0096] Among them, is the monthly cumulative electricity; is the daily daily electricity of the dth day, and N is the number of days in the month.
[0097] In the actual calculation process, considering the difference in the number of days in different months, the system can automatically identify the number of days in the month and perform corresponding calculation. At the same time, in order to prevent data overflow, data type conversion and range check are performed on the data in the calculation process to ensure the stability of the calculation.
[0098] 2) Settlement electricity determination: the monthly cumulative electricity is used as the final settlement electricity for electricity calculation.
[0099] S2.3, maximum demand calculation: the maximum demand is the key parameter for power supply and distribution demand electricity calculation, and 4 times the maximum value of daily daily electricity is used as the maximum demand of power supply and distribution demand electricity.
[0100] 1) Daily daily electricity maximum value extraction: extract the maximum value from the 96 daily daily electricity of each day, denoted as ; 2) Maximum demand calculation: 4 times the maximum value of daily daily electricity is used as the maximum demand of power supply and distribution demand electricity. The specific formula is: Maximum demand value=max(Q1, Q2, Q3, Q4, …, QX) / (15 / 60); P=W / t=the maximum electricity value in the whole month of 15 minutes / (15 / 60), that is, the maximum average power value in the whole month of 15 minutes.
[0101] 3) Demand electricity calculation: according to the maximum demand and power supply and distribution price, the power supply and distribution demand electricity is calculated. In the calculation process, considering the difference in power supply and distribution price of different regions and different customer types, the system can automatically match the corresponding price according to the specific information of the customer and accurately calculate.
[0102] S3, on-grid electricity calculation on the power purchase side: On-grid electricity=F1+F2+F3+F4+…FX(F only takes <0 value, X≤2976) (calculated for 31 days in a month) (electricity takes absolute value); F=(LI 15min forward charge + L2 15min forward charge + L3 15min forward charge... + LN 15min forward charge) - (LI 15min reverse charge + L2 15min reverse charge + L3 15min reverse charge... + LN 15min reverse charge).
[0103] The 15-minute energy consumption refers to the energy generated within the same 15-minute period. The subsequent daily, monthly, and peak-valley energy consumption calculation processes are the same as above.
[0104] S4. Automated processing: The above algorithm is solidified into the Marketing 2.0 system to realize the automated processing of electricity bill settlement, reduce manual intervention and improve settlement efficiency.
[0105] Example 3: This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method for settling customer charges for closed-loop operation using ride-through power as described in Example 1 are implemented.
[0106] Example 4: This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the steps of the method for settling customer charges for closed-loop operation using power-through as described in Example 1 are implemented.
[0107] Example 5: This embodiment provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the closed-loop operation customer volume fee settlement method using ride-through power as described in Example 1 are implemented.
[0108] The above description is merely a preferred embodiment of this embodiment and is not intended to limit this embodiment. Those skilled in the art will readily appreciate that this embodiment may be modified and varied in various ways. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this embodiment shall be within the scope of protection of this embodiment.
Claims
1. A method for settling customer charges for closed-loop operation using ride-through power, characterized in that: include: Obtain multi-point collection curve table code data of closed-loop operation customers; Perform outlier detection and elimination, smoothing and missing value processing on multi-point acquisition curve table code data; The processed data is used to calculate the daily cleared electricity volume at each preset time, and the daily accumulated cleared electricity volume is used as the final settlement electricity volume for the monthly electricity bill settlement, and the preset multiple of the maximum daily cleared electricity volume is used as the maximum demand volume for the transmission and distribution demand electricity fee.
2. The method for settling customer charges for closed-loop operation using ride-through power according to claim 1, characterized in that: Collect power data from closed-loop substations, customers' high-voltage buses, and substations of the same voltage level or customers' metering points.
3. The method for settling customer charges for closed-loop operation using ride-through power according to claim 2, characterized in that: Obtain 96-point curve table data for closed-loop operation customers, that is, collect power data every 15 minutes.
4. The method for settling customer charges for closed-loop operation using ride-through power according to claim 3, characterized in that: The multi-point acquisition curve table data includes active power, reactive power, voltage, current and time stamp information.
5. The method for settling customer charges for closed-loop operation using ride-through power according to claim 1, characterized in that: Determine the first and third quartiles of the active power or reactive power data, and then derive the interquartile range; identify outliers based on the interquartile range and remove them.
6. The method for settling customer charges for closed-loop operation using ride-through power according to claim 5, characterized in that: Using the moving average method, the moving window size is set, and the active power or reactive power value at each time point is replaced by the data average of the current time point and a preset number of historical time points to achieve smoothing.
7. The method for settling customer charges for closed-loop operation using ride-through power according to claim 6, characterized in that: If there is missing voltage or current data, linear interpolation is used to fill it in. Based on the current or voltage values at adjacent known moments, the value at the missing moment is estimated in proportion to the time interval.
8. The method for settling customer charges for closed-loop operation using ride-through power according to claim 1, characterized in that: The calculation of grid electricity consumption on the electricity sales side includes: Calculate the 15-minute power consumption at the metering point: ; in, It is a daily power consumption of 15 minutes; is the average active power within 15 minutes; The time interval is: the user's 15-minute network power consumption is calculated as follows: network power consumption = Q1 + Q2 + Q3 + Q4 + ... QX; Q=(LI 15min forward charge + LI 15min forward charge + L3 15min forward charge… + LN 15min forward charge) - (LI 15min reverse charge + L2 15min reverse charge + L3 15min reverse charge… + LN 15min reverse charge); Where LI, L2…LN represent the lines at the metering point; X represents the number of valid records of daily 15-minute electricity consumption; and 15-minute electricity consumption is the electricity value generated within the same 15-minute time period.
9. The method for settling customer charges for closed-loop operation using ride-through power according to claim 8, characterized in that: The daily cleared electricity at 96 time points is summed up to get the total daily cleared electricity: ; in, The daily electricity consumption; The daily electricity consumption is calculated at the 15-minute level. The monthly cumulative electricity consumption is obtained by adding up the daily electricity consumption: ; in, Monthly cumulative electricity consumption; is the daily electricity consumption on day d; N is the number of days in the month.
10. The method for settling customer charges for closed-loop operation using ride-through power according to claim 9, characterized in that: The maximum value is extracted from the 96 daily cleared electricity, recorded as ; Take 4 times the maximum daily cleared electricity volume as the maximum demand volume for transmission and distribution demand charges: Maximum demand value = max(Q1, Q2, Q3, Q4, ... QX) / (15 / 60); P = W / t = the maximum power consumption within 15 minutes of the entire month / (15 / 60), that is, the maximum average power value within 15 minutes of the entire month; Where P is the maximum average power in a 15-minute time period throughout the month; W is the maximum power consumption in a 15-minute time period throughout the month.
11. The method for settling customer charges for closed-loop operation using ride-through power according to claim 10, characterized in that: Internet power = F1 + F2 + F3 + F4 + ... FX; F=(LI 15min forward charge + L2 15min forward charge + L3 15min forward charge... + LN 15min forward charge) - (LI 15min reverse charge + L2 15min reverse charge + L3 15min reverse charge... + LN 15min reverse charge).
12. A closed-loop customer fee settlement system using ride-through power is characterized by: include: The data acquisition module is configured to: obtain multi-point acquisition curve table code data of the closed-loop operation customer; The data processing module is configured to: perform outlier detection and elimination, smoothing and missing value processing on the multi-point acquisition curve table code data; The settlement module is configured to: use the processed data to calculate the daily cleared electricity volume at each preset time, use the daily cleared accumulated electricity volume as the final settlement electricity volume for the monthly electricity bill settlement, and use the preset multiple of the maximum daily cleared electricity volume as the maximum demand volume for the transmission and distribution demand electricity fee.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for settling customer charges for closed-loop operation using ride-through power as described in any one of claims 1 to 11 are implemented.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor executes the program, the steps of the method for settling customer charges for closed-loop operation using ride-through power as described in any one of claims 1 to 11 are implemented.
15. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method for settling customer charges for closed-loop operation using ride-through power as described in any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
System for collecting maximum demand of multi-power-source power supply direct power purchase customers
CN103558453A
Metering method and system for eliminating ride-through power
CN110824242A
Electric quantity metering system and method
CN114966196A
Method for calculating maximum demand of dual-power-supply user during load switching
CN117349578A
Marketized electric charge pre-accounting method, system, equipment and medium
CN117993984A