A method and device for independently setting forward and reverse power tariffs and related products

By constructing an independent forward and reverse electricity rate metering method, the problem of incentive mismatch and rigid regulation in electricity rate metering after the access of distributed energy in the existing technology is solved, and the refined and fair cost sharing of electricity is realized.

CN122267775APending Publication Date: 2026-06-23EAST CHINA BRANCH OF STATE GRID CORP +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
EAST CHINA BRANCH OF STATE GRID CORP
Filing Date
2026-02-05
Publication Date
2026-06-23

Smart Images

  • Figure CN122267775A_ABST
    Figure CN122267775A_ABST
Patent Text Reader

Abstract

The application provides a forward and reverse power rate independent setting method and device and related products, and relates to the technical field of intelligent electric metering. The forward and reverse power rate independent setting method determines a time period table number based on real-time time information; a first time period table group and a second time period table group are constructed, a first target time period table for non-reverse electric energy is determined from the first time period table group according to the time period table number and through a preset mapping rule, and a second target time period table for reverse active electric energy is determined from the second time period table group; a first rate number is found based on the first target time period table, and a rate power accumulation operation is performed; a second rate number is found based on the second target time period table, and a reverse power accumulation and demand refresh operation are synchronously performed. The application realizes fine and differentiated metering and pricing of bidirectional electric energy, solves the problems of incentive mismatch, cost distortion and rigid regulation and control existing in the prior art, and improves the accuracy of the electricity price signal and the fairness of the cost allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart meter metering technology, and in particular to a method, device and related products for independently setting forward and reverse electricity rates. Background Technology

[0002] In the context of refined management of smart grids, electricity rate metering technology is a core foundation supporting demand-side management and energy interaction. Relying on microprocessors, high-precision metering chips, and real-time clocks, it uses a built-in programmable time zone table to switch the current rate according to different time zones, accumulating and storing energy pulses in a time-division manner to provide data support for efficient grid operation. Currently, the commonly used electricity rate metering method in the industry is to determine the rate at the current moment based on the time zone table, accumulating forward active power, reverse active power, and reactive power in all four quadrants onto the same rate. This method is the mainstream implementation of existing smart meter rate metering.

[0003] However, with the widespread adoption of distributed energy resources (such as photovoltaics), the power grid supply and demand structure is exhibiting new characteristics such as "double-peak" fluctuations, making the shortcomings of existing electricity tariff measurement methods increasingly prominent, mainly in the following aspects: (1) Incentive mismatch: When photovoltaic power generation increases the pressure on the grid and reduces the value of power generation, if it happens to be the peak period of electricity consumption, the grid will still purchase the electricity sent back to the grid by users at a high price, which incorrectly incentivizes power generation behavior that is not conducive to grid absorption. In the afternoon, when photovoltaic power generation is at its peak, the net load of the grid drops sharply to form a deep valley. In the evening, the photovoltaic output drops sharply and the net load forms a steep peak after the evening peak of electricity consumption. The traditional fixed-time peak-valley electricity price cannot accurately match this drastic load curve and loses its core role in smoothing the load curve.

[0004] (2) Cost distortion: The inability to implement differentiated pricing based on the actual contribution of power generation to the power grid (such as supporting power supply during peak hours) or burden (such as exacerbating grid congestion during off-peak hours) leads to problems such as cross-subsidies and unfair cost sharing in the electricity market; After a large number of users install photovoltaics, they reduce their electricity expenses through "self-generation and self-consumption", but their dependence on the power grid has not decreased (such as still needing power from the grid in the evening). The reasonable allocation of fixed costs such as power grid lines and transformer maintenance has caused disputes, making it difficult to achieve a precise match between cost and value.

[0005] (3) Rigid regulation: The power grid cannot flexibly guide the electricity consumption behavior of users and the power generation behavior of distributed energy through independent price levers, which weakens the demand-side response capability and the regulation value of distributed energy, making it difficult to adapt to the refined management needs of the new power system.

[0006] Therefore, there is an urgent need to propose an electricity rate metering technology that can solve the above-mentioned defects and adapt to the new changes in the power grid supply and demand structure. Summary of the Invention

