A neural network-assisted solution method for power system prospective dispatch model considering frequency constraints
By combining data-driven and physical-driven methods in the power system, neural networks are used to integrate frequency constraints into the power system dispatch model, which solves the problem of reduced frequency regulation capabilities after the integration of renewable energy and achieves efficient frequency stability guarantee. and improved model solving efficiency.
Patent Information
- Application Number
- CN202311827323.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-12-27
AI Technical Summary
The large-scale integration of renewable energy in traditional power systems has reduced the proportion of thermal power units, resulting in a reduction in the total inertia of the system and a decline in frequency adjustment capabilities. It is difficult to effectively integrate frequency constraints into the power system dispatch model with existing technology, affecting the safe and stable operation of the system. .
Using a method based on neural networks, data-driven and physical-driven are combined, and the frequency-related constraints are added in the form of a penalty function by modifying the loss function to ensure that the parameters trained by the neural network can meet the frequency constraints, thereby realizing the power control considering the frequency constraints. Efficient solution of system forward scheduling model.
It achieves the guarantee of frequency stability of the power system, improves the model solving efficiency, ensures that the parameters trained by the neural network can meet the frequency constraints in the original physical model, and improves the operational stability and dispatching efficiency of the system.
Smart Images

Figure CN117833273B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of economic dispatch of integrated energy systems, and in particular proposes a method for solving a forward-looking dispatch model of an electric power system based on neural network assistance and considering frequency constraints. Background Art
[0002] To achieve carbon reduction goals while maintaining uninterrupted economic development, it is necessary to continue to promote industrial and energy structural adjustments, vigorously develop renewable energy, and promote a low-carbon lifestyle. In traditional power systems, power supply is mainly composed of thermal power units with relatively stable output. However, the large-scale integration of renewable energy in power systems inevitably reduces the proportion of thermal power units, resulting in a decrease in the total inertia of the system and a decrease in frequency regulation capabilities. Therefore, more and more people have begun to study how to integrate frequency constraints into power system dispatch models to ensure the safe and stable operation of the power system.
[0003] By solving the power system forward-looking dispatch model considering frequency constraints, the problem of ensuring frequency stability in the power system can be widely solved. In addition, in order to ensure that power grid dispatchers can allocate resources more quickly, accurately and efficiently, it is also very important to improve the efficiency of model solution.
[0004] Based on the above description, the method proposed in the present invention for using a physical information neural network to efficiently solve the forward-looking dispatching model of the power system considering frequency constraints mainly considers the following two aspects: First, on the basis of the physical driven solution model, the data driven model is combined with the physical driven model to achieve efficient solution of the model; second, by modifying the loss function, the frequency-related constraints are added to the loss function in the form of a penalty function, ensuring that the parameters trained by the neural network can meet the frequency constraints when they are brought back to the original physical model for solution. Summary of the invention
[0005] Purpose of the invention: The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a method for solving the forward-looking dispatch model of the power system based on neural network assistance and considering frequency constraints. The present invention takes into account the operation constraints of the power system, the linear AC optimal power flow constraints, and the frequency-related constraints, and takes the minimum system operation cost as the objective function. The present invention can not only realize the efficient solution of the model by combining data-driven with physical-driven methods, but also by modifying the loss function of the neural network, adding the frequency-related constraints to the loss function in the form of a penalty function, thereby ensuring that the parameters trained by the neural network can meet the frequency constraints when they are brought back to the original physical model for solution.
[0006] Technical solution: In order to solve the above technical problems, the present invention proposes a method for solving a power system forward-looking dispatch model considering frequency constraints based on a neural network, the method comprising the following steps:
[0007] Step 1, obtaining the operating parameters and technical parameters of the power system, wherein the operating parameters include the output information of the thermal power unit, the output information of the photovoltaic unit, the output information of the wind power unit, the electric load and the line, and the technical parameters include the climbing rate of the thermal power unit, the rated capacity of the energy storage device, the maximum charge and discharge power of the energy storage device, the upper and lower limits of the inertia time constant of all units and energy storage devices, and the upper and lower limits of the droop control coefficient;
[0008] Step 2: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, input them into the power system forward-looking dispatch model considering frequency constraints, and use the IPOPT solver to solve and obtain the system dispatch result, that is, the virtual inertia and droop control coefficient of each new energy unit and energy storage device, as well as the output size of each unit;
[0009] Step 3: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, and taking the virtual inertia and droop control coefficient of each new energy unit and energy storage device obtained in step 2 as output, the neural network model is trained, and the neural network loss function is modified, and the frequency-related constraints in the power system forward scheduling model considering frequency constraints are added to the loss function in the form of a penalty function;
[0010] Step 4: Input the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the physical information neural network model trained in step 3, and obtain the virtual inertia and droop control coefficient of each new energy unit and energy storage device. Substitute the virtual inertia and droop control coefficient of each new energy unit and energy storage device as known quantities together with the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the forward-looking dispatching model of the power system considering frequency constraints for optimization and solution, and obtain the system dispatching result, thereby realizing the solution of the forward-looking dispatching model of the power system considering frequency constraints.
[0011] Furthermore, in step 2, the forward-looking dispatch model of the power system considering frequency constraints is:
[0012] 1) Objective function
[0013]
[0014] In the formula, C total represents the total operating cost of the system, T represents the time period, subscript t represents the scheduling time, N G represents the number of traditional units, subscript g represents traditional units, N W Indicates the number of wind turbines, subscript w indicates the number of wind turbines, N PV Indicates the number of photovoltaic units, the subscript pv represents the photovoltaic unit, NESS represents the number of energy storage devices, and the subscript es represents the energy storage device; With C g They represent the standby cost coefficient and variable operation and maintenance cost coefficient of the traditional unit g, represents the backup cost coefficient of wind turbine w, It represents the backup cost coefficient of photovoltaic unit pv, represents the backup cost coefficient of the energy storage device es, P g,t represents the active output of the traditional unit g at time t, represents the reserve capacity provided by the traditional unit g at time t, represents the reserve capacity provided by wind turbine w at time t, It indicates the backup capacity provided by the photovoltaic unit pv at time t, represents the backup capacity provided by the energy storage device es at time t, represents the output upper limit of wind turbine w at time t, It represents the output upper limit of the photovoltaic unit pv at time t, Indicates the upper limit of charge and discharge of the energy storage device es at time t, L es,t represents the power loss of the energy storage device es at time t;
[0015] 2) Power system operation constraints
[0016]
[0017]
[0018] -RD g ≤P g,t -P g,t-1 ≤RU g (4)
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033] E es,t =E es,t-1 -(P es,t +L es,t )Δt (19)
[0034]
[0035]
[0036]
[0037]
[0038] In the formula, the subscripts i and j represent the power bus, represents the set of traditional generators connected to bus i, represents the set of wind turbines connected to bus i, represents the set of photovoltaic units connected to bus i, represents the set of energy storage devices connected to bus i, σ(i) represents the set of lines connected to bus i, N n represents the number of nodes, P w,t represents the output of wind turbine w in period t, P pv,t represents the output of the photovoltaic unit pv in time period t, P es,t represents the charging and discharging power of the energy storage device es at time t, P d,i,t represents the power demand of electric load i in time period t, represents the approximate transmission capacity of line ij at time t, G ij represents the real part of the node admittance matrix of branch ij, v i,t represents the voltage amplitude of node i at time t, Q g,t represents the reactive power of the traditional generator g at time t, Q d,i,t represents the reactive power required by electrical load i in time period t, represents the approximate transmission reactive capacity of line ij at time t, B ijrepresents the imaginary part of the node admittance matrix of the branch ij, RU g and RD g They represent the upward climbing rate and downward climbing rate of the traditional unit g, and They represent the upper and lower limits of the output of the traditional generator g at time t, and They represent the upper and lower limits of the reactive power output of the traditional generator g at time t, R g represents the speed governor adjustment constant of the conventional unit g, f ss represents the steady-state frequency allowed by the system, f0 represents the reference frequency of the system, represents the discharge power loss of the energy storage device es at time t, represents the charging power loss of the energy storage device es at time t, represents the charging efficiency of the energy storage device es, Represents the discharge efficiency of the energy storage device es, E es,t represents the storage power of the energy storage device es at time t, Δt represents the system scheduling time interval, and They represent the upper and lower limits of the energy storage device es storage power, f max Indicates the maximum frequency deviation allowed by the system, R w,t , R pv,t , R es,t They represent the droop control coefficients of the wind turbine w, photovoltaic generator pv, and energy storage device es at time t, respectively. w,t , H pv,t , H es,t They represent the virtual inertia time constants of wind turbine w, photovoltaic generator pv, and energy storage device es at time t respectively;
[0039] 3) Linear AC optimal power flow constraints
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046] In the formula, θ ij represents the phase angle difference between nodes i and j, and Respectively represent the minimum and maximum values of the phase angle difference between nodes i and j, and They represent the minimum and maximum voltage amplitudes of node i, respectively, v i 、v j Respectively represent the voltage amplitude of nodes i and j, g ij represents the conductance of branch ij, b ij represents the susceptance of branch ij, represents the active power loss of branch ij, represents the reactive power loss of branch ij, θ ij,0 represents the phase angle difference of branch ij in the reference state, v i,0 、v j,0 Respectively represent the voltage amplitude of nodes i and j under the reference condition;
[0047] 4) Frequency-related constraints:
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059] In the formula, R represents the system equivalent droop control coefficient, H represents the system equivalent inertia, F represents the system equivalent droop control coefficient, ΔP represents the system disturbance power, D represents the system damping coefficient, ζ represents the damping ratio, α and is the coefficient calculated based on the frequency constraint, ω n represents the natural oscillation frequency of the system, t nadir Indicates the time when the system reaches the lowest frequency point, H t , R t 、F tThey represent the equivalent inertia, equivalent droop control coefficient, and equivalent high-pressure turbine power coefficient of the system at time t, respectively. g,t K represents the inertia time constant of the conventional unit g at time t, mg represents the mechanical power gain factor of the conventional generator g, F g represents the power coefficient of the high-pressure turbine of the conventional unit, T R is the reheat time constant, ω r Represents the system damping frequency.
[0060] Furthermore, in step 3, the neural network loss function before modification is:
[0061]
[0062] Where: MSE represents the complete square error, MSE H , MSE R They represent the complete square error of virtual inertia and the complete square error of droop control coefficient, M represents the number of samples during training, m represents the mth sample, and R m , They represent the true value and predicted value of the droop control coefficient of the mth sample, H m , They represent the true value and predicted value of the mth sample virtual inertia respectively.
[0063] Furthermore, in step 3, the modified neural network loss function is:
[0064]
[0065]
[0066]
[0067] Where Loss represents the modified loss function value, Loss_steady represents the penalty function of the frequency steady-state constraint, Loss_nadir represents the penalty function of the lowest frequency point, and α1 and α2 are the weights of the corresponding loss functions.
[0068] Furthermore, in step 4, the solution method of the power system forward dispatch model considering frequency constraints is:
[0069] The start and stop status of the conventional unit: 0 means the unit is in the shutdown state, 1 means the unit is in the startup state, the system active load P at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substituted as input into the trained physical information neural network model, the virtual inertia and droop control coefficient of the new energy units and energy storage devices are obtained. The new energy units include wind power and photovoltaic units. The obtained virtual inertia and droop control coefficient of the new energy units and energy storage devices are used as known quantities to replace the variable H in the forward scheduling model of the power system considering frequency constraints. pv,t , H w,t , H es,t , R pv,t , R w,t , R es,t , compared with the start and stop status of conventional units and the active load P of the system at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substitute them together into the forward-looking dispatch model of the power system considering frequency constraints, turning it into a quadratic programming problem. Use the GUROBI solver to optimize and solve it, and obtain the optimal dispatch result of the system, thus realizing the solution of the forward-looking dispatch model of the power system considering frequency constraints.
[0070] Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects:
[0071] The present invention takes into account the power system operation constraints, linear AC optimal power flow constraints and frequency-related constraints. The present invention can not only achieve efficient solution of the model by combining data drive with physical drive, but also add frequency-related constraints to the loss function in the form of penalty function by modifying the loss function of the neural network, ensuring that the parameters trained by the neural network can meet the frequency constraints when brought back to the original physical model for solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 It is a flow chart of the method of the present invention.
[0073] Figure 2 It is a diagram of the physical information neural network structure.
[0074] Figure 3 It is the maximum frequency deviation of the system at different times obtained when using DNN for auxiliary solution.
[0075] Figure 4 It is the maximum frequency deviation of the system at different times obtained when using the physical information neural network for auxiliary solution. DETAILED DESCRIPTION
[0076] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent modifications of the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0077] like Figure 1 As shown, the present invention proposes a method for solving a power system forward-looking dispatch model considering frequency constraints based on a neural network, and the method comprises the following steps:
[0078] Step 1, obtaining the operating parameters and technical parameters of the power system, wherein the operating parameters include the output information of the thermal power unit, the output information of the photovoltaic unit, the output information of the wind power unit, the electric load and the line, and the technical parameters include the climbing rate of the thermal power unit, the rated capacity of the energy storage device, the maximum charge and discharge power of the energy storage device, the upper and lower limits of the inertia time constant of all units and energy storage devices, and the upper and lower limits of the droop control coefficient;
[0079] Step 2: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, input them into the power system forward-looking dispatch model considering frequency constraints, and use the IPOPT solver to solve and obtain the system dispatch result, that is, the virtual inertia and droop control coefficient of each new energy unit and energy storage device, as well as the output size of each unit;
[0080] Step 3: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, and taking the virtual inertia and droop control coefficient of each new energy unit and energy storage device obtained in step 2 as output, the neural network model is trained, and the neural network loss function is modified, and the frequency-related constraints in the power system forward scheduling model considering frequency constraints are added to the loss function in the form of a penalty function;
[0081] Step 4: Input the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the physical information neural network model trained in step 3, and obtain the virtual inertia and droop control coefficient of each new energy unit and energy storage device. Substitute the virtual inertia and droop control coefficient of each new energy unit and energy storage device as known quantities together with the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the forward-looking dispatching model of the power system considering frequency constraints for optimization and solution, and obtain the system dispatching result, thereby realizing the solution of the forward-looking dispatching model of the power system considering frequency constraints.
[0082] Furthermore, in step 2, the forward-looking dispatch model of the power system considering frequency constraints is:
[0083] 1) Objective function
[0084]
[0085] In the formula, C total represents the total operating cost of the system, T represents the time period, subscript t represents the scheduling time, N G represents the number of traditional units, subscript g represents traditional units, N W Indicates the number of wind turbines, subscript w indicates the number of wind turbines, N PV Indicates the number of photovoltaic units, the subscript pv represents the photovoltaic unit, N ESS represents the number of energy storage devices, and the subscript es represents the energy storage device; With C g They represent the standby cost coefficient and variable operation and maintenance cost coefficient of the traditional unit g, represents the backup cost coefficient of wind turbine w, It represents the backup cost coefficient of photovoltaic unit pv, represents the backup cost coefficient of the energy storage device es, P g,t represents the active output of the traditional unit g at time t, represents the reserve capacity provided by the traditional unit g at time t, represents the reserve capacity provided by wind turbine w at time t, It indicates the backup capacity provided by the photovoltaic unit pv at time t, represents the backup capacity provided by the energy storage device es at time t, represents the output upper limit of wind turbine w at time t, It represents the output upper limit of the photovoltaic unit pv at time t, Indicates the upper limit of charge and discharge of the energy storage device es at time t, L es,t represents the power loss of the energy storage device es at time t;
[0086] 2) Power system operation constraints
[0087]
[0088]
[0089] -RD g ≤P g,t -P g,t-1 ≤RU g (4)
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100]
[0101]
[0102]
[0103]
[0104] E es,t =E es,t-1 -(P es,t +L es,t )Δt (19)
[0105]
[0106]
[0107]
[0108]
[0109] In the formula, the subscripts i and j represent the power bus, represents the set of traditional generators connected to bus i, represents the set of wind turbines connected to bus i, represents the set of photovoltaic units connected to bus i, represents the set of energy storage devices connected to bus i, σ(i) represents the set of lines connected to bus i, N n represents the number of nodes, P w,t represents the output of wind turbine w in period t, P pv,t represents the output of the photovoltaic unit pv in time period t, P es,t represents the charging and discharging power of the energy storage device es at time t, P d,i,t represents the power demand of electric load i in time period t, represents the approximate transmission capacity of line ij at time t, G ij represents the real part of the node admittance matrix of branch ij, v i,t represents the voltage amplitude of node i at time t, Q g,t represents the reactive power of the traditional generator g at time t, Q d,i,t represents the reactive power required by electrical load i in time period t, represents the approximate transmission reactive capacity of line ij at time t, B ij represents the imaginary part of the node admittance matrix of the branch ij, RU g and RD g They represent the upward climbing rate and downward climbing rate of the traditional unit g, and They represent the upper and lower limits of the output of the traditional generator g at time t, and They represent the upper and lower limits of the reactive power output of the traditional generator g at time t, R g represents the speed governor adjustment constant of the conventional unit g, f ss represents the steady-state frequency allowed by the system, f0 represents the reference frequency of the system, represents the discharge power loss of the energy storage device es at time t, represents the charging power loss of the energy storage device es at time t, represents the charging efficiency of the energy storage device es, Represents the discharge efficiency of the energy storage device es, E es,t represents the storage power of the energy storage device es at time t, Δt represents the system scheduling time interval, and They represent the upper and lower limits of the energy storage device es storage power, f max Indicates the maximum frequency deviation allowed by the system, R w,t , R pv,t , R es,t They represent the droop control coefficients of the wind turbine w, photovoltaic generator pv, and energy storage device es at time t, respectively. w,t , H pv,t , H es,t They represent the virtual inertia time constants of wind turbine w, photovoltaic generator pv, and energy storage device es at time t respectively;
[0110] 3) Linear AC optimal power flow constraints
[0111]
[0112]
[0113]
[0114]
[0115]
[0116]
[0117] In the formula, θ ij represents the phase angle difference between nodes i and j, and Respectively represent the minimum and maximum values of the phase angle difference between nodes i and j, and They represent the minimum and maximum voltage amplitudes of node i, respectively, v i 、v j Respectively represent the voltage amplitude of nodes i and j, g ij represents the conductance of branch ij, b ij represents the susceptance of branch ij, represents the active power loss of branch ij, represents the reactive power loss of branch ij, θ ij,0 represents the phase angle difference of branch ij in the reference state, v i,0 、v j,0 Respectively represent the voltage amplitude of nodes i and j under the reference condition;
[0118] 4) Frequency-related constraints:
[0119]
[0120]
[0121]
[0122]
[0123]
[0124]
[0125]
[0126]
[0127]
[0128]
[0129]
[0130] In the formula, R represents the system equivalent droop control coefficient, H represents the system equivalent inertia, F represents the system equivalent droop control coefficient, ΔP represents the system disturbance power, D represents the system damping coefficient, ζ represents the damping ratio, α and is the coefficient calculated based on the frequency constraint, ω n represents the natural oscillation frequency of the system, t nadir Indicates the time when the system reaches the lowest frequency point, H t , R t 、F t They represent the equivalent inertia, equivalent droop control coefficient, and equivalent high-pressure turbine power coefficient of the system at time t, respectively. g,t K represents the inertia time constant of the conventional unit g at time t, mg represents the mechanical power gain factor of the conventional generator g, F g represents the power coefficient of the high-pressure turbine of the conventional unit, T R is the reheat time constant, ω r Represents the system damping frequency.
[0131] Furthermore, in step 3, the neural network loss function before modification is:
[0132]
[0133] Where: MSE represents the complete square error, MSE H , MSE R They represent the complete square error of virtual inertia and the complete square error of droop control coefficient, M represents the number of samples during training, m represents the mth sample, and R m , They represent the true value and predicted value of the droop control coefficient of the mth sample, H m , They represent the true value and predicted value of the mth sample virtual inertia respectively.
[0134] Furthermore, in step 3, the modified neural network loss function is:
[0135]
[0136]
[0137]
[0138] Where Loss represents the modified loss function value, Loss_steady represents the penalty function of the frequency steady-state constraint, Loss_nadir represents the penalty function of the lowest frequency point, and α1 and α2 are the weights of the corresponding loss functions.
[0139] Furthermore, in step 4, the solution method of the power system forward dispatch model considering frequency constraints is:
[0140] The start and stop status of the conventional unit: 0 means the unit is in the shutdown state, 1 means the unit is in the startup state, the system active load P at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substituted as input into the trained physical information neural network model, the virtual inertia and droop control coefficient of the new energy units and energy storage devices are obtained. The new energy units include wind power and photovoltaic units. The obtained virtual inertia and droop control coefficient of the new energy units and energy storage devices are used as known quantities to replace the variable H in the forward scheduling model of the power system considering frequency constraints. pv,t , H w,t , H es,t , R pv,t , R w,t , R es,t , compared with the start and stop status of conventional units and the active load P of the system at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substitute them together into the forward-looking dispatch model of the power system considering frequency constraints, turning it into a quadratic programming problem. Use the GUROBI solver to optimize and solve it, and obtain the optimal dispatch result of the system, thus realizing the solution of the forward-looking dispatch model of the power system considering frequency constraints.
[0141] Case Analysis
[0142] The present invention adopts an improved IEEE-118 node example. The system has 54 traditional thermal power units, 5 photovoltaic units on nodes 19, 29, 39, 49 and 79, and 4 wind turbines and energy storage devices on nodes 7, 11, 35 and 48. The rated capacity of each new energy unit is 500MW. The rated capacity of the energy storage device is 240MW, the total installed capacity of the network is 15426.2MW, and renewable energy units and energy storage devices account for 35.39%. The system nominal frequency is set to 50Hz, the maximum frequency deviation is 49.5Hz, and the system steady-state frequency cannot be lower than 49.75Hz. The present invention is implemented through the GAMS optimization platform.
[0143] Based on this example, the method of the present invention is used to simulate the solution time of the power system forward dispatch model considering frequency constraints under different cases (the results are shown in Table 1), and the physical information neural network structure framework is given (the results are shown in Table 2). Figure 2 ) and the maximum frequency deviation of the power system solved with the assistance of DNN and physical information neural network (see Figure 3 and Figure 4). It shows that the efficiency of model solving can be significantly improved by combining data-driven and physics-driven methods for scheduling. At the same time, the solution method assisted by physical information neural network can ensure that the learned parameters can meet the frequency-related constraints when they are substituted back into the original physical model for solving.
[0144] Table 1 Model solution time under different cases
[0145]
[0146] The present invention is based on a detailed model of forward dispatch of an electric power system considering frequency constraints, and realizes efficient solution of the forward dispatch model of an electric power system considering frequency constraints by combining physical drive with data drive.
[0147] The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a technician familiar with the technical field within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.
Claims
1. A neural network-assisted method for solving the power system forward-looking dispatch model considering frequency constraints. It is characterized in that The method comprises the following steps: Step 1, obtaining the operating parameters and technical parameters of the power system, wherein the operating parameters include the output information of the thermal power unit, the output information of the photovoltaic unit, the output information of the wind power unit, the electric load and the line, and the technical parameters include the climbing rate of the thermal power unit, the rated capacity of the energy storage device, the maximum charge and discharge power of the energy storage device, the upper and lower limits of the inertia time constant of all units and energy storage devices, and the upper and lower limits of the droop control coefficient; Step 2: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, input them into the power system forward-looking dispatch model considering frequency constraints, and use the IPOPT solver to solve and obtain the system dispatch result, that is, the virtual inertia and droop control coefficient of each new energy unit and energy storage device, as well as the output size of each unit; Step 3: Taking the total load of the system at different times, the start and stop status of conventional units, and the output data of new energy units as input, and taking the virtual inertia and droop control coefficient of each new energy unit and energy storage device obtained in step 2 as output, the neural network model is trained, and the neural network loss function is modified, and the frequency-related constraints in the power system forward scheduling model considering frequency constraints are added to the loss function in the form of a penalty function; Step 4: input the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the physical information neural network model trained in step 3, and obtain the virtual inertia and droop control coefficient of each new energy unit and energy storage device. Substitute the virtual inertia and droop control coefficient of each new energy unit and energy storage device as known quantities together with the active load, reactive load, start / stop status of conventional units, and output data of new energy units at each moment of the system into the forward-looking dispatching model of the power system considering frequency constraints for optimization and solution, and obtain the system dispatching result, so as to realize the solution of the forward-looking dispatching model of the power system considering frequency constraints; In step 2, the forward-looking dispatch model of the power system considering frequency constraints is: 1) Objective function In the formula, C total represents the total operating cost of the system, T represents the time period, subscript t represents the scheduling time, N G represents the number of traditional units, subscript g represents traditional units, N W Indicates the number of wind turbines, subscript w indicates the number of wind turbines, N PV Indicates the number of photovoltaic units, the subscript pv represents the photovoltaic unit, N ESS represents the number of energy storage devices, and the subscript es represents the energy storage device; With C g They represent the standby cost coefficient and variable operation and maintenance cost coefficient of the traditional unit g, represents the backup cost coefficient of wind turbine w, It represents the backup cost coefficient of photovoltaic unit pv, represents the backup cost coefficient of the energy storage device es, P g,t represents the active output of the traditional unit g at time t, represents the reserve capacity provided by the traditional unit g at time t, represents the reserve capacity provided by wind turbine w at time t, It indicates the backup capacity provided by the photovoltaic unit pv at time t, represents the backup capacity provided by the energy storage device es at time t, represents the output upper limit of wind turbine w at time t, It represents the output upper limit of the photovoltaic unit pv at time t, represents the upper limit of charge and discharge of the energy storage device es at time t, L es,t represents the power loss of the energy storage device es at time t; 2) Power system operation constraints -RD g ≤P g,t -P g,t-1 ≤RU g (4) In the formula, the subscripts i and j represent the power bus, represents the set of traditional generators connected to bus i, represents the set of wind turbines connected to bus i, represents the set of photovoltaic units connected to bus i, represents the set of energy storage devices connected to bus i, σ(i) represents the set of lines connected to bus i, N n represents the number of nodes, P w,t represents the output of wind turbine w in period t, P pv,t represents the output of the photovoltaic unit pv in time period t, P es,t represents the charging and discharging power of the energy storage device es at time t, P d,i,t represents the power demand of electric load i in time period t, represents the approximate transmission capacity of line ij at time t, G ij represents the real part of the node admittance matrix of branch ij, v i,t represents the voltage amplitude of node i at time t, Q g,t represents the reactive power of the traditional generator g at time t, Q d,i,t represents the reactive power required by electrical load i in time period t, represents the approximate transmission reactive capacity of line ij at time t, B ij represents the imaginary part of the node admittance matrix of the branch ij, RU g and RD g They represent the upward climbing rate and downward climbing rate of the traditional unit g, and They represent the upper and lower limits of the output of the traditional generator g at time t, and They represent the upper and lower limits of the reactive power output of the traditional generator g at time t, R g represents the speed governor regulation constant of the conventional unit g, f ss Indicates the steady-state frequency allowed by the system, f 0 represents the base frequency of the system, represents the discharge power loss of the energy storage device es at time t, represents the charging power loss of the energy storage device es at time t, represents the charging efficiency of the energy storage device es, Represents the discharge efficiency of the energy storage device es, E es,t represents the storage power of the energy storage device es at time t, Δt represents the system scheduling time interval, and They represent the upper and lower limits of the energy storage device es storage power, f max Indicates the maximum frequency deviation allowed by the system, R w,t , R pv,t , R es,t They represent the droop control coefficients of the wind turbine w, photovoltaic generator pv, and energy storage device es at time t, respectively. w,t , H pv,t , H es,t They represent the virtual inertia time constants of wind turbine w, photovoltaic generator pv, and energy storage device es at time t respectively; 3) Linear AC Optimal Power Flow Constraints In the formula, θ ij represents the phase angle difference between nodes i and j, and Respectively represent the minimum and maximum values of the phase angle difference between nodes i and j, and They represent the minimum and maximum voltage amplitudes of node i, respectively, v i 、v j Respectively represent the voltage amplitude of nodes i and j, g ij represents the conductance of branch ij, b ij represents the susceptance of branch ij, represents the active power loss of branch ij, represents the reactive power loss of branch ij, θ ij,0 represents the phase angle difference of branch ij in the reference state, v i,0 、v j,0 Respectively represent the voltage amplitude of nodes i and j under the reference condition; 4) Frequency-related constraints: In the formula, R represents the system equivalent droop control coefficient, H represents the system equivalent inertia, F represents the system equivalent droop control coefficient, ΔP represents the system disturbance power, D represents the system damping coefficient, ζ represents the damping ratio, α and is the coefficient calculated based on the frequency constraint, ω n represents the natural oscillation frequency of the system, t nadir Indicates the time when the system reaches the lowest frequency point, H t , R t 、F t They represent the equivalent inertia, equivalent droop control coefficient, and equivalent high-pressure turbine power coefficient of the system at time t, respectively. g,t K represents the inertia time constant of the conventional unit g at time t, mg represents the mechanical power gain factor of the conventional generator g, F g represents the power coefficient of the high-pressure turbine of the conventional unit, T R is the reheat time constant, ω r represents the system damping frequency; In step 3, the neural network loss function before modification is: Where: MSE represents the complete square error, MSE H , MSE R They represent the complete square error of virtual inertia and the complete square error of droop control coefficient, M represents the number of samples during training, m represents the mth sample, and R m , They represent the true value and predicted value of the droop control coefficient of the mth sample, H m , Respectively represent the true value and predicted value of the virtual inertia of the mth sample; In step 3, the modified neural network loss function is: Where Loss represents the modified loss function value, Loss_steady represents the penalty function of the frequency steady-state constraint, Loss_nadir represents the penalty function of the lowest frequency point, and α 1 , α 2 are the weights of the corresponding loss functions.
2. According to claim 1, a method for solving a power system forward-looking dispatch model based on neural network assistance and considering frequency constraints, It is characterized in that In step 4, the solution method of the power system forward dispatch model considering frequency constraints is: The start and stop status of the conventional unit: 0 means the unit is in the shutdown state, 1 means the unit is in the startup state, the system active load P at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substituted as input into the trained physical information neural network model, the virtual inertia and droop control coefficient of the new energy units and energy storage devices are obtained. The new energy units include wind power and photovoltaic units. The obtained virtual inertia and droop control coefficient of the new energy units and energy storage devices are used as known quantities to replace the variable H in the forward scheduling model of the power system considering frequency constraints. pv,t , H w,t , H es,t , R pv,t , R w,t , R es,t , compared with the start and stop status of conventional units and the active load P of the system at each moment d,i,t , the reactive load Q of the system at each moment d,i,t , New energy unit output data Substitute them together into the forward-looking dispatch model of the power system considering frequency constraints, turning it into a quadratic programming problem. Use the GUROBI solver to optimize and solve it, and obtain the optimal dispatch result of the system, thus realizing the solution of the forward-looking dispatch model of the power system considering frequency constraints.
