CN114358753A - Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium - Google Patents

Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium Download PDF

Info

Publication number
CN114358753A
CN114358753A CN202111416260.3A CN202111416260A CN114358753A CN 114358753 A CN114358753 A CN 114358753A CN 202111416260 A CN202111416260 A CN 202111416260A CN 114358753 A CN114358753 A CN 114358753A
Authority
CN
China
Prior art keywords
allocation
sub
usage
user
actual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111416260.3A
Other languages
Chinese (zh)
Inventor
周毅荣
陈英有
张虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ake Technology Co ltd
Original Assignee
Guangdong Ake Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ake Technology Co ltd filed Critical Guangdong Ake Technology Co ltd
Priority to CN202111416260.3A priority Critical patent/CN114358753A/en
Publication of CN114358753A publication Critical patent/CN114358753A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a dynamic energy consumption charging allocation method, which comprises the following steps: calculating a fixed allocation proportion of a public area according to a preset rule, and calculating the user public area cost to be allocated by a user in a settlement period according to the fixed allocation proportion; constructing an apportionment group, wherein the apportionment group comprises a general table and a plurality of apportionment tables; acquiring the allocation table amount of each allocation table in the allocation group and the total table amount of the total table in an allocation period, and summing the allocation table amounts of all the allocation tables to obtain the total allocation table amount, wherein the allocation period is less than a settlement period; and calculating the sub-table usage ratio of each sub-table, wherein the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage. The invention also discloses a dynamic energy consumption charging allocation system, computer equipment and a storage medium. By adopting the method and the device, the problems of unfairness in the distribution and poor adaptability of the existing energy consumption distribution method can be solved.