[0007] In view of the above problems, this application is made to provide a method, apparatus, and related product for independently setting forward and reverse electricity rates to overcome or at least partially solve the above problems. The technical solution is as follows: Firstly, a method for independently setting forward and reverse electricity rates is provided, the method comprising: Based on real-time time information, determine the time period table number corresponding to the current time. Construct a first time period table group and a second time period table group. Based on the time period table number and through a preset time period table mapping rule, determine a first target time period table from the first time period table group and a second target time period table from the second time period table group. Based on the first target time period table, find the first rate number corresponding to the current time; based on the second target time period table, find the second rate number corresponding to the current time; Perform rate-based electricity accumulation operation according to the first rate number; Perform a demand refresh operation based on the second rate number.

[0008] In one possible implementation, the first time period table group includes a first time period table, a second time period table, a third time period table, and a fourth time period table, wherein the preset rate parameters in the first time period table group are used to determine the rate of non-reverse active energy.

[0009] In one possible implementation, the non-reverse active energy includes at least one of forward active energy, combined reactive energy, four-quadrant reactive energy, and forward and reverse apparent energy.

[0010] In one possible implementation, the second time period table group includes a fifth time period table, a sixth time period table, a seventh time period table, and an eighth time period table, wherein preset rate parameters in the second time period table group are used to determine the rate for reverse active energy.

[0011] In one possible implementation, the preset time slot mapping rule is as follows: When the time period table number is 1, the first target time period table is the first time period table, and the second target time period table is the fifth time period table; When the time period table number is 2, the first target time period table is the second time period table, and the second target time period table is the sixth time period table; When the time period table number is 3, the first target time period table is the third time period table, and the second target time period table is the seventh time period table; When the time period table number is 4, the first target time period table is the fourth time period table, and the second target time period table is the eighth time period table.

[0012] In one possible implementation, the real-time time information is continuously provided by an RTC (Real-Time Clock) clock module.

[0013] Secondly, a device for independently setting forward and reverse electricity rates is provided, the device comprising: The real-time clock module is used to determine the time period table number corresponding to the current time based on real-time time information; The time period processing module is used to construct a first time period table group and a second time period table group, and determine a first target time period table from the first time period table group and a second target time period table from the second time period table group according to the time period table number and through a preset time period table mapping rule. The rate number lookup module is used to look up the first rate number corresponding to the current time based on the first target time period table; and to look up the second rate number corresponding to the current time based on the second target time period table. The power consumption processing module is used to perform a rate-based power consumption accumulation operation according to the first rate number; The demand processing module is used to perform a demand refresh operation based on the second rate number.

[0014] Thirdly, an electronic device is provided, comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the forward and reverse electricity rate independent setting method described in any of the preceding claims.

[0015] Fourthly, a storage medium is provided that stores a computer program, wherein the computer program is configured to execute the forward and reverse electricity rate independent setting method described in any of the preceding claims when running.

[0016] Fifthly, a computer program product is provided, including a computer program configured to execute the forward and reverse electricity rate independent setting method described in any of the above claims when running.

[0017] By employing the above technical solutions, the present application provides a method, apparatus, and related products for independently setting forward and reverse electricity rates. This method determines time slot table numbers based on real-time time information; constructs a first time slot table group and a second time slot table group; determines a first target time slot table for non-reverse electricity from the first time slot table group and a second target time slot table for reverse active electricity from the second time slot table group based on the time slot table numbers and a preset mapping rule; searches for a first rate number based on the first target time slot table and performs rate-based electricity accumulation; searches for a second rate number based on the second target time slot table and simultaneously performs reverse electricity accumulation and demand refresh operations. This application achieves refined and differentiated metering and pricing of bidirectional electricity, solving the problems of incentive mismatch, cost distortion, and rigid control in existing technologies, and improving the accuracy of electricity price signals and the fairness of cost allocation. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0019] Figure 1 A flowchart of the method for independently setting forward and reverse electricity rates provided in an embodiment of this application is shown; Figure 2 A flowchart illustrating the method for independently setting forward and reverse electricity rates according to a specific embodiment of this application is shown. Figure 3 This paper shows a structural diagram of the device for independently setting forward and reverse electricity rates according to an embodiment of this application; Figure 4 A structural diagram of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0020] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.

