Power consumption control method and system based on time-of-use electricity price and peak load shifting
Through the power consumption control method based on time-sharing electricity prices and peak-cutting and valley-filling, the power consumption strategy is optimized, and the problems of different electricity loads and inaccurate photovoltaic power generation prediction in power grid operations are solved, thus reducing user electricity bills and improving grid stability are achieved. Sexual effect.
Patent Information
- Application Number
- CN202411333562.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-17
AI Technical Summary
The difference in electricity loads during peak and trough periods brings difficulties to power grid operation, and the inaccurate prediction of photovoltaic power generation on the user side increases scheduling and management costs.
Using the power consumption control method based on time-sharing electricity price and peak-cutting and valley filling, by collecting electricity consumption and power generation data, building an electric power market impact model, solving the power consumption minimization strategy, optimizing electricity consumption to reduce costs, and using accurate measurement of photovoltaics The power output power of power generation is preferred to be filled from the high electricity price moment according to the electricity price trend.
It reduces the charging cost of users, gives full play to the flexible adjustment ability of photovoltaic power generation, reduces the peak-to-valley difference in the power grid load, and improves the stability and economics of the power system.
Smart Images

Figure CN119154274A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic measurement technology, and more specifically, to a power consumption control method and system based on time-of-use electricity price and peak-shaving and valley-filling. Background Art
[0002] The huge difference in power load between peak hours and off-peak hours has brought great difficulties to the generation and dispatch of electricity. At the same time, grid operators rely on accurate load forecasting to maintain grid stability. If the forecast of photovoltaic power generation at the user end is inaccurate, the grid needs to frequently adjust the backup power supply to cope with the uncertainty of photovoltaic output, which also increases the dispatch and management costs.
[0004] During peak electricity consumption or when electricity supply is tight, it is necessary to regulate electricity consumption at the user end. For example, some companies may stagger production or stop production, and residents may shut down unnecessary high-power electrical appliances. Summary of the invention
[0005] In view of the above problems, the present invention proposes a power consumption control method based on time-of-use electricity price and peak load shifting, comprising:
[0006] Collect electricity consumption and power generation data in the target area within a preset time;
[0007] Based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies, a power market impact model is constructed;
[0008] The power market impact model is solved to obtain a power consumption minimization strategy, and power consumption in the target area is controlled based on the power consumption minimization strategy.
[0009] Optional, target areas include: residential areas and factory areas.
[0010] Optionally, a data collector is used to collect power consumption data and power generation data of the target area within a preset time;
[0011] The preset time is 24 hours;
[0012] The power generation data is photovoltaic power output data.
[0013] Optional, electricity market impact model, including:
[0014] An objective function and constraints of the objective function;
[0015] The objective function aims to minimize the electricity cost;
[0016] The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
[0017] Optionally, the expression of the objective function is as follows:
[0018]
[0019] Among them, t is the time, T is the unit time, P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
[0020] Optional, valley filling power and peak shaving power calculation formula, as follows:
[0021]
[0022] Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
[0023] Optional electricity consumption minimization strategies include: accurately measuring the output power of photovoltaic power generation, ensuring the minimum total hourly electricity price and electricity cost throughout the day, and filling the gap from the time when the electricity price is high according to the electricity price trend.
[0024] On the other hand, the present invention also proposes an electricity control system based on time-of-use electricity price and peak load shifting, comprising:
[0025] A data collection unit, used to collect power consumption data and power generation data of a target area within a preset time;
[0026] A model building unit, for building an electricity market impact model based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies;
[0027] A solution control unit is used to solve the electricity market impact model to obtain a power consumption minimization strategy, and control the power consumption of the target area based on the power consumption minimization strategy.
[0028] Optional, target areas include: residential areas and factory areas.
[0029] Optionally, collecting electricity consumption data and power generation data of the target area within a preset time;
[0030] The preset time is 24 hours;
[0031] The power generation data is photovoltaic power output data.
[0032] Optional, electricity market impact model, including:
[0033] An objective function and constraints of the objective function;
[0034] The objective function aims to minimize the electricity cost;
[0035] The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
[0036] Optionally, the expression of the objective function is as follows:
[0037]
[0038] Among them, t is the time, T is the unit time, P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
[0039] Optional, valley filling power and peak shaving power calculation formula, as follows:
[0040]
[0041] Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
[0042] Optional electricity consumption minimization strategies include: accurately measuring the output power of photovoltaic power generation, ensuring the minimum total hourly electricity price and electricity cost throughout the day, and filling the gap from the time when the electricity price is high according to the electricity price trend.
[0043] In yet another aspect, the present invention further provides a computing device, comprising: one or more processors;
[0044] a processor for executing one or more programs;
[0045] When the one or more programs are executed by the one or more processors, the above-described method is implemented.
[0046] In yet another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the method described above is implemented.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] The present invention provides a method for controlling electricity consumption based on time-of-use electricity prices and peak-shaving and valley-filling, comprising: collecting electricity consumption data and power generation data of a target area within a preset time; constructing an electricity market impact model based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies; solving the electricity market impact model to obtain a power consumption minimization strategy, and controlling the power consumption of the target area based on the power consumption minimization strategy. The application of the present invention reduces the charging cost of users, while giving full play to the flexible adjustment and support capabilities of photovoltaic power generation for the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 is a flow chart of the method of the present invention;
[0050] Figure 2 A flowchart of an embodiment of the method of the present invention;
[0051] Figure 3 A schematic diagram of peak shaving and valley filling according to an embodiment of the method of the present invention;
[0052] Figure 4 A schematic diagram of filling from high to low according to the electricity price in an embodiment of the method of the present invention;
[0053] Figure 5 A comparison diagram of the predicted power consumption before and after the implementation of the method embodiment of the present invention;
[0054] Figure 6 It is a structural diagram of the system of the present invention. DETAILED DESCRIPTION
[0055] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0056] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0057] Embodiment 1:
[0058] The present invention proposes a power consumption control method based on time-of-use electricity price and peak load shifting. Figure 1 As shown, including:
[0059] Step 1: Collect electricity consumption data and power generation data of the target area within a preset time;
[0060] Step 2: constructing an electricity market impact model based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies;
[0061] Step 3: Solve the electricity market impact model to obtain a power consumption minimization strategy, and control the power consumption of the target area based on the power consumption minimization strategy.
[0062] Among them, the target areas include: residential areas and factory areas.
[0063] Among them, a data collector is used to collect power consumption data and power generation data of the target area within a preset time;
[0064] The preset time is 24 hours;
[0065] The power generation data is photovoltaic power output data.
[0066] Among them, the electricity market impact model includes:
[0067] An objective function and constraints of the objective function;
[0068] The objective function aims to minimize the electricity cost;
[0069] The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
[0070] Among them, the expression of the objective function is as follows:
[0071]
[0072] Among them, t is the time, T is the unit time, P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N tis the actual photovoltaic fill power at time t.
[0073] The calculation formulas for valley filling power and peak shaving power are as follows:
[0074]
[0075] Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
[0076] Among them, the electricity consumption minimization strategy includes: by accurately measuring the output power of photovoltaic power generation, while ensuring that the total hourly electricity price and electricity cost throughout the day are minimized, according to the electricity price trend, priority is given to filling the gap from the time when the electricity price is high.
[0077] The present invention is further described below in conjunction with specific implementation cases of the present invention:
[0078] Figure 2 is a flow chart, including the following steps:
[0079] S1. Use data collectors to detect the electricity consumption of residents and factories, measure the photovoltaic power generation, and obtain 24-hour electricity consumption and power generation data.
[0080] S2. Based on photovoltaic measurement and peak shaving and valley filling strategy, an electricity market impact model is constructed according to the objective function of minimizing electricity cost and the set constraints.
[0081] Based on the measured photovoltaic power generation and power consumption data, formulate specific peak-shaving and valley-filling strategies such as Figure 3 As shown in the figure: when the difference between the power provided by photovoltaic power and the power required by users is greater than zero, it is the peak shaving state, and the photovoltaic power is stored in the battery; when the difference between the power provided by photovoltaic power and the power required by users is less than zero, it enters the valley filling state. At this time, photovoltaic power generation alone cannot meet the electricity demand, and users need to purchase electricity from the power grid.
[0082] The peak shaving power and valley filling power are determined according to the user demand power and photovoltaic power generation power, and the calculation formula is:
[0083] Valley Fill Power
[0084] Peak power reduction
[0085] Among them, P b,tis the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, where t is a time period that divides a day into 24 equally spaced parts (t=1, 2, 3, ..., 24).
[0086] S3. Solve the electricity control model constructed based on the objective function of minimizing electricity cost and the set constraints to obtain the electricity consumption minimization strategy; the constraints include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
[0087] As a preferred technical solution, the objective function is:
[0088]
[0089] Where t is the time period that divides a day into 24 equal parts (t = 1, 2, 3, ..., 24), T is the unit time (T = 1h), P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
[0090] That is to ensure In the case of the smallest amount, priority is given to filling from the time when the electricity price is high. The filling diagram is as follows Figure 4 As shown, when the photovoltaic output is equal, when the electricity price is low, the grid is used to supply electricity, and the photovoltaic power generation is converted into electricity and stored in the battery; when the electricity price is high, the battery is discharged, and the stored photovoltaic power generation is used to replace the purchase of electricity from the grid.
[0091] The constraint condition that the actual photovoltaic fill power at time t is less than or equal to the theoretical valley filling power is as follows:
[0092] 0≤N t ≤P s,t
[0093] The constraint condition that the sum of the actual photovoltaic fill power in 24 hours is equal to the sum of the peak shaving power in 24 hours is as follows:
[0094]
[0095] As a preferred technical solution, solving the photovoltaic power generation peak shaving and valley filling measurement and control model based on the minimization of electricity cost as the objective function and the set constraints to obtain the electricity control strategy specifically includes:
[0096] By accurately measuring the output power of photovoltaic power generation, the total hourly electricity price throughout the day is guaranteed. In the case of the smallest peak load, according to the electricity price trend forecast, priority is given to filling the gap from the time when the electricity price is high. The comparison chart of the predicted electricity consumption before and after the peak load strategy is put into use is as follows: Figure 5 As shown, it can be concluded that this measure can reduce the peak load and fill the load valley, thereby reducing the peak-valley difference of the power grid load and balancing the power generation and consumption. It not only saves the user's electricity bill, but also improves the stability and economy of the power system.
[0097] Embodiment 2:
[0098] The present invention also proposes an electricity control system 200 based on time-of-use electricity price and peak load shifting. Figure 6 As shown, including:
[0099] The data collection unit 201 is used to collect the power consumption data and power generation data of the target area within a preset time;
[0100] A model building unit 202 is used to build an electricity market impact model based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies;
[0101] The solution control unit 203 is used to solve the power market impact model to obtain a power consumption minimization strategy, and control the power consumption of the target area based on the power consumption minimization strategy.
[0102] Among them, the target areas include: residential areas and factory areas.
[0103] Among them, the electricity consumption data and power generation data of the target area within a preset time are collected;
[0104] The preset time is 24 hours;
[0105] The power generation data is photovoltaic power output data.
[0106] Among them, the electricity market impact model includes:
[0107] An objective function and constraints of the objective function;
[0108] The objective function aims to minimize the electricity cost;
[0109] The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
[0110] Among them, the expression of the objective function is as follows:
[0111]
[0112] Among them, t is the time, T is the unit time, P s,tis the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
[0113] The calculation formulas for valley filling power and peak shaving power are as follows:
[0114]
[0115] Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
[0116] Among them, the electricity consumption minimization strategy includes: by accurately measuring the output power of photovoltaic power generation, while ensuring that the total hourly electricity price and electricity cost throughout the day are minimized, according to the electricity price trend, priority is given to filling the gap from the time when the electricity price is high.
[0117] The application of the present invention reduces the charging cost of users and at the same time gives full play to the flexible adjustment and support capability of photovoltaic power generation for the power grid.
[0118] Embodiment 3:
[0119] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of the method in the above embodiment.
[0120] Embodiment 4:
[0121] Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiment.
[0122] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0124] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0126] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0127] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for controlling electricity consumption based on time-of-use electricity price and peak load shifting, characterized in that: include: Collect electricity consumption and power generation data in the target area within a preset time; Based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies, a power market impact model is constructed; The power market impact model is solved to obtain a power consumption minimization strategy, and power consumption in the target area is controlled based on the power consumption minimization strategy.
2. The power consumption control method according to claim 1, characterized in that: The target area includes: residential area and factory area.
3. The power consumption control method according to claim 1, characterized in that: Use a data collector to collect electricity consumption data and power generation data in the target area within a preset time; The preset time is 24 hours; The power generation data is photovoltaic power output data.
4. The power consumption control method according to claim 1, characterized in that: The electricity market impact model includes: An objective function and constraints of the objective function; The objective function aims to minimize the electricity cost; The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
5. The power consumption control method according to claim 4, characterized in that: The expression of the objective function is as follows: Among them, t is the time, T is the unit time, P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
6. The power consumption control method according to claim 4, characterized in that: The calculation formulas for valley filling power and peak shaving power are as follows: Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
7. The power consumption control method according to claim 1, characterized in that: The electricity consumption minimization strategy includes: accurately measuring the output power of photovoltaic power generation, ensuring the minimum total hourly electricity price and electricity cost throughout the day, and giving priority to filling the gap from the time when the electricity price is high according to the electricity price trend.
8. An electricity control system based on time-of-use electricity price and peak load shifting, characterized in that: include: A data collection unit, used to collect power consumption data and power generation data of a target area within a preset time; A model building unit, for building an electricity market impact model based on the electricity consumption data and power generation data, as well as time-of-use electricity prices and peak-shaving and valley-filling strategies; A solution control unit is used to solve the electricity market impact model to obtain a power consumption minimization strategy, and control the power consumption of the target area based on the power consumption minimization strategy.
9. The power consumption control system according to claim 8, characterized in that: The target area includes: residential area and factory area.
10. The power consumption control system according to claim 8, characterized in that: Use a data collector to collect electricity consumption data and power generation data in the target area within a preset time; The preset time is 24 hours; The power generation data is photovoltaic power output data.
11. The power consumption control system according to claim 8, characterized in that: The electricity market impact model includes: An objective function and constraints of the objective function; The objective function aims to minimize the electricity cost; The constraint conditions include: the photovoltaic filling power at time t is less than or equal to the valley filling power, and the sum of the photovoltaic filling power for 24 hours is equal to the sum of the peak shaving power for 24 hours.
12. The power consumption control system according to claim 11, characterized in that: The expression of the objective function is as follows: Among them, t is the time, T is the unit time, P s,t is the theoretical valley filling power at time t, C t is the electricity price at time t, N t is the actual photovoltaic fill power at time t.
13. The power consumption control system according to claim 11, characterized in that: The calculation formulas for valley filling power and peak shaving power are as follows: Among them, P s,t is the valley filling power, P c,t is the peak power, P b,t is the power provided by photovoltaic power at time t, P t is the power demanded by the user at time t, C t is the electricity price at time t, N t is the photovoltaic filling power at time t.
14. The power consumption control system according to claim 8, characterized in that: The electricity consumption minimization strategy includes: accurately measuring the output power of photovoltaic power generation, ensuring the minimum total hourly electricity price and electricity cost throughout the day, and giving priority to filling the gap from the time when the electricity price is high according to the electricity price trend.
15. A computer device, characterized in that: include: one or more processors; a processor for executing one or more programs; When the one or more programs are executed by the one or more processors, the method according to any one of claims 1 to 7 is implemented.
16. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Electric power economic dispatching method and system for promoting new energy consumption
CN113673810A
Electric vehicle charging control method and device based on time-of-use electricity price and peak load shifting
CN117096887A
Peak clipping and valley filling method and device and storage medium
CN117791676A
Virtual power plant system and method incorporating renewal energy, storage and scalable value-based optimization
US20120130556A1
Cited By
Source-grid-load-storage cooperative participation peak load shifting control method based on market mechanism
CN120728594A
