Electricity charge accounting method and device and energy management system
By obtaining the electricity consumption parameters of the target user and setting the electricity bill accounting method and capacity conversion parameters, the problem of inaccurate billing in the existing electricity bill accounting system is solved, and more accurate electricity bill accounting is achieved.
Patent Information
- Application Number
- CN202411931824.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-02
AI Technical Summary
The existing electricity bill accounting system cannot bill based on the user's actual electricity consumption, resulting in inaccurate billing.
By obtaining the target user's electricity consumption parameters, including the electricity consumption cycle and the certified capacity, and setting the electricity bill accounting method and the configuration method of capacity conversion parameters based on these parameters, the total merchant's basic electricity bill is generated.
The accuracy of electricity bill accounting is improved and more accurate cost sharing can be made based on the actual electricity consumption of each merchant.
Smart Images

Figure CN119919135A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electricity fee metering, and in particular to an electricity fee calculation method, device and energy management system. Background Art
[0002] The payment method for large-scale industrial and commercial electricity consumption is different from that for residential electricity consumption. The electricity charges for large-scale industrial and commercial enterprises include a variety of fees, such as basic electricity charges, electricity charges per kilowatt-hour, power regulation charges, line loss charges, apportionment charges, etc. Among them, the basic electricity charge is the fixed electricity charge that large-scale industrial and commercial enterprises should pay to the power grid company every month. Even if the enterprise does not consume any electricity in the month, it still needs to pay the fee to the State Grid.
[0003] Basic electricity charges are charged by transformer capacity, reported demand, and actual demand. For large-scale industry and commerce, the rated capacity of transformers needs to be determined for each merchant based on their needs. When charging each merchant, the fees that each merchant needs to pay need to be determined based on the calculation period and rated capacity.
[0004] At present, the electricity fee accounting system can only calculate electricity fees according to the method set by the system. However, since large-scale industrial and commercial enterprises have a large number of subordinate merchants, the electricity consumption cycle of each merchant may also be different. If the current electricity fee accounting system is still used, since the billing strategy is set by the developer, the accountant cannot make changes according to the actual electricity consumption, and thus cannot accurately calculate the electricity fees of large-scale industrial and commercial enterprises. Summary of the invention
[0005] The embodiments of the present invention provide an electricity fee calculation method, device and energy management system to solve the problem that the current electricity fee calculation system cannot perform billing according to the user's actual electricity consumption, resulting in inaccurate billing.
[0006] In a first aspect, an embodiment of the present invention provides an electricity fee calculation method, comprising:
[0007] Obtain the electricity consumption parameters of all target users; the electricity consumption parameters include the electricity consumption cycle and the approved capacity, and the target user is any user under the total merchant whose electricity charges are to be calculated;
[0008] When it is determined that the target user's electricity consumption cycle is different from the electricity fee calculation cycle, the electricity fee calculation method in the electricity fee calculation system is set;
[0009] Based on the set electricity fee accounting method, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set; wherein the configuration methods of the capacity conversion parameters include a fixed day conversion method and a calendar month conversion method;
[0010] The basic electricity charges for all merchants are generated based on the configuration method of capacity conversion parameters, the electricity consumption parameters of all target users, the electricity fee calculation cycle and the approved capacity of all merchants.
[0011] In a possible implementation, based on the set electricity fee accounting method, the configuration method of the capacity conversion parameter in the electricity fee accounting system is set, including:
[0012] Based on the set electricity fee calculation method, determine the target users that need to be calculated within the electricity fee calculation cycle;
[0013] Based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set.
[0014] In a possible implementation, based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set, including:
[0015] When the number of target users to be calculated is greater than or equal to the first quantity threshold, and the number of months included in the electricity fee calculation period is greater than or equal to the second quantity threshold, the configuration mode of the capacity conversion parameter in the electricity fee calculation system is set to a fixed day conversion mode;
[0016] When the number of target users to be calculated is less than a first quantity threshold, or the number of months included in the electricity fee calculation cycle is less than a second quantity threshold, the configuration mode of the capacity conversion parameters in the electricity fee calculation system is set to a calendar month conversion mode.
[0017] In a possible implementation, based on the configuration mode of the capacity conversion parameters, the electricity consumption parameters of all target users, the electricity fee calculation cycle and the approved capacity of the total merchants, the basic electricity fee of the total merchants is generated, including:
[0018] When the configuration mode of the capacity conversion parameter is configured as the fixed-day conversion mode, the fixed days of the capacity conversion parameter are determined based on the fixed days of the month in the electricity fee calculation cycle;
[0019] The basic electricity charges for all the target users are generated based on the electricity consumption parameters of all the target users, the fixed days of the capacity conversion parameters, the approved capacity of all the merchants and the electricity charge calculation cycle.
[0020] In a possible implementation, based on the electricity consumption parameters of all target users, the fixed days of the capacity conversion parameter, the approved capacity of the total merchants and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated, including:
[0021] Based on the electricity consumption cycle and electricity fee calculation cycle of all target users, the electricity fee calculation cycle is divided into multiple electricity consumption intervals;
[0022] Based on the billing capacity within the target electricity consumption interval, the fixed number of days of the capacity conversion parameter and the number of days in the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity within the target electricity consumption interval;
[0023] Based on the electricity charges of all target electricity consumption ranges, the basic electricity charges for the total merchants are generated.
[0024] In a possible implementation, based on the configuration mode of the capacity conversion parameters, the electricity consumption parameters of all target users, the electricity fee calculation cycle and the approved capacity of the total merchants, the basic electricity fee of the total merchants is generated, including:
[0025] When the configuration mode of the capacity conversion parameter is configured as the calendar month conversion mode, the conversion days of the capacity conversion parameter are determined based on the number of days in the calendar month of the electricity fee calculation cycle;
[0026] The basic electricity charges for all target users are generated based on the electricity consumption parameters of all target users, the conversion days of the capacity conversion parameters, the approved capacity of all merchants and the electricity charge calculation cycle.
[0027] In a possible implementation, based on the electricity consumption parameters of all target users, the conversion days of the capacity conversion parameters, the approved capacity of the total merchants and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated, including:
[0028] Based on the electricity consumption cycle and electricity fee calculation cycle of all target users, the electricity fee calculation cycle is divided into multiple electricity consumption intervals;
[0029] Based on the billing capacity within the target electricity consumption interval, the converted days of the capacity conversion parameter and the days of the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity within the target electricity consumption interval;
[0030] Based on the electricity charges of all target electricity consumption ranges, the basic electricity charges for the total merchants are generated.
[0031] In a possible implementation, after generating the basic electricity fee of the total merchant, it also includes:
[0032] Generate a basic electricity bill based on the basic electricity bill of all merchants;
[0033] The total electricity charge of the total merchants is generated based on the basic electricity charge, electricity charge, power regulation charge, line loss charge and apportionment charge of the total merchants.
[0034] In a second aspect, an embodiment of the present invention provides an electricity fee calculation device, comprising:
[0035] The acquisition module is used to acquire the electricity consumption parameters of all target users; wherein the electricity consumption parameters include the electricity consumption cycle and the approved capacity; wherein the target user is any user under the total merchant whose electricity fee is to be calculated;
[0036] The first setting module is used to set the electricity fee calculation method in the electricity fee calculation system when it is determined that the target user's electricity consumption cycle is different from the electricity fee calculation cycle;
[0037] The second setting module is used to set the configuration method of the capacity conversion parameters in the electricity fee accounting system based on the set electricity fee accounting method; wherein the configuration method of the capacity conversion parameters includes a fixed day conversion method and a calendar month conversion method;
[0038] The electricity fee generation module is used to generate the basic electricity fee of the total merchants based on the configuration method of the capacity conversion parameters, the electricity consumption parameters of all target users, the electricity fee calculation cycle and the approved capacity of the total merchants.
[0039] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of the method described in the first aspect or any possible implementation manner of the first aspect.
[0040] In a fourth aspect, an embodiment of the present invention provides an energy management system, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the method described in the first aspect or any possible implementation of the first aspect.
[0041] The embodiment of the present invention provides an electricity fee accounting method, device and energy management system. First, the electricity consumption parameters of all target users are obtained, wherein the electricity consumption parameters include electricity consumption cycle and approved capacity. Next, based on the electricity consumption cycle and electricity fee accounting cycle of all target users, when it is determined that the electricity consumption cycle of the target user is different from the electricity fee accounting cycle, the electricity fee accounting method in the electricity fee accounting system is set. Then, based on the set electricity fee accounting method, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set. Finally, based on the configuration method of the capacity conversion parameters, the electricity consumption parameters of all target users, the electricity fee accounting cycle and the approved capacity of the total merchants, the basic electricity fee of the total merchants is generated. The present invention determines the electricity fee accounting method through the electricity consumption cycle and the electricity fee accounting cycle of the target users, thereby eliminating the need to use only a fixed accounting method, thereby improving the accuracy of basic electricity fee accounting. In addition, based on the set electricity fee accounting method, the configuration method of the capacity conversion parameters in the electricity fee accounting system can also be set to a fixed day conversion method or a calendar month conversion method, which can further improve the accuracy of the total merchant accounting. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 is a flow chart of an implementation of the electricity fee calculation method provided by an embodiment of the present invention;
[0044] Figure 2 It is a schematic diagram of the setting of the electricity fee accounting method in the electricity fee accounting system provided by an embodiment of the present invention;
[0045] Figure 3 It is a structural schematic diagram of an electricity fee calculation device provided by an embodiment of the present invention;
[0046] Figure 4 It is a block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0048] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0049] As described in the background technology, for large industrial and commercial users, since they have many subordinate merchants and different merchants have different electricity usage cycles, if the current single billing method is still used, it will cause inaccurate billing. If all merchants are billed based on their electricity usage cycles, the accounting personnel need to calculate manually, which takes too much time and is prone to errors due to the different proficiency of the accounting personnel.
[0050] In order to solve the problems in the prior art, the embodiments of the present invention provide an electricity fee calculation method, device and energy management system. The electricity fee calculation method provided by the embodiments of the present invention is first introduced below.
[0051] See also Figure 1 , which shows a flow chart of the implementation of the electricity fee calculation method provided by an embodiment of the present invention, which is described in detail as follows:
[0052] S110. Obtain electricity consumption parameters of all target users.
[0053] Electricity usage parameters include electricity usage cycle and approved capacity, and the target user is any user under the total merchant whose electricity bill is to be calculated.
[0054] The electricity consumption cycle refers to the electricity consumption time of the target user within the electricity fee calculation cycle.
[0055] The approved capacity refers to the transformer capacity that the target user determines with the general merchant to provide to the target user each month when the target user opens an account.
[0056] The billing capacity of the target user can be determined based on the target user's electricity usage cycle and approved capacity. However, for the total merchant, due to the different electricity usage cycles of different target users, if the approved capacity of the total merchant is directly multiplied by the electricity fee calculation cycle, the accuracy will be low. Therefore, in order to accurately calculate the basic electricity consumption of the total merchant, the electricity fee calculation method needs to be set.
[0057] S120: When it is determined that the target user's electricity usage cycle is different from the electricity fee calculation cycle, an electricity fee calculation method in the electricity fee calculation system is set.
[0058] In order to accurately calculate the basic electricity charges for all merchants, the electricity charge calculation method can be set according to the electricity usage cycle of each target user.
[0059] When the electricity consumption cycle of each target user is the same as the electricity fee calculation cycle, the basic electricity fee of the total merchant can be calculated directly by multiplying the approved capacity of the total merchant by the electricity fee calculation cycle.
[0060] However, if the electricity consumption cycle of each target user is different from the electricity fee calculation cycle, it is necessary to set the electricity fee calculation method in the electricity fee calculation system. Figure 2As shown, the electricity fee accounting system includes a capacity total score calculation module, a household suspension calculation module, a capacity less than 101KVA calculation module, and a capacity conversion parameter module. Among them, the capacity total score calculation module is set according to whether the electricity consumption cycle of each target user is the same as the electricity fee accounting cycle. If they are the same, the capacity total score calculation module is set to "No", indicating that the current total merchant's billing capacity is equal to its approved capacity. If the capacity total score calculation module is set to "Yes", it means that the billing capacity of the total merchant needs to be calculated based on the electricity consumption of each target user. The household suspension calculation module is set according to the status of the target user. When it is configured as "Yes", it means that the approved capacity of the target user needs to be calculated when the target user is not using electricity. When the household suspension calculation module is configured as "No", when the target user is not using electricity, the approved capacity of the target user needs to be subtracted when the total merchant calculates the billing capacity. The 101KVA in the "Whether to calculate if capacity is less than 101KVA" module is a set billing capacity. Users can modify the value according to specific application scenarios. When the "Whether to calculate if capacity is less than 101KVA" module is configured as "Yes", if the approved capacity of a target user is less than 101KVA, the approved capacity of the target user needs to be subtracted when calculating the billing capacity of the total merchant, otherwise it will not be subtracted.
[0061] S130: Based on the set electricity fee accounting method, a configuration method of the capacity conversion parameters in the electricity fee accounting system is set.
[0062] The configuration methods of capacity conversion parameters include fixed day conversion method and calendar month conversion method. Fixed day conversion method means that the calculation will be based on a fixed 30-day month, and the billing capacity = {approved capacity} / 30*actual number of days used. Calendar month conversion method means that the calculation will be based on the number of days in the natural month, and the billing capacity = ∑{approved capacity} / number of days in the calendar month*actual number of days used in the month.
[0063] If the electricity billing period is 2024.05.21-2024.06.21, then the billing capacity in May = {approved capacity} / 31*11, and the billing capacity in June = {approved capacity} / 30*21. The final billing capacity = the billing capacity in May + the billing capacity in June.
[0064] In some embodiments, first, based on the set electricity fee calculation method, the target users who need to be calculated within the electricity fee calculation period can be determined, that is, the target users who use electricity within the electricity fee calculation period can be determined.
[0065] Then, based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set.
[0066] In this embodiment, when the number of target users to be calculated is greater than or equal to the first quantity threshold, and the number of months included in the electricity billing cycle is greater than or equal to the second quantity threshold, the configuration method of the capacity conversion parameters in the electricity billing system is set to a fixed-day conversion method. The first quantity threshold and the second quantity threshold can be set according to the specific usage scenario, and are not limited here. When the number of target users to be calculated is large, and the number of months included in the electricity billing cycle is also large, in order to quickly calculate the billing capacity of the total merchants, the calculation can be based on the fixed-day conversion method.
[0067] When the number of target users to be calculated is less than a first quantity threshold, or the number of months included in the electricity fee calculation cycle is less than a second quantity threshold, the configuration mode of the capacity conversion parameters in the electricity fee calculation system is set to a calendar month conversion mode.
[0068] When the capacity total calculation module in the electricity fee accounting method is set to "Yes", it is necessary to calculate the total merchant billing capacity based on the electricity consumption of each target user. At this time, the configuration method of the capacity conversion parameters in the electricity fee accounting system can be set according to the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for.
[0069] S140 , generating a basic electricity fee for all merchants based on the configuration method of the capacity conversion parameters, the electricity usage parameters of all target users, the electricity fee calculation cycle, and the approved capacity of all merchants.
[0070] In some embodiments, when the configuration mode of the capacity conversion parameter is configured as a fixed-day conversion mode, the fixed days of the capacity conversion parameter are determined based on the fixed days of the month in the electricity fee calculation cycle. Then, based on the electricity consumption parameters of all target users, the fixed days of the capacity conversion parameter, the approved capacity of the total merchants, and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated.
[0071] In this embodiment, when the electricity usage cycles of target users are different, or when target users are associated, disassociated, increased or decreased in capacity, in order to accurately calculate the basic electricity charges of the total merchant, the billing capacity can be calculated in segments.
[0072] Specifically, firstly, based on the electricity consumption cycles and electricity fee calculation cycles of all target users, the electricity fee calculation cycle is divided into a plurality of electricity consumption intervals.
[0073] Then, based on the billing capacity in the target electricity consumption interval, the fixed number of days of the capacity conversion parameter and the number of days in the target electricity consumption interval, the electricity fee in the target electricity consumption interval is determined. The billing capacity in the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity in the target electricity consumption interval.
[0074] Finally, based on the electricity charges of all target electricity consumption ranges, the basic electricity charge of the total merchant is generated.
[0075] In some embodiments, when the configuration mode of the capacity conversion parameter is configured as the calendar month conversion mode, the conversion days of the capacity conversion parameter are determined based on the number of days in the calendar month of the electricity fee calculation cycle. Then, based on the electricity consumption parameters of all target users, the conversion days of the capacity conversion parameter, the approved capacity of the total merchants and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated.
[0076] In this embodiment, first, based on the electricity usage cycles and electricity fee calculation cycles of all target users, the electricity fee calculation cycle can be divided into multiple electricity usage intervals.
[0077] Then, the electricity fee of the target electricity consumption interval is determined based on the billing capacity in the target electricity consumption interval, the converted days of the capacity conversion parameter and the days of the target electricity consumption interval. The billing capacity in the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity in the target electricity consumption interval.
[0078] Finally, based on the electricity charges of all target electricity consumption ranges, the basic electricity charge of the total merchant is generated.
[0079] Therefore, by calculating the electricity fee calculation cycle in segments based on the electricity consumption cycle of the target user, the basic electricity fee of the total merchant can be accurately calculated.
[0080] In some embodiments, after the basic electricity fee of the total merchant is determined, a basic electricity fee settlement sheet may also be generated.
[0081] In some embodiments, after the basic electricity fee of the total merchant is determined, the total electricity fee of the total merchant can also be generated based on the basic electricity fee, kilowatt-hour electricity fee, power regulation fee, line loss fee and apportionment fee of the total merchant.
[0082] For ease of understanding, a specific embodiment is given based on the method for calculating electricity charges provided by the present invention.
[0083] Assume that there are two target users under the total merchant, Merchant A and Merchant B. The approved capacity of the total merchant is 1000KVA, the approved capacity of Merchant A is 100KVA, and the approved capacity of Merchant B is 200KVA. Merchant A starts using electricity on February 10, and Merchant B starts using electricity on February 15. Calculate the basic electricity charges of the total merchant from [2.1-2.28], where square brackets represent inclusive boundaries and small brackets represent exclusive boundaries.
[0084] The electricity fee calculation period is [2.1-2.28]. The electricity consumption period and electricity fee calculation period of Merchant A and Merchant B are different. Therefore, the capacity total score calculation module in the electricity fee calculation system is set to "Yes", and the parameter value of "Whether to calculate the suspension of each household" is "Yes", and the parameter value of "Whether to calculate the capacity less than 101KVA" is "Yes".
[0085] Since there are only two target users to be calculated within the electricity billing cycle, and the electricity billing cycle is only one month, the first quantity threshold in the electricity billing system is 5, and the second quantity threshold is 6. Therefore, the configuration mode of the capacity conversion parameters in the electricity billing system is set to a fixed-day conversion mode.
[0086] In order to accurately calculate the billing capacity of the total merchants, the electricity fee calculation period [2.1-2.28] is divided into three intervals: [2.01-2.10), [2.10-2.15), and [2.15-2.28].
[0087] In the interval [2.01-2.10), only the total merchants used it, and the actual number of days of use was 9 days. The interval billing capacity of the total merchants = 1000 / 28*9 = 321.42857.
[0088] In the interval [2.10-2.15), the actual electricity users are the total merchants and merchant A, and the actual usage days are 5 days. The interval billing capacity of the total merchants = (1000-100) / 28*5 = 160.714286.
[0089] In the interval [2.15-2.28], the actual electricity users are the total merchants, merchant A and merchant B, and the actual usage days are 14 days. The interval billing capacity of the total merchants = (1000-100-200) / 28*14 = 350.
[0090] The total merchant billing capacity = 321.42857 + 160.714286 + 350 = 832.142856.
[0091] The electricity fee accounting method provided by the present invention first obtains the electricity consumption parameters of all target users, wherein the electricity consumption parameters include the electricity consumption cycle and the approved capacity. Then, based on the electricity consumption cycle and the electricity fee accounting cycle of all target users, when it is determined that the electricity consumption cycle of the target user is different from the electricity fee accounting cycle, the electricity fee accounting method in the electricity fee accounting system is set. Then, based on the set electricity fee accounting method, the configuration method of the capacity conversion parameter in the electricity fee accounting system is set. Finally, based on the configuration method of the capacity conversion parameter, the electricity consumption parameters of all target users, the electricity fee accounting cycle and the approved capacity of the total merchants, the basic electricity fee of the total merchants is generated. The present invention determines the electricity fee accounting method through the electricity consumption cycle and the electricity fee accounting cycle of the target user, thereby improving the accuracy of the basic electricity fee accounting without only adopting a fixed accounting method. In addition, based on the set electricity fee accounting method, the configuration method of the capacity conversion parameter in the electricity fee accounting system can also be set to a fixed day conversion method or a calendar month conversion method, thereby further improving the accuracy of the total merchant accounting.
[0092] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean 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 embodiment of the present invention.
[0093] Based on the electricity fee calculation method provided in the above embodiment, the present invention also provides a specific implementation of an electricity fee calculation device applied to the electricity fee calculation method. Please refer to the following embodiment.
[0094] like Figure 3 As shown, an electricity fee calculation device 300 is provided, and the device includes:
[0095] The acquisition module 310 is used to acquire the power consumption parameters of all target users; wherein the power consumption parameters include the power consumption cycle and the approved capacity; wherein the target user is any user under the total merchant whose electricity fee is to be calculated;
[0096] The first setting module 320 is used to set the electricity fee calculation method in the electricity fee calculation system when it is determined that the target user's electricity usage cycle is different from the electricity fee calculation cycle;
[0097] The second setting module 330 is used to set the configuration mode of the capacity conversion parameter in the electricity fee accounting system based on the set electricity fee accounting mode; wherein the configuration mode of the capacity conversion parameter includes a fixed day conversion mode and a calendar month conversion mode;
[0098] The electricity fee generation module 340 is used to generate the basic electricity fee of the total merchants based on the configuration mode of the capacity conversion parameters, the electricity usage parameters of all target users, the electricity fee calculation cycle and the approved capacity of the total merchants.
[0099] In a possible implementation, the second setting module 330 is used to determine the target users that need to be calculated within the electricity fee calculation period based on the set electricity fee calculation method;
[0100] Based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set.
[0101] In a possible implementation, the second setting module 330 is used to set the configuration mode of the capacity conversion parameters in the electricity fee accounting system to a fixed-day conversion mode when the number of target users to be accounted for is greater than or equal to a first number threshold and the number of months included in the electricity fee accounting cycle is greater than or equal to a second number threshold;
[0102] When the number of target users to be calculated is less than a first quantity threshold, or the number of months included in the electricity fee calculation cycle is less than a second quantity threshold, the configuration mode of the capacity conversion parameters in the electricity fee calculation system is set to a calendar month conversion mode.
[0103] In a possible implementation, the electricity fee generating module 340 is used to determine the fixed days of the capacity conversion parameter based on the fixed days of the month in the electricity fee calculation cycle when the configuration mode of the capacity conversion parameter is configured as the fixed days conversion mode;
[0104] The basic electricity charges for all the target users are generated based on the electricity consumption parameters of all the target users, the fixed days of the capacity conversion parameters, the approved capacity of all the merchants and the electricity charge calculation cycle.
[0105] In a possible implementation, the electricity fee generating module 340 is used to divide the electricity fee calculation period into a plurality of electricity usage intervals based on the electricity usage periods and electricity fee calculation periods of all target users;
[0106] Based on the billing capacity within the target electricity consumption interval, the fixed number of days of the capacity conversion parameter and the number of days in the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity within the target electricity consumption interval;
[0107] Based on the electricity charges of all target electricity consumption ranges, the basic electricity charges for the total merchants are generated.
[0108] In a possible implementation, the electricity fee generating module 340 is used to determine the conversion days of the capacity conversion parameter based on the number of days in the calendar month of the electricity fee calculation cycle when the configuration mode of the capacity conversion parameter is configured as the calendar month conversion mode;
[0109] The basic electricity charges for all target users are generated based on the electricity consumption parameters of all target users, the conversion days of the capacity conversion parameters, the approved capacity of all merchants and the electricity charge calculation cycle.
[0110] In a possible implementation, the electricity fee generating module 340 is used to divide the electricity fee calculation period into a plurality of electricity usage intervals based on the electricity usage periods and electricity fee calculation periods of all target users;
[0111] Based on the billing capacity within the target electricity consumption interval, the converted days of the capacity conversion parameter and the days of the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are the target users who use electricity within the target electricity consumption interval;
[0112] Based on the electricity charges of all target electricity consumption ranges, the basic electricity charges for the total merchants are generated.
[0113] In a possible implementation, a basic electricity fee settlement sheet is generated based on the basic electricity fee of the total merchant;
[0114] The total electricity charge of the total merchants is generated based on the basic electricity charge, electricity charge, power regulation charge, line loss charge and apportionment charge of the total merchants.
[0115] Figure 4 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned various electricity fee calculation method embodiments are implemented, such as Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each module in the above-mentioned device embodiments are realized, for example, Figure 3 The functions of modules 310 to 340 are shown.
[0116] Exemplarily, the computer program 42 may be divided into one or more modules, which are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 42 in the electronic device 4. For example, the computer program 42 may be divided into Figure 3 Modules 310 to 340 are shown.
[0117] The electronic device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0118] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0119] The memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used to store the computer program and other programs and data required by the electronic device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0120] In addition, the present invention also provides an energy management system, in which a computer program is stored, and the computer program is characterized in that when executed by a processor, the steps of the method described in any one of the first aspects are implemented.
[0121] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0123] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0124] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0126] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0127] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various electricity fee accounting method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0128] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for calculating electricity charges, characterized in that: include: Obtaining electricity consumption parameters of all target users; wherein the electricity consumption parameters include electricity consumption cycle and approved capacity, and the target user is any user under the total merchant whose electricity fee is to be calculated; When it is determined that the target user's electricity usage cycle is different from the electricity fee calculation cycle, setting the electricity fee calculation method in the electricity fee calculation system; Based on the set electricity fee accounting method, the configuration method of the capacity conversion parameter in the electricity fee accounting system is set; wherein the configuration method of the capacity conversion parameter includes a fixed day conversion method and a calendar month conversion method; Based on the configuration mode of the capacity conversion parameters, the electricity consumption parameters of all the target users, the electricity fee calculation cycle and the approved capacity of the total merchants, the basic electricity fee of the total merchants is generated.
2. The electricity fee calculation method according to claim 1, characterized in that: The configuration method of the capacity conversion parameter in the electricity fee accounting system is set based on the set electricity fee accounting method, including: Based on the set electricity fee calculation method, determine the target users to be calculated within the electricity fee calculation period; Based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set.
3. The electricity fee calculation method according to claim 2, characterized in that: The configuration method of the capacity conversion parameter in the electricity fee accounting system is set based on the number of months included in the electricity fee accounting cycle and the number of target users to be accounted for, including: When the number of target users to be calculated is greater than or equal to a first quantity threshold, and the number of months included in the electricity fee calculation period is greater than or equal to a second quantity threshold, the configuration mode of the capacity conversion parameter in the electricity fee calculation system is set to a fixed-day conversion mode; When the number of target users to be calculated is less than the first quantity threshold, or the number of months included in the electricity fee accounting cycle is less than the second quantity threshold, the configuration method of the capacity conversion parameters in the electricity fee accounting system is set to the calendar month conversion method.
4. The electricity fee calculation method according to claim 1, characterized in that: The generating of the basic electricity fee of the total merchant based on the configuration mode of the capacity conversion parameter, the electricity consumption parameters of all the target users, the electricity fee calculation cycle and the approved capacity of the total merchant includes: When the configuration mode of the capacity conversion parameter is configured as a fixed-day conversion mode, the fixed days of the capacity conversion parameter are determined based on the fixed days of the month in the electricity fee calculation cycle; Based on the electricity consumption parameters of all the target users, the fixed number of days of the capacity conversion parameter, the approved capacity of the total merchants and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated.
5. The electricity fee calculation method according to claim 4, characterized in that: The generating of the basic electricity fee of the total merchant based on the electricity consumption parameters of all the target users, the fixed number of days of the capacity conversion parameter, the approved capacity of the total merchant and the electricity fee calculation cycle includes: Based on the electricity usage cycles of all the target users and the electricity fee calculation cycle, the electricity fee calculation cycle is divided into a plurality of electricity usage intervals; Based on the billing capacity within the target electricity consumption interval, the fixed number of days of the capacity conversion parameter and the number of days of the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are target users who use electricity within the target electricity consumption interval; Based on the electricity charges of all the target electricity usage intervals, a basic electricity charge for the total merchant is generated.
6. The electricity fee calculation method according to claim 1, characterized in that: The generating of the basic electricity fee of the total merchant based on the configuration mode of the capacity conversion parameter, the electricity consumption parameters of all the target users, the electricity fee calculation cycle and the approved capacity of the total merchant includes: When the configuration mode of the capacity conversion parameter is configured as the calendar month conversion mode, the conversion days of the capacity conversion parameter are determined based on the number of days in the calendar month of the electricity fee calculation period; Based on the electricity consumption parameters of all the target users, the conversion days of the capacity conversion parameter, the approved capacity of the total merchants and the electricity fee calculation cycle, the basic electricity fee of the total merchants is generated.
7. The electricity fee calculation method according to claim 6, characterized in that: The generating of the basic electricity fee of the total merchant based on the electricity consumption parameters of all the target users, the conversion days of the capacity conversion parameter, the approved capacity of the total merchant and the electricity fee calculation cycle includes: Based on the electricity usage cycles of all the target users and the electricity fee calculation cycle, the electricity fee calculation cycle is divided into a plurality of electricity usage intervals; Based on the billing capacity within the target electricity consumption interval, the converted days of the capacity conversion parameter and the days of the target electricity consumption interval, the electricity fee of the target electricity consumption interval is determined; wherein the billing capacity within the target electricity consumption interval is determined by the approved capacity of the total merchant and the approved capacity of all sub-users, and the sub-users are target users who use electricity in the target electricity consumption interval; Based on the electricity charges of all the target electricity usage intervals, a basic electricity charge for the total merchant is generated.
8. The electricity fee calculation method according to any one of claims 1 to 7, characterized in that: After generating the basic electricity fee of the total merchant, it also includes: Based on the basic electricity charges of the total merchants, generate a basic electricity charge settlement sheet; The total electricity charge of the total merchant is generated based on the basic electricity charge, kilowatt-hour electricity charge, power regulation electricity charge, line loss charge and apportionment charge of the total merchant.
9. An electricity fee calculation device, characterized in that: include: An acquisition module is used to acquire the electricity consumption parameters of all target users; wherein the electricity consumption parameters include the electricity consumption cycle and the approved capacity, and the target user is any user under the total merchant whose electricity fee is to be calculated; A first setting module is used to set the electricity fee calculation method in the electricity fee calculation system when it is determined that the electricity consumption cycle of the target user is different from the electricity fee calculation cycle; A second setting module is used to set the configuration mode of the capacity conversion parameters in the electricity fee accounting system based on the set electricity fee accounting mode; wherein the configuration mode of the capacity conversion parameters includes a fixed day conversion mode and a calendar month conversion mode; The electricity fee generation module is used to generate the basic electricity fee of the total merchant based on the configuration mode of the capacity conversion parameter, the electricity consumption parameters of all the target users, the electricity fee calculation cycle and the approved capacity of the total merchant.
10. An energy management system, wherein the energy management system stores a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.