[0021] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the term "comprising" and its variations should be interpreted as open-ended terms meaning "including but not limited to."

[0022] The following explains some concepts and terms involved in the method and device for independently setting forward and reverse electricity rates provided in the embodiments of this application.

[0023] 1. Time Schedule A time-period table is a rule-based table in smart meters that defines the mapping relationship between different time intervals and corresponding tariff numbers within a 24-hour period. A time-period table contains multiple time-period entries, each specifying a start time, end time, and corresponding tariff number.

[0024] 2. Time Zone Table A time zone table is a higher-level time sequence configuration table in a smart meter, used to define which specific time zone table should be used for different date ranges within a year or longer period. It associates and switches between different time zone tables through a "time zone table number".

[0025] 3. Time slot number The time slot table number is an index number output by the time zone table based on real-time time information. This number uniquely identifies the specific time slot table that should be in effect within a specific date range.

[0026] 4. Rate Number A rate number is a code index used to identify a specific electricity price (such as peak, flat, and off-peak prices). The system retrieves the rate number from the time period table based on the current time and calculates the electricity cost accordingly.

[0027] 5. Rate Period A rate period refers to a continuous time interval within a day that is assigned the same rate number. Dividing a day into multiple rate periods is the basis for implementing time-of-use electricity pricing metering and settlement.

[0028] 6. Non-reverse active energy In this scheme, non-reverse active energy refers to the direction in which electrical energy flows from the public power grid to the user side, and it measures the active energy consumed by the user from the power grid.

[0029] 7. Reverse active energy In electricity metering, reverse power flow typically refers to the direction of electrical energy flow from the user side to the public power grid. It measures the active power transmitted by the user to the grid and is commonly found at grid connection points where distributed generation equipment such as photovoltaics is installed.

[0030] The method for independently setting forward and reverse electricity rates provided in this application can be applied to electricity metering and settlement scenarios, especially at metering points where distributed energy (such as photovoltaic) is connected to the grid.

[0031] In one possible application scenario, an industrial park has installed a large-capacity photovoltaic power station. Its 10kV grid connection meter needs to simultaneously perform time-of-use metering and settlement for both the park's purchase of electricity from the grid (non-reverse active energy) and the sale of electricity from the photovoltaic system to the grid (reverse active energy). As photovoltaic penetration increases, the grid faces absorption pressure at midday and a power shortage in the evening. The traditional method of using the same time-of-use meter to bill both forward and reverse energy is no longer effective in guiding the park's power generation and consumption behavior through price signals.

[0032] As described in the background section, with the large-scale integration of distributed energy resources, the power system's supply and demand dynamics are becoming increasingly complex, placing higher demands on the refined and differentiated metering and settlement of electrical energy. Existing smart meters generally employ a metering method that uniformly determines rates based on a single time zone and time period table, accumulating both forward and reverse active power. The industry generally believes that the pricing strategies for forward power purchases and reverse power sales must be linked and cannot be decoupled.

[0033] The relevant technical solutions mainly fall into the following categories: 1. Unified Rate Time Period Scheme: Only one time zone time period table is configured, and both forward and reverse active energy switch rates and accumulate energy according to this unified time period.

[0034] 2. Independent reverse energy total metering scheme: An independent total meter is set up for reverse active energy, but it still shares the same rate period with forward energy for time-of-use metering, and independent rates cannot be achieved.

[0035] 3. Main station side software differentiation scheme: The software is differentiated at the back-end main station system level according to the direction of electricity data, but the underlying hardware metering and storage of electricity meters are still rate-bound, and cannot support real-time, online independent rate settlement.

[0036] 4. Dual rate number but same table scheme: Although different rate numbers are assigned to the forward and reverse directions, the time period switching of these rate numbers is still driven by the same time period table, and the time period structure is completely synchronized.

