Power generation user-based electric quantity data processing method and related equipment
By deducting the power data of power generation users upward layer by layer, the problem of low accuracy in power data processing in the existing technology is solved, and massive and real-time calculation of the power deduction relationship on the power purchase side is achieved.
Patent Information
- Application Number
- CN202411360446.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art cannot meet the massive and real-time calculation of power deduction relationships on the power purchase side, resulting in low accuracy in power data processing based on power generation users.
By obtaining the main meter power detected by the main metering point and the submeter power of the submeter with the level of submetering points, the submeter power is deducted upward layer by layer. The specific operation is to start from the lowest first-level submetering point, deduct upward layer by layer, and Deduct it according to the order of execution of the submetering point or the priority of the electricity consumption category.
The accuracy of power data processing based on power generation users is improved, and it can effectively meet the massive and real-time calculation needs of power deduction relationships on the power purchase side.
Smart Images

Figure CN119444490A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electric power, and in particular to a method for processing electric power data based on power generation users and related equipment. Background Art
[0002] Traditional power generation households use two one-way meters to measure power generation and power consumption respectively, or a two-way meter with reverse meter code to record power generation and online power consumption, which is relatively simple in the process of processing power data based on power generation users. With the diversity of power demand of power generation households, power generation households will install multiple metering points according to specific requirements, and calculate the power consumption. Faced with the increasing complexity of power purchase billing by power generation households, the disadvantage of existing technologies is that they cannot meet the massive and real-time calculation of power purchase side power deduction relationship, and the accuracy of power data processing based on power generation users is low. Summary of the invention
[0003] The present disclosure proposes a method for processing electric quantity data based on power generation users and related equipment, so as to solve the technical problem of low accuracy of electric quantity data processing based on power generation users to a certain extent.
[0004] In a first aspect, the present disclosure provides a method for processing power data based on power generation users, comprising:
[0005] Obtain the main meter power detected by the main metering point and the sub-meter power detected by the hierarchical sub-metering points;
[0006] Based on the main meter electricity, the sub-meter electricity is deducted from the sub-meter electricity of the lowest level sub-metering point layer by layer; wherein, for the sub-metering points of the same level, the sub-meter electricity is deducted based on the execution order of the sub-metering points; or, the sub-metering points with higher priority are deducted based on the electricity usage category, and for the sub-metering points of the same electricity usage category, the sub-meter electricity is deducted based on the execution order of the sub-metering points.
[0007] In a second aspect of the present disclosure, a device for processing power data based on power generation users is provided, comprising:
[0008] An acquisition module is used to acquire the main meter power detected by the main metering point and the sub-meter power of the hierarchical sub-metering points;
[0009] A deduction module is used to deduct the sub-meter electricity from the sub-meter electricity of the lowest level sub-metering point layer by layer based on the main meter electricity; wherein, for sub-metering points of the same level, the sub-meter electricity is deducted based on the execution order of the sub-metering points; or, the sub-metering points with higher priority are deducted based on the electricity consumption category, and for sub-metering points of the same electricity consumption category, the sub-meter electricity is deducted based on the execution order of the sub-metering points.
[0010] In a third aspect of the present disclosure, an electronic device is provided, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method described in the first aspect.
[0011] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect.
[0012] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect.
[0013] From the above, it can be seen that the present disclosure provides a method and related equipment for processing electricity data based on power generation users. All sub-metering points and their electricity are first organized, and then all corresponding upper-level metering points and their electricity are found for each sub-metering point, and all sub-metering points are cycled to deduct electricity from the upper-level metering points. The first-level component needs to arrange the lower-level algorithm model sub-process to implement the deduction business, and its corresponding second-level components are: deducting the transfer sub-meter electricity, deducting the actual reading sub-meter electricity, deducting the quantitative sub-meter electricity, and deducting the fixed ratio sub-meter electricity. Thereby improving the accuracy of electricity data processing based on power generation users. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 It is a schematic diagram of an electricity data processing architecture based on power generation users according to an embodiment of the present disclosure.
[0016] Figure 2 The figure is a schematic diagram of the hardware structure of an exemplary electronic device according to an embodiment of the present disclosure.
[0017] Figure 3 The present invention is a flowchart of a method for processing electricity data based on power generation users according to an embodiment of the present invention.
[0018] Figure 4 A schematic diagram of the group matching main and sub-table deduction relationship in an embodiment of the present disclosure.
[0019] Figure 5It is a schematic diagram of an electric quantity data processing device based on power generation users according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0021] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0022] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0023] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0024] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0025] Figure 1 The schematic diagram of the power data processing architecture based on power generation users in the embodiment of the present disclosure is shown. Figure 1The power data processing architecture 100 based on power generation users may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected via a wired or wireless network 130. The server 110 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, security services, and CDN.
[0026] The terminal 120 may be implemented in hardware or software. For example, when the terminal 120 is implemented in hardware, it may be various electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal 120 device is implemented in software, it may be installed in the electronic devices listed above; it may be implemented as multiple software or software modules (such as software or software modules used to provide distributed services), or it may be implemented as a single software or software module, which is not specifically limited here.
[0027] It should be noted that the method for processing the power data based on the power generation user provided in the embodiment of the present application can be executed by the terminal 120 or by the server 110. It should be understood that Figure 1 The number of terminals, networks and servers in the embodiment is only for illustration and is not intended to limit the number of terminals, networks and servers. Any number of terminals, networks and servers may be provided as required.
[0028] Figure 2 FIG. 2 shows a schematic diagram of the hardware structure of an exemplary electronic device 200 provided in an embodiment of the present disclosure. Figure 2 As shown, the electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208 and a bus 210. The processor 202, the memory 204, the network module 206 and the peripheral interface 208 are connected to each other in communication within the electronic device 200 through the bus 210.
[0029] Processor 202 may be a central processing unit (CPU), a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 202 may be used to perform functions related to the technology described in this disclosure. In some embodiments, processor 202 may also include multiple processors integrated into a single logical component. For example, Figure 2 As shown, processor 202 may include a plurality of processors 202a, 202b, and 202c.
[0030] The memory 204 may be configured to store data (eg, instructions, computer code, etc.). Figure 2 As shown, the data stored in the memory 204 may include program instructions (for example, program instructions for implementing the method for processing the power data based on the power generation user in the embodiment of the present disclosure) and data to be processed (for example, the memory may store configuration files of other modules, etc.). The processor 202 may also access the program instructions and data stored in the memory 204, and execute the program instructions to operate on the data to be processed. The memory 204 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.
[0031] The network module 206 can be configured to provide communication with other external devices to the electronic device 200 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC) etc.), a cellular network, the Internet or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network module 206 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.
[0032] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.
[0033] The bus 210 can be configured to transmit information between various components of the electronic device 200 (e.g., the processor 202, the memory 204, the network module 206, and the peripheral interface 208), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0034] It should be noted that, although the architecture of the electronic device 200 only shows the processor 202, the memory 204, the network module 206, the peripheral interface 208 and the bus 210, in the specific implementation process, the architecture of the electronic device 200 may also include other components necessary for normal execution. In addition, it can be understood by those skilled in the art that the architecture of the electronic device 200 may also only include the components necessary for implementing the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.
[0035] The power industry currently has increasingly complex requirements for the accuracy, timeliness, and reliability of power marketing and power purchase calculation results. Multiple metering points are set for power generators. The actual power generated by power generators involves the relationship between the main and sub-meters. The main and sub-meters are deducted based on the power data processing of power generators through the application program, and the sub-meter readings are deducted from the main meter to determine the settlement power of the main meter; the fixed ratio and quantity are used as sub-meters to participate in the main and sub-meter deduction calculation. It can be understood as a master and sub-metering point, and the code also implements the deduction in the form of master and sub-metering points. Traditional power generators use two unidirectional meters to measure power generation and power consumption respectively, or a bidirectional meter reverse meter code records power generation and online power, which is relatively simple in the process of power data processing based on power generators. With the diversity of power demand of power generators, power generators will install multiple metering points according to specific requirements. The calculation of power faces the increasingly complex power generation billing complexity. The disadvantage of the existing technology is that it cannot meet the massive and real-time power purchase side power deduction relationship calculation. Therefore, how to improve the accuracy of power data processing based on power generators has become a technical problem that needs to be solved urgently.
[0036] In view of this, the embodiments of the present disclosure provide a method and related equipment for processing electricity data based on power generation users. First, all sub-metering points and their electricity are organized, and then all corresponding upper-level metering points and their electricity are found for each sub-metering point, and all sub-metering points are cycled to deduct electricity from the upper-level metering points. The first-level component needs to arrange the lower-level algorithm model sub-process to implement the deduction business, and its corresponding second-level components are: deduction of transfer sub-meter electricity, deduction of actual reading sub-meter electricity, deduction of quantitative sub-meter electricity, and deduction of fixed ratio sub-meter electricity. Thereby improving the accuracy of electricity data processing based on power generation users.
[0037] See also Figure 3 , Figure 3The schematic flow chart of the method for processing the power data of power generation users according to the embodiment of the present disclosure is shown. The method for processing the power data of power generation users according to the embodiment of the present disclosure can be deployed on the server side or the terminal side. Figure 3 In the embodiment, the method 300 for processing the power data based on the power generation user may further include the following steps.
[0038] In step S310, the main meter electricity at the main metering point and the sub-meter electricity at the hierarchical sub-metering points under the main metering point are obtained; wherein the main metering point is set between the power generation user and the power grid, and is used to detect the power generation of the power generation user, and the sub-metering point is set at the power generation equipment of the power generation user, and is used to detect the electricity consumption of the power generation equipment, and the hierarchy of the sub-metering point corresponds to the hierarchy of the power generation equipment.
[0039] Among them, the main metering point may refer to the key point in the power system for measuring the total power consumption, which is usually located at the entrance of the power grid or the exit of the substation. For example, in the power supply system of a factory, the main metering point may be located on the main meter at the entrance of the factory to monitor the total power consumption of the entire factory. The main meter power may refer to the total power consumption detected by the main metering point. For example, the total power consumption displayed by the main meter at the entrance of the above factory. The sub-metering point may refer to the point in the power system for measuring the power consumption of subsystems or departments, which is usually located at various branch points after the main metering point. For example, within the same factory, each workshop or production line may have its own sub-metering point to monitor the power consumption of the workshop or production line. The sub-metering power may refer to the power consumption of each subsystem or department detected by the sub-metering point. For example, the power consumption displayed by the meter of each workshop or production line. In large power systems, sub-metering points may be organized into a hierarchical structure to better manage and monitor power consumption at different levels. For example, in a power system, there may be a first-level sub-metering point and a second-level sub-metering point to supply power to different production lines and office areas.
[0040] In step S320, the sub-meter electricity of each level of sub-metering points is deducted layer by layer from the lowest level sub-metering point based on the main meter electricity to obtain the settlement electricity of the power generation user; wherein, for the sub-metering points at the same level, the corresponding sub-meter electricity is deducted based on the preset attributes and the execution order of the sub-metering points, including: deducting the corresponding sub-meter electricity based on the preset attributes; for the sub-metering points with the same preset attributes, deducting the sub-meter electricity based on the execution order of the sub-metering points.
[0041] Specifically, the main meter electricity can be deducted from the sub-meter electricity of the lowest-level sub-metering point layer by layer as the default deduction order, that is, deducted from the lowest-level metering point layer by layer.
[0042] In some embodiments, deducting the corresponding sub-meter electricity based on the preset attribute includes:
[0043] Based on the priority of the electricity consumption category, the corresponding sub-meter electricity consumption is deducted, wherein the priority of the electricity consumption category from high to low includes other electricity consumption, large industrial electricity consumption, residential electricity consumption, and commercial electricity consumption;
[0044] or,
[0045] The deduction method is determined based on a preset deduction order, wherein the preset deduction order includes: deducting the sub-meter electricity of the transferred user, deducting the sub-meter electricity of the actual reading sub-metering point, deducting the sub-meter electricity of the quantitative sub-metering point, and deducting the sub-meter electricity of the fixed ratio sub-metering point; for the metering points with the same deduction method, the sub-meter electricity is deducted based on the execution order of the sub-metering points.
[0046] Among them, for the deduction order of metering points at the same level, each network province sets an extension point, and the extension rules may include: execution order according to metering points; reserve other extensions: such as sorting rules by electricity consumption category (configure the order of electricity consumption category: other electricity consumption, large industrial electricity consumption, residential electricity consumption, commercial electricity consumption), the electricity consumption category is the same, and then execute the order according to the metering point. 3. There are multiple sub-meters at the same level under the main meter. The main meter deducts the sub-meter electricity according to the arrangement order of the algorithm model. The default deduction order is: first deduct the electricity of the transferred user; secondly, deduct the actual sub-meter electricity; thirdly deduct the quantitative electricity; and finally deduct the fixed ratio electricity. For multiple metering points with the same electricity data processing method based on power generation users, deductions are made according to the execution order of the metering points.
[0047] In some embodiments, based on the main meter power, the sub-meter power of each sub-metering point is deducted from the lowest sub-metering point layer by layer, further comprising:
[0048] In response to the sub-metering point being changed, the changes of the main metering points and the sub-metering points that meet the matching condition are grouped based on the change time sequence to obtain a first grouping result; wherein each main sub-metering point corresponding to the matching condition is grouped with all the main sub-metering points that do not meet the matching condition between the last grouping, and the change data of the upper-level metering point matched by each sub-metering point in each group is set as the upper-level metering point of the group;
[0049] In response to the sub-metering point not being changed, determining that all changed data and non-changed data of the upper-level main metering point are matched into one group to obtain a second grouping result;
[0050] Based on the main meter electricity in the first grouping result or the second grouping result, the sub-meter electricity of each level of sub-metering point is deducted layer by layer from the lowest level sub-metering point to obtain the settlement electricity of the power generation user.
[0051] Among them, for the case of data changes in the master and sub-tables, when there are changed data in the sub-table, due to the business characteristics of business expansion, the change business of the master and sub-tables is not necessarily carried out in a complete set. The master metering point changes, and the sub-metering point does not necessarily change, and vice versa. Based on this situation, the rule for each sub-metering point to match the corresponding main metering point to be deducted is: based on the time sequence of the changes, the group matching principle is adopted, and each matched master-sub change (that is, the master and sub are the same change data, the associated application number is the same, or both are non-changed current archive data) is used as a grouping condition. The master and sub-metering points corresponding to each grouping condition are grouped together with all the master and sub-metering points between the last grouping condition that do not meet the matching conditions. The change data of the upper-level metering point matched by each sub-metering point in each group is set as the upper-level metering point of this group. See. Figure 4 , Figure 4 A schematic diagram showing the subtraction relationship between the main and sub tables of group matching according to an embodiment of the present disclosure is shown. Figure 4 In the table, numbers and n can indicate changes (such as related change numbers), and no numbers indicate normal data. Changes are sorted in order of change time. The changes in each sub-metering point corresponding to the changes in the main metering point that are deducted can be: b2: A1, A2; bn: A3, A4, A5; b5: A3, A4, A5; b: A6, A.
[0052] When there is no changed data in the sub-table, it can be assumed that all changed and non-changed data in the parent main table are matched as a group for deduction.
[0053] In some embodiments, in response to the sub-metering point having multiple upper-level main metering points or multiple upper-level change records, one of the following is performed:
[0054] Determine the deducted electricity of the sub-metering point corresponding to the main metering point according to the proportion of the main metering point in the total main metering electricity;
[0055] Alternatively, the corresponding sub-meter electricity is deducted in the order of the electricity quantity of the main metering point;
[0056] Alternatively, the corresponding sub-meter electricity is deducted according to the execution order of the main metering point.
[0057] Among them, when a sub-meter has multiple superior main meters or multiple superior change records, each province sets a difference extension point. The extension rules are as follows: split the sub-meter electricity according to the proportion of the main metering point electricity, and deduct them separately; deduct in order of the size of the main metering point electricity; deduct in the order of execution of the main metering point; deduction rules for the main and sub-meters to time periods.
[0058] In some embodiments, method 300 further includes:
[0059] In response to determining that the main metering point is not time-divided, obtaining the remaining main meter reading power of the main metering point based on the sum of the meter reading power of the main metering point and the reading power of the corresponding sub-metering point;
[0060] In response to determining that the main metering point and the corresponding sub-metering point are equally divided, if the number of time periods of the main metering point and the sub-metering point is equal, the corresponding time periods are deducted one-to-one, including:
[0061]
[0062]
[0063]
[0064] If the number of time periods reached by the main metering point and the sub-metering point are not equal, the sub-metering electricity of the sub-metering point in the corresponding time period is deducted from each time period of the main metering point in turn according to the preset time period deduction order of the main metering point and the sub-metering electricity of the sub-metering point in the corresponding time period; or, the remaining meter reading electricity of the main metering point is obtained based on the sum of the meter reading electricity of the main metering point and the meter reading electricity of the corresponding sub-metering point.
[0065] Among them, the current reactive power deduction process does not take reactive power time into account, so the deduction of reactive power is relatively simple, but the recorded power does not merge reactive power into the flat section. There are several situations for deducting active power: 1. The main meter is not time-sharing, and the deduction is relatively simple, regardless of whether the sub-meter is time-sharing.
[0066] For the case where both the main meter and the sub-meter are time-divided, the number of time periods of the main meter and the sub-meter is equal, the main meter is time-divided, and the sub-meter is time-divided, and each time period is deducted one-to-one.
[0067] When both the main meter and the sub-meter are time-sharing, but the number of time periods is not equal, you can set extension points in each network province. The main extension rules are as follows: According to the set time period deduction sequence, the power of each time period of the sub-meter is deducted from each time period of the main meter in sequence according to the time period sequence of the main meter. The deduction rule that the main meter is time-sharing and the sub-meter is not time-sharing can be followed.
[0068] In some embodiments, method 300 further includes:
[0069] In response to determining that the main metering point is not time-divided and the sub-metering point is not time-divided, deducting the sub-metering power of the corresponding sub-metering point based on the proportion of the peak and valley power of the main meter of the main metering point to the total current of the main meter, including:
[0070] Main meter remaining peak power = main meter peak power - deducted peak power, deducted peak power = sub-meter power × main meter peak power / main meter total power;
[0071] Main meter remaining valley electricity = main meter valley electricity - deducted valley electricity, deducted valley electricity = sub-meter electricity × main meter valley electricity / main meter total electricity;
[0072] The remaining average power of the main meter = the average power of the main meter - the deducted average power, the deducted average power = the power of the sub-meter - the deducted peak power - the deducted valley power;
[0073] Alternatively, the sub-meter electricity is deducted from the main meter electricity based on the deduction order of flat section, valley section, peak section, and peak section;
[0074] Alternatively, a fixed proportion of the corresponding sub-meter electricity is deducted from the main meter electricity;
[0075] Alternatively, the sub-meter electricity is deducted based on the proportion of the main meter electricity to the total main meter electricity and the time period of the main metering point, including:
[0076] The total electricity reading of the main meter = peak reading + average reading + valley reading;
[0077] Main meter remaining peak power = (main meter total reading power - subordinate total reading power) × main meter peak reading / main meter total reading power;
[0078] Main meter remaining valley electricity = (main meter total reading electricity - subordinate total reading electricity) × main meter valley reading / main meter total reading electricity;
[0079] The remaining average power of the main meter = the total recorded power of the main meter - the remaining peak power of the main meter - the remaining valley power of the main meter.
[0080] Among them, for the case where the main meter is time-divided and the sub-meter is not time-divided, if the main meter is time-divided and the sub-meter is not time-divided, the sub-meter electricity can be deducted from the main meter in each period according to the specified rules, including:
[0081] (1) Deduction based on the peak and valley electricity ratio of the main meter
[0082] The electricity of the sub-meter is split according to the peak-to-valley ratio of the main meter, and then deducted from the main meter in each time period.
[0083] Deducted peak electricity consumption = sub-meter electricity consumption × main meter peak electricity consumption / main meter total electricity consumption.
[0084] Deducted valley electricity consumption = sub-meter electricity consumption × main meter valley electricity consumption / main meter total electricity consumption.
[0085] Deducted average electricity consumption = sub-meter electricity consumption - deducted peak electricity consumption - deducted valley electricity consumption.
[0086] The remaining peak power of the main meter = the peak power of the main meter - the deducted peak power.
[0087] The remaining power of the main meter = the power of the main meter - the deducted power.
[0088] The remaining valley power of the main meter = the valley power of the main meter - the deducted valley power.
[0089] (2) Deduction according to the time period of the main table
[0090] Set the order of deduction periods in the main table, such as: flat, valley, peak, and sharp. When deducting, deduct from the flat section first, and then deduct the part that is not enough from the valley section, and follow the order until the deduction is completed.
[0091] (3) Fixed ratio deduction
[0092] The fixed ratio is the peak-valley ratio set by the system for electricity classification or specific metering points. For example, the lighting electricity deduction ratio in region A is 6:2:2, and the lighting electricity deduction ratio in region B is 3:6:1. If no specific ratio is specified in the user profile, the system defaults to the electricity classification of the metering point and finds the deduction ratio maintained by the system global billing parameters for the electricity classification. If no maintenance is performed, the deduction ratio is based on the peak-valley ratio of the main meter.
[0093] Peak electricity deduction = sub-meter electricity × peak deduction fixed ratio.
[0094] Deduction of off-peak electricity consumption = sub-meter electricity consumption × off-peak deduction fixed ratio.
[0095] Deducted average electricity consumption = sub-meter electricity consumption - deducted peak electricity consumption - deducted valley electricity consumption.
[0096] The remaining peak power of the main meter = the peak power of the main meter - the deducted peak power.
[0097] The remaining power of the main meter = the power of the main meter - the deducted power.
[0098] The remaining valley power of the main meter = the valley power of the main meter - the deducted valley power.
[0099] Special note: If deduction is only made from a certain period, such as only from the flat period, a fixed ratio can be used, with the flat period ratio maintained as 1 and other periods maintained as 0.
[0100] (4) The main and sub-meters are deducted according to the total amount, and then the remaining electricity is allocated according to the main meter time period ratio
[0101] The total electricity recorded by the main meter = peak electricity + average electricity + valley electricity.
[0102] The remaining peak power of the main meter = (the total power read of the main meter - the total power read of the subordinate) × the peak power read of the main meter / the total power read of the main meter.
[0103] The remaining valley electricity of the main meter = (total electricity read by the main meter - total electricity read by the subordinate) × valley electricity read by the main meter / total electricity read by the main meter.
[0104] The remaining average power of the main meter = the total recorded power of the main meter - the remaining peak power of the main meter - the remaining valley power of the main meter.
[0105] In some embodiments, method 300 further includes:
[0106] In response to determining that the sub-metering point is a transfer metering point or a real-read metering point, deducting the read electricity of the transfer metering point or the read electricity of the real-read metering point from the corresponding main meter electricity;
[0107] In response to determining that the sub-metering point is a quantitative metering point, deducting a fixed amount of electricity corresponding to the quantitative metering point from the corresponding main meter electricity;
[0108] In response to determining that the sub-metering point is a fixed-ratio metering point, a preset proportion of the recorded electricity at the quantitative metering point is deducted from the corresponding main meter electricity.
[0109] Among them, for the secondary algorithm component of the sub-meter electricity quantity transferred, the billing relationship type of the sub-meter (sub-metering point) can be limited to the metering point of the transfer, that is, the main and sub-meter deductions for the transfer and the transferred are processed. Determination of the transfer relationship: The billing relationship of the metering point is a master-sub-meter relationship, but it belongs to different users, that is, it is determined to be a transfer relationship. The main and sub-meter deductions are based on the electricity data processing of the power generation users. On the basis of calculating the sub-meter's read electricity, the sub-meter's read electricity is deducted from the main meter's electricity to determine the main meter's settlement electricity; the transfer sub-meter participates in the main and sub-meter deduction calculations as a sub-meter, and the deduction rules described in the same level of components are processed the same way.
[0110] For the secondary algorithm component for deducting the actual sub-meter electricity consumption, the deduction operation of the sub-metering point and its corresponding upper-level metering point that meets the following conditions can be processed: the billing relationship type of the sub-meter (sub-metering point) is the metering point of the main part; and / or, the calculation method of the sub-metering point is the actual metering point.
[0111] The main and sub-meter deductions are based on the electricity data processing of power generation users. On the basis of calculating the sub-meter's read electricity, the sub-meter's read electricity is deducted from the main meter's electricity to determine the main meter's settlement electricity. The actual meter reading participates in the main and sub-meter deduction calculations as a sub-meter, and the deduction rules described in the same level components are processed in the same way.
[0112] For the secondary algorithm component for deducting quantitative sub-meter electricity, the deduction operation of the sub-metering point and its corresponding superior metering point that meets the following conditions can be processed: the billing relationship type of the sub-meter (sub-metering point) is the metering point of the main part; and / or, the calculation method of the sub-metering point is the quantitative metering point.
[0113] The main and sub-meter deductions are based on the electricity data processing of power generation users. On the basis of calculating the sub-meter's measured electricity, the sub-meter's measured electricity is deducted from the main meter's electricity to determine the main meter's settlement electricity. The quantitative amount participates in the main and sub-meter deduction calculations in the form of sub-meters, and the deduction rules described in the same level components are processed in the same way.
[0114] For the secondary algorithm component for deducting the fixed ratio sub-meter electricity, the deduction operation of the sub-metering point and its corresponding parent metering point that meets the following conditions can be processed: the billing relationship type of the sub-meter (sub-metering point) is the metering point of the main part; and / or, the calculation method of the sub-metering point is the fixed ratio metering point.
[0115] The main and sub-meter deductions are based on the electricity data processing of power generation users. On the basis of calculating the sub-meter's recorded electricity, the sub-meter's recorded electricity is deducted from the main meter's electricity to determine the main meter's settlement electricity. The fixed ratio participates in the main and sub-meter deduction calculations as a sub-meter, and the deduction rules described in the same level components are processed in the same way.
[0116] In some embodiments, the main meter line loss may not be included in the main sub-meter deduction, the lost electricity has been deducted from the main meter, and the remaining loss is allocated to the main meter. Because when the line loss calculation is being performed, the sub-meter line loss has been deducted from the main meter line loss when the line loss is allocated.
[0117] In some embodiments, the sub-meter line loss can be included in the main sub-meter deduction, and deducted from the total power (including loss power) of the main meter together with the sub-meter reading power. When calculating the line loss, the line loss is only allocated to the sub-meter and is not deducted from the line loss of the main meter.
[0118] In some embodiments, the electricity deduction rules for multiple superior meters (or multiple superior change data) are as follows: according to the electricity proportion of the main meter, the electricity of the sub-meters is split and then deducted respectively; deduction is made in the order of the size of the main meter electricity; deduction is made in the order of execution of the main meter (main metering point);
[0119] In some embodiments, both the upper and lower tables are time-divided, and the deduction processing rules for unequal number of time periods are: for each sub-table time period, deductions are made from the main table in the set time period order; deductions are made in accordance with the sub-table non-time-divided rules;
[0120] In some embodiments, the deduction rules for the upper level time-sharing and the lower level non-time-sharing are as follows: split the electricity of the sub-meters according to the time period electricity ratio of the main meter, and then deduct them separately; deduct from the main meter according to the set time period deduction order; deduct from the main meter at a fixed ratio in each time period; deduct from the main and sub-meters according to the total amount, and then share the remaining electricity according to the time period ratio of the main meter.
[0121] In some embodiments, the superior is in time-sharing mode while the subordinate is not, and deductions are made according to the prescribed ratio. The processing rules for insufficient deductions are as follows: insufficient deductions are changed to deductions according to the peak-to-valley ratio; deductions are made again according to the time period execution order of the main table, and the execution order is configured in the system parameters.
[0122] In some embodiments, the processing rules for insufficient deduction of the quantitative sub-meter are: the main meter point is deducted to 0, and the remaining undeducted electricity is deducted from the sub-meter point; or the main meter point can be deducted to a negative value. The processing rules for insufficient deduction of the non-quantitative sub-meter are: the main meter point is deducted to 0, and the remaining undeducted electricity is deducted from the sub-meter point; the main meter point can be deducted to a negative value; the abnormality is directly recorded.
[0123] It can be seen that according to the method of the embodiment of the present disclosure, based on each sub-metering point, all corresponding upper-level metering points and their power are found, and all sub-metering points are cycled to perform the power deduction operation from the upper-level metering point, and the algorithm model sub-process of the first-level component and the second-level component is implemented to realize the deduction business, and the corresponding second-level components are: deduction of the transfer sub-meter power, deduction of the actual reading sub-meter power, deduction of the quantitative sub-meter power, and deduction of the fixed ratio sub-meter power. Thereby improving the accuracy of the power data processing based on the power generation user.
[0124] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0125] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0126] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a power data processing device based on power generation users, see Figure 5 , the power data processing device based on power generation users, the device comprising:
[0127] An acquisition module is used to acquire the main meter power detected by the main metering point and the sub-meter power of the hierarchical sub-metering points;
[0128] A deduction module is used to deduct the sub-meter electricity from the sub-meter electricity of the lowest level sub-metering point layer by layer based on the main meter electricity; wherein, for sub-metering points of the same level, the sub-meter electricity is deducted based on the execution order of the sub-metering points; or, the sub-metering points with higher priority are deducted based on the electricity consumption category, and for sub-metering points of the same electricity consumption category, the sub-meter electricity is deducted based on the execution order of the sub-metering points.
[0129] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0130] The device of the above embodiment is used to implement the corresponding power data processing method based on power generation users in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0131] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the electricity data processing method based on power generation users as described in any of the above embodiments.
[0132] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0133] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the power data processing method based on power generation users as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0134] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0135] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0136] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0137] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A method for processing power data based on power generation users, comprising: Obtaining the main meter electricity at the main metering point and the sub-meter electricity at the hierarchical sub-metering points under the main metering point; wherein the main metering point is set between the power generation user and the power grid, and is used to detect the power generation of the power generation user; the sub-metering point is set at the power generation equipment of the power generation user, and is used to detect the power consumption of the power generation equipment; the hierarchy of the sub-metering point corresponds to the hierarchy of the power generation equipment; Based on the main meter electricity, deduct the sub-meter electricity of each sub-metering point from the lowest sub-metering point layer by layer to obtain the settlement electricity of the power generation user; Among them, for the sub-metering points at the same level, the corresponding sub-meter electricity is deducted based on the preset attributes and the execution order of the sub-metering points, including: deducting the corresponding sub-meter electricity based on the preset attributes; for the sub-metering points with the same preset attributes, deducting the sub-meter electricity based on the execution order of the sub-metering points.
2. The method according to claim 1, wherein: Deducting the corresponding sub-meter power based on the preset attribute includes: Based on the priority of the electricity consumption category, the corresponding sub-meter electricity consumption is deducted, wherein the priority of the electricity consumption category from high to low includes other electricity consumption, large industrial electricity consumption, residential electricity consumption, and commercial electricity consumption; or, The deduction method is determined based on a preset deduction order, wherein the preset deduction order includes: deducting the sub-meter electricity of the transferred user, deducting the sub-meter electricity of the actual reading sub-metering point, deducting the sub-meter electricity of the quantitative sub-metering point, and deducting the sub-meter electricity of the fixed ratio sub-metering point; for the metering points with the same deduction method, the sub-meter electricity is deducted based on the execution order of the sub-metering points.
3. The method according to claim 1, wherein: Based on the main meter electricity, the sub-meter electricity of each sub-metering point is deducted layer by layer from the lowest sub-metering point upwards, and further includes: In response to the sub-metering point being changed, the changes of the main metering points and the sub-metering points that meet the matching condition are grouped based on the change time sequence to obtain a first grouping result; wherein each main sub-metering point corresponding to the matching condition is grouped with all the main sub-metering points that do not meet the matching condition between the last grouping, and the change data of the upper-level metering point matched by each sub-metering point in each group is set as the upper-level metering point of the group; In response to the sub-metering point not being changed, determining that all changed data and non-changed data of the upper-level main metering point are matched into one group to obtain a second grouping result; Based on the main meter electricity in the first grouping result or the second grouping result, the sub-meter electricity of each level of sub-metering point is deducted layer by layer from the lowest level sub-metering point to obtain the settlement electricity of the power generation user.
4. The method according to claim 3, further comprising: In response to the sub-metering point having multiple upper-level main metering points or multiple upper-level change records, performing one of the following: Determine the deducted electricity of the sub-metering point corresponding to the main metering point according to the proportion of the main metering point in the total main metering electricity; Alternatively, the corresponding sub-meter electricity is deducted in the order of the electricity quantity of the main metering point; Alternatively, the corresponding sub-meter electricity is deducted according to the execution order of the main metering point.
5. The method according to claim 3, further comprising: In response to determining that the main metering point is not time-divided, obtaining the remaining main meter reading power of the main metering point based on the sum of the meter reading power of the main metering point and the reading power of the corresponding sub-metering point; In response to determining that the main metering point and the corresponding sub-metering point are equally divided, if the number of time periods of the main metering point and the sub-metering point is equal, the corresponding time periods are deducted one-to-one, including: If the number of time periods reached by the main metering point and the sub-metering point are not equal, the sub-metering electricity of the sub-metering point in the corresponding time period is deducted from each time period of the main metering point in turn according to the preset time period deduction order of the main metering point and the sub-metering electricity of the sub-metering point in the corresponding time period; or, the remaining meter reading electricity of the main metering point is obtained based on the sum of the meter reading electricity of the main metering point and the meter reading electricity of the corresponding sub-metering point.
6. The method according to claim 3, further comprising: In response to determining that the main metering point is not time-divided and the sub-metering point is not time-divided, deducting the sub-metering power of the corresponding sub-metering point based on the proportion of the peak and valley power of the main meter of the main metering point to the total current of the main meter, including: Main meter remaining peak power = main meter peak power - deducted peak power, deducted peak power = sub-meter power × main meter peak power / main meter total power; Main meter remaining valley electricity = main meter valley electricity - deducted valley electricity, deducted valley electricity = sub-meter electricity × main meter valley electricity / main meter total electricity; The remaining average power of the main meter = the average power of the main meter - the deducted average power, the deducted average power = the power of the sub-meter - the deducted peak power - the deducted valley power; Alternatively, the sub-meter electricity is deducted from the main meter electricity based on the deduction order of flat section, valley section, peak section, and peak section; Alternatively, a fixed proportion of the corresponding sub-meter electricity is deducted from the main meter electricity; Alternatively, the sub-meter electricity is deducted based on the proportion of the main meter electricity to the total main meter electricity and the time period of the main metering point, including: The total electricity reading of the main meter = peak reading + average reading + valley reading; Main meter remaining peak power = (main meter total reading power - subordinate total reading power) × main meter peak reading / main meter total reading power; Main meter remaining valley electricity = (main meter total reading electricity - subordinate total reading electricity) × main meter valley reading / main meter total reading electricity; The remaining average power of the main meter = the total recorded power of the main meter - the remaining peak power of the main meter - the remaining valley power of the main meter.
7. The method according to claim 2, further comprising: In response to determining that the sub-metering point is a transfer metering point or a real-read metering point, deducting the read electricity of the transfer metering point or the read electricity of the real-read metering point from the corresponding main meter electricity; In response to determining that the sub-metering point is a quantitative metering point, deducting a fixed amount of electricity corresponding to the quantitative metering point from the corresponding main meter electricity; In response to determining that the sub-metering point is a fixed-ratio metering point, a preset proportion of the recorded electricity at the quantitative metering point is deducted from the corresponding main meter electricity.
8. A device for processing power data based on power generation users, comprising: An acquisition module, used to acquire the main meter electricity detected by the main metering point and the sub-meter electricity of the hierarchical sub-metering points under the main metering point; wherein the main metering point is set between the power generation user and the power grid, and is used to detect the power generation of the power generation user; the sub-metering point is set at the power generation equipment of the power generation user, and is used to detect the power consumption of the power generation equipment; the hierarchy of the sub-metering point corresponds to the hierarchy of the power generation equipment; A deduction module is used to deduct the sub-meter electricity of each sub-metering point from the lowest sub-metering point layer by layer based on the main meter electricity to obtain the settlement electricity of the power generation user; Among them, for the sub-metering points at the same level, the corresponding sub-meter electricity is deducted based on the preset attributes and the execution order of the sub-metering points, including: deducting the corresponding sub-meter electricity based on the preset attributes; for the sub-metering points with the same preset attributes, deducting the sub-meter electricity based on the execution order of the sub-metering points.
9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program. 10 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to claim 1 .