CN118659412B - Virtual power plant frequency adjusting method based on balance information and margin mechanism - Google Patents
Virtual power plant frequency adjusting method based on balance information and margin mechanism Download PDFInfo
- Publication number
- CN118659412B CN118659412B CN202411154463.3A CN202411154463A CN118659412B CN 118659412 B CN118659412 B CN 118659412B CN 202411154463 A CN202411154463 A CN 202411154463A CN 118659412 B CN118659412 B CN 118659412B
- Authority
- CN
- China
- Prior art keywords
- power
- microgrid
- energy storage
- micro
- storage system
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/24—Arrangements for preventing or reducing oscillations of power in networks
- H02J3/241—The oscillation concerning frequency
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/28—Arrangements for balancing of the load in a network by storage of energy
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/381—Dispersed generators
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/46—Controlling of the sharing of output between the generators, converters, or transformers
- H02J3/466—Scheduling the operation of the generators, e.g. connecting or disconnecting generators to meet a given demand
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/06—Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/04—Power grid distribution networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/22—The renewable source being solar energy
- H02J2300/24—The renewable source being solar energy of photovoltaic origin
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/28—The renewable source being wind energy
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Power Engineering (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a virtual power plant frequency adjusting method based on a balance information and margin mechanism, which relates to the field of virtual power plant frequency adjustment and comprises the following steps: acquiring a micro-grid set, micro-grid position information, weather conditions and historical power data and preprocessing; predicting the future power condition of each micro-grid by using DeepAR model to obtain the power data of each micro-grid for 1 hour in future; setting a balance allowance mechanism of the micro-grid, and dividing all the micro-grids into balanced stable micro-grids and unbalanced stable micro-grids; aiming at the unbalanced stable micro-grid, a target optimization function is established aiming at realizing the lowest transfer of the loss cost of the excessive electric energy to the load overload micro-grid; solving a target optimization function by using an ant colony algorithm to obtain an adjustment strategy of each unbalanced stable micro-grid; and adding the power grid operation constraint to obtain the frequency adjustment strategy of the virtual power plant. The method and the device can improve the stability and reliability of frequency adjustment of the virtual power plant.
Description
Technical Field
The invention relates to the field of virtual power plant frequency adjustment, in particular to a virtual power plant frequency adjustment method based on a balance margin mechanism.
Background
With the advancement of global energy conversion and the rapid development of renewable energy sources, conventional power systems face challenges such as instability of the power supply and load pressure of the grid. Virtual power plants (Virtual Power Plant, VPP) are increasingly receiving widespread attention and application as an innovative solution. The VPP realizes the optimal management and scheduling of energy sources by integrating distributed energy sources, and improves the flexibility and reliability of the power system. However, frequency regulators of virtual power plants face some unique challenges. Virtual power plants consist of multiple distributed energy resources, each with independent response capability and regulation capability. The virtual power plant needs to coordinate and co-operate these resources to achieve overall performance optimization and frequency adjustment goals; and frequency adjustment of virtual power plants requires efficient scheduling strategies and algorithms. Meanwhile, the virtual power plant needs to be capable of adjusting the output power of the energy resources according to the power grid demand and the market signal, and the response degree and the adjustment speed of the distributed energy resources need to be flexibly controlled.
CN108429280a, named as patent document of passive power grid wide area virtual frequency control method and system, the method comprises: calculating virtual frequency according to actual active power, power frequency and preset planned power of the converter station; calculating the power demand of the new energy power station according to the virtual frequency; and determining the power adjustment quantity of the new energy power station according to the power required adjustment quantity and the power adjustable quantity of the new energy power station, and controlling each new energy power station to generate power according to the adjustment quantity. According to the invention, the virtual frequency is provided by the substation to reflect the fluctuation degree of the new energy power station in the transmitting end passive power grid deviating from the plan, so that the fluctuation is reduced as much as possible, the problems of intermittence, fluctuation and the like of wind power and photovoltaic power generation are improved, the pressure of the pumping power storage station for regulating the fluctuation of the new energy power is reduced, and the regulating frequency of the pumping power storage station is reduced. However, uncertainty of distributed energy resources and loads is not considered, resulting in poor robustness of grid frequency regulation.
CN114938006a, named as a patent document of a virtual inertia-based power grid frequency control method and system, the method includes: acquiring a change value of the angular frequency of the power grid; when the angular frequency of the power grid is reduced, reducing the direct-current voltage of the multi-active bridge based on the direct-current capacitance of the multi-active bridge of the energy router, injecting active power into a medium-voltage alternating-current port of the electric energy router, releasing the active power to the power grid, and completing the direct-current voltage control of the multi-active bridge; when the angular frequency of the power grid rises, the direct-current voltage of the multi-active bridge is raised based on the direct-current capacitor of the multi-active bridge, the medium-voltage alternating-current port of the electric energy router absorbs active power from the power grid, the active frequency of the power grid is released, the direct-current voltage of the multi-active bridge is controlled through virtual inertia, the rising rate of the angular frequency of the power grid is reduced, and the frequency of the power grid is regulated. According to the invention, the frequency characteristic of the power grid is improved by simulating the control strategy of virtual inertia; however, the abnormal condition of the grid frequency is not considered, so that the stability of the system is poor.
Disclosure of Invention
The invention mainly solves the technical problems that the relation between distributed energy resources and loads at future time cannot be predicted, and the virtual power plant cannot make resource scheduling and frequency adjustment in advance.
In order to solve the technical problems, the invention adopts a technical scheme that: the utility model provides a virtual power plant frequency adjustment method based on a balance margin mechanism, which comprises the following steps:
S100: acquiring a micro-grid set, micro-grid position information, weather conditions and historical power data, and preprocessing the historical power data;
s200: predicting the future power condition of each micro-grid by using DeepAR model according to the historical power data to obtain the power data of each micro-grid for 1 hour in the future;
S300: setting a micro-grid balance allowance mechanism, dividing all micro-grids into balanced stable micro-grids and unbalanced stable micro-grids according to power data of each micro-grid for 1 hour in the future, and further dividing the unbalanced stable micro-grids into excessive micro-grids and overload micro-grids;
S400: aiming at the unbalanced stable micro-grid, a target optimization function is established aiming at realizing the lowest transfer of the loss cost of the excessive electric energy to the load overload micro-grid;
S500: solving the target optimization function by using an ant colony algorithm to obtain an adjustment strategy of each unbalanced stable micro-grid;
S600: adding power grid operation constraint according to the regulation strategy of each unbalanced stable micro-power grid to obtain a frequency regulation strategy of the virtual power plant;
The microgrid location information is expressed as: Wherein, the method comprises the steps of, wherein, Is the firstThe longitude of the individual micro-grid,Is the firstLatitude of the individual micro-grid;
the set of micro-grids is expressed as: Wherein, the method comprises the steps of, wherein, Is the firstThe number of micro-grids is one,Is the micro-grid quantity;
the historical power data includes: power supply power, power of an electrical load, state of an energy storage system, charging power and discharging power of the energy storage system;
The electric power supply power refers to the generated power of all power generation equipment in the micro-grid, and comprises the following components: the power generation device comprises wind power generation equipment power generation, photovoltaic power generation equipment power generation and micro gas turbine generator set power generation;
the electric load power comprises load power of various electric equipment in life and charging power of an energy storage system;
the energy storage system refers to a system for storing electric energy in a micro-grid formed by a plurality of energy storage devices, and is used for realizing the balance of power supply and demand in the micro-grid and maintaining the stability of voltage and frequency, wherein the energy storage devices comprise: the device comprises a storage battery, a fuel cell, an electrolytic cell, a super capacitor and a flywheel;
The state of the energy storage system includes: a discharge state and a charge state;
The preprocessing refers to normalization processing, abnormal value removal and missing value filling operation on the historical power data.
Further, the S200 includes:
S210: dividing the historical power data of each micro-grid into a 70% training set and a 30% testing set;
S220: constructing DeepAR models by utilizing an autoregressive recursion network, and designating hidden layer dimensions, RNN types, RNN layers, dropout rates, learning rates and batch sizes;
S230: using a negative log likelihood loss function as a loss function of the model, training the model by using the training set, and optimizing model parameters by using an Adam optimizer;
S240: using a DeepAR model after training for each micro-grid, acquiring the probability distribution of the electric power data of each micro-grid for 1 hour in the future by using the test set, and using the binary digits of the predicted value as a predicted result to acquire the electric power data of each micro-grid for 1 hour in the future;
the quantile refers to the median in the probability distribution;
each micro-grid is provided with 1 hour of power data in future, and the power data comprises: the power supply power, the power of the electrical load, the state of the energy storage system, the charging power and the discharging power of the energy storage system.
Further, the step of setting the balance margin mechanism of the micro-grid is to set a power balance discriminant of the micro-grid, and judge all the micro-grids according to the power data of each micro-grid for 1 hour in the future, if the power balance discriminant is met, the micro-grid is balanced and stable, otherwise, the micro-grid is unbalanced and stable;
The power balance discriminant of the micro-grid is as follows:
;
;
;
Wherein, In order to balance the lower limit of the amount,In order to balance the upper limit of the number,In order to balance the lower-limit coefficient,,In order to balance the upper-limit coefficient,,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,For the number of energy storage devices in the energy storage system,Is the firstPower generation equipmentThe power generated at the moment of time,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,In order to achieve a number of power generation devices,For the current time of the energy storage system to be the electric energy,Rated power for the energy storage system;
The power generation apparatus includes: wind power generation equipment, photovoltaic power generation equipment and miniature gas units;
the miniature gas unit is a power generation group consisting of a plurality of miniature gas engines in a virtual power plant;
the excess supply micro-grid means that the power supply power of the unbalanced stable micro-grid is larger than the power load power;
The load overload micro-grid means that the power supply power of the unbalanced stable micro-grid is smaller than the power load power.
Further, the S400 includes:
S410: establishing an electric power overload function, and calculating the overload power of the micro-grid;
S420: establishing an electric power surplus function, and calculating the surplus power of the micro-grid;
S430: establishing a power conversion loss function, and calculating the scheduling loss power caused by conversion between voltages during micro-grid power scheduling;
s440: establishing a weather condition index, and calculating a stability index of new energy generation power of the micro-grid;
s450: establishing an electric power transmission loss function, and calculating transmission loss power transmitted between micro-grids along with the distance;
s460: establishing a target optimization function according to the overload power, the surplus power, the scheduling loss power, the stability index and the transmission loss power of the micro-grid;
the electric power overload function has a calculation formula as follows:
;
Wherein, As a function of the power overload,Is the firstPower generation equipmentThe power generated at the moment of time,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,For the number of energy storage devices in the energy storage system,The number of the power generation equipment;
The electric power surplus function has a calculation formula as follows:
;
Wherein, As a function of the excess of power,Is the firstPower generation equipmentThe power generated at the moment of time,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,For the number of energy storage devices in the energy storage system,The number of the power generation equipment;
the power conversion loss function has a calculation formula:
;
Wherein, As a function of the power conversion loss,For the voltage before the conversion of the micro-grid,For the converted output voltage of the micro-grid,For the converted current of the micro-grid,Is conversion efficiency;
The weather condition index is calculated according to weather, the weather condition index is 1.0 when the weather is sunny, the weather condition index is 0.6 when the weather is other weather, and the calculation formula is as follows:
;
Wherein, Is a weather condition index;
The power transmission loss function has a calculation formula as follows:
;
Wherein, As a function of the power transmission loss,For the converted current of the micro-grid,Is the resistance of the power line,For the length of the transmission line between the micro-grids,Is the current speed;
The target optimization function has a calculation formula as follows:
;
Wherein, For the objective optimization function, constraint conditions of the objective optimization function include:, A kind of electronic device ,Is a weight parameter, and,For the length of the transmission line between the micro-grids,Is a constant value of the distance to be measured,As a function of the power overload,As a function of the excess of power,As a function of the power conversion loss,As an index of the weather condition,As a function of the power transmission loss,Is the firstThe maximum electrical load power of the individual micro-grids,Is the firstThe individual micro-grids are at maximum power supply.
Further, the S500 includes:
s510: initializing ant colony scale, pheromone factors, heuristic function factors, pheromones, volatilization factors, pheromone constants, maximum iteration times and position information of each micro-grid;
s520: randomly placing ants in different micro-grids, and calculating the next micro-grid to be accessed for each ant until all the micro-grids accessed by the ants are in the updated pheromone table;
S530: calculating the path length of each ant passing by, recording the optimal solution in the current iteration times, and updating the pheromone concentration on each micro-grid connection path;
S540: judging whether the maximum iteration times are reached, if not, returning to the step S520, and if so, terminating the program to obtain the adjustment strategy of each unbalanced stable micro-grid;
The regulation strategy refers to finding the lowest cost transfer of electrical energy to supply the excess microgrid to the load-overloaded microgrid.
Further, the operation constraint refers to that in order to make the virtual power plant safely operate, the operation constraint is added to each device in the virtual power plant, and the operation constraint comprises: power balance constraints, micro gas turbine set operation constraints, energy storage system constraints, and interactive power constraints;
The power balance constraint is to keep balance of power supply power and power load power in a virtual power plant, power generation equipment and load equipment in the virtual power plant need to be constrained, the power generation equipment comprises wind power generation equipment, photovoltaic power generation equipment and a micro gas turbine unit, and a power balance constraint formula is as follows:
;
Wherein, Is the firstTyphoon power generation equipmentThe power generated at the moment of time,For the number of wind power plants,Is the firstBench photovoltaic power generation equipmentThe power generated at the moment of time,For the number of photovoltaic power generation devices,Is the firstGroup miniature gas engine setThe power generated at the moment of time,Is the number of the micro gas units,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,For the number of energy storage devices in the energy storage system,Is a virtual power plantThe power of the interaction at the moment in time,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,The number of load devices;
the micro gas turbine unit operation constraint comprises: generating constraint of the micro gas unit and generating climbing constraint of the micro gas unit;
the generation constraint formula of the miniature gas turbine unit is as follows:
;
Wherein, Is the firstGroup miniature gas engine setThe power generated at the moment of time,The lower limit and the upper limit of the power generation power of the micro gas unit are respectively set;
the generation climbing constraint formula of the miniature gas turbine unit is as follows:
;
Wherein, Is the firstThe power generation climbing rate of the miniature gas turbine units,Is thatGroup miniature gas engine setThe power generated at the moment of time,Is thatGroup miniature gas engine setGenerating power at moment;
The constraint formula of the energy storage system is as follows:
;
;
Wherein, Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the first in the energy storage systemThe maximum discharge power of the energy storage device,Is the first in the energy storage systemEnergy storage device for a tableThe charging power at the moment of time is,Is the first in the energy storage systemMaximum charging power of the energy storage device;
The interactive power constraint formula is as follows:
;
Wherein, Is a virtual power plantThe power of the interaction at the moment in time,The lower limit and the upper limit of the interaction power of the virtual power plant are respectively.
In summary, due to the adoption of the technical scheme, the beneficial effects of the invention are as follows:
1. According to the virtual power plant frequency adjustment method based on the balance information and margin mechanism, provided by the invention, the power data of each micro power grid for 1 hour in the future is predicted through the DeepAR model, so that the virtual power plant is effectively ensured to be capable of making corresponding power scheduling and control decisions for each micro power grid in advance, and the running risk is reduced.
2. According to the virtual power plant frequency adjusting method based on the balance margin mechanism, balance stability of each micro-grid in the virtual power plant is judged through the margin mechanism, and stability and reliability of frequency adjustment of a virtual power plant system are ensured.
3. According to the virtual power plant frequency adjusting method based on the balance information and margin mechanism, provided by the invention, a target optimization function is established by considering various factors influencing power resource scheduling, and the optimal scheme is solved by using the ant colony algorithm, so that the waste of power resources is effectively reduced, and the utilization rate of the power resources and the scheduling response speed are improved.
Drawings
Fig. 1 is a flowchart of a virtual power plant frequency adjustment method based on a balance margin mechanism.
Fig. 2 is a flow chart of a virtual power plant frequency adjustment method based on a balance margin mechanism according to the present invention using DeepAR model prediction.
FIG. 3 is a flow chart of an objective optimization function established by the virtual power plant frequency adjustment method based on the balance margin mechanism.
Fig. 4 is an ant colony algorithm solving flow chart of the virtual power plant frequency adjusting method based on the balance margin mechanism.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to 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 clear and defining the scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the invention.
Referring to fig. 1, 2, 3 and 4, an embodiment of the present invention includes:
As shown in fig. 1, a flowchart of a virtual power plant frequency adjustment method based on a balance margin mechanism includes:
S100: and acquiring a micro-grid set, micro-grid position information, weather conditions and historical power data, and preprocessing the historical power data.
Further, the microgrid location information is expressed as: Wherein, the method comprises the steps of, wherein, Is the firstThe longitude of the individual micro-grid,Is the firstLatitude of the individual micro-grid;
the set of micro-grids is expressed as: Wherein, the method comprises the steps of, wherein, Is the firstThe number of micro-grids is one,Is the micro-grid quantity;
the historical power data includes: power supply power, power of an electrical load, state of an energy storage system, charging power and discharging power of the energy storage system;
The electric power supply power refers to the generated power of all power generation equipment in the micro-grid, and comprises the following components: the power generation device comprises wind power generation equipment power generation, photovoltaic power generation equipment power generation and micro gas turbine generator set power generation;
the electric load power comprises load power of various electric equipment in life and charging power of an energy storage system;
the energy storage system refers to a system for storing electric energy in a micro-grid formed by a plurality of energy storage devices, and is used for realizing the balance of power supply and demand in the micro-grid and maintaining the stability of voltage and frequency, wherein the energy storage devices comprise: the device comprises a storage battery, a fuel cell, an electrolytic cell, a super capacitor and a flywheel;
The state of the energy storage system includes: a discharge state and a charge state;
The preprocessing refers to normalization processing, abnormal value removal and missing value filling operation on the historical power data.
S200: and predicting the future power condition of each micro-grid by using DeepAR model according to the historical power data to obtain the power data of each micro-grid for 1 hour in future.
Further, as shown in fig. 2, the S200 includes:
S210: dividing the historical power data of each micro-grid into a 70% training set and a 30% testing set;
S220: constructing DeepAR models by utilizing an autoregressive recursion network, and designating hidden layer dimensions, RNN types, RNN layers, dropout rates, learning rates and batch sizes;
S230: using a negative log likelihood loss function as a loss function of the model, training the model by using the training set, and optimizing model parameters by using an Adam optimizer;
S240: using a DeepAR model after training for each micro-grid, acquiring the probability distribution of the electric power data of each micro-grid for 1 hour in the future by using the test set, and using the binary digits of the predicted value as a predicted result to acquire the electric power data of each micro-grid for 1 hour in the future;
the quantile refers to the median in the probability distribution;
each micro-grid is provided with 1 hour of power data in future, and the power data comprises: the power supply power, the power of the electrical load, the state of the energy storage system, the charging power and the discharging power of the energy storage system.
S300: and setting a micro-grid balance allowance mechanism, dividing all micro-grids into balanced stable micro-grids and unbalanced stable micro-grids according to the power data of each micro-grid for 1 hour in the future, and further dividing the unbalanced stable micro-grids into excessive micro-grids and overload micro-grids.
Further, the step of setting the balance margin mechanism of the micro-grid is to set a power balance discriminant of the micro-grid, and judge all the micro-grids according to the power data of each micro-grid for 1 hour in the future, if the power balance discriminant is met, the micro-grid is balanced and stable, otherwise, the micro-grid is unbalanced and stable;
The power balance discriminant of the micro-grid is as follows:
;
;
;
Wherein, In order to balance the lower limit of the amount,In order to balance the upper limit of the number,In order to balance the lower-limit coefficient,,In order to balance the upper-limit coefficient,,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,For the number of energy storage devices in the energy storage system,Is the firstPower generation equipmentThe power generated at the moment of time,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,In order to achieve a number of power generation devices,For the current time of the energy storage system to be the electric energy,Rated power for the energy storage system;
The power generation apparatus includes: wind power generation equipment, photovoltaic power generation equipment and miniature gas units;
the miniature gas unit is a power generation group consisting of a plurality of miniature gas engines in a virtual power plant;
the excess supply micro-grid means that the power supply power of the unbalanced stable micro-grid is larger than the power load power;
The load overload micro-grid means that the power supply power of the unbalanced stable micro-grid is smaller than the power load power.
S400: for unbalanced stable micro-grids, a target optimization function is established aiming at realizing the lowest transfer of the loss cost of the surplus electric energy to the load overload micro-grid.
Further, as shown in fig. 3, the S400 includes:
S410: establishing an electric power overload function, and calculating the overload power of the micro-grid;
S420: establishing an electric power surplus function, and calculating the surplus power of the micro-grid;
S430: establishing a power conversion loss function, and calculating the scheduling loss power caused by conversion between voltages during micro-grid power scheduling;
s440: establishing a weather condition index, and calculating a stability index of new energy generation power of the micro-grid;
s450: establishing an electric power transmission loss function, and calculating transmission loss power transmitted between micro-grids along with the distance;
s460: establishing a target optimization function according to the overload power, the surplus power, the scheduling loss power, the stability index and the transmission loss power of the micro-grid;
the electric power overload function has a calculation formula as follows:
;
Wherein, As a function of the power overload,Is the firstPower generation equipmentThe power generated at the moment of time,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,For the number of energy storage devices in the energy storage system,The number of the power generation equipment;
The electric power surplus function has a calculation formula as follows:
;
Wherein, As a function of the excess of power,Is the firstPower generation equipmentThe power generated at the moment of time,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,For the number of load devices,For the number of energy storage devices in the energy storage system,The number of the power generation equipment;
the power conversion loss function has a calculation formula:
;
Wherein, As a function of the power conversion loss,For the voltage before the conversion of the micro-grid,For the converted output voltage of the micro-grid,For the converted current of the micro-grid,Is conversion efficiency;
The weather condition index is calculated according to weather, the weather condition index is 1.0 when the weather is sunny, the weather condition index is 0.6 when the weather is other weather, and the calculation formula is as follows:
;
Wherein, Is a weather condition index;
The power transmission loss function has a calculation formula as follows:
;
Wherein, As a function of the power transmission loss,For the converted current of the micro-grid,Is the resistance of the power line,For the length of the transmission line between the micro-grids,Is the current speed;
The target optimization function has a calculation formula as follows:
;
Wherein, For the objective optimization function, constraint conditions of the objective optimization function include:, A kind of electronic device ,Is a weight parameter, and,For the length of the transmission line between the micro-grids,Is a constant value of the distance to be measured,As a function of the power overload,As a function of the excess of power,As a function of the power conversion loss,As an index of the weather condition,As a function of the power transmission loss,Is the firstThe maximum electrical load power of the individual micro-grids,Is the firstThe individual micro-grids are at maximum power supply.
S500: and solving the target optimization function by using an ant colony algorithm to obtain the adjustment strategy of each unbalanced stable micro-grid.
Further, as shown in fig. 4, the S500 includes:
s510: initializing ant colony scale, pheromone factors, heuristic function factors, pheromones, volatilization factors, pheromone constants, maximum iteration times and position information of each micro-grid;
s520: randomly placing ants in different micro-grids, and calculating the next micro-grid to be accessed for each ant until all the micro-grids accessed by the ants are in the updated pheromone table;
S530: calculating the path length of each ant passing by, recording the optimal solution in the current iteration times, and updating the pheromone concentration on each micro-grid connection path;
S540: judging whether the maximum iteration times are reached, if not, returning to the step S520, and if so, terminating the program to obtain the adjustment strategy of each unbalanced stable micro-grid;
The regulation strategy refers to finding the lowest cost transfer of electrical energy to supply the excess microgrid to the load-overloaded microgrid.
S600: and adding power grid operation constraint according to the regulation strategy of each unbalanced stable micro-power grid to obtain the frequency regulation strategy of the virtual power plant.
Further, the operation constraint refers to that in order to make the virtual power plant safely operate, the operation constraint is added to each device in the virtual power plant, and the operation constraint comprises: power balance constraints, micro gas turbine set operation constraints, energy storage system constraints, and interactive power constraints;
The power balance constraint is to keep balance of power supply power and power load power in a virtual power plant, power generation equipment and load equipment in the virtual power plant need to be constrained, the power generation equipment comprises wind power generation equipment, photovoltaic power generation equipment and a micro gas turbine unit, and a power balance constraint formula is as follows:
;
Wherein, Is the firstTyphoon power generation equipmentThe power generated at the moment of time,For the number of wind power plants,Is the firstBench photovoltaic power generation equipmentThe power generated at the moment of time,For the number of photovoltaic power generation devices,Is the firstGroup miniature gas engine setThe power generated at the moment of time,Is the number of the micro gas units,Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,For the number of energy storage devices in the energy storage system,Is a virtual power plantThe power of the interaction at the moment in time,Is the firstTable load deviceThe moment load power comprises the load power of various electric equipment in life and the charging power of an energy storage system,The number of load devices;
the micro gas turbine unit operation constraint comprises: generating constraint of the micro gas unit and generating climbing constraint of the micro gas unit;
the generation constraint formula of the miniature gas turbine unit is as follows:
;
Wherein, Is the firstGroup miniature gas engine setThe power generated at the moment of time,The lower limit and the upper limit of the power generation power of the micro gas unit are respectively set;
the generation climbing constraint formula of the miniature gas turbine unit is as follows:
;
Wherein, Is the firstThe power generation climbing rate of the miniature gas turbine units,Is thatGroup miniature gas engine setThe power generated at the moment of time,Is thatGroup miniature gas engine setGenerating power at moment;
The constraint formula of the energy storage system is as follows:
;
;
Wherein, Is the first in the energy storage systemEnergy storage device for a tableThe discharge power at the moment of time is,Is the first in the energy storage systemThe maximum discharge power of the energy storage device,Is the first in the energy storage systemEnergy storage device for a tableThe charging power at the moment of time is,Is the first in the energy storage systemMaximum charging power of the energy storage device;
The interactive power constraint formula is as follows:
;
Wherein, Is a virtual power plantThe power of the interaction at the moment in time,The lower limit and the upper limit of the interaction power of the virtual power plant are respectively.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411154463.3A CN118659412B (en) | 2024-08-22 | 2024-08-22 | Virtual power plant frequency adjusting method based on balance information and margin mechanism |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411154463.3A CN118659412B (en) | 2024-08-22 | 2024-08-22 | Virtual power plant frequency adjusting method based on balance information and margin mechanism |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118659412A CN118659412A (en) | 2024-09-17 |
| CN118659412B true CN118659412B (en) | 2024-11-22 |
Family
ID=92707912
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411154463.3A Active CN118659412B (en) | 2024-08-22 | 2024-08-22 | Virtual power plant frequency adjusting method based on balance information and margin mechanism |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118659412B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116667387A (en) * | 2023-06-21 | 2023-08-29 | 广东电网有限责任公司电力调度控制中心 | Method, device and storage medium for regulating and controlling power grid frequency |
| CN118229454A (en) * | 2024-03-18 | 2024-06-21 | 兰州交通大学 | An optimal dispatching method for highway microgrid virtual power plant considering carbon emissions |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11887140B2 (en) * | 2021-02-25 | 2024-01-30 | Mitsubishi Electric Research Laboratories, Inc. | Risk-constrained optimization of virtual power plants in pool and future markets |
| CN113919717A (en) * | 2021-10-18 | 2022-01-11 | 内蒙古电力(集团)有限责任公司内蒙古电力经济技术研究院分公司 | Resource scheduling method and device for virtual power plant based on multi-objective synchronous optimization |
| CN114498641B (en) * | 2022-04-18 | 2022-06-24 | 国网智能电网研究院有限公司 | A distributed flexible resource aggregation control device and control method |
| US20240170986A1 (en) * | 2022-11-22 | 2024-05-23 | Honeywell International Inc. | Virtual peaker power plant |
| CN117077974A (en) * | 2023-09-04 | 2023-11-17 | 武汉魅客科技有限公司 | Virtual power plant resource optimal scheduling method, device, equipment and storage medium |
| CN117592621B (en) * | 2024-01-19 | 2024-04-23 | 华北电力大学 | Virtual power plant cluster two-stage scheduling optimization method |
| CN118399436A (en) * | 2024-04-22 | 2024-07-26 | 电力规划总院有限公司 | Virtual power plant operation control method and device along expressway and electronic equipment |
-
2024
- 2024-08-22 CN CN202411154463.3A patent/CN118659412B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116667387A (en) * | 2023-06-21 | 2023-08-29 | 广东电网有限责任公司电力调度控制中心 | Method, device and storage medium for regulating and controlling power grid frequency |
| CN118229454A (en) * | 2024-03-18 | 2024-06-21 | 兰州交通大学 | An optimal dispatching method for highway microgrid virtual power plant considering carbon emissions |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118659412A (en) | 2024-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109103912B (en) | Industrial park active power distribution system scheduling optimization method considering power grid peak regulation requirements | |
| CN118017573B (en) | Source network charge storage resource planning method considering flexible supply and demand balance | |
| CN119231586B (en) | Distributed new energy storage optimal configuration method and system for power distribution network | |
| Khunkitti et al. | Optimal location and sizing of BESS for performance improvement of distribution systems with high DG penetration | |
| CN110854932A (en) | Multi-time scale optimization scheduling method and system for AC/DC power distribution network | |
| CN111934360A (en) | Virtual power plant-energy storage system energy collaborative optimization regulation and control method based on model predictive control | |
| CN113285490A (en) | Power system scheduling method and device, computer equipment and storage medium | |
| CN115796492B (en) | Micro-grid scheduling method and terminal of hybrid energy storage system | |
| CN117498555B (en) | Cloud-edge fusion-based intelligent operation and maintenance system for energy storage power station | |
| CN117833371A (en) | Wind-solar pumped storage multi-time scale scheduling method and system | |
| CN108321801A (en) | Method and system for making day-ahead power generation plan of energy base system | |
| CN112836849A (en) | Virtual power plant scheduling method considering wind power uncertainty | |
| CN118971178A (en) | A source-load-storage coordinated optimization control method to promote new energy consumption | |
| CN108683211A (en) | A kind of virtual power plant combined optimization method and model considering distributed generation resource fluctuation | |
| CN119994966A (en) | A method and system for optimizing energy storage resource scheduling based on digital twin | |
| CN111311032B (en) | Micro-grid system capacity optimal configuration method based on sector radar map model | |
| CN118659412B (en) | Virtual power plant frequency adjusting method based on balance information and margin mechanism | |
| CN117955143A (en) | Zero-carbon rural comprehensive energy management method and system | |
| CN116683434A (en) | Energy storage calling method considering grid connection requirement of photovoltaic power station and energy storage charge state | |
| CN116488254A (en) | Day-ahead optimal control method for power electronic equipment | |
| CN116760121A (en) | A low-carbon dispatching method, system, equipment and medium for a virtual power plant | |
| Lukianenko et al. | Development and Utilization of a Quasi-dynamic Model for Power System Analysis | |
| CN119029964B (en) | Energy storage equipment planning method and system for medium-low voltage alternating-current and direct-current storage hybrid power distribution network | |
| CN118399418B (en) | New energy power system peak regulation method based on MINLP (mobile industry processor) energy-containing scheduling team and application | |
| CN119401484A (en) | A method and device for operating large-capacity energy storage for peak load regulation and frequency regulation |
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 |