[0037] It is evident that the metering solutions in related technologies have a physically unidirectional and coupled rate-time structure. This prevents the power grid from independently setting differentiated time-time divisions and rates based on the respective value and impact of forward and reverse power on the system. Consequently, problems such as price signal distortion, unfair cost allocation, and limited demand-side regulation capabilities arise during specific periods, such as peak solar power generation.

[0038] To address the aforementioned technical problems, embodiments of this application provide a method for independently setting forward and reverse electricity rates, such as... Figure 1 As shown, the method for independently setting forward and reverse electricity rates may include the following steps S101 to S105: Step S101: Based on real-time time information, determine the time period table number corresponding to the current time.

[0039] In one possible implementation, the above-mentioned "determining the time period table number corresponding to the current time" is accomplished by querying a preset time zone table. The time zone table defines the mapping relationship between different date and time ranges and specific time period table numbers. For example, it can be configured as "time period table number 1 corresponds to January 1, 00:00 to June 1, 00:00, and time period table number 2 corresponds to June 1, 00:00 to January 1 of the following year, 00:00".

[0040] In one example, the microprocessor of the high-end gateway table reads the current time as "October 26, 2025, 14:30:00". The processor then queries the built-in time zone table and determines the currently effective time period table number as 2 based on the date and time interval that the time falls into (e.g., configured as "June 1 to January 1 of the following year").

[0041] In one possible implementation, the time zone table and mapping relationship can be pre-distributed by the master station system via a communication interface (such as RS-485, infrared, or carrier wave) and stored in the non-volatile memory of the meter to enable remote configuration and updating of operating rules.

[0042] In one possible implementation, this step is executed by the time-switching management module within the high-end gateway table or by a corresponding software routine running in the microprocessor, and its output, "time-switching table number," will serve as a key index for finding specific rate periods in subsequent steps.

[0043] Step S102: Construct a first time period table group and a second time period table group. Based on the time period table number and through a preset time period table mapping rule, determine the first target time period table from the first time period table group and the second target time period table from the second time period table group.

[0044] Step S103: Find the first rate number corresponding to the current time based on the first target time period table; find the second rate number corresponding to the current time based on the second target time period table.

[0045] In one possible implementation, the first target time period table and the second target time period table each contain multiple predefined rate periods; each rate period is configured with a start time, an end time, and a corresponding rate number.

[0046] In one possible implementation, the process of finding the first rate number corresponding to the current time based on the first target time period table specifically includes: comparing the current time provided by the RTC module with the start and end times of each rate period in the first target time period table, determining the specific rate period in which the current time falls, and determining the rate number corresponding to that specific rate period as the first rate number. The process of finding the second rate number is similar, but the comparison is made with the second target time period table.

[0047] In one example, assume the current time is 14:30. The first target time period table (e.g., the first time period table) defines: Time period 1 is [00:00, 08:00), rate number 1; Time period 2 is [08:00, 12:00), rate number 2; Time period 3 is [12:00, 18:00), rate number 3; Time period 4 is [18:00, 24:00), rate number 4. By comparison, 14:30 falls into time period 3, therefore the first rate number is determined to be 3. Simultaneously, the second target time period table (e.g., the fifth time period table) defines: Time period 1 is [00:00, 10:00), rate number 5; Time period 2 is [10:00, 15:00), rate number 8; Time period 3 is [15:00, 24:00), rate number 6. 14:30 falls into time period 2, therefore the second rate number is determined to be 8.

[0048] In one possible implementation, the first rate number and the second rate number are output by the rate number lookup module after performing a lookup function, and temporarily stored in a register or a designated memory unit for subsequent steps. This lookup module can be integrated into a microprocessor and implemented through software logic or dedicated hardware circuitry.

[0049] Step S104: Perform rate-based electricity accumulation operation according to the first rate number.

[0050] In one possible implementation, the aforementioned "rate-based electricity accumulation operation" is performed by the electricity processing module in the high-end gate meter. The core of this operation is to classify, count, and accumulate the corresponding electricity metering pulses based on the specific rate period (such as peak, flat, and valley) identified by the first rate number.

