CN111563764B - Electricity price calculation method and device, shared electricity utilization system and storage medium - Google Patents
Electricity price calculation method and device, shared electricity utilization system and storage medium Download PDFInfo
- Publication number
- CN111563764B CN111563764B CN202010316831.5A CN202010316831A CN111563764B CN 111563764 B CN111563764 B CN 111563764B CN 202010316831 A CN202010316831 A CN 202010316831A CN 111563764 B CN111563764 B CN 111563764B
- Authority
- CN
- China
- Prior art keywords
- electricity
- time
- price
- user
- power supply
- 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.)
- Active
Links
- 230000005611 electricity Effects 0.000 title claims abstract description 382
- 238000004364 calculation method Methods 0.000 title claims description 18
- 238000000034 method Methods 0.000 claims abstract description 33
- 238000004891 communication Methods 0.000 claims description 11
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000011835 investigation Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000010248 power generation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0283—Price estimation or determination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
- G06Q30/0206—Price or cost determination based on market factors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a power price calculating method, a device, a shared power consumption system and a storage medium. The method comprises the following steps: acquiring a power consumption request sent by a user terminal, analyzing the power consumption request to obtain power consumption time length, power consumption starting time and a region where the user terminal is located, and determining a power consumption period according to the power consumption starting time and the power consumption time length; acquiring historical real-time electricity prices corresponding to electricity utilization periods in set days of the region where the user terminal is located, and calculating average electricity prices of the historical real-time electricity prices at all times in the electricity utilization periods; and predicting the electricity price to be paid by the user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal. According to the technical scheme of the embodiment, the electricity price which needs to be paid by the user using the shared electricity system is calculated through the historical real-time electricity price of the previous period, so that the user knows the electricity price which needs to be paid by the user using the shared electricity system in the selected period in advance, the user is guided to reasonably adjust the electricity time, and the power grid pressure is reduced.
Description
Technical Field
The embodiment of the invention relates to a power measurement and charging technology, in particular to a power price calculation method, a device, a shared power consumption system and a storage medium.
Background
Under the large background of 'sharing economy', various shared products are vigorously developed, but in the power industry, as the traditional resident electric energy metering management mode is one-time-of-use, manual meter reading, manual charging and personal charging, the mode inevitably has a plurality of problems, such as insufficient time for collecting data, labor consumption, high cost, low efficiency, fixed electricity price and the like. However, this approach is not beneficial for guiding the user's power usage behavior, resulting in no relief of the power usage forces during peak power usage periods.
Disclosure of Invention
The embodiment of the invention provides a power price calculating method, a device, a shared power consumption system and a storage medium, which can improve the instantaneity and the intelligence of power consumption metering of users.
In a first aspect, an embodiment of the present invention provides a method for calculating electricity prices, including:
acquiring an electricity consumption request sent by a user terminal, analyzing the electricity consumption request to obtain electricity consumption time length, electricity consumption starting time and the region where the user terminal is located, and determining an electricity consumption period according to the electricity consumption starting time and the electricity consumption time length;
acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in set days of the region where the user terminal is located, and calculating average electricity prices at all times according to the historical real-time electricity prices corresponding to the electricity consumption time periods;
and predicting the electricity price to be paid by the user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal.
In a second aspect, an embodiment of the present invention further provides a real-time electricity price calculating device, including:
the power consumption request acquisition module is used for acquiring a power consumption request sent by the user terminal, analyzing the power consumption request to obtain power consumption time length, power consumption starting time and the region where the user terminal is located, and determining a power consumption period according to the power consumption starting time and the power consumption time length;
the average electricity price calculation module is used for acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in the set days of the region where the user terminal is located, and calculating average electricity prices at all times according to the historical real-time electricity prices corresponding to the electricity consumption time periods;
and the electricity price payment determining module is used for predicting the electricity price to be paid by the user according to the average electricity price and sending the electricity price to be paid by the user to the user terminal.
In a third aspect, an embodiment of the present invention further provides a shared power consumption system, including:
the user terminal is in communication connection with the master station server and is used for sending an electricity consumption request to the master station server, wherein the electricity consumption request comprises a terminal identifier, an electricity consumption duration and an electricity consumption starting moment of an intelligent power supply terminal to be used;
the intelligent power supply terminal is in communication connection with the master station server and is used for acquiring power consumption data of the power supply port after the power consumption request is acquired, calculating power consumption amount according to the power consumption data and sending user power consumption data of the corresponding power supply port to the master station server according to a preset time interval, wherein the user power consumption data comprises the power consumption data and the power consumption amount;
the master station server is configured to execute the electricity price calculation method according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the electricity price calculation method according to any of the embodiments of the present invention.
The embodiment of the invention provides a method and a device for calculating electricity prices, a shared electricity consumption system and a storage medium, wherein the electricity prices required to be paid by a user using the shared electricity consumption system are calculated through historical real-time electricity prices of a previous period of time, so that the user knows the electricity prices required to be paid by the user using the shared electricity consumption system in a selected period of time in advance, the user is guided to reasonably adjust the electricity consumption time, and the power grid pressure is reduced.
Drawings
FIG. 1 is a flow chart of a method for calculating electricity prices according to an embodiment of the present invention;
fig. 2 is a block diagram of a dedicated mobile device according to an embodiment of the present invention;
FIG. 3 is a flowchart of another electricity price calculating method according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electricity price calculating device according to an embodiment of the present invention;
FIG. 5 is a block diagram of a shared power system according to an embodiment of the present invention;
fig. 6 is a block diagram of an intelligent power supply terminal according to an embodiment of the present invention;
fig. 7 is a schematic workflow diagram of a shared power system according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Fig. 1 is a flowchart of a method for calculating electricity prices according to an embodiment of the present invention, where the method may be performed by an electricity price calculating device, and the device may be implemented by software and/or hardware and is typically configured in a master station server. As shown in fig. 1, the method includes:
step 110, obtaining a power consumption request sent by a user terminal, analyzing the power consumption request to obtain power consumption time length, power consumption starting time and a region where the user terminal is located, and determining a power consumption period according to the power consumption starting time and the power consumption time length.
The master station server is a server responsible for data processing. The user terminal is a mobile terminal such as a smart phone, a tablet computer, or a special mobile device. Fig. 2 is a block diagram of a dedicated mobile device according to an embodiment of the present invention. As shown in fig. 2, the dedicated mobile device 200 includes a microprocessor 210, a data protection unit 220 connected to the microprocessor 210, a display unit 230, a communication unit 240, a positioning unit 250, and a keypad unit 260. The location unit 250 determines the location of the area where the user is located in order to further determine the number of the intelligent power terminal that the user needs to use. For example, the microprocessor 210 discovers smart power terminals within a certain range around according to the location of the mobile device, and obtains the numbers of the smart power terminals. The keyboard unit 260 allows the user to input the intelligent power supply terminal, the power consumption starting time and the power consumption duration to be used according to the user's own needs, and then, the number of the intelligent power supply terminal, the power consumption starting time and the power consumption duration are transmitted to the master station server through the communication unit 240. The mobile device obtains the electricity price to be paid of the user transmitted by the master station server through the communication unit 240, and displays the electricity price to be paid of the user through the display unit. The data protection unit 220 is used for protecting the data of the whole process, and guaranteeing the privacy and property security of the user. The microprocessor 210 is used to control the safe and orderly operation of the entire process.
The master station server obtains an electricity consumption request sent by the user terminal, wherein the electricity consumption request comprises the number, the electricity consumption duration and the electricity consumption starting time of the intelligent power supply terminal. Because the relation table of the intelligent power supply terminal and the region/position is maintained in the master station server, the region where the user terminal is located can be determined according to the number of the intelligent power supply terminal. After the master station server acquires the electricity request, the electricity request is analyzed to obtain the electricity duration, the electricity starting time and the region where the user terminal is located. And determining a power utilization ending time according to the power utilization starting time and the power utilization duration, and determining a power utilization period according to the power utilization starting time and the power utilization ending time.
And 120, acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in the set days of the region where the user terminal is located, and calculating average electricity prices at all times according to the historical real-time electricity prices corresponding to the electricity consumption time periods.
The set days may be a default value set empirically, which may be set differently according to application scenarios. In general, the set number of days may be one month or one week, or may be longer or shorter.
In the process of using the shared electricity utilization system by the user, the master station server stores real-time electricity prices at all times and user electricity utilization data, wherein the user electricity utilization data comprises electricity utilization data and electricity utilization amount. For example, user electricity data and real-time electricity prices at various moments are stored through a cloud server. After the master station server acquires the electricity utilization request, the master station server queries the cloud server according to the region where the user terminal is located and the electricity utilization period, and acquires the historical real-time electricity price corresponding to the electricity utilization period in a set number of days. And if the set number of days is 30 days, inquiring the cloud server according to the region where the user terminal is located and the electricity consumption period, and acquiring the historical real-time electricity price corresponding to the electricity consumption period of 30 days. Then, the average electricity rates at the respective times in the electricity use period are calculated from the average value of the historical real-time electricity rates at the respective times in the electricity use period for 30 days.
Optionally, the master station server stores the user electricity data to the cloud server. In order to provide better services to users, it is necessary to provide the users with the use of electric energy on the shared power supply port per month when the users need, and to recommend more cost-effective use advice to the users according to the use habits of the users. For example, the power supply port is used by many people at 12:00, and the electricity price is high; few people were used at 24:00, while electricity prices were relatively low; the user can be recommended to avoid the power consumption peak, so that the power supply pressure during the power consumption peak can be greatly relieved. Similarly, the service conditions of the power supply ports in different areas are different, and a more cost-effective charging area can be provided for the user according to the use habit of the user.
And 130, predicting the electricity price to be paid by the user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal.
Illustratively, the primary station server may calculate the price of electricity Y that the user needs to pay using the following formula:
wherein Y is the electricity price required to be paid by the user, t m At the starting time t of electricity consumption requested by a user n At the time of termination of power consumption requested by the user,for the first 30 days time t m Average electricity price at time->For the first 30 days time t n Average electricity price at time; n-m is t m From time to t n The number of time periods co-divided between time instants, assuming user 12:00 timeHalf an hour of charging is requested, since the real-time electricity price is updated every minute, (n-m) =30.
After the intelligent power supply terminal supplies power to the electric equipment of the user requesting power utilization, the intelligent power supply terminal collects power utilization data and sends the power utilization data to the master station server according to a set period. The power consumption data refers to power consumption. The intelligent power supply terminal reports the current power consumption data of each power supply port to the master station server every minute. Assuming that the power energy of the power supply port a reported at 12:00 is 100kwh and the power energy of the power supply port a reported at 12:01 is 100.1kwh, it indicates that the power consumption of the power supply port a is 0.1kwh in one minute, that is, the power consumption data of the power consumption port a is 0.1kwh. The user using port a needs to pay for this 1 minute for 0.1 times p i Wherein ρ is i 12, calculated for the user at the application using the power port: real-time electricity prices of 00 to 12:01 minutes. The master station server needs to store real-time user electricity data of each port in real time so as to determine the electricity charge required to be paid by the user when the charging is finished.
The master station server obtains the number of power utilization clients using the shared power utilization system at each moment and the number of available power supply ports in the corresponding area, and calculates the real-time power price rho in the investigation area by adopting the following method i :
Wherein ρ is i For the real-time electricity price at time i,for the active power price at time i, < +.>The reactive power price at the moment i is the comprehensive price adjustment factor, K i For real-time price adjustment factor, M i For examining the number of clients requesting to use electricity in the area at time i, N i And (5) checking the number of available power supply ports remained in the area for the moment i.
Through the formula, the master station server can calculate the real-time electricity price of sharing electricity in a certain area at present and store the real-time electricity price to the cloud server so as to be used for calculating the electricity price to be paid by a user by using the shared power supply port.
The generator generates active power and is generally accompanied by reactive power generation. Reactive power, though not capable of doing work, plays a very important role in stabilizing the system voltage, so that great importance is attached to some equipment in the power grid, such as a regulator, which is specially used for generating reactive power to stabilize the power grid voltage, so that the current electric charge comprises the electric charge of active electric quantity and also comprises the electric charge of reactive electric quantity. The active electricity price at the moment i and the reactive electricity price at the moment i are related to many factors such as the efficiency of the power generation equipment, the generated energy, the transmission loss of the power grid and the like, the price is determined by a power supply office, and the power supply office can also adjust the price at some time.
The comprehensive price adjustment factor is a macroscopic price adjustment means established by a company for developing shared electricity service according to actual income conditions of the company, national electricity price policies, analysis of supply and demand relations, future business revenue expectations and other factors, and is generally re-established once in each quarter.
Although the comprehensive price adjustment factors are used for roughly determining the electricity price when sharing electricity, the economy and culture of different areas in the same city are quite different, so that the use proportion of the power supply ports for sharing electricity is quite different although the comprehensive price adjustment factors defined in the same city are the same. And the use conditions of the power supply ports in different periods in the same area are also greatly different. Considering these cases, the concept of real-time pricing factors is added. The company for developing the shared electricity service can finely adjust the price according to the difference of the use proportion of the power supply ports in different areas and different time periods, so that a user is guided to use the power supply ports more evenly, the situation that one side is piled up for use and the other side is free from asking for fluid is avoided, the power supply pressure can be reduced (the electricity consumption peak value is reduced), and the income can be increased appropriately.
And realizing an electricity price elastic mechanism by integrating the price adjustment factors and the real-time price adjustment factors. The master station server can regulate and control the electricity utilization interval of the user and the selection of electricity utilization places from macroscopic and microscopic aspects, and the maximization of scientific power supply and electricity selling benefits is realized. For example, if the number of electricity consumption in a certain time period is high, the real-time electricity price in the time period can be improved by adjusting the real-time price adjustment factor so as to guide the user to use electricity in time periods.
According to the technical scheme of the embodiment, the electricity price which needs to be paid by the user using the shared electricity system is calculated through the historical real-time electricity price of the previous period, so that the user knows the electricity price which needs to be paid by the user using the shared electricity system in the selected period in advance, the user is guided to reasonably adjust the electricity time, and the power grid pressure is reduced.
Fig. 3 is a flowchart of another electricity price calculating method according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, obtaining a power consumption request sent by a user terminal, analyzing the power consumption request to obtain power consumption time, power consumption starting time and a region where the user terminal is located, and determining a power consumption period according to the power consumption starting time and the power consumption time.
Step 302, acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in the set days of the region where the user terminal is located, and calculating average electricity prices at all times according to the historical real-time electricity prices corresponding to the electricity consumption time periods.
And 303, predicting the electricity price to be paid by the user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal.
After the master station server calculates the electricity price required to be paid by the user, an order is generated according to the electricity price required to be paid by the user and is sent to the user terminal. After receiving the order, the user terminal displays the order of the electricity price to be paid by the user through a display unit. And acquiring operation information of a user for the order, and returning order determining information or order modifying information to the master station server according to the user operation information.
And step 304, if the order confirmation information sent by the user terminal is detected, sending a power supply command to the intelligent power supply terminal.
The intelligent power supply terminal is used for supplying power to corresponding electric equipment in the power utilization period.
The master station server sends a power supply command to the intelligent power supply terminal selected by the user after receiving the order confirmation information sent by the user terminal, so as to instruct the intelligent power supply terminal to supply power to the power supply port corresponding to the user in the power utilization period designated by the user.
Step 305, obtaining user electricity data sent by the intelligent power supply terminal according to a preset period.
The user electricity consumption data comprises electricity consumption data and electricity consumption amount. The preset period may be an artificial set value, and the embodiment of the present invention is not limited to a specific value.
And after receiving the power supply command, the intelligent power supply terminal acquires the voltage and current parameters of the electric equipment in real time, and calculates the power consumption data of the user according to the voltage and current parameters. And the intelligent power supply terminal calculates the real-time electricity consumption amount of the user according to the user electricity quantity data and the real-time electricity price, saves the electricity consumption amount and the electricity consumption quantity data as the user electricity consumption data in a local protection unit, and sends the user electricity consumption data to a master station server for backup.
Optionally, the intelligent power supply terminal carries out alarm marking on the newly acquired unreasonable data according to the stored historical power consumption data and the power consumption amount. For example, a method of adding a threshold value can be used in a program of the intelligent power supply terminal to make preliminary determination on the rationality of data.
And 306, judging whether the user electricity data is correct or not when the user electricity data has alarm identification information, if so, executing 307, otherwise, executing 311.
Illustratively, after receiving the user electricity data reported by the intelligent power supply terminal, the master station server performs correctness judgment (or called error judgment) on the user electricity data with the alarm identification information through a RANSAC algorithm. It should be noted that, the algorithm for determining the correctness of the user power consumption data may be a plurality of algorithms, and the embodiment of the present invention is not limited in particular. For example, K-means or Mean-Shift algorithms may also be used.
Step 307, saving the user electricity consumption data to a cloud server.
Step 308, obtaining the number of remaining available power supply ports in the area corresponding to the intelligent power supply terminal at the current moment, and obtaining the number of power consumption requesting users in the area corresponding to the intelligent power supply terminal at the current moment.
And 309, determining the current real-time electricity price of the area corresponding to the intelligent power supply terminal according to the electricity consumption data, the number of available power supply ports and the number of users requesting to use electricity.
The power consumption data herein is power consumption data included in the user power consumption data determined to be correct by the master station server. And acquiring preset active power price, reactive power price, comprehensive price adjustment factors and real-time price adjustment factors, wherein the values of the comprehensive price adjustment factors and the real-time price adjustment factors are related to the power consumption data. Determining a power number according to the real-time price adjustment factor, the number of users requesting electricity and the number of available power supply ports, and calculating a power operation result of the comprehensive price adjustment factor according to the power number; and determining the current real-time electricity price of the area corresponding to the intelligent power supply terminal according to the active electricity price, the reactive electricity price and the power operation result.
The real-time electricity price of a certain area at a certain moment can be calculated by adopting the following formula:
wherein ρ is i For the real-time electricity price at time i,for the active power price at time i, < +.>The reactive power price at the moment i is the comprehensive price adjustment factor, K i For real-time price adjustment factor, M i For the number of requesting electricity clients at time i, N i And (5) checking the number of available power supply ports remained in the area for the moment i.
And assuming that the current moment is 13:00 of 16 months, according to the number of the remaining available power supply ports in the investigation region at 13:00, the real-time power price calculated by the parameters such as the number of power utilization clients, the active power price, the reactive power price, the comprehensive price adjustment factor, the real-time price adjustment factor and the like in the investigation region at 13:00 is saved in the master station server. This real-time electricity rate, although not used today, is used when the user needs to pay the real-time electricity rate for average calculation for 13:00 of the next week or even one month.
And 310, sending the real-time electricity price to the intelligent power supply terminal to instruct the intelligent power supply terminal to calculate the electricity consumption amount based on the real-time electricity price.
The main station server returns the calculated real-time electricity price to the intelligent power supply terminal, and processes the user electricity consumption data of the next intelligent power supply terminal after receiving the confirmation receiving information replied by the intelligent power supply terminal.
And 311, eliminating wrong user power consumption data from the acquired user power consumption data.
According to the technical scheme of the embodiment of the invention, the function of real-time electricity metering can be realized, and the electricity price which needs to be paid by the user who needs to use the shared electricity system is given according to the existing information such as the real-time electricity price, so that the user not only knows how much electricity is used by the user, but also knows how much electricity the user needs to pay by using the shared electricity system in the period in advance, thereby reasonably adjusting the use time and reducing the power grid pressure. Meanwhile, through an electricity price elastic mechanism, the master station server can regulate and control the electricity utilization interval of a user and the selection of electricity utilization places from two aspects of macroscopicity and microcosmicity, so that scientific power supply and maximization of electricity selling benefits are realized. Meanwhile, the user electricity data is stored locally in the intelligent power supply terminal and is synchronized to the cloud server, so that higher safety of the data is guaranteed. The intelligent power supply system has the characteristics of high instantaneity, high efficiency, high safety and high interactivity, and is suitable for metering and distributing the electric quantity of shared electricity in intelligent towns.
Fig. 4 is a block diagram of an electricity price calculating device according to an embodiment of the present invention. The device can be realized by software and/or hardware, and the effect of reasonably guiding the user to adjust the time of using the shared electricity utilization system is realized by executing the electricity price calculation method provided by the embodiment of the invention. The apparatus is typically arranged at a primary station server, as shown in fig. 4, and comprises:
the electricity consumption request acquisition module 410 is configured to acquire an electricity consumption request sent by a user terminal, analyze the electricity consumption request to obtain an electricity consumption time length, an electricity consumption starting time and an area where the user terminal is located, and determine an electricity consumption period according to the electricity consumption starting time and the electricity consumption time length;
the average electricity price calculation module 420 is configured to obtain a historical real-time electricity price corresponding to the electricity consumption period in a set number of days in a region where the user terminal is located, and calculate an average electricity price at each moment according to the historical real-time electricity price corresponding to the electricity consumption period;
and the electricity price payment determining module 430 is configured to predict that the user needs to pay electricity price according to the average electricity price, and send the electricity price to be paid by the user to the user terminal.
The real-time electricity price calculating device provided by the embodiment of the invention can execute the real-time electricity price calculating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Optionally, the apparatus further comprises:
the order information detection module is used for sending a power supply command to the intelligent power supply terminal if the order confirmation information sent by the user terminal is detected after the user needs to pay the electricity price to the user terminal, and the power supply command is used for indicating the intelligent power supply terminal to supply power to corresponding electric equipment in the power utilization period.
Optionally, the apparatus further comprises:
the data judging module is used for acquiring user electricity consumption data sent by the intelligent power supply terminal according to a preset period after sending a power supply command to the intelligent power supply terminal, wherein the user electricity consumption data comprises electricity consumption data and electricity consumption amount; when the user electricity data has alarm identification information, judging whether the user electricity data is correct or not; if yes, the user electricity consumption data are stored in a cloud server.
Optionally, the apparatus further comprises:
the data acquisition module is used for acquiring the number of available power supply ports remained in the corresponding area of the intelligent power supply terminal at the current moment and the number of power consumption requesting users in the corresponding area of the intelligent power supply terminal at the current moment if the power consumption data sent by the intelligent power supply terminal are acquired after a power supply command is sent to the intelligent power supply terminal;
and the real-time electricity price calculation module is used for determining the real-time electricity price at the current moment of the area corresponding to the intelligent power supply terminal according to the electricity consumption data, the number of available power supply ports and the number of the users requesting to use electricity.
Optionally, the real-time electricity price calculating module is specifically configured to:
acquiring preset active power price, reactive power price, comprehensive price adjustment factors and real-time price adjustment factors, wherein the values of the comprehensive price adjustment factors and the real-time price adjustment factors are related to the power consumption data;
determining a power number according to the real-time price adjustment factor, the number of users requesting electricity and the number of available power supply ports, and calculating a power operation result of the comprehensive price adjustment factor according to the power number;
and determining the current real-time electricity price of the area corresponding to the intelligent power supply terminal according to the active electricity price, the reactive electricity price and the power operation result.
Optionally, the apparatus further comprises:
and the real-time electricity price sending module is used for sending the real-time electricity price to the intelligent power supply terminal after determining the current time real-time electricity price of the area corresponding to the intelligent power supply terminal so as to instruct the intelligent power supply terminal to calculate the electricity consumption amount based on the real-time electricity price.
Fig. 5 is a block diagram of a shared power system according to an embodiment of the present invention. As shown in fig. 5, the shared power consumption system includes a master station server 520, a user terminal 510, and a plurality of intelligent power supply terminals 530, wherein the user terminal 510 communicates with the master station server 520, and the master station server 520 communicates with each intelligent power supply terminal 530.
The user terminal 510 is in communication connection with the master station server 520, and is configured to send an electricity consumption request to the master station server 520, where the electricity consumption request includes a terminal identifier, an electricity consumption duration and an electricity consumption starting time of the intelligent power supply terminal 530 to be used;
the intelligent power supply terminal 530 is in communication connection with the master station server 520, and is configured to collect power consumption data of a power supply port after the power consumption request is acquired, calculate a power consumption amount according to the power consumption data, and send user power consumption data of a corresponding power supply port to the master station server 520 according to a preset time interval, where the user power consumption data includes the power consumption data and the power consumption amount;
the master station server 520 is configured to perform the electricity rate calculation method according to any embodiment of the present invention.
Optionally, the intelligent power supply terminal is further configured to: and if the user electricity consumption data is unreasonable data, alarm identification information is added to the user electricity consumption data. For example, the intelligent power supply terminal can carry out alarm processing on the collected unreasonable data according to the stored historical power consumption information and the electric charge information. For example, a method of adding a threshold value in a program of the intelligent power supply terminal is adopted to make preliminary determination on the rationality of data. The threshold is set manually, and optionally, the threshold can be set to be smaller, so that although the probability of judging normal data as error data is increased, the probability of missing the error data is greatly reduced, if the intelligent power supply terminal judges that unreasonable data exists in the current data, alarm identification information is added when the current data is transmitted to the master station server, and the master station server is informed that the group of data needs to be subjected to error judgment.
Optionally, the user terminal receives an input operation of the user, and can provide a price list of historical electricity for the user according to information returned by the master station server.
The shared electricity utilization system provided by the embodiment of the invention can execute the real-time electricity price calculation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Specifically, the user terminal has key input, display and positioning functions, the number of the power supply terminal and the power consumption time length to be used by the user can be sent to the master station server, and after the master station server returns the power price information to be paid by the user, the user can confirm the order or change the order on the user terminal.
The master station server can upload the user electricity data uploaded by the intelligent power supply terminal to the cloud for synchronous storage, and after receiving the electricity request of the user, the master station server can calculate electricity price information which should be paid by the user for a period of electricity utilization time in the future through the stored user electricity data, the current remaining power supply ports of the region where the user is located, the number of clients requesting electricity utilization in the region where the user is located and the like, and feeds back the electricity price information which needs to be paid to the user. The master station server can also calculate the real-time electricity price of the user electricity according to the user electricity data, and feed back the real-time electricity price to the intelligent power supply terminal.
The intelligent power supply terminal can collect and detect the current power consumption data of the power supply port in real time, and transmits the power consumption data to the master station server for calculating the real-time electricity price, and meanwhile, the power consumption data and the electricity consumption amount are stored, so that the safety of the power consumption information of a user is ensured. The intelligent power supply terminal also supplies power for the electric equipment according to the power supply duration transmitted by the master station server. It should be noted that each intelligent power supply terminal comprises a plurality of power supply ports, each power supply port is connected with an ammeter, and consumer electric equipment is connected with the ammeter.
Fig. 6 is a block diagram of an intelligent power supply terminal according to an embodiment of the present invention. As shown in fig. 6, the smart power supply terminal 600 includes: microprocessor 610, power metering unit 620, data protection unit 630, communication unit 640, keyboard unit 650, clock unit 660, display unit 670, and power supply port 680. After receiving the power supply command sent by the master station server, the microprocessor 610 controls the power supply port 680 to supply power. The clock unit 660 is used for precisely counting time and reminding the microprocessor 610 of whether the power supply process is finished. And sending the electricity consumption data and the electricity consumption amount of the current user to the master station server at preset time intervals through the communication unit 640 until the electricity consumption request is ended. The electric energy metering unit 620 is configured to collect voltage and current parameters of an electric device in real time, calculate electricity consumption data of a user, send the electricity consumption data to the microprocessor 610, calculate real-time electricity consumption amount of the user according to the electricity consumption data and real-time electricity price by the microprocessor 610, and store the electricity consumption amount and the electricity consumption data as user electricity consumption data in the local data protection unit 630, and send the data to the master station server for backup. The data protection unit 630 is used to locally store the electricity consumption data and the electricity consumption amount. The keyboard unit 650 and the display unit 670 are used for manually checking the power consumption data and the power consumption amount of the intelligent power supply terminal.
Fig. 7 is a schematic workflow diagram of a shared power system according to an embodiment of the present invention. As shown in fig. 7, the method comprises the following steps:
step one: checking whether each unit works normally, and if all units work normally, entering a standby state.
Step two: the user terminal accurately locates the shared power supply port of the position of the user, and sends the power utilization request input by the user to the master station server.
Step three: the main function of the master station server is to store the user power consumption data uploaded by the intelligent power supply terminal, calculate the real-time power price and the power price which the user needs to pay according to the stored data, and store the user power consumption data to the cloud server.
The core of the master station server is to process the stored data, the master station server can calculate the current real-time electricity price shared by a certain area, and the calculated real-time electricity price is sent to the intelligent power supply terminal. In addition, the master station server stores the real-time electricity price to the cloud server, and the real-time electricity price is used for calculating the electricity price to be paid by the user through the shared power supply port. When receiving the electricity request, the master station server can calculate the electricity price to be paid by the user for a period of time when using the shared charging terminal in the area, and send the electricity price to the user terminal.
Step four: after receiving the electricity price information transmitted by the master station server, the user terminal confirms or changes the order and feeds the order information back to the master station server.
Step five: and after receiving the confirmation information transmitted by the user terminal, the master station server transmits information such as the time required to be used by the user to the intelligent power supply terminal.
Step six: after receiving a power supply command sent by a master station server, the intelligent power supply terminal supplies power to a power supply port according to required time, simultaneously collects power consumption data in real time, sends the power consumption data to the master station server according to preset time, and stores the power consumption data locally.
Step seven: after receiving the electricity consumption data provided by the intelligent power supply terminal, the master station server stores the data to the cloud server according to the format, so that the data is convenient to call when the real-time electricity price is calculated next time.
The shared electricity utilization system provided by the invention can realize the function of real-time electricity utilization metering, and predicts the electricity price which needs to be paid by a user who needs to use the shared electricity utilization system according to the existing information such as real-time electricity price, so that the user not only knows how much electricity is used by the user, but also knows the electricity price which needs to be paid by the user who uses the shared power supply in a future period in advance, thereby reasonably adjusting the use time and reducing the power grid pressure. Meanwhile, through an electricity price elastic mechanism, the master station server can regulate and control the electricity utilization interval of a user and the selection of electricity utilization places from two aspects of macroscopicity and microcosmicity, so that scientific power supply and maximization of electricity selling benefits are realized. Meanwhile, the invention stores the electricity consumption data of the user locally in the intelligent power supply terminal and synchronizes the electricity consumption data to the cloud server, thereby ensuring higher security of the data. The system has the characteristics of high instantaneity, high efficiency, high safety and high interactivity, and is suitable for metering and distributing the electric quantity of shared electricity in intelligent towns.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of electricity price calculation, the method comprising:
acquiring an electricity consumption request sent by a user terminal, analyzing the electricity consumption request to obtain electricity consumption time length, electricity consumption starting time and the region where the user terminal is located, and determining an electricity consumption period according to the electricity consumption starting time and the electricity consumption time length;
acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in set days of the region where the user terminal is located, and calculating average electricity prices at all times according to the historical real-time electricity prices corresponding to the electricity consumption time periods;
and predicting the electricity price to be paid by the user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the electricity price calculation method provided by any of the embodiments of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the above-mentioned embodiments of the search apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, as long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (8)
1. A method of calculating electricity prices, comprising:
acquiring an electricity consumption request sent by a user terminal, analyzing the electricity consumption request to obtain electricity consumption time length, electricity consumption starting time and the region where the user terminal is located, and determining an electricity consumption period according to the electricity consumption starting time and the electricity consumption time length;
acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in set days of the region where the user terminal is located, and calculating average electricity prices of all the moments in the electricity consumption time periods according to average values of the historical real-time electricity prices corresponding to all the moments in the electricity consumption time periods;
predicting the electricity price to be paid by a user according to the average electricity price, and sending the electricity price to be paid by the user to the user terminal;
if the power consumption data sent by the intelligent power supply terminal are obtained, the number of remaining available power supply ports in the corresponding area of the intelligent power supply terminal at the current moment is obtained, and the number of power consumption requesting users in the corresponding area of the intelligent power supply terminal at the current moment is obtained;
acquiring preset active power price, reactive power price, comprehensive price adjustment factors and real-time price adjustment factors, wherein the values of the comprehensive price adjustment factors and the real-time price adjustment factors are related to the power consumption data;
the real-time electricity price at the current moment of the corresponding area of the intelligent power supply terminal is determined by adopting the following formula:
wherein ρ is i For the real-time electricity price at time i,for the active power price at time i, < +.>The reactive power price at the moment i is the comprehensive price adjustment factor, K i For real-time price adjustment factor, M i For the number of electricity users requested at time i, N i And (3) the number of the remaining available power supply ports in the corresponding area of the intelligent power supply terminal at the moment i.
2. The method of claim 1, further comprising, after transmitting the user's price of electricity to the user terminal:
and if the order confirmation information sent by the user terminal is detected, sending a power supply command to the intelligent power supply terminal, wherein the power supply command is used for indicating the intelligent power supply terminal to supply power to the corresponding electric equipment in the power utilization period.
3. The method of claim 2, further comprising, after sending the power command to the intelligent power terminal:
acquiring user electricity consumption data sent by the intelligent power supply terminal according to a preset period, wherein the user electricity consumption data comprises electricity consumption data and electricity consumption amount;
when the user electricity data has alarm identification information, judging whether the user electricity data is correct or not;
if yes, the user electricity consumption data are stored in a cloud server.
4. The method according to claim 1, further comprising, after determining the current time of day real-time electricity prices of the intelligent power supply terminal corresponding area:
and sending the real-time electricity price to the intelligent power supply terminal to instruct the intelligent power supply terminal to calculate the electricity consumption amount based on the real-time electricity price.
5. A real-time electricity rate computing device, comprising:
the power consumption request acquisition module is used for acquiring a power consumption request sent by the user terminal, analyzing the power consumption request to obtain power consumption time length, power consumption starting time and the region where the user terminal is located, and determining a power consumption period according to the power consumption starting time and the power consumption time length;
the average electricity price calculation module is used for acquiring historical real-time electricity prices corresponding to the electricity consumption time periods in the set days of the region where the user terminal is located, and calculating the average electricity price at each moment in the electricity consumption time period according to the average value of the historical real-time electricity prices corresponding to each moment in the electricity consumption time periods;
the electricity price payment determining module is used for predicting electricity price to be paid by a user according to the average electricity price and sending the electricity price to be paid by the user to the user terminal;
the data acquisition module is used for acquiring the number of available power supply ports remained in the corresponding area of the intelligent power supply terminal at the current moment and the number of power consumption requesting users in the corresponding area of the intelligent power supply terminal at the current moment if the power consumption data sent by the intelligent power supply terminal are acquired;
the real-time electricity price calculation module is used for acquiring preset active electricity price, reactive electricity price, comprehensive price adjustment factors and real-time price adjustment factors, wherein the values of the comprehensive price adjustment factors and the real-time price adjustment factors are related to the electricity consumption data;
the real-time electricity price at the current moment of the corresponding area of the intelligent power supply terminal is determined by adopting the following formula:
wherein ρ is i For the real-time electricity price at time i,for the active power price at time i, < +.>The reactive power price at the moment i is the comprehensive price adjustment factor, K i For real-time price adjustment factor, M i For the number of electricity users requested at time i, N i And (3) the number of the remaining available power supply ports in the corresponding area of the intelligent power supply terminal at the moment i.
6. A shared power use system, comprising:
the user terminal is in communication connection with the master station server and is used for sending an electricity consumption request to the master station server, wherein the electricity consumption request comprises a terminal identifier, an electricity consumption duration and an electricity consumption starting moment of an intelligent power supply terminal to be used;
the intelligent power supply terminal is in communication connection with the master station server and is used for acquiring power consumption data of the power supply port after the power consumption request is acquired, calculating power consumption amount according to the power consumption data and sending user power consumption data of the corresponding power supply port to the master station server according to a preset time interval, wherein the user power consumption data comprises the power consumption data and the power consumption amount;
a primary station server configured to perform the electricity price computing method of any of claims 1-4.
7. The system of claim 6, wherein the intelligent power terminal is further configured to:
and if the user electricity consumption data is unreasonable data, alarm identification information is added to the user electricity consumption data.
8. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the electricity price computing method of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010316831.5A CN111563764B (en) | 2020-04-21 | 2020-04-21 | Electricity price calculation method and device, shared electricity utilization system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010316831.5A CN111563764B (en) | 2020-04-21 | 2020-04-21 | Electricity price calculation method and device, shared electricity utilization system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111563764A CN111563764A (en) | 2020-08-21 |
CN111563764B true CN111563764B (en) | 2023-08-22 |
Family
ID=72074241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010316831.5A Active CN111563764B (en) | 2020-04-21 | 2020-04-21 | Electricity price calculation method and device, shared electricity utilization system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111563764B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112487046B (en) * | 2020-10-30 | 2024-05-07 | 深圳供电局有限公司 | Power consumption information analysis method, device, system, computer equipment and storage medium |
CN113406375B (en) * | 2021-07-08 | 2022-09-20 | 宁夏隆基宁光仪表股份有限公司 | Intelligent ammeter system sharing storage and display device and sharing method thereof |
CN113780625B (en) * | 2021-08-12 | 2024-02-02 | 邹平市供电有限公司 | User electricity charge prediction method, system, terminal and storage medium |
CN117689181B (en) * | 2024-01-31 | 2024-06-04 | 国网辽宁省电力有限公司信息通信分公司 | Micro-grid regulation and control system and method based on intelligent park electricity load |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279856A (en) * | 2015-10-16 | 2016-01-27 | 北京恒华伟业科技股份有限公司 | Electricity billing method and system |
CN107292444A (en) * | 2017-06-28 | 2017-10-24 | 宁波三星医疗电气股份有限公司 | A kind of prepayment electric energy meter system and electric energy meter pre-paying method |
CN108596358A (en) * | 2018-03-08 | 2018-09-28 | 云南电网有限责任公司电力科学研究院 | A kind of intelligent power terminal and method based on Spot Price |
CN108960608A (en) * | 2018-06-27 | 2018-12-07 | 广东电网有限责任公司 | A kind of electricity price calculation method, device and the equipment of power spot market |
-
2020
- 2020-04-21 CN CN202010316831.5A patent/CN111563764B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111563764A (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111563764B (en) | Electricity price calculation method and device, shared electricity utilization system and storage medium | |
US11989069B2 (en) | Power distribution management based on distributed networking protocol analytics | |
Janjic et al. | Commercial electric vehicle fleet scheduling for secondary frequency control | |
JP4584056B2 (en) | Electricity supply and demand forecast and control system | |
CN111600296B (en) | Power load prediction system based on edge calculation and prediction method thereof | |
US10778028B2 (en) | Power information management system, management method, computer-readable storage medium, power information management server, communication terminal, and power system | |
Huang et al. | Optimal power procurement and demand response with quality-of-usage guarantees | |
CN112332404B (en) | Intelligent management system and method for heating service | |
US20200410519A1 (en) | Condition determination apparatus, computer readable storage medium and condition determination method | |
Rancilio et al. | Revenue Stacking for BESS: Fast Frequency Regulation and Balancing Market Participation in Italy | |
US20180225684A1 (en) | Strategic operation of variable generation power plants | |
CN117674208A (en) | Control method and device of optical storage and charging system and electronic equipment | |
US20230394602A1 (en) | Systems and methods for managing electricity supply from demand | |
CN113052417A (en) | Resource allocation method and device | |
CN105184688A (en) | Remote real-time cost control management for power network | |
WO2017035571A1 (en) | Analysing smart meter data for solar or storage recommendation | |
JP2018098951A (en) | Power control system, power control method and management control center device | |
US20220043414A1 (en) | Apparatus and method for operating energy storage system | |
CN105321038A (en) | Method and apparatus for device management based on device power information and pricing schemes | |
CN112633663A (en) | Electricity charge meter reading accounting analysis system based on big data platform | |
Bodenschatz et al. | Challenges and Requirements of Electric Vehicle Fleet Charging at Company Parking Sites | |
KR20200104543A (en) | Apparatus and method for operating energy storage system | |
CN110580590A (en) | income settlement device for battery energy storage equipment | |
US11990783B2 (en) | User interface providing device, method of providing discharge capacity of secondary battery system, and method of providing charge/discharge capacity of secondary battery system | |
CN115168023B (en) | Resource allocation method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |