Disclosure of Invention
The invention aims to provide a system for calculating the consumption proportion and the weighted electricity price, which aims to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: a consumption proportion and weighted electricity price measuring and calculating system comprises an electricity price strategy selection module, an electricity price information acquisition module, an electricity utilization condition selection module, an electricity consumption calculation module, a consumption proportion calculation module, an electricity price calculation module and a database, wherein the electricity price strategy selection module is used for confirming whether an electricity utilization strategy selected by a user is a fixed electricity price or a peak-valley-average electricity price, the electricity price information acquisition module inquires electricity price information under the corresponding condition of a region in the database according to the electricity utilization property and the voltage grade selected by the user and feeds the electricity price information back to the electricity price information acquisition module, the electricity price information in the database is regularly updated according to official network information of all regions in the country, the electricity utilization condition selection module selects the electricity utilization condition according to the electricity utilization property of the user and the production condition of a holiday, the electricity consumption calculation module counts the electricity consumption according to the electricity utilization condition of the user, the consumption proportion calculation module is used for calculating the monthly power generation information of the user, then the monthly power consumption is used for removing the power generation amount to obtain the corresponding consumption proportion of the month, and the electricity price calculation module is used for calculating the corresponding fixed electricity price or peak-valley average electricity price of the user each month.
The monthly electricity consumption cost of the electricity consumption project can be rapidly calculated through information exchange between each module and the database, the fixed electricity price can be directly multiplied by the price of the fixed electricity price of the month to which the area belongs by the electricity consumption numerical value, the calculated result is the cost of the fixed electricity price of the month, the peak-valley flat electricity price needs to calculate the electricity consumption of each section of the month tip, the peak, the flat and the valley through the cooperative action of each module, then the prices corresponding to each section of the month to which the area belongs are respectively multiplied, and the calculated result is the cost of the fixed electricity price of the month.
Further, the electricity price information acquisition module is used for retrieving electricity price information under the condition corresponding to the region in the database, and if the electricity price is selected by the user in the electricity price strategy selection module to be fixed, the electricity price information acquired by the electricity price information acquisition module from the database comprises a fixed electricity price value, time and month; if the user selects the peak-valley flat electricity price in the electricity price strategy selection module, the electricity price information acquisition module needs to search the database according to the electricity type and the voltage grade further selected by the userThe electricity price information under the corresponding condition of the region is returned to the electricity price information acquisition module, the electricity price information of the peak-valley average electricity price acquired by the electricity price information acquisition module comprises electricity utilization type, voltage level, peak-valley average time section, affiliated position, month and electricity price value, the electricity utilization type comprises commercial electricity utilization and residential electricity utilization, the specific electricity price value of the peak-valley average electricity price can be correspondingly changed according to the difference of the electricity utilization type, the voltage level, the peak-valley average time section, the affiliated position and the month, and the electricity price information acquisition module automatically substitutes the acquired electricity price information into an electricity price verification formula
![Figure GDA0003630451570000021](https://patentimages.storage.googleapis.com/89/ed/b4/c3e20d9a686c82/GDA0003630451570000021.png)
The a is an electricity utilization type coefficient, when the electricity utilization type is commercial electricity utilization, the value of the a is 5.4, when the electricity utilization type is residential electricity utilization, the value of the a is 5, the b is a voltage level, when the electricity utilization type is commercial electricity utilization, the value of the b is 380 volts, when the electricity utilization type is residential electricity utilization, the value of the b is 220 volts, the c is the number of times of obtaining electricity price information, the initial value of the c is 1, the value of the c is not more than 3, the m is the electricity price value in each section of the peak-valley level, the number of the m is four, and the m is the electricity price m in the peak electricity utilization
1Electricity price m at peak time of electricity consumption
2Electricity price m of using level valley
3Electricity price m at the time of electricity consumption trough
4Respectively mixing m with
1、m
2、m
3、m
4Substituting into an electricity price verification formula, wherein N is a preset electricity value, the value of N is 1.2, L is a preset electricity price maximum error value, the value of L is 0.6, when the value of H is larger than zero, the electricity price information acquisition module judges the value of c, if the value of c is smaller than or equal to 2, the electricity price information acquisition module adds 1 to the value of c and updates the database, meanwhile, the electricity price information acquisition module retrieves the electricity price information under the condition corresponding to the area in the database again and substitutes the electricity price with problems into the electricity price verification formula H again, when the value of c is equal to 3, the value of H is still larger than zero, the result is retained, the database is not updated, the electricity price information is stored into the database through the electricity price information acquisition module, and when the values of H are smaller than zero, the electricity price information is stored into the databaseThe electricity price information acquisition module stores the electricity price information acquired by the user in a database.
Monthly electricity price information of each region in the database can be crawled from each electricity price official website through a crawler technology to update the electricity price information of the database, or the database of the system can be updated through regular manual input.
Further, the electricity consumption situation selection module aims at the peak-valley average electricity price selected by the user in the electricity price strategy selection module, if the electricity price selected by the user in the electricity price strategy selection module is a fixed electricity price, the system does not jump to the electricity consumption situation selection module, the electricity consumption situation selection module needs the user to input the peak-valley average electricity price electricity quantity in one year of the project, the peak-valley average electricity price electricity quantity comprises 12 months, each month has 4 sections which are respectively a peak, a flat and a valley, and each month has a corresponding button for participating in calculation, the back end of the electricity consumption situation selection module can be split according to the electricity consumption input by the user, the electricity consumption splitting mode is that the electricity consumption is divided according to the daily half hour, one month is subdivided into 1440 sections, then the electricity consumption input by the user is evenly distributed into 1440 sections per month, and after the average distribution of the electricity consumption input by the user is completed, the electricity utilization condition selection module needs a user to select electricity utilization properties and production conditions of weekends, holidays and weekends, the electricity utilization properties comprise time periods and electricity consumption proportions, namely the electricity consumption proportions in the corresponding time periods are selected, the electricity consumption proportions are manually filled by the user, the electricity utilization proportion selection module can automatically sort the electricity utilization proportions according to the size, and then the sorted electricity utilization proportions are respectively substituted into an electricity utilization proportion verification formula
![Figure GDA0003630451570000031](https://patentimages.storage.googleapis.com/8a/de/45/e51d7ca077e2a8/GDA0003630451570000031.png)
In (a), the k is
nThe value range of n is 1 to 1438 for the value of the n-th sequenced electricity utilization ratio, S is an estimated error value of the electricity utilization ratio is 10, when the first 10 groups of values of G are all less than or equal to zero, the data are normal, and when the first 10 groups of values of G are greater than zero, the sequenced electricity utilization ratio is comparedThe maximum numerical value of the case is displayed by the electricity utilization condition selection module and confirmed by a client, if the client confirms that the data are normal, the electricity utilization ratio data are normal, if the client does not confirm, the corresponding interval of the electricity utilization ratio is skipped to modify, then the electricity utilization ratio is sorted and verified again until the electricity utilization ratio data are completely normal, and the production conditions of weekends and holidays, namely whether the weekends and holidays use electricity and the duration time, are judged, and the electricity utilization condition selection module uploads the electricity utilization condition data generated by the module to the database for storage.
The monthly power consumption is evenly distributed into 1440 sections, the more the divided sections are, the more accurate the corresponding judgment on the power consumption is, then the power consumption situation of the month is selected, namely the power consumption proportion of the corresponding time period, whether the weekend and holiday are powered and the duration time, the concentrated situation of the power consumption and the daily power consumption of each section can be accurately solved through the power consumption proportion of each section, whether the weekend and holiday are powered and the duration time take into account that some users are not powered on the weekend and holiday, and the sections corresponding to the days without power in the 1440 sections can be directly excluded, so the operation amount is greatly reduced.
Further, the power consumption calculation module acquires the power consumption condition information uploaded by the power condition selection module from the database, then, the production conditions of weekends and holidays in the power utilization condition information are judged, if the weekends and holidays do not use power, the back end of the power consumption calculating module deducts the power consumption corresponding to weekends and holidays, if the power consumption is used on weekends and holidays, the electricity consumption calculation module identifies corresponding intervals among 1440 intervals of the time period in the electricity consumption property, then multiplying the power consumption distributed in the corresponding interval by the power consumption proportion to obtain the power consumption of 1440 intervals in one month, the power consumption calculation module automatically matches 1440 sections of points, peaks, levels and valleys, adds the power consumption of each section in the section to which the power consumption calculation module belongs, counts the power consumption of each section of points, peaks, levels and valleys and the total power consumption of the month, and uploads the power consumption to the database through the power consumption calculation module.
The method divides one month into 1440 intervals according to time, then calculates the electricity consumption of each interval, namely, the electricity consumption which is averagely distributed in the corresponding interval is multiplied by the proportion of the electricity consumption to obtain the electricity consumption of the 1440 intervals in one month, for example, a user selects 18 of all the dates: 00-22: 00 is 150%, the power consumption calculating module will calculate the power consumption of 18: 00-22: and multiplying the power consumption of each section corresponding to 00 by 1.5, confirming the power consumption of each section, on one hand, improving the precision of the power consumption of the user, on the other hand, being beneficial to the division of the sections of the tip, the peak, the flat and the valley by the user, classifying the 1440 power consumption sections into the four sections of the tip, the peak, the flat and the valley through the time points corresponding to the sections of the tip, the peak, the flat and the valley, and summing the power consumption in the four sections to obtain the power consumption of the user in the four sections of the tip, the peak, the flat and the valley.
Furthermore, the consumption proportion calculation module needs to record power generation information, the power generation information includes the type, capacity, power generation data and consumption priority of power generation equipment, the power generation amount generated by the power generation equipment has two consumption modes, namely a full-use mode and a full-amount internet access mode, the two modes are selected, the confirmation of the consumption priority is completed, then the consumption proportion calculation module multiplies the power generation time by the power generation rate of the power generation equipment at the rear end, the total power generation amount of the power generation equipment in the month is calculated, then the consumption proportion calculation module searches a database to obtain the total power consumption amount of the month uploaded by the power consumption calculation module, and then the total power consumption amount of the month is removed from the total power generation amount of the month to obtain the corresponding consumption proportion of the month.
The invention inputs the type, capacity, power generation data and consumption priority of the power generation equipment, on one hand, the power generation equipment can be distinguished, and on the other hand, the total power generation amount of the power generation equipment per month can be rapidly and effectively calculated.
Further, the electricity price calculating module obtains the electricity consumption condition of the month and the corresponding electricity price information from the database, if the electricity strategy is a fixed electricity price, the fixed electricity price value in the electricity price information is directly multiplied by the total electricity consumption of the month to obtain the total electricity price of the month, if the electricity strategy is a peak-valley average electricity price and the consumption priority is full-amount internet access, the electricity consumption of each section of the month tip, peak, flat and valley is respectively multiplied by the electricity price corresponding to each section to obtain the electricity consumption of each section of the month tip, peak, flat and valley, finally the electricity consumption of each section is added to obtain the total electricity price of the month, if the electricity strategy is a peak-valley average electricity price and the consumption priority is full-amount self-consumption, the electricity consumption in the corresponding section is respectively subtracted from the electricity consumption in the 1440 intervals of the month, then the electricity consumption in each section of the month tip, peak, flat and valley is recalculated, and multiplying the electricity consumption of each section of the moon tip, the peak, the flat and the valley by the electricity price corresponding to each section to obtain the electricity consumption of each section of the moon tip, the peak, the flat and the valley, and finally adding the electricity consumption of each section.
The invention can judge the power utilization condition and the corresponding power price information which are obtained from the database, and simultaneously, the power utilization strategies are corresponding to different calculation formulas.
Compared with the prior art, the invention has the following beneficial effects: the method solves the problem that no complete software measuring and calculating tool exists in the photovoltaic energy industry, can save human resources, can greatly shorten the calculation time, and can avoid calculation errors.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-4, the present invention provides a technical solution: a consumption proportion and weighted electricity price measuring and calculating system comprises an electricity price strategy selection module, an electricity price information acquisition module, an electricity utilization condition selection module, an electricity consumption calculation module, a consumption proportion calculation module, an electricity price calculation module and a database, wherein the electricity price strategy selection module is used for confirming whether an electricity utilization strategy selected by a user is a fixed electricity price or a peak-valley-average electricity price, the electricity price information acquisition module inquires electricity price information under the corresponding condition of a region in the database according to the electricity utilization property and the voltage grade selected by the user and feeds the electricity price information back to the electricity price information acquisition module, the electricity price information in the database is regularly updated according to official network information of all regions in the country, the electricity utilization condition selection module selects the electricity utilization condition according to the electricity utilization property of the user and the production condition of a holiday, the electricity consumption calculation module counts the electricity consumption according to the electricity utilization condition of the user, the consumption proportion calculation module is used for calculating the monthly power generation information of the user, then the monthly power consumption is used for removing the power generation amount to obtain the corresponding consumption proportion of the month, and the electricity price calculation module is used for calculating the monthly fixed electricity price or peak-valley-average electricity price of the user.
The electricity price information acquisition module is used for retrieving electricity price information under the condition corresponding to the region in the database, and if the user selects fixed electricity price in the electricity price strategy selection module, the electricity price information acquired from the database by the electricity price information acquisition module comprises a fixed electricity price value, time and month; if the user selects the peak-valley flat electricity price in the electricity price strategy selection module, the electricity price information acquisition module needs to further select the electricity type and the voltage grade according to the userThe method comprises the steps of searching electricity price information under the condition corresponding to the region in a database, returning the electricity price information to an electricity price information acquisition module, wherein the electricity price information of peak-valley flat electricity price acquired by the electricity price information acquisition module comprises electricity utilization types, voltage levels, peak-valley flat time sections, belonged positions, months and electricity price values, the electricity utilization types comprise commercial electricity utilization and residential electricity utilization, the specific electricity price value of the peak-valley flat electricity price can be changed correspondingly according to the difference of the electricity utilization types, the voltage levels, the peak-valley flat time sections, the belonged positions and the months, and the electricity price information acquisition module automatically substitutes the acquired electricity price information into an electricity price verification formula
![Figure GDA0003630451570000061](https://patentimages.storage.googleapis.com/48/47/27/e16fa126cb6d7e/GDA0003630451570000061.png)
The a is a power consumption type coefficient, the value of the a is 5.4 when the power consumption type is commercial power consumption, the value of the a is 5 when the power consumption type is residential power consumption,
b is a voltage level, and when the electricity consumption type is commercial electricity, the value of b is 380 volts, and when the electricity consumption type is residential electricity, the value of b is 220 volts,
c is the number of times of obtaining the electricity price information measured and calculated at this time, the initial value of c is 1, the value of c is not more than 3,
m is the electricity price value in each section with the peak-valley level, the number of m is four, and the m is the electricity price m when the electricity peak appears1Electricity price m at peak time of electricity consumption2Electricity price m of using level valley3Electricity price m at low electricity consumption4Respectively, m is1、m2、m3、m4Substituting into the electricity price verification formula,
the N is a preset electric value, the value of the N is 1.2,
the L is a preset maximum electricity price error value, the value of the L is 0.6,
when the value of H is larger than zero, the electricity price information acquisition module judges the value of c, if the value of c is smaller than or equal to 2, the electricity price information acquisition module adds 1 to the value of c and updates the database, meanwhile, the electricity price information acquisition module retrieves the electricity price information corresponding to the area in the database, replaces the electricity price with the problem in the electricity price verification formula H, if the value of c is equal to 3, the value of H is still larger than zero, the result is reserved, the database is not updated any more, the electricity price information is stored in the database through the electricity price information acquisition module, and when the values of H are smaller than zero, the electricity price information acquisition module stores the electricity price information acquired by the user in the database.
For example, peak-valley electricity price of the residents in Linyi city, electricity price m at peak electricity consumption
11.45 yuan, and the electricity price m at the peak time of electricity consumption
2Electricity price m of 1.36 yuan using level valley
30.85 yuan, electricity price m at the time of electricity consumption valley
4The number of the obtained electricity price information is 1, the voltage level b of the electricity consumption of the residents is 220V, the preset electricity value N is 1.2, the maximum error value L of the preset electricity price is 0.6, and m is calculated respectively
1、m
2、m
3、m
4Substitution of a, b, N and L
The values of H are 1.15, 0.96, -0.1 and-0.1 respectively,
then m is3、m4The electricity price verification result is less than zero, the electricity price verification condition is met,
m
1、m
2the electricity price verification result is larger than zero, the verification condition is not met, the electricity price information acquisition module judges the value of c, if the value of c is smaller than 2, the value of c is added by 1, the database is updated, meanwhile, the electricity price information acquisition module retrieves the peak valley electricity price of the electricity consumed by residents in near-Yi cities in the database again, and the electricity price m when the electricity is consumed in a peak state is used
11.45 yuan, and the electricity price m at the peak time of electricity consumption
2The electricity consumption type coefficient a of the residential electricity consumption is 5, the number of times c of obtaining electricity price information measured and calculated at this time is 2, the voltage level b of the residential electricity consumption is 220V, the preset electricity value N is 1.2, and the preset electricity price maximum error value L is 0.6 to be substituted into the electricity price information again
The values of H obtained are-0.33 and-0.42, respectively, then m
1、m
2The electricity price verification result is less than zero, the verification condition is met, and the electricity price information acquisition module can store the electricity price information acquired by the user into the database.
The electricity consumption condition selection module aims at the peak-valley average electricity price selected by the user in the electricity price strategy selection module, if the electricity price selected by the user in the electricity price strategy selection module is fixed electricity price, the system can not jump to the electricity consumption condition selection module, the electricity consumption condition selection module needs the user to input the peak-valley average electricity price electricity quantity in one year of the project, the peak-valley average electricity price electricity quantity comprises 12 months, each month has 4 sections which are respectively a peak, a flat and a valley, and each month has a corresponding button for participating in calculation, the back end of the electricity consumption condition selection module can be split according to the electricity consumption input by the user, the electricity consumption splitting mode is divided according to half an hour every day, one month is subdivided into 1440 sections, then the electricity consumption input by the user is averagely distributed into 1440 sections per month, and after the average distribution of the electricity consumption input by the user is completed, the electricity utilization condition selection module needs a user to select electricity utilization properties and production conditions of weekends, holidays and weekends, the electricity utilization properties comprise time periods and electricity consumption proportions, namely the electricity consumption proportions in the corresponding time periods are selected, the electricity consumption proportions are manually filled by the user, the electricity utilization condition selection module can automatically sort the electricity utilization proportions according to the size, and then the sorted electricity utilization proportions are respectively substituted into an electricity utilization proportion verification formula
![Figure GDA0003630451570000073](https://patentimages.storage.googleapis.com/c3/43/23/faee1631620122/GDA0003630451570000073.png)
In (a), the k is
nThe value range of n is 1 to 1438, S is a power utilization ratio estimated error value, the power utilization ratio estimated error value S is 10, when the first 10 groups of values of G are all smaller than or equal to zero, the data are normal, when the first 10 groups of values of G are larger than zero, the maximum value of the sequenced power utilization ratio is displayed on a power utilization condition selection module and confirmed with a client, if the client confirms that the data are normal, the power utilization ratio data are normal, and if the client confirms that the data are not normal, the client jumps to the corresponding interval of the power utilization ratio to enter the corresponding interval of the power utilization ratioModifying the line, then sequencing and verifying the electricity utilization proportion again until the electricity utilization proportion data is completely normal,
e.g. the value K of the first three digits of the electricity proportion
1Is 500%, K
2Is 200% and K
3At 180%, the estimated error S of electricity consumption ratio is 10, and K is calculated
1、K
2、K
3The values of S and S are respectively substituted into a power consumption proportion verification formula
If the value of G is 5, namely the first 10 groups of values of G are larger than zero, displaying the maximum value of 500% of the sorted electricity utilization ratio on an electricity utilization condition selection module, confirming with a client, skipping to an interval with the electricity utilization ratio of 500% for modification if the maximum value is caused by user error, and then sorting and verifying the electricity utilization ratio again.
The power utilization condition selection module uploads the power utilization condition data generated by the module to a database for storage.
The power consumption calculation module acquires the power consumption condition information uploaded by the power consumption condition selection module from the database, then judges the production conditions of weekends and holidays in the power consumption condition information, if the weekends and the holidays do not use power, the rear end of the power consumption calculation module deducts the power consumption corresponding to the weekends and the holidays, if the weekends and the holidays use power, the power consumption calculation module identifies the corresponding intervals in 1440 intervals of the time period in the power consumption property, then multiplies the power consumption proportion by the power consumption evenly distributed in the corresponding intervals to obtain the power consumption of 1440 intervals in one month,
for example, the user input selects all dates 18: 00-22: 00 is 150%, the electricity consumption calculating module will calculate the ratio of 18: 00-22: the power usage of each section corresponding to 00 is multiplied by 1.5,
the power consumption calculation module automatically matches 1440 sections of points, peaks, levels and valleys, adds the power consumption of each section in the section to which the power consumption calculation module belongs, counts the power consumption of each section of points, peaks, levels and valleys and the total power consumption of the month, and uploads the power consumption to the database through the power consumption calculation module.
The consumption proportion calculation module needs to record power generation information firstly, the power generation information comprises the type, the capacity, the power generation data and the consumption priority of power generation equipment, the generated energy generated by the power generation equipment has two consumption modes, namely a full-use mode and a full-amount internet access mode, the two modes are selected, the confirmation of the consumption priority is completed, then the consumption proportion calculation module multiplies the power generation time by the power generation rate of the power generation equipment at the rear end to calculate the total generated energy of the power generation equipment in the month, then the consumption proportion calculation module searches a database to obtain the total power consumption of the month uploaded by the power consumption calculation module, and then the total power consumption of the month is removed from the total generated energy of the month to obtain the corresponding consumption proportion of the month.
The electricity price calculation module obtains the electricity consumption condition of the month and corresponding electricity price information from the database, if the electricity strategy is a fixed electricity price, the fixed electricity price value in the electricity price information is directly multiplied by the total electricity consumption of the month to obtain the total electricity price of the month, if the electricity strategy is a peak-valley flat electricity price and the consumption priority is full-amount internet surfing, the electricity consumption of each section of the month tip, peak, flat and valley is respectively multiplied by the electricity price corresponding to each section to obtain the electricity consumption of each section of the month tip, peak, flat and valley, finally the electricity consumption of each section is added to obtain the total electricity price of the month, if the electricity strategy is a peak-valley flat electricity price and the consumption priority is full-amount self-consumption, the electricity consumption in 1440 intervals in the month is respectively subtracted by the electricity generation amount in the corresponding sections, and then the electricity consumption in each section of the month tip, peak, flat and valley is recalculated, and multiplying the electricity consumption of each section of the moon tip, the peak, the flat and the valley by the electricity price corresponding to each section to obtain the electricity consumption of each section of the moon tip, the peak, the flat and the valley, and finally adding the electricity consumption of each section.
The working principle of the invention is as follows:
when a user selects the fixed electricity price in the electricity price strategy selection module, the electricity price information acquisition module acquires the fixed electricity price value of the time period to which the region belongs from the database, and then the electricity price calculation module directly multiplies the electricity consumption of the month by the fixed electricity price value to obtain the electricity consumption of the month;
when the user selects the peak-valley and average electricity price in the electricity price strategy selection module, the electricity price information acquisition module acquires the electricity price information under the corresponding condition of the area from the database according to the electricity consumption type and the voltage grade selected by the user, and then substitutes the acquired electricity price information into the electricity price verification formula
![Figure GDA0003630451570000091](https://patentimages.storage.googleapis.com/32/62/4b/dda7c827c79fd2/GDA0003630451570000091.png)
When the value of H is larger than zero, the electricity price information acquisition module judges the value of c, if the value of c is smaller than or equal to 2, the electricity price information acquisition module adds 1 to the value of c and updates the database, meanwhile, the electricity price information acquisition module retrieves the electricity price information corresponding to the area in the database, replaces the electricity price with the problem in the electricity price verification formula H, if the value of c is equal to 3, the value of H is still larger than zero, the result is reserved, the database is not updated any more, the electricity price information is stored in the database through the electricity price information acquisition module, and when the values of H are smaller than zero, the electricity price information acquisition module stores the electricity price information acquired by the user in the database.
Then the electricity utilization condition selection module needs a user to input peak-valley-level electricity price and quantity of electricity in a year of a project, then the electricity utilization condition selection module divides each corresponding month into four sections of a peak, a level and a valley, divides each month into 1440 intervals according to half an hour, averagely distributes monthly input electricity quantity to the 1440 intervals, then the user selects the electricity utilization ratio of the corresponding time period, and simultaneously selects whether electricity is used on weekends and holidays and duration, the electricity utilization condition selection module can automatically sort the electricity utilization ratio according to size, and then the sorted electricity utilization ratio is respectively substituted into an electricity utilization ratio verification formula
![Figure GDA0003630451570000092](https://patentimages.storage.googleapis.com/9b/ac/f1/fb8ed40a7d638d/GDA0003630451570000092.png)
When the first 10 groups of values of G are all less than or equal to zero, the data are normal, when the first 10 groups of values of G are greater than zero, the maximum value of the sorted electricity utilization ratio is displayed on the electricity utilization condition selection module and confirmed with a client, if the client confirms that the data are normal, the electricity utilization ratio data are all normal, if the client denies, the client jumps to the corresponding interval of the electricity utilization ratio to modify, then the electricity utilization ratio is sorted again and verified until the electricity utilization ratio data are completely normal.
And then the power consumption calculation module calculates according to the specific data of the power consumption condition selection module, deducts the power consumption corresponding to weekends and holidays at the rear end of the power consumption calculation module if the weekends and holidays do not consume power, identifies the corresponding intervals in 1440 intervals in the power consumption property if the weekends and holidays consume power, multiplies the power consumption distributed by the corresponding intervals to obtain the power consumption of 1440 intervals in one month, divides the 1440 intervals into the affiliated tip, peak, flat and valley sections according to the specific time period condition, and automatically counts the total power consumption in the tip, peak, flat and valley sections and the total power consumption in the month and uploads the total power consumption to the database.
The consumption proportion calculation module can calculate the total power generation amount of the power generation equipment in the month according to the recorded power generation information, and then the consumption proportion calculation module can divide the total power consumption amount of the month by the total power generation amount of the month to obtain the corresponding consumption proportion of the month.
When the consumption priority is full internet access, the electricity price calculation module can obtain the electricity consumption condition of the month and the corresponding electricity price information from the database, then the electricity consumption of each section of the month tip, the peak, the average and the valley is multiplied by the electricity price corresponding to each section, and finally the electricity consumption of each section is added to obtain the total electricity consumption of the month.
When the consumption priority is all self-time, the electricity price calculation module subtracts the generated energy in the corresponding interval from the electricity consumption in the 1440 intervals, then counts the electricity consumption in each section of the month tip, the peak, the flat and the valley again, multiplies the electricity consumption in each section of the month tip, the peak, the flat and the valley by the electricity price corresponding to each section to obtain the electricity consumption cost of each section of the month tip, the peak, the flat and the valley, and finally adds the electricity consumption cost of each section.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.