[0051] In one possible implementation, the first rate number serves as an index or key to locate and determine the currently effective rate type and its corresponding energy storage unit. Upon receiving the rate number, the energy processing module accumulates the positive active energy pulses, combined reactive energy pulses, four-quadrant reactive energy pulses, or forward and reverse apparent energy pulses acquired and converted by the metering chip at the same time into a dedicated energy register or storage area associated with the rate number.

[0052] In one example, assume the first rate number corresponds to a "peak period". When the power processing module receives the first rate number representing the "peak period" (e.g., rate number 1), it controls the internal data path to guide the positive active energy pulse input at this moment to the "positive active energy - peak period power" register for accumulation; if there is combined reactive energy at this time, its pulse is also accumulated to the "combined reactive energy - peak period power" register. This achieves independent and accurate accumulation of various types of power according to the rate period.

[0053] In one possible implementation, the rate-based energy accumulation operation is triggered periodically or in real time, and is synchronized with the update of the rate number, thereby ensuring that the energy consumption at any time can be accurately recorded under the correct rate period.

[0054] Step S105: Perform a demand refresh operation based on the second rate number.

[0055] In one possible implementation, the aforementioned "demand refresh operation" specifically refers to the update processing of the metering data of reverse active demand. Demand refers to the maximum average power measured within a set demand period (e.g., 15 minutes). The refresh operation typically involves calculating the average power within the current demand period and comparing and updating it with the stored historical maximum value.

[0056] In one possible implementation, this step is performed by the demand processing module within the high-end gate meter. This module receives a second rate number from the rate number lookup module, which identifies the rate period to which the current reverse active power applies. Based on this rate number, the demand processing module calls or associates preset demand calculation parameters for that rate period, such as demand cycle and slip time, to perform real-time calculation of the sampled reverse active power value.

[0057] In one example, suppose the current second rate number is identified as "reverse peak period," corresponding to a demand cycle of 15 minutes. The demand processing module performs an integral average calculation on the reverse active power over this cycle, obtaining an average reverse power value of -5.2kW (the negative sign indicates reverse). The module then compares this value with the historical maximum demand value (e.g., -4.8kW) recorded in memory for the current "reverse peak period." Since the absolute value of 5.2kW is greater than 4.8kW, the module updates the historical maximum demand value in memory to -5.2kW, completing one demand refresh.

[0058] In one possible implementation, the demand refresh operation and the rate-based energy accumulation operation, which belong to the reverse active energy processing, are executed synchronously to ensure the consistency of demand data and energy data in terms of time and rate attribution.

[0059] In one possible implementation, the refreshed reverse active demand data (including the current value, maximum value and its corresponding rate number, occurrence time, etc.) is stored in the non-volatile memory of the meter and can be read by the master station through the communication interface for electricity billing or load analysis.

[0060] This embodiment determines the time slot table number based on real-time time information; constructs a first time slot table group and a second time slot table group; based on the time slot table number and through preset mapping rules, determines a first target time slot table for non-reverse electrical energy from the first time slot table group, and determines a second target time slot table for reverse active electrical energy from the second time slot table group; searches for a first tariff number based on the first target time slot table and performs tariff-based energy accumulation; searches for a second tariff number based on the second target time slot table and simultaneously performs reverse energy accumulation and demand refresh operations. This application achieves refined and differentiated metering and pricing of bidirectional electrical energy, solves the problems of incentive mismatch, cost distortion, and rigid control in existing technologies, and improves the accuracy of electricity price signals and the fairness of cost allocation.

[0061] This application provides a possible implementation method. In step S102 above, the first time period table group includes a first time period table, a second time period table, a third time period table, and a fourth time period table. The preset rate parameters in the first time period table group are used to determine the rate of non-reverse active energy.

[0062] In another embodiment of this application, a possible implementation is provided, wherein the non-reverse active energy includes at least one of forward active energy, combined reactive energy, four-quadrant reactive energy, and forward and reverse apparent energy.