Description

Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium
Technical Field
The invention relates to the field of energy consumption amortization, in particular to a dynamic energy consumption charging amortization method, a dynamic energy consumption charging amortization system, computer equipment and a storage medium.
Background
The existing energy consumption amortization method is difficult to adapt to multiple amortization scenes, and most of the existing energy consumption amortization methods adopt a mode of carrying out amortization by counting the total number, so that the amortization proportion of a specific time period is difficult to be more finely amortized, the phenomenon of unfair amortization exists, and meanwhile, the specific calculation rule of the dynamic amortization proportion is not clear.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a dynamic energy consumption billing apportionment method, system, computing device and storage medium, which can solve the problems of unfair apportionment and poor adaptability of the existing energy consumption apportionment method.
In order to solve the technical problem, the invention provides a dynamic energy consumption charging apportionment method, which comprises the following steps: calculating a fixed allocation proportion of a public area according to a preset rule, and calculating the user public area cost to be allocated by a user in a settlement period according to the fixed allocation proportion; constructing an apportionment group, wherein the apportionment group comprises a general table and a plurality of apportionment tables; acquiring the allocation table amount of each allocation table in the allocation group and the total table amount of the total table in an allocation period, and summing the allocation table amounts of all the allocation tables to obtain the total allocation table amount, wherein the allocation period is less than a settlement period; calculating the sub-table usage ratio of each sub-table, wherein the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage; calculating the actual sub-meter usage of each sub-meter, and multiplying the actual sub-meter usage by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter, wherein the actual sub-meter usage of each sub-meter is equal to the total meter usage multiplied by the sub-meter usage ratio of each sub-meter; calculating the dynamic allocation actual usage of the user in an allocation period, wherein the dynamic allocation actual usage is equal to the sum of the actual costs of all the allocation tables bound with the user; summing each of said dynamically allocated actual usage of the users in a settlement period to obtain a dynamically allocated actual total usage of the users; and adding the user public area cost and the dynamic apportionment actual total consumption to obtain the user total apportionment cost.
Preferably, the step of constructing an apportionment group, wherein the apportionment group comprises a total table and a plurality of apportioned tables is preceded by the step of constructing an apportionment group; acquiring the acquisition condition of each allocation table in an allocation group in an allocation period; judging whether each sub-table is normally collected or not; if yes, directly performing dynamic allocation; and if not, removing the allocation group from the allocation table with abnormal acquisition, and then performing dynamic allocation.
Preferably, after the step of calculating the sub-table usage ratio of each sub-table, the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage, the method further includes: summing the fractional table usage ratios of each fractional table in the apportionment group to obtain a fractional table usage ratio sum; judging whether the sum of the sub-table usage ratios is equal to 1 or not; if so, entering the step of calculating the actual sub-table consumption of each sub-table; if not, carrying out error prompt.
Preferably, the step of calculating a fixed allocation proportion of the public area according to a preset rule and calculating the public area cost of each user to be allocated in one settlement period according to the fixed allocation proportion includes: s401, calculating a fixed allocation proportion of a public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements; s402, calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions; s403, judging whether the sum of the fixed apportionment proportions is equal to 1; if yes, go to step S405; s404, if the judgment result is no, carrying out error reporting reminding; s405, obtaining the public total usage of each table in the public area in a settlement period, multiplying the public total usage by the fixed allocation proportion of each user to obtain the actual usage of the public area of the user, and multiplying the actual usage of the public area of the user by the real-time electricity price to obtain the user public area cost to be allocated by each user.
The invention also provides a dynamic energy consumption charging allocation system, which comprises a fixed proportion allocation charging module, a dynamic proportion allocation charging module and a summation module: the fixed proportion allocation charging module is used for calculating a fixed allocation proportion of a public area according to a preset rule and calculating the public area cost of a user to be allocated by the user in a settlement period according to the fixed allocation proportion; the dynamic proportion allocation charging module comprises a construction unit, an acquisition unit and a first calculation unit, wherein the construction unit is used for constructing allocation groups, the acquisition unit is used for acquiring the allocation table usage amount of each allocation table in the allocation groups and the total table usage amount of the total table in one allocation period,
the first calculating unit is used for summing the sub-meter usage of all the sub-meters to obtain the total sub-meter usage, calculating the sub-meter usage ratio of each sub-meter, calculating the actual sub-meter usage of each sub-meter, multiplying the actual sub-meter usage by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter, calculating the dynamic apportioned actual usage of the user in an apportioning period, and summing the dynamic apportioned actual usage of the user in a settlement period to obtain the dynamic apportioned actual total user usage of the user; the summation module is used for summing the user public area cost and the dynamic apportioned actual total consumption to obtain the user total apportioned cost; the allocation group comprises a general table and a plurality of allocation tables, the allocation period is less than the settlement period, the allocation table usage ratio of each allocation table is equal to the ratio of the allocation table usage of each allocation table to the allocation table total usage, the actual allocation table usage of each allocation table is equal to the total table usage multiplied by the allocation table usage ratio of each allocation table, and the actual dynamic allocation usage is equal to the sum of the actual allocation table costs of all the allocation tables bound with the user.
Preferably, the dynamic proportion apportionment charging module further includes a first judging unit; the acquisition unit is also used for acquiring the acquisition condition of each allocation table in an allocation group in an allocation period; the first judging unit is used for judging whether each allocation table is normally acquired, if so, the allocation table is directly dynamically allocated, otherwise, the allocation table which is not normally acquired is removed from the allocation group and then dynamically allocated.
Preferably, the first computing unit is further configured to sum the division ratio of each division table in the allocation group to obtain a division ratio sum; the first judging unit is further configured to judge whether the sub-table usage proportion sum is equal to 1, and if yes, enter the step of calculating the actual sub-table usage of each sub-table, otherwise, perform error reporting and reminding.
Preferably, the fixed proportion apportionment charging module is further configured to: calculating a fixed allocation proportion of the public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements; calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions; and judging whether the sum of the fixed allocation proportions is equal to 1 or not, if not, carrying out error reporting reminding, if so, obtaining the public total usage of all tables in a public area in a settlement period, multiplying the public total usage by the fixed allocation proportions of all users to obtain the actual usage of the public area of the users, and finally multiplying the actual usage of the public area of the users by the real-time electricity price to obtain the user public area cost to be allocated by each user.
The invention also provides computer equipment comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method when executing the instructions.
The present invention also provides a storage medium storing computer instructions which, when executed by a processor, implement the steps of the above-described method.
The beneficial effects of the implementation of the invention are as follows:
the method comprises the steps of calculating a fixed allocation proportion of a public area according to a preset rule, and calculating the public area cost of a user to be allocated by the user in a settlement period according to the fixed allocation proportion; by constructing an apportionment group; obtaining the sub-meter usage of each sub-meter in the allocation group and the total meter usage of the total meter in an allocation period, and summing the sub-meter usage of all the sub-meters to obtain the total meter usage; calculating the sub-table usage ratio of each sub-table; calculating the actual sub-meter consumption of each sub-meter, and multiplying the actual sub-meter consumption by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter; calculating the dynamic apportionment actual consumption of a user in an apportioning period; obtaining a dynamic apportioned actual total usage of the user by summing each of said dynamic apportioned actual usage of the user over a settlement period; and adding the user public area cost and the dynamic apportionment actual total usage to obtain the user total apportioned cost. By adopting the method, the problems of unfair distribution and poor adaptability of the existing energy consumption distribution method can be solved; the invention can solve the problem of unclear spreading rule; the problem that uniform distribution cannot be unfair under the condition that unit prices in different time periods can be solved.
Drawings
FIG. 1 is a flow chart of a dynamic energy consumption billing apportionment method provided by the present invention;
FIG. 2 is a flow diagram of the split-group recombination provided by the present invention;
FIG. 3 is a flow chart of a sub-table usage to total check provided by the present invention;
FIG. 4 is a flow chart of fixed apportioned charging provided by the present invention;
FIG. 5 is a schematic block diagram of a dynamic energy consumption billing allocation method provided by the present invention;
FIG. 6 is a schematic block diagram of a dynamic energy consumption billing and apportioning system provided by the present invention;
fig. 7 is another schematic block diagram of the dynamic energy consumption billing allocation system provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is only noted that the invention is intended to be limited to the specific forms set forth herein, including any reference to the drawings, as well as any other specific forms of embodiments of the invention.
As shown in fig. 1, the present invention provides a dynamic energy consumption charging apportionment method, which includes:
s101, calculating a fixed allocation proportion of a public area according to a preset rule, and calculating the public area cost of a user to be allocated by the user in a settlement period according to the fixed allocation proportion;
s102, establishing an apportionment group, wherein the apportionment group comprises a general table and a plurality of apportionment tables;
s103, acquiring the allocation table usage of each allocation table in the allocation group and the total table usage of the total table in an allocation period, and summing the allocation table usage of all the allocation tables to obtain the total allocation table usage, wherein the allocation period is less than a settlement period;
s104, calculating a sub-table usage ratio of each sub-table, wherein the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage;
s105, calculating the actual sub-meter usage of each sub-meter, and multiplying the actual sub-meter usage by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter, wherein the actual sub-meter usage of each sub-meter is equal to the total meter usage multiplied by the sub-meter usage ratio of each sub-meter;
s106, calculating the dynamic apportionment actual usage of the user in an apportioning period, wherein the dynamic apportionment actual usage is equal to the sum of the actual costs of all the apportioned tables bound with the user;
s107, summing each dynamic apportioned actual usage of the users in a settlement period to obtain dynamic apportioned actual total usage of the users;
and S108, adding the user public area cost and the dynamic apportionment actual total consumption to obtain the user total apportionment cost.
According to the method, the fixed allocation proportion of the public area is calculated according to a preset rule, and the user public area cost to be allocated by a user in a settlement period is calculated according to the fixed allocation proportion; by constructing an apportionment group; obtaining the sub-meter usage of each sub-meter in the allocation group and the total meter usage of the total meter in an allocation period, and summing the sub-meter usage of all the sub-meters to obtain the total meter usage; calculating the sub-table usage ratio of each sub-table; calculating the actual sub-meter consumption of each sub-meter, and multiplying the actual sub-meter consumption by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter; calculating the dynamic apportionment actual consumption of a user in an apportioning period; obtaining a dynamic apportioned actual total usage of the user by summing each of said dynamic apportioned actual usage of the user over a settlement period; and adding the user public area cost and the dynamic apportionment actual total usage to obtain the user total apportioned cost. By adopting the method, the problems of unfair distribution and poor adaptability of the existing energy consumption distribution method can be solved; the invention can solve the problem of unclear spreading rule; the problem that uniform distribution cannot be unfair under the condition that unit prices in different time periods can be solved.
Specifically, a main sub-table relationship of fixed spreading proportion and dynamic spreading is set as a spreading group; each acquisition is a dynamic amortization period, and the dynamic amortization proportion of each table is calculated in the amortization period when the dynamic amortization period is entered (for example, three units are rented in a floor, but only one general table is charged, two units are rented, and one unit is empty, if the dynamic amortization period is directly used for the proportional amortization, the table is required to be amortized if the table is not rented, but if the dynamic amortization period is used, the table is required to be amortized according to the actual utilization rate, and the dynamic amortization period is more accurate); dynamic amortization and fixed-scale amortization will be incorporated into the user's statement after settlement.
It should be noted that, the general summary table is a table approved by the property or power supply bureau when charging, and some items cannot install the chargeable table in each unit, but in order to realize accurate and fair share charging for each unit, the dynamic share mode is used, which is actually converted into the use condition of the unit to share the total usage.
As shown in fig. 2, before the step of constructing an apportionment group, wherein the apportionment group includes a total table and a plurality of apportioned tables, is further included;
s201, acquiring the acquisition condition of each allocation table in an allocation group in an allocation cycle;
s202, judging whether each sub-table is collected normally or not;
s203, when the judgment result is yes, directly performing dynamic allocation;
and S204, if the judgment result is yes, removing the allocation group from the allocation table with abnormal acquisition, and then performing dynamic allocation.
It should be noted that if some table is abnormal, the stall will cause uneven stalls of other users, which is likely to cause complaints, and therefore the stalls must be done normally; if a certain table in the share group can not be normally used, the table does not participate in the share, and other tables in the share group normally share the use amount and the cost of the total table.
As shown in fig. 3, after the step of calculating the sub-table usage ratio of each sub-table, where the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage, the method further includes:
s301, summing the sub-table usage ratios of each sub-table in the allocation group to obtain a total of the sub-table usage ratios;
s302, judging whether the ratio sum of the sub-table usage amounts is equal to 1;
s303, if yes, the step of calculating the actual sub-table usage of each sub-table is carried out;
s304, if the judgment result is no, an error prompt is carried out.
It should be noted that dynamic amortization is a more important step, and this step can specifically calculate the actual proportion of the amortization, and it is determined that the total proportion of the amortization does not exceed 1, so as to ensure the balance of the settlement result to be accurate. The step can calculate in each data acquisition cycle, so that higher amortization precision in different time periods is ensured, and the actual amortization amount of the user is fairer under the condition of different unit prices in different time periods. The electric charge is charged in different time intervals, and the difference of peaks and valleys exists, so the charge in each time interval is also divided in a amortization way. The reason for the actual amortization is that only one meter is used for metering charging, and other meters are only used for monitoring, but the amortization proportion is actually calculated according to the monitored meter.
As shown in fig. 4, the step of calculating the fixed allocation ratio of the public area according to the preset rule and calculating the public area cost of each user to be allocated in one settlement period according to the fixed allocation ratio includes:
s401, calculating a fixed allocation proportion of a public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements;
s402, calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions;
s403, judging whether the sum of the fixed apportionment proportions is equal to 1;
if yes, go to step S405;
s404, if the judgment result is no, carrying out error reporting reminding;
s405, obtaining the public total usage of each table in the public area in a settlement period, multiplying the public total usage by the fixed allocation proportion of each user to obtain the actual usage of the public area of the user, and multiplying the actual usage of the public area of the user by the real-time electricity price to obtain the user public area cost to be allocated by each user.
It should be noted that, in order to avoid the phenomena of missed billing and multiple billing, this embodiment checks each user by determining whether the sum of the fixed apportionment ratios is equal to 1, so as to avoid the phenomena of repeated billing or missed billing.
To sum up, as shown in fig. 5, the main sub-table relationship of the fixed spreading ratio and the dynamic spreading is set as the spreading group; each collection is a dynamic amortization period, if all tables of the amortization group are collected normally, the dynamic amortization ratio of each table is calculated in the dynamic amortization period (for example, three units are rented in a floor, but only one general table is charged, two units are rented, one unit is vacant, if the tables are directly amortized in proportion, the tables which are not rented are required to be amortized, but if the tables are dynamic amortization, the tables are required to be amortized according to the actual utilization rate, and the tables are more accurate); the dynamic amortization and the fixed proportion amortization are merged into a settlement list of a user after settlement, and the settlement list can be configured with a plurality of amortization groups according to a table of the actual amortization required by the user; the relevant settlement results may be stored in a database, and the user may see the specific amortization results when making a bill or viewing details.
The dynamic amortization can specifically calculate the actual amortization proportion, and the total proportion of the amortization is determined not to exceed 1, so that the balance and accuracy of settlement results are ensured. The step can calculate in each data acquisition cycle, so that higher amortization precision in different time periods is ensured, and the actual amortization amount of the user is fairer under the condition of different unit prices in different time periods.
Therefore, the invention can solve the problem of unclear partition rules; the problem that uniform distribution cannot be unfair under the condition of different time unit prices can be solved; the method can be used for carrying out the booth division only under the condition that all booth division tables are normally collected, otherwise, the total settlement is subjected to booth division, and the accuracy of booth division data is ensured.
As shown in fig. 6, the present invention further provides a dynamic energy consumption billing allocation system 1, which includes a fixed proportion allocation billing module 11, a dynamic proportion allocation billing module 12, and a summation module 13: the fixed proportion allocation charging module 11 is used for calculating a fixed allocation proportion of a public area according to a preset rule and calculating user public area cost to be allocated to a user in a settlement period according to the fixed allocation proportion; the dynamic proportion apportionment charging module 12 includes a constructing unit 121, an obtaining unit 122, and a first calculating unit 123, where the constructing unit 121 is configured to construct an apportioned group, the obtaining unit 122 is configured to obtain an apportioned table usage amount of each apportioned table in the apportioned group and a total table usage amount of a total table in one apportioned period,
the first calculating unit 123 is configured to sum the sub-meter usage amounts of all the sub-meters to obtain a total sub-meter usage amount, calculate a sub-meter usage amount ratio of each sub-meter, calculate an actual sub-meter usage amount of each sub-meter, and multiply the actual sub-meter usage amount by a real-time electricity price to obtain an actual sub-meter cost of each sub-meter, calculate a dynamic apportioned actual usage amount of a user in an apportionment period, and sum each dynamic apportioned actual usage amount of the user in a settlement period to obtain a dynamic apportioned actual total user amount of the user;
the summation module 13 is configured to add the user public area cost and the dynamic apportioned actual total usage to obtain a user total apportioned cost;
the allocation group comprises a general table and a plurality of allocation tables, the allocation period is less than the settlement period, the allocation table usage ratio of each allocation table is equal to the ratio of the allocation table usage of each allocation table to the allocation table total usage, the actual allocation table usage of each allocation table is equal to the total table usage multiplied by the allocation table usage ratio of each allocation table, and the actual dynamic allocation usage is equal to the sum of the actual allocation table costs of all the allocation tables bound with the user.
In the invention, the fixed proportion of the public area is calculated by the fixed proportion sharing charging module 11 according to the preset rule, and the user public area cost to be shared by the user in a settlement period is calculated according to the fixed proportion. A sharing group is constructed through a dynamic proportion sharing charging module 12; acquiring the sub-meter usage of each sub-meter in the allocation group and the total meter usage of the total meter in an allocation period, and summing the sub-meter usage of all the sub-meters to obtain the total meter usage; calculating the sub-table usage ratio of each sub-table; calculating the actual sub-meter consumption of each sub-meter, and multiplying the actual sub-meter consumption by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter; calculating the dynamic allocation actual usage of the user in an allocation period; summing each of said dynamically allocated actual usage of the users during a settlement period to obtain a dynamically allocated actual total usage of the users. And adding the user public area cost and the dynamic apportionment actual total consumption through a summing module 13 to obtain the user total apportionment cost. By adopting the method, the problems of unfair distribution and poor adaptability of the existing energy consumption distribution method can be solved; the invention can solve the problem of unclear spreading rule; the problem that uniform distribution cannot be unfair under the condition that unit prices in different time periods can be solved.
Specifically, a main sub-table relationship of fixed spreading proportion and dynamic spreading is set as a spreading group; each acquisition is a dynamic amortization period, and the dynamic amortization proportion of each table is calculated in the amortization period when the dynamic amortization period is entered (for example, three units are rented in a floor, but only one general table is charged, two units are rented, and one unit is empty, if the dynamic amortization period is directly used for the proportional amortization, the table is required to be amortized if the table is not rented, but if the dynamic amortization period is used, the table is required to be amortized according to the actual utilization rate, and the dynamic amortization period is more accurate); dynamic amortization and fixed-scale amortization will be incorporated into the user's statement after settlement.
It should be noted that, the general summary table is a table approved by the property or power supply bureau when charging, and some items cannot install the chargeable table in each unit, but in order to realize accurate and fair share charging for each unit, the dynamic share mode is used, which is actually converted into the use condition of the unit to share the total usage.
As shown in fig. 7, the dynamic proportion apportionment charging module further includes a first determining unit 124; the obtaining unit 124 is further configured to obtain an acquisition status of each allocation table in an allocation group in an allocation cycle; the first judging unit is used for judging whether each allocation table is normally acquired, if so, the allocation table is directly dynamically allocated, otherwise, the allocation table which is not normally acquired is removed from the allocation group and then dynamically allocated.
It should be noted that if some table is abnormal, the stall will cause uneven stalls of other users, which is likely to cause complaints, and therefore the stalls must be done normally; if a certain table in the share group can not be normally used, the table does not participate in the share, and other tables in the share group normally share the use amount and the cost of the total table.
Further, the first calculating unit 123 is further configured to sum the sub-table usage ratios of each sub-table in the apportioned group to obtain a sum of the sub-table usage ratios; the first determining unit 124 is further configured to determine whether the total of the sub-table usage ratios is equal to 1, if so, enter the step of calculating the actual sub-table usage of each sub-table, otherwise, perform an error notification.
It should be noted that dynamic amortization is a more important step, and this step can specifically calculate the actual proportion of the amortization, and it is determined that the total proportion of the amortization does not exceed 1, so as to ensure the balance of the settlement result to be accurate. The step can calculate in each data acquisition cycle, so that higher amortization precision in different time periods is ensured, and the actual amortization amount of the user is fairer under the condition of different unit prices in different time periods. The electric charge is charged in different time intervals, and the difference of peaks and valleys exists, so the charge in each time interval is also divided in a amortization way. The reason for the actual amortization is that only one meter is used for metering charging, and other meters are only used for monitoring, but the amortization proportion is actually calculated according to the monitored meter.
Preferably, the fixed proportion apportionment charging module 11 is further configured to: calculating a fixed allocation proportion of the public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements; calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions; and judging whether the sum of the fixed allocation proportions is equal to 1 or not, if not, carrying out error reporting reminding, if so, obtaining the public total usage of all tables in a public area in a settlement period, multiplying the public total usage by the fixed allocation proportions of all users to obtain the actual usage of the public area of the users, and finally multiplying the actual usage of the public area of the users by the real-time electricity price to obtain the user public area cost to be allocated by each user.
It should be noted that, in order to avoid the phenomena of missed billing and multiple billing, this embodiment checks each user by determining whether the sum of the fixed apportionment ratios is equal to 1, so as to avoid the phenomena of repeated billing or missed billing.
Accordingly, the present invention also provides a computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the instructions. Meanwhile, the invention also provides a storage medium which stores computer instructions, and the computer instructions realize the steps of the method when being executed by a processor.
In summary, the invention sets the main sub-table relationship of the fixed spreading proportion and the dynamic spreading as the spreading group; each collection is a dynamic amortization period, if all tables of the amortization group are collected normally, the dynamic amortization ratio of each table is calculated in the dynamic amortization period (for example, three units are rented in a floor, but only one general table is charged, two units are rented, one unit is vacant, if the tables are directly amortized in proportion, the tables which are not rented are required to be amortized, but if the tables are dynamic amortization, the tables are required to be amortized according to the actual utilization rate, and the tables are more accurate); the dynamic amortization and the fixed proportion amortization are merged into a settlement list of a user after settlement, and the settlement list can be configured with a plurality of amortization groups according to a table of the actual amortization required by the user; the relevant settlement results may be stored in a database, and the user may see the specific amortization results when making a bill or viewing details. The dynamic amortization can specifically calculate the actual amortization proportion, and the total proportion of the amortization is determined not to exceed 1, so that the balance and accuracy of settlement results are ensured. The step can calculate in each data acquisition cycle, so that higher amortization precision in different time periods is ensured, and the actual amortization amount of the user is fairer under the condition of different unit prices in different time periods. Therefore, the invention can solve the problem of unclear partition rules; the problem that uniform distribution cannot be unfair under the condition of different time unit prices can be solved; the method can be used for carrying out the booth division only under the condition that all booth division tables are normally collected, otherwise, the total settlement is subjected to booth division, and the accuracy of booth division data is ensured.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A dynamic energy consumption charging apportionment method is characterized by comprising the following steps:
calculating a fixed allocation proportion of a public area according to a preset rule, and calculating the user public area cost to be allocated by a user in a settlement period according to the fixed allocation proportion;
constructing an apportionment group, wherein the apportionment group comprises a general table and a plurality of apportionment tables;
acquiring the allocation table amount of each allocation table in the allocation group and the total table amount of the total table in an allocation period, and summing the allocation table amounts of all the allocation tables to obtain the total allocation table amount, wherein the allocation period is less than a settlement period;
calculating the sub-table usage ratio of each sub-table, wherein the sub-table usage ratio of each sub-table is equal to the ratio of the sub-table usage of each sub-table to the total sub-table usage;
calculating the actual sub-meter usage of each sub-meter, and multiplying the actual sub-meter usage by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter, wherein the actual sub-meter usage of each sub-meter is equal to the total meter usage multiplied by the sub-meter usage ratio of each sub-meter;
calculating the dynamic allocation actual usage of the user in an allocation period, wherein the dynamic allocation actual usage is equal to the sum of the actual costs of all the allocation tables bound with the user;
summing each of said dynamically allocated actual usage of the users in a settlement period to obtain a dynamically allocated actual total usage of the users;
and adding the user public area cost and the dynamic apportionment actual total consumption to obtain the user total apportionment cost.
2. The dynamic energy consumption billing allocation method of claim 1 wherein said step of constructing an allocation group, wherein said allocation group comprises a summary table and a plurality of allocation tables is preceded by the step of;
acquiring the acquisition condition of each allocation table in an allocation group in an allocation period;
judging whether each sub-table is normally collected or not;
if yes, directly performing dynamic allocation;
and if not, removing the allocation group from the allocation table with abnormal acquisition, and then performing dynamic allocation.
3. The dynamic energy consumption billing allocation method of claim 1, wherein after the step of calculating a sub-table usage ratio for each sub-table, wherein the sub-table usage ratio for each sub-table is equal to the ratio of the sub-table usage for each sub-table to the total sub-table usage, further comprising:
summing the fractional table usage ratios of each fractional table in the apportionment group to obtain a fractional table usage ratio sum;
judging whether the sum of the sub-table usage ratios is equal to 1 or not;
if so, entering the step of calculating the actual sub-table consumption of each sub-table;
if not, carrying out error prompt.
4. The dynamic energy consumption billing allocation method according to claim 1, wherein the step of calculating the fixed allocation ratio of the public area according to the preset rule and calculating the user public area cost to be allocated to each user in a settlement period according to the fixed allocation ratio comprises:
s401, calculating a fixed allocation proportion of a public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements;
s402, calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions;
s403, judging whether the sum of the fixed apportionment proportions is equal to 1;
if yes, go to step S405;
s404, if the judgment result is no, carrying out error reporting reminding;
s405, obtaining the public total usage of each table in the public area in a settlement period, multiplying the public total usage by the fixed allocation proportion of each user to obtain the actual usage of the public area of the user, and multiplying the actual usage of the public area of the user by the real-time electricity price to obtain the user public area cost to be allocated by each user.
5. The utility model provides a dynamic energy consumption charge sharing system which characterized in that, includes fixed proportion sharing charging module, dynamic proportion sharing charging module and summation module:
the fixed proportion allocation charging module is used for calculating a fixed allocation proportion of a public area according to a preset rule and calculating the public area cost of a user to be allocated by the user in a settlement period according to the fixed allocation proportion;
the dynamic proportion allocation charging module comprises a construction unit, an acquisition unit and a first calculation unit, wherein the construction unit is used for constructing allocation groups, the acquisition unit is used for acquiring the allocation table usage amount of each allocation table in the allocation groups and the total table usage amount of the total table in one allocation period,
the first calculating unit is used for summing the sub-meter usage of all the sub-meters to obtain the total sub-meter usage, calculating the sub-meter usage ratio of each sub-meter, calculating the actual sub-meter usage of each sub-meter, multiplying the actual sub-meter usage by the real-time electricity price to obtain the actual sub-meter cost of each sub-meter, calculating the dynamic apportioned actual usage of the user in an apportioning period, and summing the dynamic apportioned actual usage of the user in a settlement period to obtain the dynamic apportioned actual total user usage of the user;
the summation module is used for summing the user public area cost and the dynamic apportioned actual total consumption to obtain the user total apportioned cost;
the allocation group comprises a general table and a plurality of allocation tables, the allocation period is less than the settlement period, the allocation table usage ratio of each allocation table is equal to the ratio of the allocation table usage of each allocation table to the allocation table total usage, the actual allocation table usage of each allocation table is equal to the total table usage multiplied by the allocation table usage ratio of each allocation table, and the actual dynamic allocation usage is equal to the sum of the actual allocation table costs of all the allocation tables bound with the user.
6. The dynamic energy consumption billing and allocation system of claim 5 wherein the dynamic proportional allocation billing module further comprises a first determining unit;
the acquisition unit is also used for acquiring the acquisition condition of each allocation table in an allocation group in an allocation period;
the first judging unit is used for judging whether each allocation table is normally acquired, if so, the allocation table is directly dynamically allocated, otherwise, the allocation table which is not normally acquired is removed from the allocation group and then dynamically allocated.
7. The dynamic energy consumption billing allocation system of claim 5 wherein the first computing unit is further configured to sum the fractional usage ratios of each of the decimeters in the allocation group to obtain a fractional usage ratio sum;
the first judging unit is further configured to judge whether the sub-table usage proportion sum is equal to 1, and if yes, enter the step of calculating the actual sub-table usage of each sub-table, otherwise, perform error reporting and reminding.
8. The dynamic energy consumption billing allocation system of claim 5 wherein the fixed proportion allocation billing module is further configured to: calculating a fixed allocation proportion of the public area according to a preset rule, wherein the preset rule comprises the use area of a user, the number of users or other preset requirements; calculating the sum of the fixed allocation proportions of each user to obtain the sum of the fixed allocation proportions; and judging whether the sum of the fixed allocation proportions is equal to 1 or not, if not, carrying out error reporting reminding, if so, obtaining the public total usage of all tables in a public area in a settlement period, multiplying the public total usage by the fixed allocation proportions of all users to obtain the actual usage of the public area of the users, and finally multiplying the actual usage of the public area of the users by the real-time electricity price to obtain the user public area cost to be allocated by each user.
9. A computer device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-4 when executing the instructions.
10. A storage medium storing computer instructions, characterized in that the computer instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 4.
CN202111416260.3A 2021-11-25 2021-11-25 Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium Pending CN114358753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111416260.3A CN114358753A (en) 2021-11-25 2021-11-25 Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111416260.3A CN114358753A (en) 2021-11-25 2021-11-25 Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114358753A true CN114358753A (en) 2022-04-15

