Virtual power plant resource scheduling method based on privacy protection
Through the combination of homomorphic encryption and multi-objective particle swarm algorithm, the problem of privacy protection in virtual power plant resource scheduling is solved, the dual goals of information security and operational efficiency are achieved, and the safe and cost-effective operation of the virtual power plant is ensured.
Patent Information
- Application Number
- CN202411154492.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-22
AI Technical Summary
It is difficult for virtual power plants to effectively protect user privacy information during the resource scheduling process, leading to potential data leakage and trust issues. Moreover, existing technologies fail to handle private data in detail, affecting system stability and user rights.
Homomorphic encryption technology is used to make the multi-objective scheduling function private, and the dense multi-objective scheduling function is generated through the BGV homomorphic encryption scheme, and the multi-objective particle swarm algorithm is used to solve it on the cloud server, and finally the reverse restoration and processing are performed on the edge server. Equipment scheduling to ensure information security.
Effectively protect key information of users and equipment, reduce the risk of privacy leakage, minimize the operating costs of virtual power plants under risk control, and achieve economical and efficient system safe operation.
Smart Images

Figure CN118659467A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual power plants, and in particular to a virtual power plant resource scheduling method based on privacy protection. Background Art
[0002] With the continuous upgrading of modern energy systems represented by integrated energy systems and energy internet, the energy industry is gradually expanding new energy utilization models with the goal of efficiency, safety and sustainability. Virtual power plants, as an advanced technology that efficiently aggregates and optimizes the use of flexible resources such as renewable energy, controllable loads and energy storage systems, can effectively promote the green and low-carbon transformation of power systems. However, with the increasing digitalization and intelligence of energy systems, virtual power plants involve more and more data, which may contain sensitive data such as user privacy information and commercial secrets.
[0003] Through reasonable resource scheduling, we can achieve effective utilization and allocation of energy, improve the operating efficiency and flexibility of the energy system, and promote the large-scale application of clean energy. At the same time, protecting data privacy is the key to ensuring the stable operation of virtual power plants. It can prevent the leakage and abuse of privacy information of individuals or entities, safeguard the rights and interests and trust of users, and avoid potential legal and ethical issues. Therefore, virtual power plants must find a balance between resource scheduling and privacy protection, and adopt appropriate technical and management measures to ensure the reliability of energy systems and the security of user data.
[0004] The publication number is CN117710150A, and the name is a flexible resource scheduling method and system for a virtual power plant considering privacy. The method includes obtaining the power value of each device in the flexible resources corresponding to strong privacy users and weak privacy users respectively; performing power prediction based on the power value to obtain the day-ahead predicted power curve of the flexible resources corresponding to the weak privacy users, and the macro external characteristic curve of the flexible resources corresponding to the strong privacy users; constructing and solving the upper-level scheduling model based on the day-ahead predicted power curve and the macro external characteristic curve to obtain the energy regulation requirements of the virtual power plant operator for weak privacy users and strong privacy users; constructing and solving the lower-level regulation model based on the energy regulation requirements of the virtual power plant operator for strong privacy users to obtain the actual energy regulation strategy of the strong privacy users. Although the method mentions the distinction between strong privacy users and weak privacy users, in actual operation, there is no detailed description of how to handle the user's privacy data.
[0005] The publication number is CN115115276A, and the name is a virtual power plant scheduling method and system considering uncertainty and privacy protection. The method is based on historical data sets, and establishes the objective function and constraints of the virtual power plant considering uncertainty in stages; the objective function and constraints are combined to construct a single virtual power plant multi-scenario optimization problem, and the multi-scenario optimization problem is decomposed into multiple scenario sub-problems and coupling constraints between sub-problems; based on the coupling constraints between sub-problems, the ADMM iterative equation is used to continuously iteratively solve multiple scenario sub-problems until the iteration accuracy is met, and then distributed collaboration is performed between multiple virtual power plants. Considering privacy protection, a distributed method is used to solve the system optimization problem between different virtual power plants to obtain the optimization result, and the virtual power plant dispatches the unit output according to the optimization result. However, in the process of distributed solution of system optimization problems between different virtual power plants, data exchange and communication across multiple entities may be involved. If there are loopholes or unauthorized access in the data transmission, storage or processing process, it may lead to the leakage of user privacy information, thereby affecting the rights and interests and trust of users. Summary of the invention
[0006] In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a virtual power plant resource scheduling method based on privacy protection, the method comprising: S100: Obtaining the operation information, active power, charge status and market electricity price information of the power generation equipment in each virtual power plant; S200: Establishing an operation benefit model and an operation risk model according to the market electricity price information; S300: Establishing a multi-objective scheduling function according to the operation benefit model and the operation risk model; S400: The multi-objective scheduling function is subjected to privacy processing by homomorphic encryption to obtain a secret multi-objective scheduling function and a key; S500: uploading the dense state multi-objective scheduling function to a cloud server, solving it through a multi-objective particle swarm algorithm, and obtaining an optimal solution for dense state scheduling; S600: Downloading the optimal solution of the secret state scheduling to the edge server, and performing reverse restoration on the optimal solution of the secret state scheduling by using the key to obtain the optimal scheduling solution; S700: The edge server dispatches the power generation equipment in the virtual power plant according to the optimal dispatching solution; The keys include an encryption public key and a decryption private key.
[0007] Furthermore, the operation benefit model refers to constructing an operation benefit model based on the difference between the revenue in the virtual power plant and the operating cost of each power generation equipment. The calculation formula of the operation benefit model is: ; in, refers to the operating benefits of virtual power plants. refers to the market electricity price, Refers to the planned reported electric power in the virtual power plant. It refers to the unit operating cost of power generation equipment in a virtual power plant. It refers to the output power of the power generation equipment in the virtual power plant. It refers to the virtual power plant dispatch time interval, It refers to the operation cycle time of the virtual power plant. It refers to the number of virtual power plant equipment; The operational risk model refers to the assessment of the operational risk of the virtual power plant by taking into account factors such as insufficient power supply, equipment failure, and market electricity price fluctuations. The operational risk model calculation formula is: ; in, refers to the virtual power plant operation risk, refers to the standard deviation of market electricity prices, refers to the market electricity price, refers to the average market electricity price, Refers to the diversified load demands within the virtual power plant. It refers to the multivariate load demand error.
[0008] Furthermore, the multi-objective scheduling function refers to a multi-objective scheduling function for virtual power plant scheduling established based on the operation benefit model and the operation risk model in combination with the virtual power plant operation cost minimization function. The formula of the multi-objective scheduling function is: ; in, refers to the multi-objective scheduling function, refers to the operating benefits of virtual power plants. refers to the virtual power plant operation risk, is the virtual power plant operating cost minimization function, They refer to the virtual power plant operating benefits, virtual power plant operating risks and virtual power plant operating cost weights respectively, and ; The virtual power plant operating cost minimization function refers to calculating the power generation cost, fixed cost, startup cost and shutdown cost of the virtual power plant power generation equipment. The virtual power plant operating cost minimization function formula is: ; in, is the virtual power plant operating cost minimization function, It refers to the linear coefficient of power generation cost of power generation equipment. It refers to the power generation cost of power generation equipment. refers to the fixed cost of power generation equipment, It refers to the startup cost of power generation equipment. refers to the shutdown cost of power generation equipment. is a binary variable, indicating The on / off status of the power generation equipment at all times, are binary variables, representing The startup and shutdown actions of power generation equipment at all times.
[0009] Furthermore, the S400 converts the original optimization problem into a new optimization problem with the same form as the original problem but different parameters through privacy, including: S410: Select a polynomial ring through the BGV homomorphic encryption scheme; S420: Generate a secret polynomial, a random polynomial and an error polynomial according to the polynomial ring; S430: Obtain an encryption public key according to the random polynomial and the error polynomial; S440: Obtain a decryption private key according to the secret polynomial; S450: Encrypt the multi-objective scheduling function by using the encryption public key to obtain a encrypted multi-objective scheduling function; The polynomial ring refers to a ring consisting of polynomials and their coefficients. The polynomial ring is expressed as: ; in, It is a finger model The integer ring of is a prime number, is a modular polynomial in a polynomial ring, is the degree of the polynomial.
[0010] Furthermore, the S500 includes: S510: Initialize the initial velocity, initial position and algorithm iteration number of particles in the particle swarm, and establish a particle velocity vector update function and a particle position vector update function; S520: Calculate the fitness of contemporary particles according to the dense multi-objective scheduling function, update the particle positions, and store the particle position information in an external file to update and store the optimal solution; S530: updating the particle state according to the particle velocity vector update function and the particle position vector update function; S540: Determine whether the algorithm has reached the number of iterations. If the algorithm has reached the number of iterations, the optimal solution in the external file is used as the optimal solution for dense state scheduling. If the algorithm has not reached the number of iterations, go to S520. The particles refer to possible solutions to resource scheduling, i.e., solutions to the dense multi-objective scheduling function; The particle velocity vector update function is calculated as follows: ; in, means Moment Particle The velocity vector, means The velocity vector of particle n at time instant, is the inertia weight factor, They refer to self-learning factor and social learning factor respectively. refers to a random number distributed between 0 and 1. means The position vector of particle n at time instant, is the individual optimal position vector of the nth particle, It refers to the best position vector obtained by all particles in the previous iteration; The particle position vector update function is calculated as follows: ; in, means Moment Particle The position vector of means Moment Particle The position vector of means Moment Particle The velocity vector of The fitness of the contemporary particles is calculated as follows: ; in, For the The fitness of a particle, For the Particles.
[0011] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0012] 1. The present invention provides a virtual power plant resource scheduling method based on privacy protection, which disguises key information through privacy processing technology, effectively protects key information of users and devices, and reduces the risk of privacy leakage.
[0013] 2. The present invention provides a virtual power plant resource scheduling method based on privacy protection, which effectively ensures that the operating costs of the virtual power plant are minimized while the risks are effectively controlled through the operating benefit model and the operating risk model, thereby achieving economic and efficient safe operation of the system.
[0014] 3. The present invention provides a virtual power plant resource scheduling method based on privacy protection, which establishes a multi-objective model for resource scheduling and uses a multi-objective particle swarm algorithm to seek the best solution, thereby maximizing the utilization efficiency of power generation equipment and market resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of a virtual power plant resource scheduling method based on privacy protection provided by the present invention.
[0016] Figure 2 It is a privacy-protected encrypted flow chart of a virtual power plant resource scheduling method based on privacy protection provided by the present invention.
[0017] Figure 3 It is a flow chart for finding the optimal solution for secret scheduling of a virtual power plant resource scheduling method based on privacy protection provided by the present invention. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0019] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present invention, rather than all of the embodiments.
[0020] See also Figure 1 , Figure 2 and Figure 3 , the embodiment of the present invention includes:
[0021] like Figure 1 As shown, a flowchart of a virtual power plant resource scheduling method based on privacy protection includes: S100: Obtaining the operation information, active power, charge status and market electricity price information of the power generation equipment in each virtual power plant; S200: Establishing an operation benefit model and an operation risk model according to the market electricity price information;
[0022] Furthermore, the operation benefit model refers to constructing an operation benefit model based on the difference between the revenue in the virtual power plant and the operating cost of each power generation equipment. The calculation formula of the operation benefit model is: ; in, refers to the operating benefits of virtual power plants. refers to the market electricity price, Refers to the planned reported electric power in the virtual power plant. It refers to the unit operating cost of power generation equipment in a virtual power plant. It refers to the output power of the power generation equipment in the virtual power plant. It refers to the virtual power plant dispatch time interval, It refers to the operation cycle time of the virtual power plant. It refers to the number of virtual power plant equipment; The operational risk model refers to the assessment of the operational risk of the virtual power plant by taking into account factors such as insufficient power supply, equipment failure, and market electricity price fluctuations. The operational risk model calculation formula is: ; in, refers to the virtual power plant operation risk, refers to the standard deviation of market electricity prices, refers to the market electricity price, refers to the average market electricity price, Refers to the diversified load demands within the virtual power plant. It refers to the multivariate load demand error.
[0023] S300: Establishing a multi-objective scheduling function according to the operation benefit model and the operation risk model;
[0024] Furthermore, the multi-objective scheduling function refers to a multi-objective scheduling function for virtual power plant scheduling established based on the operation benefit model and the operation risk model in combination with the virtual power plant operation cost minimization function. The formula of the multi-objective scheduling function is: ; in, refers to the multi-objective scheduling function, refers to the operating benefits of virtual power plants. refers to the virtual power plant operation risk, is the virtual power plant operating cost minimization function, They refer to the virtual power plant operating benefits, virtual power plant operating risks and virtual power plant operating cost weights respectively, and ; The virtual power plant operating cost minimization function refers to calculating the power generation cost, fixed cost, startup cost and shutdown cost of the virtual power plant power generation equipment. The virtual power plant operating cost minimization function formula is: ; in, is the virtual power plant operating cost minimization function, It refers to the linear coefficient of power generation cost of power generation equipment. It refers to the power generation cost of power generation equipment. refers to the fixed cost of power generation equipment, It refers to the startup cost of power generation equipment. refers to the shutdown cost of power generation equipment. is a binary variable, indicating The on / off status of the power generation equipment at all times, are binary variables, representing The startup and shutdown actions of power generation equipment at all times.
[0025] S400: The multi-objective scheduling function is privatized through homomorphic encryption to obtain a secret multi-objective scheduling function and a key.
[0026] Furthermore, the key includes an encryption public key and a decryption private key;
[0027] Furthermore, if Figure 2 As shown, the S400 converts the original optimization problem into a new optimization problem with the same form as the original problem but different parameters through privacy, including: S410: Select a polynomial ring through the BGV homomorphic encryption scheme; S420: Generate a secret polynomial, a random polynomial and an error polynomial according to the polynomial ring; S430: Obtain an encryption public key according to the random polynomial and the error polynomial; S440: Obtain a decryption private key according to the secret polynomial; S450: Encrypt the multi-objective scheduling function by using the encryption public key to obtain a encrypted multi-objective scheduling function; The polynomial ring refers to a ring consisting of polynomials and their coefficients. The polynomial ring is expressed as: ; in, It is a finger model The integer ring of is a prime number, is a modular polynomial in a polynomial ring, is the degree of the polynomial.
[0028] S500: Upload the dense-state multi-objective scheduling function to the cloud server, solve it through the multi-objective particle swarm algorithm, and obtain the optimal solution for dense-state scheduling.
[0029] Furthermore, if Figure 3 As shown, the S500 includes: S510: Initialize the initial velocity, initial position and algorithm iteration number of particles in the particle swarm, and establish a particle velocity vector update function and a particle position vector update function; S520: Calculate the fitness of contemporary particles according to the dense multi-objective scheduling function, update the particle positions, and store the particle position information in an external file to update and store the optimal solution; S530: updating the particle state according to the particle velocity vector update function and the particle position vector update function; S540: Determine whether the algorithm has reached the number of iterations. If the algorithm has reached the number of iterations, the optimal solution in the external file is used as the optimal solution for dense state scheduling. If the algorithm has not reached the number of iterations, go to S520. The particles refer to possible solutions to resource scheduling, i.e., solutions to the dense multi-objective scheduling function; The particle velocity vector update function is calculated as follows: ; in, means Moment Particle The velocity vector, means The velocity vector of particle n at time instant, is the inertia weight factor, They refer to self-learning factor and social learning factor respectively. refers to a random number distributed between 0 and 1. means The position vector of particle n at time instant, is the individual optimal position vector of the nth particle, It refers to the best position vector obtained by all particles in the previous iteration; The particle position vector update function is calculated as follows: ; in, means Moment Particle The position vector of means Moment Particle The position vector of means Moment Particle The velocity vector of The fitness of the contemporary particles is calculated as follows: ; in, For the The fitness of a particle, For the Particles.
[0030] S600: Download the optimal solution for the secret state scheduling to the edge server, and reversely restore the optimal solution for the secret state scheduling by using the key to obtain the optimal scheduling solution;
[0031] S700: The edge server dispatches the power generation equipment in the virtual power plant according to the optimal dispatching solution.
[0032] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A virtual power plant resource scheduling method based on privacy protection, It is characterized in that include: S100: Obtaining the operation information, active power, charge status and market electricity price information of the power generation equipment in each virtual power plant; S200: Establishing an operation benefit model and an operation risk model according to the market electricity price information; S3 00: Establish a multi-objective scheduling function based on the operation benefit model and the operation risk model; S400: The multi-objective scheduling function is subjected to privacy processing by homomorphic encryption to obtain a secret multi-objective scheduling function and a key; S500: uploading the dense state multi-objective scheduling function to a cloud server, solving it through a multi-objective particle swarm algorithm, and obtaining an optimal solution for dense state scheduling; S600: Download the optimal solution for the secret state scheduling to the edge server, and reversely restore the optimal solution for the secret state scheduling by using the key to obtain the optimal scheduling solution; S700: The edge server dispatches the power generation equipment in the virtual power plant according to the optimal dispatching solution; The keys include an encryption public key and a decryption private key.
2. A virtual power plant resource scheduling method based on privacy protection as claimed in claim 1, It is characterized in that The operation benefit model is constructed based on the difference between the revenue of the virtual power plant and the operating cost of each power generation equipment. The calculation formula of the operation benefit model is: ; in, refers to the operating benefits of virtual power plants. refers to the market electricity price, Refers to the planned reported electric power in the virtual power plant. It refers to the unit operating cost of power generation equipment in a virtual power plant. It refers to the output power of the power generation equipment in the virtual power plant. It refers to the virtual power plant dispatch time interval, It refers to the operation cycle time of the virtual power plant. It refers to the number of virtual power plant equipment; The operational risk model refers to the assessment of the operational risk of the virtual power plant by taking into account factors such as insufficient power supply, equipment failure, and market electricity price fluctuations. The operational risk model calculation formula is: ; in, refers to the virtual power plant operation risk, refers to the standard deviation of market electricity prices, refers to the market electricity price, refers to the average market electricity price. Refers to the multiple load demands within the virtual power plant. It refers to the multivariate load demand error.
3. A virtual power plant resource scheduling method based on privacy protection as claimed in claim 1, It is characterized in that The multi-objective scheduling function refers to a multi-objective scheduling function for virtual power plant scheduling established based on the operation benefit model and the operation risk model in combination with the virtual power plant operation cost minimization function. The formula of the multi-objective scheduling function is: ; in, refers to the multi-objective scheduling function, refers to the operating benefits of virtual power plants. refers to the virtual power plant operation risk, is the virtual power plant operating cost minimization function, They refer to the virtual power plant operating benefits, virtual power plant operating risks and virtual power plant operating cost weights respectively, and ; The virtual power plant operating cost minimization function refers to calculating the power generation cost, fixed cost, startup cost and shutdown cost of the virtual power plant power generation equipment. The virtual power plant operating cost minimization function formula is: ; in, is the virtual power plant operating cost minimization function, It refers to the linear coefficient of power generation cost of power generation equipment. It refers to the power generation cost of power generation equipment. refers to the fixed cost of power generation equipment, It refers to the startup cost of power generation equipment. refers to the shutdown cost of power generation equipment. is a binary variable, indicating The on / off status of the power generation equipment at all times, are binary variables, representing The startup and shutdown actions of power generation equipment at all times.
4. A method for scheduling virtual power plant resources based on privacy protection as claimed in claim 1, It is characterized in that The S400 includes: S410: Select a polynomial ring through the BGV homomorphic encryption scheme; S420: Generate a secret polynomial, a random polynomial and an error polynomial according to the polynomial ring; S430: Obtain an encryption public key according to the random polynomial and the error polynomial; S440: Obtain a decryption private key according to the secret polynomial; S450: Encrypt the multi-objective scheduling function by using the encryption public key to obtain a encrypted multi-objective scheduling function; The polynomial ring refers to a ring consisting of polynomials and their coefficients. The polynomial ring is expressed as: ; in, It is a finger model The integer ring of is a prime number, is a modular polynomial in a polynomial ring, is the degree of the polynomial.
5. A virtual power plant resource scheduling method based on privacy protection as claimed in claim 1, It is characterized in that The S500 comprises: S510: Initialize the initial velocity, initial position and algorithm iteration number of particles in the particle swarm, and establish a particle velocity vector update function and a particle position vector update function; S520: Calculate the fitness of contemporary particles according to the dense multi-objective scheduling function, update the particle positions, and store the particle position information in an external file to update and store the optimal solution; S530: updating the particle state according to the particle velocity vector update function and the particle position vector update function; S540: Determine whether the algorithm has reached the number of iterations. If the algorithm has reached the number of iterations, the optimal solution in the external file is used as the optimal solution for dense state scheduling. If the algorithm has not reached the number of iterations, go to S520. The particles refer to possible solutions to resource scheduling, i.e., solutions to the dense multi-objective scheduling function; The particle velocity vector update function is calculated as follows: ; in, means Moment Particle The velocity vector, means The velocity vector of particle n at time instant, is the inertia weight factor, They refer to self-learning factor and social learning factor respectively. refers to a random number distributed between 0 and 1. means The position vector of particle n at time instant, is the individual optimal position vector of the nth particle, It refers to the best position vector obtained by all particles in the previous iteration; The particle position vector update function is calculated as follows: ; in, means Moment Particle The position vector of means Moment Particle The position vector of means Moment Particle The velocity vector of The fitness of the contemporary particles is calculated as follows: ; in, For the The fitness of a particle, For the Particles.
Citation Information
Patent Citations
Virtual power plant scheduling optimization method considering power-carbon collaborative optimization and application
CN115271467A
Virtual power plant scheduling method and system
CN115879983A
Virtual power plant optimization scheduling method considering strong uncertainty load
CN117522010A
Virtual power plant operation management method and device and storage medium
CN117526454A
Virtual power plant scheduling and clearing method based on conditional value-at-risk in market mode
CN117691681A