[0063] This embodiment establishes a dedicated rate period system for forward active power, combined reactive power, four-quadrant reactive power, and forward and reverse apparent power, independent of reverse active power, by constructing and configuring the first time period meter group. This achieves complete decoupling of the bidirectional power flow rate structure at the hardware and logic levels, providing a key technical foundation for the power grid to implement independent, flexible, and precise price control of the power returned by users based on real-time supply and demand.

[0064] This application provides a possible implementation method in which the second time period table group in step S102 above includes the fifth time period table, the sixth time period table, the seventh time period table and the eighth time period table. The preset rate parameters in the second time period table group are used to determine the rate of reverse active energy.

[0065] This embodiment constructs and configures a second time period table group containing the fifth to eighth time period tables, and specifically presets independent rate parameters for reverse active power, thereby establishing a reverse generation rate system that is completely decoupled from forward power consumption. This provides a key technical foundation for the power grid to implement independent, flexible and precise price control of the power returned by users based on real-time supply and demand.

[0066] This application embodiment provides a possible implementation method, wherein the preset time period table mapping rule in step S102 above is: When the time period table number is 1, the first target time period table is the first time period table, and the second target time period table is the fifth time period table; When the time period table number is 2, the first target time period table is the second time period table, and the second target time period table is the sixth time period table; When the time period table number is 3, the first target time period table is the third time period table, and the second target time period table is the seventh time period table; When the time period table number is 4, the first target time period table is the fourth time period table, and the second target time period table is the eighth time period table.

[0067] This embodiment establishes a precise correspondence between forward and reverse rate systems for coordinated switching by defining fixed mapping rules between time period table numbers and forward and reverse target time period tables under the same time base. This ensures independent configuration of bidirectional rates while realizing linkage switching and global control based on unified time sequence commands.

[0068] This embodiment continuously provides a high-precision time reference through the RTC clock module, ensuring that core billing operations such as rate period switching, power accumulation and demand refresh can be strictly synchronized with the real-time clock, providing a reliable and consistent time traceability basis for the entire independent control system of forward and reverse electricity prices.

[0069] The above introduces Figure 1 The various implementation methods of each stage in the illustrated embodiment will be explained below through methods such as... Figure 2 The specific embodiments shown further illustrate the method for independently setting forward and reverse electricity rates according to the present application.

[0070] This specific embodiment mainly includes the implementation process of the metering point of distributed photovoltaic power.

[0071] I. Determining the Time Period Table Number 1. The RTC clock module provides the current real-time time information as: August 15, 2025 (summer) 14:30:00.

[0072] 2. The time period switching management module of the checkpoint table performs the following operations: (1) Query the time zone table: According to the rule of the preset time zone table "the time period table number 2 is implemented from June 1 to January 1 of the following year", determine that the currently effective time period table number is 2; (2) Output index: Output the time period table number "2" as the key index for subsequent lookup.

[0073] II. Determination of Target Time Periods After receiving the time period table number "2", the rate number lookup module performs the mapping and determination operation: 1. Mapping rule matching: According to the preset time period table mapping rules, when the time period table number is 2, the first target time period table is the second time period table, and the second target time period table is the sixth time period table; 2. Determine the specific table: It is determined that the table currently used for looking up the tariff for non-reverse active energy (such as forward active energy) is the second time period table pre-stored in the memory; the table used for looking up the tariff for reverse active energy is the sixth time period table pre-stored in the memory.

[0074] III. Rate Number Lookup The rate number lookup module searches in both target time period tables based on the current time (14:30:00): 1. Find the first rate number: Query the second time period table (first target time period table). This table defines the rate periods for positive active energy and other electrical energy: Time period 1: [00:00, 08:00), Rate number 1 (off-peak hours) Time period 2: [08:00, 12:00), Rate number 2 (normal time period) Time period 3: [12:00, 19:00), Rate number 3 (peak hours) Time period 4: [19:00, 24:00), Rate number 4 (normal time period) After comparison, 14:30:00 falls into time period 3 (peak period), therefore the first rate number is determined to be 3.