Family

ID=81095437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111416260.3A Pending CN114358753A (en) 2021-11-25 2021-11-25 Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114358753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739827A (en) * 2023-06-19 2023-09-12 杭州电瓦特科技有限公司 Power consumption allocation method, system and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739827A (en) * 2023-06-19 2023-09-12 杭州电瓦特科技有限公司 Power consumption allocation method, system and storage medium

Similar Documents

Publication Publication Date Title
CN113886752A (en) Method, device, terminal and storage medium for calculating carbon emission intensity
CN107228974B (en) Metering system and method based on real-time power utilization
CN114358753A (en) Dynamic energy consumption charging apportionment method, system, computer equipment and storage medium
CN110674452A (en) Method and device for decomposing annual basic electric quantity of generator set
CN103326074B (en) Statistic method and device of charge-discharge cycle number of storage battery
JP2015176305A (en) Electric rate calculation system and electric rate calculation method
CN113870029A (en) Cross-provincial electric power spot market multi-main-body clearing method, system and computer equipment
CN110836990A (en) Electric quantity charging system, method and related device
Maji et al. Untangling Carbon-free Energy Attribution and Carbon Intensity Estimation for Carbon-aware Computing
US20170038416A1 (en) Solar power generation rating system
Sheng et al. Selection of cost allocation methods for power grid enterprises based on entropy weight method
CN113052417A (en) Resource allocation method and device
CN111008829A (en) Charging time-sharing charging method and device, electronic equipment and storage medium
CN110633918A (en) Energy storage system operation evaluation determination method, device, equipment and storage medium
CN115049459A (en) Electricity price recommendation method, device, equipment and storage medium
CN112883588B (en) Method, system and device for simulating sub-industry load curve
CN114792191A (en) Virtual power plant internal income distribution method, device, storage medium and equipment
CN114880534A (en) Load aggregation information display method and device, electronic equipment and storage medium
CN112365174A (en) Residential electricity distribution decision method and system based on electricity consumption behavior preference
CN113780625A (en) Method, system, terminal and storage medium for predicting user electric charge
CN114021460A (en) Method and device for building electric vehicle charging pile benefit measuring and calculating model
CN112884277A (en) Intelligent power utilization system applied to power conversion and supply and use method thereof
CN111476452A (en) Power transmission and distribution cost collection and allocation method based on direct allocation
CN109598856A (en) A kind of energy storage charging method and device
JP2019091248A (en) Electricity charge billing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination