CN114239252B - Method and system for generating operation mode of power system, computer and storage medium - Google Patents

Method and system for generating operation mode of power system, computer and storage medium Download PDF

Info

Publication number
CN114239252B
CN114239252B CN202111478553.4A CN202111478553A CN114239252B CN 114239252 B CN114239252 B CN 114239252B CN 202111478553 A CN202111478553 A CN 202111478553A CN 114239252 B CN114239252 B CN 114239252B
Authority
CN
China
Prior art keywords
power
power flow
operation mode
power system
load
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
Application number
CN202111478553.4A
Other languages
Chinese (zh)
Other versions
CN114239252A (en
Inventor
李畅
陆志雄
王东
杨汝泉
白国卿
余崇高
董桂云
吴志丹
瞿梦梦
张文壕
杨雪婷
梁灼勇
董丽
王平伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FOSHAN ELECTRIC POWER DESIGN INSTITUTE CO LTD
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
FOSHAN ELECTRIC POWER DESIGN INSTITUTE CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by FOSHAN ELECTRIC POWER DESIGN INSTITUTE CO LTD filed Critical FOSHAN ELECTRIC POWER DESIGN INSTITUTE CO LTD
Priority to CN202111478553.4A priority Critical patent/CN114239252B/en
Publication of CN114239252A publication Critical patent/CN114239252A/en
Application granted granted Critical
Publication of CN114239252B publication Critical patent/CN114239252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Public Health (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a method for generating an operation mode of an electric power system, which comprises the following steps: s1, inputting a power system reference operation mode and carrying out primary power flow calculation on the power system reference operation mode, wherein the power system reference operation mode is a power system operation mode under the general condition of power flow convergence; s2, randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow unsolvable state and generating a new power system operation mode with non-converged power flow; s3, constructing an optimal power flow model with the minimum variation of the output of the generator; and S4, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model so as to obtain a group of power system operation modes with power flow convergence. By adopting the method and the device, the power system operation mode with current state and trend convergence can be generated, so that the current state of the power system can be effectively described, and the requirements on operation, planning, protection and stability analysis of a novel power system can be met.

Description

Method and system for generating operation mode of power system, computer and storage medium
Technical Field
The invention relates to the field of power system optimization, in particular to a method and a system for generating a power system operation mode, a computer and a storage medium.
Background
The power system operation mode describes the real-time operation state of the power grid, so that a reference boundary can be provided for the safe and stable operation of the power system, and important theoretical support can be provided for dispatching personnel to evaluate the current operation state of the power grid in real time. The operation mode of the power system is the operation state of the power system determined by the operation output of the unit, the requirement of the load level, the network tide and the like in a certain time break plane.
Because the operation mode of the traditional power system is mainly influenced by load or seasonal hydroelectric power, the traditional power system has a relatively fixed mode, and a few typical operation modes are selected for carrying out economic efficiency, safety and stability evaluation by using 'big winter and small winter, big summer and small summer and rich water and dry water' in the planning of the power system. However, in the context of a novel power system with a high proportion of renewable energy and power electronics accessed, a few typical operating scenes of the power system selected in a traditional manner are difficult to restore to a real situation. Therefore, research on a method for generating an operation mode of a power system in the context of a novel power system is urgently needed to effectively evaluate the economy, safety and stability of the novel power system.
Disclosure of Invention
The present invention provides a method, a system, a computer and a storage medium for generating an operation mode of a power system, which can generate an operation mode of a power system with a current state and a current convergence, so as to effectively depict the current state of the power system and meet the requirements of operation, planning, protection and stability analysis of a new power system.
In order to solve the technical problem, the invention provides a method for generating an operation mode of an electric power system, which comprises the following steps: s1, inputting a power system reference operation mode and carrying out primary power flow calculation on the power system reference operation mode, wherein the power system reference operation mode is a power system operation mode under the general condition of power flow convergence; s2, randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow non-solution state, and generating a new power system operation mode with non-convergence power flow; s3, constructing an optimal power flow model with the minimum variation of the output of the generator; s4, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence; and performing parallel operation on the S1, the S2 and the S4 to quickly obtain a plurality of groups of power system operation modes with power flow convergence at random load levels.
Preferably, when the power system is input with a reference operation mode and subjected to primary power flow calculation, a power flow constraint is satisfied:
Figure BDA0003394181940000021
wherein, P g And Q g Indicating the active and reactive power injection and, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m A function of C g A node connection matrix representing a generator. In the traditional alternating current power flow calculation formula, a power balance equation is divided intoSolved into a real component and a reactive component and expressed as a voltage angle theta and an amplitude V m And generator injection P g And Q g Where the load injection is assumed to be constant.
Preferably, when the load of the reference operation mode of the power system is randomly adjusted, the active amount and the reactive amount of the load satisfy:
Figure BDA0003394181940000022
Figure BDA0003394181940000023
where xi and psi are random values between 0.3 and 1.7, the adjustment of the amount of work and the amount of no work of each load node is randomly adjusted, P 0 And Q 0 The active and the reactive of the load in the reference operation mode of the power system are respectively, and P and Q are respectively the active and the reactive of the load in the new operation mode of the power system.
Preferably, the optimal power flow model is:
Figure BDA0003394181940000031
Figure BDA0003394181940000032
wherein, theta, V, P g ,Q g The three-phase alternating current power flow constraint system is characterized in that four most basic variables in the power flow constraint are angle, voltage amplitude, active output and reactive output, f1i and f2i represent the variation of the active output and the reactive output of a generator respectively, and the constraint condition is the traditional constraint condition of alternating current optimal power flow.
The invention also provides a power system operation mode generation system, which comprises a load flow calculation module, a load random adjustment module, an optimal load flow model construction module, a load flow adjustment module and a parallel operation module: the load flow calculation module is used for inputting a reference operation mode of the power system and performing primary load flow calculation on the reference operation mode; the load random adjustment module is used for randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow non-solution state and generate a new power system operation mode with non-convergence power flow; the optimal power flow model building module is used for building an optimal power flow model with the minimum variation of the output of the generator; the power flow adjusting module is used for carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model so as to obtain a group of power system operation modes with power flow convergence; the parallel operation module is used for generating a large number of power system operation modes with power flow convergence; the power system reference operation mode is a power system operation mode under the general condition of power flow convergence, the power flow calculation module, the load random adjustment module and the power flow adjustment module are repeatedly operated, and the modules are subjected to parallel operation to quickly obtain a plurality of groups of power system operation modes with power flow convergence at the random load level.
Preferably, when the load flow calculation module performs load flow calculation on the input power system reference operation mode for one time, the load flow calculation module satisfies load flow constraints:
Figure BDA0003394181940000033
wherein, P g And Q g Indicating the active and reactive power injection and, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m Function of C g A node connection matrix representing a generator. In a conventional alternating current power flow calculation formula, a power balance equation is decomposed into an active component and a reactive component, and is expressed as a voltage angle theta and an amplitude value V m And generator injection P g And Q g A function of (1), wherein is negativeThe carrier implant is assumed to be constant.
Preferably, when the load random adjustment module randomly adjusts the load of the power system reference operation mode subjected to the power flow operation, the active amount and the passive amount of the load satisfy:
Figure BDA0003394181940000041
Figure BDA0003394181940000042
where xi and psi are random values between 0.3 and 1.7, the adjustment of the amount of work and the amount of no work of each load node is randomly adjusted, P 0 And Q 0 The active and the reactive of the load in the reference operation mode of the power system are respectively, and P and Q are respectively the active and the reactive of the load in the new operation mode of the power system.
Preferably, the optimal power flow model constructed by the optimal power flow model construction module is as follows:
Figure BDA0003394181940000043
Figure BDA0003394181940000044
wherein, theta, V, P g ,Q g The four most basic variables in the power flow constraint are angle, voltage amplitude, active output and reactive output respectively, f1i and f2i represent the variable quantity of the active output and the reactive output of the generator respectively, and the constraint condition is the traditional constraint condition of alternating current optimal power flow.
The invention also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the above methods when the processor executes the computer program.
The invention also provides a computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the steps of any of the above-mentioned methods.
The beneficial effects of the implementation of the invention are as follows:
the method comprises the steps of inputting a power system reference operation mode and carrying out primary load flow calculation on the power system reference operation mode; randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow unsolvable state and generating a new power system operation mode with non-converged power flow; further constructing an optimal power flow model with the minimum variation of the output of the generator; finally, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence; and performing parallel operation, and repeating for multiple times to obtain multiple groups of power system operation modes with load flow convergence at random load level.
By adopting the method and the device, the power system operation mode with current state trend convergence can be generated, so that the current state of the power system can be effectively described, and the requirements of operation, planning, protection and stability analysis of a novel power system can be met; the optimal power flow model constructed by the minimum variation of the output of the generator is established, the output of the generator is adjusted to enable a non-solution power flow equation to return to a feasible solution domain, the non-solution adjustment of the power flow of the power system is realized, and a power system operation mode with current state power flow convergence is generated on the basis, so that the current state of the power system can be effectively described, and the requirements of system operation, planning, protection and stability analysis of the novel power system can be met.
Drawings
FIG. 1 is a flow chart of a method for generating an operating mode of an electrical power system according to the present invention;
FIG. 2 is a flow chart of a mathematical model calculation for a method for generating an operation mode of an electric power system according to the present invention;
fig. 3 is a schematic block diagram of a power system operation mode generation system provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is to be understood that the terms "upper", "lower", "left", "right", "front", "back", "inner", "outer", and the like as used herein, whether or not specifically defined herein, are used in a generic and descriptive sense only and not for purposes of limitation.
As shown in fig. 1, the present invention provides a method for generating an operation mode of an electrical power system, including:
the method comprises the following steps of S1, inputting a power system reference operation mode and carrying out primary power flow calculation on the power system reference operation mode, wherein the power system reference operation mode is a power system operation mode under the general condition of power flow convergence;
s2, randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow unsolvable state and generating a new power system operation mode with non-converged power flow;
s3, constructing an optimal power flow model with the minimum variation of the output of the generator;
s4, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence;
and repeating the steps S1, S2 and S4, and performing parallel operation processing on the steps to quickly obtain a plurality of groups of power system operation modes with power flow convergence at random load level.
According to the method, a power flow calculation is performed once by inputting a power system reference operation mode; randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow unsolvable state and generating a new power system operation mode with non-converged power flow; further constructing an optimal power flow model with the minimum variation of the output of the generator; finally, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence; and repeating the operation mode of the power system for multiple times to obtain multiple groups of power flow convergence at random load levels. By adopting the method and the device, the power system operation mode with current state trend convergence can be generated, so that the current state of the power system can be effectively described, and the requirements on operation, planning, protection and stability analysis of a novel power system can be met; the optimal power flow model constructed by the minimum variation of the output of the generator is established, the output of the generator is adjusted to enable a non-solution power flow equation to return to a feasible solution domain, the non-solution adjustment of the power flow of the power system is realized, and a power system operation mode with current state power flow convergence is generated on the basis, so that the current state of the power system can be effectively described, and the requirements of system operation, planning, protection and stability analysis of the novel power system can be met.
Preferably, when the input power system is in a reference operation mode and performs a power flow calculation for one time, the power flow constraint is satisfied as follows:
Figure BDA0003394181940000061
wherein, P g And Q g Indicating the active and reactive power injection and, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m Function of C g A node connection matrix representing a generator. In the traditional alternating current power flow calculation formula, a power balance equation is decomposed into an active component and a reactive component, and the active component and the reactive component are expressed as a voltage angle theta and an amplitude value V m And generator injection P g And Q g Where the load injection is assumed to be constant.
In the present embodiment, a reference power system operation mode is first input, which is a power system operation mode in a general case where power flow converges, and values of operation states such as network power flow and generator output in the reference operation state can be obtained through this step.
Further, when the load of the power system reference operation mode subjected to the power flow operation is randomly adjusted, the active amount and the passive amount of the load satisfy:
Figure BDA0003394181940000071
Figure BDA0003394181940000072
where xi and psi are random values between 0.3 and 1.7, the adjustment of the amount of work and the amount of no work of each load node is randomly adjusted, P 0 And Q 0 The active and the reactive of the load in the reference operation mode of the power system are respectively, and P and Q are respectively the active and the reactive of the load in the new operation mode of the power system.
It should be noted that, in this embodiment, after performing a power flow calculation on the reference operation mode once, the power flow state of the reference operation mode is obtained, and the reference operation mode is randomly adjusted, so that the active and passive quantities of the load are changed, and the load is in the power flow unsolved state through the random adjustment on the reference operation mode.
Preferably, the optimal power flow model is:
Figure BDA0003394181940000073
Figure BDA0003394181940000074
wherein, theta, V, P g ,Q g The three-phase alternating current power flow constraint system is characterized in that four most basic variables in the power flow constraint are angle, voltage amplitude, active output and reactive output, f1i and f2i represent the variation of the active output and the reactive output of a generator respectively, and the constraint condition is the traditional constraint condition of alternating current optimal power flow.
It should be noted that, in this embodiment, the purpose of the solution-free power flow adjustment is to find a power flow convergence solution that is as close as possible to the original operation mode in the operation mode under the condition that the power flow is not converged, and construct an optimal power flow calculation model based on this, where the change of the generator output is the minimum, where the model is a typical nonlinear inequality constraint problem, that is:
minf(x)
Figure BDA0003394181940000081
wherein: x represents a state and a control variable, the control variable comprises the output of the generator, a voltage phase angle, a voltage amplitude, a load size and other variables, the objective function is the minimum amount of the output change of the generator, the equality constraint is a power flow constraint, and the inequality constraint is an inequality constraint condition of the traditional alternating current optimal power flow and a voltage limit of a non-generator node.
If the voltage constraint of the non-generator node is not considered, the adjusted power flow solution is still located near the boundary of the feasible region, and no solution is extremely generated, so that the model also constrains the upper and lower voltage limits of the non-generator node, and the probability of non-convergence of the power flow in a new power system operation mode is greatly reduced. Further, an optimal power flow model constructed with the minimum variation of the output of the generator is described, that is:
Figure BDA0003394181940000082
Figure BDA0003394181940000083
wherein: theta, V, P g ,Q g The four most basic variables in the tidal current constraint are angle, voltage amplitude, active output and reactive output respectively, and f1i and f2i represent the variable quantity of the active output and the reactive output of the generator respectively. The constraint condition is the traditional constraint condition of alternating current optimal power flow, wherein the power balance constraint condition is an equality constraint condition, and the other constraint conditions are inequality constraint conditions.
The model adopts the primal-dual interior points to solve whenIteration result is less than e -10 The iteration is exited. When iteration succeeds, the model can be used for solving an optimal power flow solution, a power flow convergence solution which is as close as possible to the original operation mode can be found, namely, adjustment of power flow without solution is completed, and when iteration fails, the method is proved to be incapable of finding a new operation mode to meet power flow constraint.
In summary, firstly, a new operation mode is generated by randomly adjusting the reference operation mode, and the current operation mode flow is usually not converged at this time; then, a model for solving the optimal power flow is established, the power generator output is adjusted to enable the unsolved power flow equation to return to a feasible solution domain, the unsolved adjustment of the power flow of the power system is achieved, and a new power system operation mode of power flow convergence is generated on the basis; and repeating the steps to obtain a group of power system operation modes with random load levels each time. And repeating the operation for multiple times to obtain multiple groups of power system operation modes with random load levels. The method provided by the invention can generate enough power system operation modes to effectively reflect the operation state of the power system and effectively meet the requirements of operation, planning, protection and stability analysis of the novel power system.
It should be noted that the generated new operation mode is substituted into the constructed optimal power flow model with the minimum variation of the output of the generator to be solved, so as to obtain an optimal power flow solution in the current state. At the moment, the solution of the optimal power flow is the solution which satisfies the power flow constraint after the operation mode of the power flow without solution is adjusted, and the solving process is the adjustment process of the power flow without solution. And generating a group of new operation modes of power flow convergence. The model only changes the output of the generator to expand the solving area without changing other variables, at the moment, the output of the generator of the whole system and the network power flow are changed, but the load level of the whole system is not changed, the newly generated operation mode greatly maintains the load requirement of the original system and is as close as possible to the original operation mode, and therefore a group of power system operation modes with power flow convergence is obtained. And repeating the steps, and obtaining a group of power system operation modes with random load levels each time. And repeating the steps for multiple times to obtain multiple groups of power system operation modes with random load levels. The generated group of power system operation modes with power flow convergence is the power system operation mode in the state corresponding to the situation that power flow correction is carried out under the condition that the power flow is not converged after the reference operation mode is randomly adjusted. Due to the diversity and the time sequence of the operation modes of the power system, real-time adjustment can be performed along with the change of the load level, the scene of load change is repeatedly simulated, the generated operation modes of load flow non-convergence are repeatedly performed, and a group of corresponding operation modes of the power system of load flow convergence are generated. And repeating the steps for multiple times to obtain multiple groups of power system operation modes with random load levels.
As shown in fig. 2, the present invention further provides a process for implementing mathematical model calculation of a method for generating an operation mode of an electrical power system, including inputting a reference operation mode, performing ac power flow calculation thereon to obtain a power flow solution of the reference mode, entering a parallel operation process, determining the process after the parallel operation process, if an adequate operation mode is not generated, continuing to execute the parallel operation process until a sufficient number of operation modes are generated, and finally outputting a plurality of sets of operation modes of power flow convergence under random loads, wherein the parallel operation process includes three steps of randomly changing the reference operation mode, establishing an optimal power flow model with a minimum variation of generator output, and adjusting a new operation mode to enter a power flow resolvable region.
It should be noted that, in this embodiment, randomly changing the reference operation mode may randomly adjust and generate a new operation mode, and usually, the current of the operation mode at this time is not convergent; establishing an optimal power flow model with the minimum variation of the output of the generator, and obtaining a result to adjust the output of the generator so as to realize the process of power flow adjustment; and adjusting the new operation mode to enter the power flow resolvable domain to enable the unsolved power flow equation to return to the feasible solution domain, so that the unsolved adjustment of the power flow of the power system is realized, and a new power flow convergent power system operation mode is generated on the basis.
As shown in fig. 3, the present invention further provides a system for generating an operation mode of an electrical power system, which includes a power flow calculation module 1, a load random adjustment module 2, an optimal power flow model construction module 3, a power flow adjustment module 4, and a parallel operation module 5: the load flow calculation module 1 is used for inputting a reference operation mode of the power system and performing primary load flow calculation on the reference operation mode; the load random adjustment module 2 is used for randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow non-solution state and generating a new power system operation mode with non-convergence power flow; the optimal power flow model building module 3 is used for building an optimal power flow model with the minimum variation of the output of the generator; the power flow adjusting module 4 is used for carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model so as to obtain a group of power system operation modes with power flow convergence; the parallel operation module 5 quickly generates a large number of power system operation modes with power flow convergence. The power system reference operation mode is a power system operation mode under the general condition of power flow convergence, and the power flow calculation module 1, the load random adjustment module 2 and the power flow adjustment module 4 are repeatedly operated to obtain a plurality of groups of power flow convergence power system operation modes with random load levels.
According to the invention, a power system reference operation mode is input through the power flow calculation module 1, and primary power flow calculation is carried out on the power system reference operation mode; the load of the power system reference operation mode which is subjected to the power flow operation is randomly adjusted through the load random adjustment module 2 to be in a power flow non-solution state, and a new power system operation mode with non-convergence of the power flow is generated; constructing an optimal power flow model with the minimum variation of the output of the generator through the optimal power flow model constructing module 3; carrying out power flow adjustment on the new operation mode of the power system through the power flow adjustment module 4 according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence; and a large number of power flow convergence power system operation modes are quickly generated through the parallel operation module 5. The power system reference operation mode is a power system operation mode under the general condition of power flow convergence, the power flow calculation module 1, the load random adjustment module 2 and the power flow adjustment module 4 are repeatedly operated, and a parallel operation module 5 is adopted to quickly obtain a plurality of groups of power flow convergence power system operation modes with random load levels. By adopting the method and the device, the power system operation mode with current state trend convergence can be generated, so that the current state of the power system can be effectively described, and the requirements of operation, planning, protection and stability analysis of a novel power system can be met; the optimal power flow model constructed by the minimum variation of the output of the generator is established, the output of the generator is adjusted to return an unsolved power flow equation to a feasible solution domain, the unsolved adjustment of the power flow of the power system is realized, and the power system operation mode of current state power flow convergence is generated on the basis, so that the current state of the power system can be effectively described, and the requirements on operation, planning, protection and stability analysis of a novel power system can be met.
Preferably, when the load flow calculation module performs load flow calculation on the input power system reference operation mode for one time, the load flow calculation module satisfies load flow constraints:
Figure BDA0003394181940000111
wherein, P g And Q g Indicating the active and reactive power injection and, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m A function of C g A node connection matrix representing a generator. In the traditional alternating current power flow calculation formula, a power balance equation is decomposed into an active component and a reactive component, and the active component and the reactive component are expressed as a voltage angle theta and an amplitude value V m And generator injection P g And Q g Where the load injection is assumed to be constant.
In the present embodiment, a reference power system operation mode is first input, which is a power system operation mode in a general case where power flow converges, and values of operation states such as network power flow and generator output in the reference operation state can be obtained through this step.
Further, when the load random adjustment module randomly adjusts the load of the power system reference operation mode subjected to the load flow operation, the active amount and the passive amount of the load satisfy:
Figure BDA0003394181940000112
Figure BDA0003394181940000113
where xi and psi are random values between 0.3 and 1.7, the adjustment of the amount of work and the amount of no work of each load node is randomly adjusted, P 0 And Q 0 The active and the reactive of the load in the reference operation mode of the power system are respectively, and P and Q are respectively the active and the reactive of the load in the new operation mode of the power system.
In this embodiment, after performing a power flow calculation on the reference operation mode once, the power flow state of the reference operation mode is obtained, and the reference operation mode is randomly adjusted to change the active and passive quantities of the load, so that the load is in the power flow unsolved state through the random adjustment of the reference operation mode.
Preferably, the optimal power flow model constructed by the optimal power flow model construction module is as follows:
Figure BDA0003394181940000121
Figure BDA0003394181940000122
wherein, theta, V, P g ,Q g The three-phase alternating current power flow constraint system is characterized in that four most basic variables in the power flow constraint are angle, voltage amplitude, active output and reactive output, f1i and f2i represent the variation of the active output and the reactive output of a generator respectively, and the constraint condition is the traditional constraint condition of alternating current optimal power flow.
It should be noted that, in this embodiment, the purpose of the power flow solution-free adjustment is to find a power flow convergence solution that is as close as possible to the original operation mode in the operation mode under the condition that the power flow is not converged, and based on this, an optimal power flow calculation model with the minimum variation of the output of the generator is constructed, where the model is a typical nonlinear inequality constraint problem, that is:
minf(x)
Figure BDA0003394181940000123
wherein: x represents a state and a control variable, the control variable comprises the output of the generator, a voltage phase angle, a voltage amplitude, a load size and other variables, the objective function is the minimum amount of the output change of the generator, the equality constraint is a power flow constraint, and the inequality constraint is an inequality constraint condition of the traditional alternating current optimal power flow and a voltage limit of a non-generator node.
If the voltage constraint of the non-generator node is not considered, the adjusted power flow solution is still located near the boundary of the feasible region, and no solution is extremely generated, so that the model also constrains the upper and lower voltage limits of the non-generator node, and the probability of non-convergence of the power flow in a new power system operation mode is greatly reduced. Further, an optimal power flow model constructed with the minimum variation of the output of the generator is described, namely:
Figure BDA0003394181940000131
Figure BDA0003394181940000132
wherein: theta, V, P g ,Q g The four most basic variables in the tidal current constraint are angle, voltage amplitude, active output and reactive output respectively, and f1i and f2i represent the variable quantity of the active output and the reactive output of the generator respectively. The constraint condition is the constraint of the traditional AC optimal power flowA condition, wherein the power balance constraint is an equality constraint and the remaining constraints are inequality constraints.
The model is solved by adopting the primal-dual interior points, and when the iteration result is less than e -10 The iteration is exited. When iteration succeeds, the model can be used for solving an optimal power flow solution, a power flow convergence solution which is as close as possible to the original operation mode can be found, namely, adjustment of power flow without solution is completed, and when iteration fails, the method is proved to be incapable of finding a new operation mode to meet power flow constraint.
The invention also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the above methods when the processor executes the computer program.
The invention also provides a computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the steps of any of the above-mentioned methods.
In summary, firstly, a new operation mode is generated by randomly adjusting a reference operation mode, and the current operation mode flow is usually not convergent at this time; then, a model for solving the optimal power flow is established, the unsolved power flow equation is returned to a feasible solution domain by adjusting the output of the generator, the unsolved adjustment of the power flow of the power system is realized, and a new power system operation mode of power flow convergence is generated on the basis; and repeating the steps to obtain a group of power system operation modes with random load levels each time. Repeating the operation for n times to obtain n groups of power system operation modes with random load levels. The method provided by the invention can generate enough power system operation modes to effectively reflect the operation state of the power system and effectively meet the requirements of operation, planning, protection and stability analysis of the novel power system. The change situation of the operation mode of the power system when the power fluctuation of the load or the new energy is received can be simulated. The method can realize adjustment without solution to the power flow, and can make the power flow converge under the condition of not changing the load level, so that the original running state is influenced to the minimum extent. A plurality of new power system operation modes with power flow convergence can be generated, so that the economical efficiency, the safety and the stability of the novel power system can be effectively evaluated.
It should be noted that the generated new operation mode is substituted into the constructed optimal power flow model with the minimum variation of the output of the generator to obtain an optimal power flow solution in the current state. At the moment, the solution of the optimal power flow is the solution which satisfies the power flow constraint after the operation mode of the power flow without solution is adjusted, and the solving process is the adjustment process of the power flow without solution. And generating a group of new operation modes of power flow convergence. When the model is used for solving, the solving area is enlarged only by changing the output of the generator, other variables are not changed, at the moment, the output of the generator of the whole system and the network power flow are changed, but the load level of the whole system is not changed, the newly generated operation mode greatly maintains the load requirement of the original system and is as close as possible to the original operation mode, and therefore a group of power system operation modes with power flow convergence is obtained. And repeating the steps, and obtaining a group of power system operation modes with random load levels each time. Repeating for n times to obtain n groups of power system operation modes with random load levels. The generated group of power system operation modes with power flow convergence is the power system operation mode in the state corresponding to the situation that power flow correction is carried out under the condition that the power flow is not converged after the reference operation mode is randomly adjusted. Due to the diversity and the time sequence of the operation modes of the power system, real-time adjustment can be performed along with the change of the load level, the scene of load change is repeatedly simulated, the generated operation modes of load flow non-convergence are repeatedly performed, and a group of corresponding operation modes of the power system of load flow convergence are generated. And performing parallel operation on the load and the load for n times to obtain n groups of power system operation modes with random load levels.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. A method for generating an operation mode of an electric power system is characterized by comprising the following steps:
s1, inputting a power system reference operation mode and carrying out primary power flow calculation on the power system reference operation mode, wherein the power system reference operation mode is a power system operation mode under the general condition of power flow convergence;
s2, randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow unsolvable state and generating a new power system operation mode with non-converged power flow;
s3, constructing an optimal power flow model with the minimum variation of the output of the generator;
s4, carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model to obtain a group of power system operation modes with power flow convergence;
performing parallel operation on the S1, the S2 and the S4 to obtain a plurality of groups of power system operation modes with load flow convergence at the random load level;
the optimal power flow model is as follows:
Figure FDA0003694796130000011
Figure FDA0003694796130000012
wherein, theta, V, P g ,Q g The three-phase alternating current power flow constraint system is characterized in that four most basic variables in the power flow constraint are angle, voltage amplitude, active output and reactive output, f1i and f2i represent the variation of the active output and the reactive output of a generator respectively, and the constraint condition is the traditional constraint condition of alternating current optimal power flow.
2. The method according to claim 1, wherein when the power system reference operation mode is input and a power flow calculation is performed for one time, a power flow constraint is satisfied:
Figure FDA0003694796130000013
wherein, P g And Q g Indicating active and reactive power injection, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m Function of C g Representing the node connection matrix of the generator, the power balance equation is decomposed into an active component and a reactive component in the traditional alternating current power flow calculation formula and is expressed as a voltage angle theta and an amplitude value V m And generator injection P g And Q g Where the load injection is assumed to be constant.
3. The method according to claim 1, wherein when the load of the power system reference operation mode subjected to the power flow calculation is randomly adjusted, the active amount and the passive amount of the load satisfy:
Figure FDA0003694796130000021
Figure FDA0003694796130000022
where xi and psi are random values between 0.3-1.7, the adjustment of active and passive quantities of each load node is randomly adjusted, and P 0 And Q 0 The active capacity and the reactive capacity of the power system reference operation mode load are respectively, and P and Q are respectively the active capacity and the reactive capacity of the power system new operation mode load.
4. A power system operation mode generation system is characterized by comprising a load flow calculation module, a load random adjustment module, an optimal load flow model construction module, a load flow adjustment module and a parallel operation module:
the load flow calculation module is used for inputting a reference operation mode of the power system and performing primary load flow calculation on the reference operation mode;
the load random adjustment module is used for randomly adjusting the load of the power system reference operation mode subjected to the power flow operation to enable the load to be in a power flow non-solution state and generate a new power system operation mode with non-convergence of the power flow;
the optimal power flow model building module is used for building an optimal power flow model with the minimum variation of the output of the generator;
the power flow adjusting module is used for carrying out power flow adjustment on the new operation mode of the power system according to the optimal power flow model so as to obtain a group of power system operation modes with power flow convergence;
the parallel operation module is used for generating a large number of power flow convergence power system operation modes;
the power system reference operation mode is a power system operation mode under the general condition of power flow convergence, the power flow calculation module, the load random adjustment module and the power flow adjustment module are repeatedly operated, and the modules are subjected to parallel operation to quickly obtain a plurality of groups of power system operation modes with power flow convergence at the random load level;
the optimal power flow model constructed by the optimal power flow model construction module is as follows:
Figure FDA0003694796130000031
Figure FDA0003694796130000032
wherein, theta, V, P g ,Q g Is four most basic variables in the tidal current constraint, namely angle, voltage amplitude, active output and reactive output, wherein f1i and f2i respectively represent power generationThe constraint conditions of the variable quantity of the active power output and the reactive power output of the motor are the traditional constraint conditions of the alternating current optimal power flow.
5. The power system operation pattern generation system of claim 4, wherein the power flow calculation module satisfies a power flow constraint when inputting the power system reference operation pattern and performing a power flow calculation thereon:
Figure FDA0003694796130000033
wherein, P g And Q g Indicating the active and reactive power injection and, V, of the generator m Representing the magnitude of the voltage, theta representing the phase angle of the voltage, P bus (θ,V m ) And Q bus (θ,V m ) Representing the magnitude of the active and reactive power injection at the node with respect to the voltage angle theta and the magnitude V, respectively m A function of C g Representing the node connection matrix of the generator, the power balance equation is decomposed into an active component and a reactive component in the traditional alternating current power flow calculation formula and is expressed as a voltage angle theta and an amplitude value V m And generator injection P g And Q g Where the load injection is assumed to be constant.
6. The system according to claim 5, wherein when the load stochastic adjustment module randomly adjusts the load of the power system reference operation mode subjected to the power flow operation, the active amount and the passive amount of the load satisfy:
Figure FDA0003694796130000041
Figure FDA0003694796130000042
where xi and psi are random values between 0.3 and 1.7, the adjustment of the amount of work and the amount of no work of each load node is randomly adjusted, P 0 And Q 0 The active capacity and the reactive capacity of the power system reference operation mode load are respectively, and P and Q are respectively the active capacity and the reactive capacity of the power system new operation mode load.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN202111478553.4A 2021-12-06 2021-12-06 Method and system for generating operation mode of power system, computer and storage medium Active CN114239252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111478553.4A CN114239252B (en) 2021-12-06 2021-12-06 Method and system for generating operation mode of power system, computer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111478553.4A CN114239252B (en) 2021-12-06 2021-12-06 Method and system for generating operation mode of power system, computer and storage medium

Publications (2)

Publication Number Publication Date
CN114239252A CN114239252A (en) 2022-03-25
CN114239252B true CN114239252B (en) 2022-10-11

Family

ID=80753413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111478553.4A Active CN114239252B (en) 2021-12-06 2021-12-06 Method and system for generating operation mode of power system, computer and storage medium

Country Status (1)

Country Link
CN (1) CN114239252B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080019914A (en) * 2006-08-29 2008-03-05 건국대학교 산학협력단 System for calculating of power transmission charge and method therefor
CN101976837A (en) * 2010-10-17 2011-02-16 华中电网有限公司 Method for adjusting unsolvable power flow of electric power system
CN106887845A (en) * 2017-04-20 2017-06-23 国网上海市电力公司 Consider the optimal start-up mode arrangement method of unit of Power System Voltage Stability
CN107359616A (en) * 2017-07-18 2017-11-17 国电南瑞科技股份有限公司 One kind solves the not convergent method of Load flow calculation after large scale electric network mode adjusts
CN111209710A (en) * 2020-01-07 2020-05-29 中国电力科学研究院有限公司 Automatic adjustment method and device for load flow calculation convergence
CN112653152A (en) * 2020-12-25 2021-04-13 国网辽宁省电力有限公司信息通信分公司 High-dimensional space similarity-based power flow convergence adjusting method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105244877B (en) * 2015-11-04 2017-10-10 国电南瑞科技股份有限公司 One kind is used for the unsolvable recovery Adjustable calculation method of trend

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080019914A (en) * 2006-08-29 2008-03-05 건국대학교 산학협력단 System for calculating of power transmission charge and method therefor
CN101976837A (en) * 2010-10-17 2011-02-16 华中电网有限公司 Method for adjusting unsolvable power flow of electric power system
CN106887845A (en) * 2017-04-20 2017-06-23 国网上海市电力公司 Consider the optimal start-up mode arrangement method of unit of Power System Voltage Stability
CN107359616A (en) * 2017-07-18 2017-11-17 国电南瑞科技股份有限公司 One kind solves the not convergent method of Load flow calculation after large scale electric network mode adjusts
CN111209710A (en) * 2020-01-07 2020-05-29 中国电力科学研究院有限公司 Automatic adjustment method and device for load flow calculation convergence
CN112653152A (en) * 2020-12-25 2021-04-13 国网辽宁省电力有限公司信息通信分公司 High-dimensional space similarity-based power flow convergence adjusting method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于规划模型的最小化潮流算法及其可视化技术研究;苏津等;《广西电力》;20090430(第02期);第23-27页 *
考虑分布式电源相关性的配电网概率潮流计算;李畅等;《电力系统及其自动化学报》;20210531;全文 *

Also Published As

Publication number Publication date
CN114239252A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
Hasanien et al. A Taguchi approach for optimum design of proportional-integral controllers in cascaded control scheme
CN106532710A (en) Microgrid power flow optimization method considering voltage stability constraint
CN112561273B (en) Active power distribution network renewable DG planning method based on improved PSO
CN103368186A (en) Reactive optimization method of wind power system
Saadatmand et al. PMU-based FOPID controller of large-scale wind-PV farms for LFO damping in smart grid
CN114140022A (en) Multi-virtual power plant distributed dynamic economic dispatching method and system
CN115841187A (en) Method, device, equipment and storage medium for optimizing operation strategy of flexible power distribution network
Xiao et al. Optimal sizing and siting of soft open point for improving the three phase unbalance of the distribution network
CN109193820B (en) Method, system and storage medium for carrying out reactive power optimization on photovoltaic power station
CN113346484B (en) Power distribution network elastic lifting method and system considering transient uncertainty
CN103515964A (en) Reactive compensation control method and reactive compensation control device
CN117035335A (en) Multi-stage energy storage and power transmission network collaborative planning method and system
CN114239252B (en) Method and system for generating operation mode of power system, computer and storage medium
Setiadi et al. Optimization based design of dual input PSS for improving small signal stability of power system with RESs
Hongfei et al. Optimal control virtual inertia of optical storage microgrid based on improved sailfish algorithm
CN104793107B (en) A kind of power grid cascading fault determination method based on improvement OPA models
Yammani et al. Optimal placement and sizing of DER’s with load variations using bat algorithm
CN106295915B (en) The method of optimal dispatch containing clean energy resource with the constraint of maximum capacity criterion
Doagou-Mojarrad et al. Probabilistic interactive fuzzy satisfying generation and transmission expansion planning using fuzzy adaptive chaotic binary PSO algorithm
CN110930263A (en) Medium-voltage distribution network short-circuit current calculation method containing photovoltaic power supply and induction motor based on black hole particle swarm algorithm
Li et al. Wind farms reactive power optimization using genetic/tabu hybrid algorithm
Aref et al. Oscillation Damping Neuro-Based Controllers Augmented Solar Energy Penetration Management of Power System Stability. Energies 2023, 16, 2391
Feng et al. Flexible Coordinated Optimal Operation Model of" source-grid-load-storage" in Smart Distribution Network
CN112418561B (en) Power grid planning method suitable for full clean energy power system
Pang et al. Fast Stability Enhancement of Inverter-Based Microgrids using Machine Learning Techniques

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
TR01 Transfer of patent right

Effective date of registration: 20230508

Address after: No. 41, Zhongxin Road, Shiwan, Chancheng District, Foshan City, Guangdong Province

Patentee after: FOSHAN ELECTRIC POWER DESIGN INSTITUTE Co.,Ltd.

Patentee after: FOSHAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID Co.,Ltd.

Address before: No. 41, Zhongxin Road, Shiwan, Chancheng District, Foshan City, Guangdong Province

Patentee before: FOSHAN ELECTRIC POWER DESIGN INSTITUTE Co.,Ltd.

TR01 Transfer of patent right