[0075] 2. Find the second rate number: Query the sixth time period table (second target time period table). This table specifically defines the rate periods for reverse active energy: Time period 1: [00:00, 11:00), Rate number 5 (reverse valley period, low-price purchase) Time Period 2: [11:00, 16:00), Rate No. 8 (Reverse Valley Period, extremely low / negative electricity purchase price, used to suppress midday solar power generation) Period 3: [16:00, 21:00), Rate No. 6 (Reverse peak period, higher purchase price, encouraging power generation during evening peak) Time period 4: [21:00, 24:00), Rate number 7 (reverse normal time period) After comparison, 14:30:00 falls into time period 2 (reverse trough time period), therefore the second rate number is determined to be 8.

[0076] 3. Rate Number Output: Temporarily store the first rate number "3" and the second rate number "8" and pass them to the subsequent processing module.

[0077] IV. Rate-based electricity accumulation and demand refresh 1. Rate-based electricity consumption accumulation operation (based on the first rate number 3): The power processing module accumulates the power pulses collected by the metering chip at this moment into the storage unit corresponding to "rate number 3" (peak period) according to their type: Positive active energy pulse → accumulated in the "Positive Active Energy - Peak Period" energy register; Combined reactive power 1 energy pulse → accumulated to the “Combined reactive power 1 - peak period” energy register.

[0078] 2. Demand refresh operation (based on the second rate number 8): Demand calculation: The reverse active power is integrated and averaged over a 15-minute period. Assume the average reverse power calculated for this period (14:15:00-14:30:00) is -152.3kW; Demand Update: The historical maximum demand record for the "reverse valley period" is -135.0kW. Since the absolute value of 152.3kW is larger, the historical maximum demand value for this rate period is updated to -152.3kW, and the update time is recorded.

[0079] 3. Reverse energy accumulation: At the same time, the reverse active energy pulse is accumulated into the "Reverse Active - Valley Period" energy register corresponding to "Rate No. 8" (reverse valley period).

[0080] This embodiment realizes refined and differentiated metering and pricing of bidirectional electrical energy, solves the problems of incentive mismatch, cost distortion and rigid control in the existing technology, and improves the accuracy of electricity price signals and the fairness of cost allocation.

[0081] It should be noted that the sequence numbers of the steps in the above embodiments do not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. In practical applications, all the above possible implementation methods can be arbitrarily combined in a combined manner to form possible embodiments of this application, which will not be described in detail here.

[0082] Based on the methods for independently setting forward and reverse electricity rates provided in the above embodiments, and based on the same inventive concept, this application also provides a device for independently setting forward and reverse electricity rates.

[0083] Figure 3 This is a structural diagram of the device for independently setting forward and reverse electricity rates provided in an embodiment of this application. Figure 3As shown, the independent setting device for forward and reverse electricity rates may specifically include a real-time clock module 210, a time period processing module 220, a rate number lookup module 230, an electricity processing module 240, and a demand processing module 250.

[0084] The real-time clock module 210 is used to determine the time period table number corresponding to the current time based on real-time time information; The time period processing module 220 is used to construct a first time period table group and a second time period table group. Based on the time period table number and through a preset time period table mapping rule, it determines a first target time period table from the first time period table group and a second target time period table from the second time period table group. The rate number lookup module 230 is used to look up the first rate number corresponding to the current time based on the first target time period table; and to look up the second rate number corresponding to the current time based on the second target time period table. The power processing module 240 is used to perform rate-based power accumulation operations according to the first rate number; Demand processing module 250 is used to perform demand refresh operation based on the second rate number.

[0085] Based on the same inventive concept, this application also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the forward and reverse independent power rate setting method of any of the above embodiments.

[0086] In an exemplary embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 300 includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this electronic device 300 does not constitute a limitation on the embodiments of this application.

[0087] Processor 301 may be a CPU (Central Processing Unit), GPU (Graphics Processing Unit), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0088] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0089] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0090] The memory 303 stores computer program code that executes the scheme of this application, and its execution is controlled by the processor 301. The processor 301 executes the computer program code stored in the memory 303 to implement the content shown in the foregoing method embodiments.

[0091] Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0092] Based on the same inventive concept, this application also provides a storage medium storing a computer program, wherein the computer program is configured to execute the forward and reverse independent power rate setting method of any of the above embodiments when running.

[0093] Based on the same inventive concept, this application also provides a computer program product, including a computer program configured to execute the forward and reverse independent power rate setting method of any of the above embodiments when running.

[0094] Those skilled in the art will clearly understand that the specific working process of the systems, devices, and modules described above can be referred to the corresponding process in the foregoing method embodiments. For the sake of brevity, it will not be repeated here.

[0095] Those skilled in the art will understand that the technical solution of this application, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several program instructions to cause an electronic device (e.g., a personal computer, server, or network device) to execute all or part of the steps of the methods described in the embodiments of this application when running the program instructions. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0096] Alternatively, all or part of the steps of the foregoing method embodiments can be implemented by hardware (such as electronic devices like personal computers, servers, or network devices) associated with program instructions. The program instructions can be stored in a computer-readable storage medium. When the program instructions are executed by the processor of the electronic device, the electronic device executes all or part of the steps of the methods described in the embodiments of this application.

[0097] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that within the spirit and principles of this application, modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein; and these modifications or substitutions do not cause the corresponding technical solutions to leave the protection scope of this application.

Claims

1. A method for independently setting forward and reverse electricity rates, characterized in that, Includes the following steps: Based on real-time time information, determine the time period table number corresponding to the current time. Construct a first time period table group and a second time period table group. Based on the time period table number and through a preset time period table mapping rule, determine a first target time period table from the first time period table group and a second target time period table from the second time period table group. Based on the first target time period table, find the first rate number corresponding to the current time; Based on the second target time period table, find the second rate number corresponding to the current time; Perform rate-based electricity accumulation operation according to the first rate number; Perform a demand refresh operation based on the second rate number.

2. The method according to claim 1, characterized in that, The first time period table group includes a first time period table, a second time period table, a third time period table, and a fourth time period table. The preset rate parameters in the first time period table group are used to determine the rate of non-reverse active energy.

3. The method according to claim 2, characterized in that, The non-reverse active energy includes at least one of forward active energy, combined reactive energy, four-quadrant reactive energy, and forward and reverse apparent energy.

4. The method according to claim 2, characterized in that, The second time period table group includes the fifth time period table, the sixth time period table, the seventh time period table, and the eighth time period table. The preset rate parameters in the second time period table group are used to determine the rate of reverse active energy.

5. The method according to claim 4, characterized in that, The preset time slot mapping rule is as follows: When the time period table number is 1, the first target time period table is the first time period table, and the second target time period table is the fifth time period table; When the time period table number is 2, the first target time period table is the second time period table, and the second target time period table is the sixth time period table; When the time period table number is 3, the first target time period table is the third time period table, and the second target time period table is the seventh time period table; When the time period table number is 4, the first target time period table is the fourth time period table, and the second target time period table is the eighth time period table.

6. The method according to claim 1, characterized in that, The real-time time information is continuously provided by the RTC clock module.

7. A device for independently setting forward and reverse electricity rates, characterized in that, The device includes: The real-time clock module is used to determine the time period table number corresponding to the current time based on real-time time information; The time period processing module is used to construct a first time period table group and a second time period table group, and determine a first target time period table from the first time period table group and a second target time period table from the second time period table group according to the time period table number and through a preset time period table mapping rule. The rate number lookup module is used to look up the first rate number corresponding to the current time based on the first target time period table; and to look up the second rate number corresponding to the current time based on the second target time period table. The power consumption processing module is used to perform a rate-based power consumption accumulation operation according to the first rate number; The demand processing module is used to perform a demand refresh operation based on the second rate number.

8. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the forward and reverse electricity rate independent setting method according to any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method for independently setting forward and reverse electricity rates as described in any one of claims 1 to 6 when running.

10. A computer program product, comprising a computer program, characterized in that, The computer program is configured to execute the method for independently setting forward and reverse electricity rates as described in any one of claims 1 to 6 when it is run.