Method and device for solving optimal power flow in power supply system, and storage medium

Abstract
The present disclosure provides a method and a device for solving an optimal power flow in a power supply system. A second convex model of the optimal power flow is established. A relaxation variant sum e according to the second convex model is determined. It is judged whether the relaxation variant sum e is greater than a preset threshold. If the relaxation variant sum e is greater than the preset threshold, the second convex model of the optimal power flow is established. If the relaxation variant sum e is not greater than the preset threshold, the solution of the second convex optimal model is determined as a feasible solution of the optimal model of the optimal power flow.
Description
CROSS REFERENCE TO RELATED APPLICATION

This application is based upon and claims a priority to Chinese Patent Application Serial No. 201710696169.9, filed with the State Intellectual Property Office of P. R. China on Aug. 5, 2017, the entire contents of which are incorporated herein by reference.


TECHNICAL FIELD

The present disclosure generally relates to a field of operation and control technology of a power supply system, and more particular to a method and a device for solving an optimal power flow in a power supply system.


BACKGROUND

The optimal power flow means that parameters of various control devices of a power supply system are adjusted in a perspective of optimizing operations of the power supply system. In a case that normal power balance of nodes and various security constraints are satisfied, it realizes to minimize generation cost and network loss. The optimal power flow has a significant application value in operating, dispatching and power grid planning of the power supply system, reliability analysis of a complex power supply system, control of transmission block and the like.


SUMMARY

Embodiments of the present disclosure provide a method for solving an optimal power flow in a power supply system. The method includes: acquiring an active power of a generator connected to each node from the power supply system; determining a target function of an optimal model of the optimal power flow according to the active power of the generator connected to each node; determining a first constraint of the optimal model of the optimal power flow; converting the first constraint into a convex constraint based on convex functions so as to obtain a first convex optimal model, in which the first convex optimal model includes the target function and the first constraint; determining an initial value at iteration k=0, based on the first convex optimal model; at iteration k, performing a linearization to the convex functions, so as to obtain a linear function; establishing a second convex model of the optimal power flow according to the linear function, and setting a second constraint to the second convex model; determining a relaxation variant sum e according to the second convex model; and judging whether the relaxation variant sum e is greater than a preset threshold; if the relaxation variant sum e is greater than the preset threshold, adding the iteration value k by 1, and returning an act of performing the linearization to the convex functions, so as to obtain the linear function; and if the relaxation variant sum e is not greater than the preset threshold, stopping determining the optimal power flow of the power supply system.


Embodiments of the present disclosure provide a control device, including a housing, a processor, a memory, a circuit board and a power circuit. The circuit board is arranged inside a space enclosed by the housing; the processor and the memory are disposed on the circuit board; the power circuit is configured to provide power for individual circuit or component; the memory is configured to store a executable program code; and the processor, by reading the executable program code stored in the memory, is configured to run a program corresponding to executable the program code, so as to perform the above method.


Embodiments of the present disclosure provide a storage medium, configured to store an application for performing the above method.


Additional aspects and advantages of embodiments of the present disclosure will be given in part in the following descriptions, become apparent in part from the following descriptions, or be learned from the practice of the embodiments of the present disclosure.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or additional aspects and advantages of embodiments of the present disclosure will become apparent and more readily appreciated from the following descriptions made with reference to the drawings, in which:



FIG. 1 is a flow chart illustrating a method for solving an optimal power flow in a power supply system according to an embodiment of the present disclosure.



FIG. 2 is a block diagram illustrating a device for solving an optimal power flow in a power supply system according to embodiments of the present disclosure.





DETAILED DESCRIPTION

Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The same or similar elements and elements having same or similar functions are denoted by like reference numerals throughout the descriptions. The embodiments described herein with reference to the accompanying drawings are explanatory and used to generally understand the present disclosure, which is not construed to limit the embodiments of the present disclosure.


In the description, it is to be understood that, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance. In the description of the present disclosure, it is to be illustrated that, unless specified or limited otherwise, terms “interconnected,” and “connected,” are understood broadly, such as fixed, detached or integral interconnections and connections, also can be mechanical or electrical interconnections and connections, further can be direct interconnections and connections and indirect interconnections and connections via intermediate medium. For those skilled in the art, it can be understood the concrete meaning of the terms mentioned above in the present disclosure according to specific circumstances. Furthermore, in the description of the present disclosure, unless illustrated otherwise, “a plurality of” means two or more than two.


Any procedure or method described in the flow charts or described in any other way herein may be understood to comprise one or more models, portions or parts for storing executable codes that realize particular logic functions or procedures. Moreover, advantageous embodiments of the present disclosure comprises other implementations in which the order of execution is different from that which is depicted or discussed, including executing functions in a substantially simultaneous manner or in an opposite order according to the related functions. These and other aspects should be understood by those skilled in the art with reference to the following description and drawings. In these description and drawings, some particular implementations of the present disclosure are disclosed to present some ways for implementing the principle of the present disclosure. However, it should be understood that embodiments of the present disclosure is not limited to this. Contrarily, embodiments of the present disclosure include all the variations, modifications and equivalents within the spirit and scope of the appended claims.


In a problem of an optimal power flow of a power supply system, due to a non-convex constraint introduced by a quadratic term in a power flow equation, the problem of the optimal power flow of the power supply system becomes non-convex, which is difficult to be solved. For a distribution network and a transmission network including a loop path, a second order cone relaxation method is adopted, to convert the problem of the optimal power flow of the power supply system into a convex optimization problem. A solution of the convex optimization problem is not a feasible solution of the problem of the non-convex optimal power flow of the power supply system, which has no physical meanings and cannot be applied to a dispatching decision of the power supply system. Therefore, a method in the related art for solving the optimal power flow of the power supply system having the loop path is non-convex, such as Newton-Laphson method or Interior Point Method. With these non-convex optimization methods, optimizations of calculation efficiency and calculation results cannot guaranteed, which is unable to be applied to distribution optimization and uncertainty optimization of the power supply system. Up to now, a convex optimization method for obtaining a feasible solution in the problem of the optimal power flow of the power supply system including the loop path is desired.


Therefore, embodiments of the present disclose a method for solving an optimal power flow in a power supply system (i.e. a convex optimization determination method of an optimal power flow in a power supply system), to overcome disadvantages in the related arts. On the basis of a non-convex model of the optimal power flow of the power supply system, non-convex constraints are converted to a subtractive form of convex functions. By performing convex function linearization in the non-convex constraints and introducing relaxation variants, the problem of the non-convex optimal power flow is converted to the convex optimization problem, which realizes a high efficient solution method of the problem of the optimal power flow of the power supply system.


There are advantages of the convex optimization determination method provided in embodiments of the present disclosure.


1. On the basis of the non-convex optimal power flow model of the power supply system, the non-convex constraints of the power flow equation of the power supply system are converted to the subtractive form of the convex functions. The problem of the non-convex optimal power flow is converted to an iteration problem of the convex optimization problem, which may realize to solve the problem of the optimal power flow of the power supply system high-efficiently.


2. By converting the non-convex constraints of the power flow equation of the power supply system to the subtractive form of the convex functions, for distribution optimization and uncertainty optimization of the power supply system, it requires that constraints of models must to be combined with convex function problems, which has a wide application space.


3. With the convex optimization determination method provided in the present disclosure, the feasible solution of the problem of the optimal power flow of the power supply system may be solved according to the iteration of the convex problems. Parameters of various control devices obtained may be directly applied to operation dispatching of the power supply system, instead of adopting Newton-Laphson method or Interior Point Method, thereby improving efficiency of operating and dispatching of the power supply system.


As illustrated in FIG. 1, FIG. 1 is a flow chart illustrating a convex optimization determination method of an optimal power flow in a power supply system according to an embodiment of the present disclosure. The method provided by the present disclosure includes the followings.


At block 101, an active power of each generator is acquired from the power supply system.


The active power of each generator may be obtained from the control device via the communication network.


At block 102, an optimal model of the optimal power flow of the power supply system is determined. The optimal model of the optimal power flow of the power supply system includes a target function and a first constraint.


In an embodiment, the target function is set to the optimal model of the optimal power flow of the power supply system.


The target function is denoted by a formula of:

min ΣCi(pig)  (1)

where, i denotes a node in the power supply system, g denotes a generator in the power supply system; pig denotes an active power of the generator g connected with the node i; Ci(pig) denotes a convex function including a variant pig, and denotes a generation cost of the generator g connected with the node i.


In an embodiment, the first constraint includes: at least one of a branch power flow constraint of the power supply system, a node injection power balance constraint of the power supply system, a generator power constraint of the power supply system, a branch phase angle difference constraint of the power supply system, a branch power constraint of the power supply system and a node voltage amplitude constraint of the power supply system.


In an embodiment, the branch power flow constraint of the power supply system is denoted by formulas of:

pij=GijVi2−GijViVj cos θij−BijViVj sin θij  (2)
qij=−BijVi2+BijViVj cos θij−GijViVj sin θij  (3)
θiji−θj  (4)

where, i and j denote different nodes in the power supply system respectively, and the node i is adjacent to the node j; ij denotes a branch between the node i and the node j; pij denotes a three-phase active power at a head of the branch ij in the power supply system; qij denote a three-phase reactive power at the head of the branch ij in the power supply system; Vi denotes a voltage amplitude of the node i of the power supply system; Vj denotes a voltage amplitude of the node j of the power supply system; θi denotes a voltage phase angle of the node i of the power supply system; θi denotes a voltage phase angle of the node j of the power supply system; θij denotes a difference between a voltage phase angle at the head of the branch ij and a voltage phase angle at the end of the branch ij in the power supply system; Gij denotes a conductance of the branch ij in the power supply system; and Bij denotes a susceptance of the branch ij in the power supply system.


In an embodiment, the node injection power balance constraint of the power supply system is denoted by formulas of:











p
i
g

-

p
i
d


=



G

sh
,
i




V
i
2


+




j


Φ


(
i
)






p
ij







(
5
)








q
i
g

-

q
i
d


=



-

B

sh
,
i





V
i
2


+




j


Φ


(
i
)






q
ij







(
6
)








where, d denotes a load in the power supply system; sh denotes ground connection; pig denotes an active power of the generator g connected with the node i in the power supply system; gig denotes a reactive power of the generator g connected with the node i in the power supply system; pid denotes an active power of the load d connected with the node i in the power supply system; qid denotes a reactive power of the load d connected with the node i in the power supply system; Gsh,i denotes a ground connection conductance of the node i in the power supply system; Bsh,i denotes a ground connection susceptance of the node i in the power supply system; and Φ(i) denotes a node set consisted of nodes connected with the node i in the power supply system.


In an embodiment, the generator power constraint of the power supply system is denoted by formulas of:

pil≤pig≤piu  (7)
qil≤qig≤qiu  (8)

where, u denotes a upper limitation, l denotes a lower limitation; pil, denotes a lower limitation of an active power of the generator g connected with the node i in the power supply system; piu denotes a upper limitation of an active power of the generator g connected with the node i in the power supply system; qil denotes a lower limitation of a reactive power of the generator g connected with the node i in the power supply system; qiu denotes a upper limitation of a reactive power of the generator g connected with the node i in the power supply system.


In an embodiment, the branch phase angle difference constraint of the power supply system is denoted by a formula of:

−θu≤θij≤θu  (9)

where, θu denotes a upper limitation of the difference between the voltage phase angle at the head of the branch ij and the voltage phase angle at the end of the branch ij in the power supply system. For example, θu equals to 10°.


In an embodiment, the branch power constraint of the power supply system is denoted by a formula of:

pij2+qij2≤(Su)2  (10)

where, Su denotes a upper limitation of an apparent power of respective branch in the power supply system.


In an embodiment, the upper limitation of the apparent power is determined according to a standard of security running of the power supply system, and generally associated with versions of respective branches.


In an embodiment, the node voltage amplitude constraint of the power supply system is denoted by a formula of:

Vl≤Vi≤Vu  (11)

where, Vl denotes a lower limitation of the voltage amplitude of respective node in the power supply system; Vu denotes a upper limitation of the voltage amplitude of respective node in the power supply system.


In an embodiment, Vu ranges from 1.05 p.u. to 1.1 p.u., Vl ranges from 0.9 p.u. to 0.95 p.u., where p.u. is per unit of the power supply system.


At block 103, the first constraint is converted into a convex constraint based on convex functions so as to obtain a first convex optimal model. The first convex optimal model includes the target function and the first constraint.


In an embodiment, it is introduced a parameter Kij to place Vij cos θij, a parameter Lij to place ViVj sin θij, a parameter Ui to place Vi2, a parameter sij to place sin θij, and a parameter cij to place cos θij, so as to convert the formulas (2) and (3) equivalently into the following formulas of:

pij=GijUi−GijKij−BijLij  (12)
qij=BijUi+BijKij−GijLij  (13)
Kij2+Lij2=UiUj  (14)
sij=sin θij  (15)
cij=cos θij  (16)
sij2+cij2=1  (17)
sijKij=cijLij  (18).


In an embodiment, the convex functions fij,1(x), fij,2(x), fij,3(x), gij,1(x), gij,2(x) and gij,3(x) satisfying following formulas:

fij,1(x)=(Ui+Uj)2  (19)
fij,2(x)=1  (20)
fij,3(x)=(sij+Kij)2+(cij−Lij)2  (21)
gij,1(x)=(2Kij)2+(2Lij)2+(Ui−Uj)2  (22)
gij,2(x)=sij2+cij2(23)
gij,3(x)=(sij−Kij)2+(Cij+Lij)2 (24)

where, x denotes a vector of the power system consisted of the parameter Ui of all nodes and all parameters sij, cij, Kij and Lij of all branches in the power supply system.


In an embodiment, based on the convex functions, it is converted the formulas (13), (15) and (16) into the following formulas of:

gij,n(x)−fij,n(x)≤0,n=1,2  (25)
gij,3(x)−fij,3(x)≤0   (26)
fij,m(x)−gij,m(x)≤0,m=1,2,3  (27).


As the difference between a voltage phase angle at the head of the branch ij and a voltage phase angle at the end of the branch ij in the power supply system is generally smaller than 10°, the constraint sij=sin θij is further converted to:

sij=θij  (28).


A non-convex optimal model of the optimal power flow of the power supply system may be as follows.


The target function of the non-convex optimal model is denoted as a formula of:

min ΣCi(pig)  (29).


In an embodiment, the constraint of the non-convex optimal model includes: the formulas (4) to (11), the formulas (12) and (13) and the formulas (25) to (28).


The above optimal model of the optimal power flow is a non-convex optimal model. The formula (26) and the formula (27) are non-convex constraints, while other constraints are convex constraints.


The non-convex optimal model of the optimal power flow of the power supply system may be converted into a first convex optimal model.


The target function of the first convex optimal model is denoted by a formula of:

min ΣCi(pig)  (30)


The constraint of the first convex optimal model includes: the formulas (4) to (11), the formulas (12) and (13) and the formulas (25).


The non-convex optimal mode of the optimal power flow of the power supply system is performed with a convex optimization solution.


At block 104, an initial value at iteration k=0 is determined, based on the first convex optimal model.


An initial value τ(0), a maximum value τmax and a growth rate μ of a penalty function τ are set.


A solution of the first convex optimal model is calculated.


The solution of the first convex optimal model is assigned to an initial value x(0) of the vector x of the power system.


At block 105, at iteration k, a linearization is performed to the convex functions, so as to obtain a linear function.


In an embodiment, at x(k), the convex functions is performed with the linearization to obtain the linear functions. The linear function is denoted as formulas of:

ĝij,m(x,x(k))=gij,m(x(k))−∇gij,m(x(k))T(x−x(k)),m=1,2,3  (31)
{circumflex over (f)}ij,3(x,x(k))=fij,3(x(k))−∇fij,3(x(k))T(x−x(k))  (32)

where, k denotes an iteration value.


At block 106, a second convex model of the optimal power flow of the power supply system is established according to the linear function, and a second constraint is set to the second convex model.


A target function and a second constraint are determined for the second convex model of the optimal power flow of the power supply system.


The target function of the second convex model is denoted by a formula of:










min













C
i



(

p
i
g

)




+


τ

(
k
)







ij


Φ
i






(





m
=
1

3







ɛ

ij
,
m


(
k
)



+

ɛ

ij
,
4


(
k
)



)

.







(
33
)







The second constraint of the second convex model includes:

fij,m(x)−ĝij,m(x,x(k))≤εij,m(k),m=1,2,3  (34)
gij,3(x)−{circumflex over (f)}ij,3(x,x(k))≤εij,4(k)  (35)
εij,m(k)≥0,m=1, . . . ,3  (36)
εij,4(k)≥0  (37),

where εij,m(k), m=1, 2, 3 denotes a first relaxation variant, a second relaxation variant and a third relaxation variant of the branch ij in the power supply system at k iteration, and εij,4(k) denotes a fourth relaxation variant of the branch ij in the power supply system at k iteration; Φl denotes a set of all branches in the power supply system.


The second constraint of the second convex model further includes the formulas (4), (5), (6), (7), (8), (9), (10), (11), (12), (13), (25), (28).


By adding the relaxation variants in the formulas (34) and (35), it ensures that the convex optimal model of the optimal power flow of the power supply system is solvable.


At block 107, a relaxation variant sum e is determined according to the second convex model.


The second convex model of the optimal power flow of the power supply system is calculated, so as to obtain a solution of the second convex model; and the relaxation variant sum e is calculated according to the solution of the second convex model.


The relaxation variant sum e is denoted by a formula of:









e
=




ij


Φ
i






(





m
=
1

3







ɛ

ij
,
m


(
k
)



+

ɛ

ij
,
4


(
k
)



)

.






(
38
)







At block 108, it is judged whether the relaxation variant sum e is greater than a preset threshold.


The preset threshold ε may be set in advance to compare the relaxation variant sum e and the preset threshold ε.


At block 109, if the relaxation variant sum e is greater than the preset threshold, the iteration value k is added by 1, and an act of performing the linearization to the convex functions, so as to obtain the linear function is returned (i.e. the block 105 is returned).


The iteration value k is added by 1, the solution of the optimal model is assigned to the vector x(k+1) of the power supply system, and the penalty function τ(k+1) is set as a smaller one of μτ(k) and τmax. The iteration value is set as k=k+1, and the act of performing the linearization to the convex functions, so as to obtain the linear function is returned, so as to obtain the linear function, where μ is the growth rate of the penalization function τ.


At block 110, if the relaxation variant sum e is not greater than the preset threshold, it stops determining the optimal power flow of the power supply system.


The solution of the second convex optimal model of the optimal power flow of the power supply system is determined as a feasible solution of the optimal model of the optimal power flow of the power supply system.


As illustrated in FIG. 2, the device 200 includes a housing 201, a processor 202, a memory 203, a circuit board 204 and a power circuit 205. The circuit board 204 is arranged inside a space enclosed by the housing 201; the processor 202 and the memory 203 are disposed on the circuit board 204; the power circuit 205 is configured to provide power for individual circuit or component; the memory 203 is configured to store a executable program code; and the processor 202, by reading the executable program code stored in the memory, is configured to run a program corresponding to executable the program code, so as to perform the convex optimization determination method according to method embodiments mentioned above.


It is to be illustrated that, description and explanation of the control device according to embodiments of the present disclosure may be understood with reference to the method embodiments, which is not elaborated herein.


Embodiments of the present disclosure further provide a storage medium. The storage medium is configured to store applications for perform the convex optimization determination method according to method embodiments mentioned above.


The logic and/or step described in other manners herein or shown in the flow chart, for example, a particular sequence table of executable instructions for realizing the logical function, may be specifically achieved in any computer readable medium to be used by the instruction execution system, device or equipment (such as the system based on computers, the system comprising processors or other systems capable of obtaining the instruction from the instruction execution system, device and equipment and executing the instruction), or to be used in combination with the instruction execution system, device and equipment. As to the specification, “the computer readable medium” may be any device adaptive for including, storing, communicating, propagating or transferring programs to be used by or in combination with the instruction execution system, device or equipment. More specific examples of the computer readable medium comprise but are not limited to: an electronic connection (an electronic device) with one or more wires, a portable computer enclosure (a magnetic device), a random access memory (RAM), a read only memory (ROM), an erasable programmable read-only memory (EPROM or a flash memory), an optical fiber device and a portable compact disk read-only memory (CDROM). In addition, the computer readable medium may even be a paper or other appropriate medium capable of printing programs thereon, this is because, for example, the paper or other appropriate medium may be optically scanned and then edited, decrypted or processed with other appropriate methods when necessary to obtain the programs in an electric manner, and then the programs may be stored in the computer memories.


It should be understood that each part of the present disclosure may be realized by the hardware, software, firmware or their combination. In the above embodiments, a plurality of steps or methods may be realized by the software or firmware stored in the memory and executed by the appropriate instruction execution system. For example, if it is realized by the hardware, likewise in another embodiment, the steps or methods may be realized by one or a combination of the following techniques known in the art: a discrete logic circuit having a logic gate circuit for realizing a logic function of a data signal, an application-specific integrated circuit having an appropriate combination logic gate circuit, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.


Those skilled in the art shall understand that all or parts of the steps in the above exemplifying method of the present disclosure may be achieved by commanding the related hardware with programs. The programs may be stored in a computer readable storage medium, and the programs comprise one or a combination of the steps in the method embodiments of the present disclosure when run on a computer.


In addition, each function cell of the embodiments of the present disclosure may be integrated in a processing model, or these cells may be separate physical existence, or two or more cells are integrated in a processing model. The integrated model may be realized in a form of hardware or in a form of software function models. When the integrated model is realized in a form of software function model and is sold or used as a standalone product, the integrated model may be stored in a computer readable storage medium.


The storage medium mentioned above may be read-only memories, magnetic disks or CD, etc.


In the description, terms such as “an embodiment,” “some embodiments,” “an example,” “a specific example,” or “some examples,” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the appearances of the above terms in various places throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.


Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present disclosure, and changes, alternatives, and modifications can be made in the embodiments without departing from spirit, principles and scope of the present disclosure.

Claims
  • 1. A method for solving an optimal power flow in a power supply system, performed by one or more computing devices and comprising: acquiring, by the one or more computing devices, an active power of a generator connected to each node from various control devices of the power supply system;determining, by the one or more computing devices, a target function of an optimal model of the optimal power flow according to the active power of the generator connected to each node, wherein the target function is denoted by a formula of min ΣCi(pig) (1)where, i denotes a node in the power supply system, g denotes a generator in the power supply system, pig denotes an active power of the generator g connected with the node I, Ci(pig) is a convex function having a variant pig and denotes a generation cost of the generator g connected with the node i;determining, by the one or more computing devices, a first constraint of the optimal model of the optimal power flow, wherein the first constraint comprises at least one of: a branch power flow constraint of the power supply system, a node injection power balance constraint of the power supply system, a generator power constraint of the power supply system, a branch phase angle difference constraint of the power supply system, a branch power constraint of the power supply system and a node voltage amplitude constraint of the power supply system,in which, the branch power flow constraint is denoted by formulas of: pij=GijVi2−GijViVj cos θij−BijViVj sin θij (2), qij=−BijVi2+BijViVj cos θij−GijViVj sin θij (3), and θij=θi−θj (4), where, i and j denote adjacent nodes in the power supply system; pij denotes a three-phase active power at a head of a branch ij in the power supply system; qij denote a three-phase reactive power at the head of the branch ij; Vi denotes a voltage amplitude of the node i; Vj denotes a voltage amplitude of the node j; θi denotes a voltage phase angle of the node i; θj denotes a voltage phase angle of the node j; θij denotes a difference between a voltage phase angle at the head of the branch and a voltage phase angle at the end of the branch ij; Gij denotes a conductance of the branch ij; and Bij denotes a susceptance of the branch ij;the node injection power balance constraint is denoted by formulas of:
  • 2. The method according to claim 1, wherein determining an initial value at iteration k=0, based on the first convex optimal model comprises: setting an initial value τ(0), a maximum value τmax and a growth rate μ of a penalty function τ;calculating a solution of the first convex optimal model of the optimal power flow;assigning the solution of the first convex optimal model to an initial value x(0) of the vector x of the power system.
  • 3. The method according to claim 1, wherein determining a relaxation variant sum e according to the second convex model comprises: calculating the second convex model of the optimal power flow of the power supply system, so as to obtain a solution of the second convex model;calculating the relaxation variant sum e according to the solution of the second convex model;wherein the relaxation variant sum e is denoted by a formula of:
  • 4. The method according to claim 3, wherein if the relaxation variant sum e is greater than the preset threshold, adding the iteration value k by 1, and returning an act of performing the linearization to the convex functions, so as to obtain the linear function comprises: adding the iteration value k by 1, assigning the solution of the second convex optimal model of the optimal power flow of the power supply system to the vector x(k+1) of the power supply system;setting the penalty function τ(k+1) as a smaller one of μτ(k) and τmax;setting the iteration value as k=k+1, and returning to the act of performing the linearization to the convex functions, so as to obtain the linear function, where μ is the growth rate of the penalty function τ.
  • 5. The method according to claim 3, wherein if the relaxation variant sum e is not greater than the preset threshold, stopping determining the optimal power flow of the power supply system comprises: determining the solution of the second convex optimal model of the optimal power flow of the power supply system as a feasible solution of the optimal model of the optimal power flow of the power supply system.
  • 6. A device for solving an optimal power flow in a power supply system, comprising a housing, a processor, a memory, a circuit board and a power circuit, the circuit board is arranged inside a space enclosed by the housing; the processor and the memory are disposed on the circuit board; the power circuit is configured to provide power for individual circuit or component; the memory is configured to store a executable program code; and the processor, by reading the executable program code stored in the memory, is configured to run a program corresponding to executable the program code, so as to perform the followings: acquiring an active power of a generator connected to each node from various control devices of the power supply system;determining a target function of an optimal model of the optimal power flow according to the active power of the generator connected to each node, wherein the target function is denoted by a formula of min ΣCi(pig) (1)where, i denotes a node in the power supply system, g denotes a generator in the power supply system, pig denotes an active power of the generator g connected with the node I, Ci(pig) is a convex function having a variant pig and denotes a generation cost of the generator g connected with the node i;determining a first constraint of the optimal model of the optimal power flow wherein the first constraint comprises at least one of: a branch power flow constraint of the power supply system, a node injection power balance constraint of the power supply system, a generator power constraint of the power supply system, a branch phase angle difference constraint of the power supply system, a branch power constraint of the power supply system and a node voltage amplitude constraint of the power supply system,in which, the branch power flow constraint is denoted by formulas of: pij=GijVi2−GijViVj cos θij−BijViVj sin θij (2), qij=−BijVi2+BijViVj cos θij−GijViVj sin θij (3), and θij=θi−θj (4), where, i and j denote adjacent nodes in the power supply system; pij denotes a three-phase active power at a head of a branch ij in the power supply system; qij denote a three-phase reactive power at the head of the branch ij; Vi denotes a voltage amplitude of the node i; Vj denotes a voltage amplitude of the node j; θi denotes a voltage phase angle of the node i; θj denotes a voltage phase angle of the node j; θij denotes a difference between a voltage phase angle at the head of the branch ij and a voltage phase angle at the end of the branch ij; Gij denotes a conductance of the branch ij; and Bij denotes a susceptance of the branch ij;the node injection power balance constraint is denoted by formulas of:
  • 7. A non-transitory computer-readable storage medium, configured to store an application for performing: acquiring an active power of a generator connected to each node from various control devices of the power supply system;determining a target function of an optimal model of the optimal power flow according to the active power of the generator connected to each node, wherein the target function is denoted by a formula of min ΣCi(pig) (1)where, i denotes a node in the power supply system, g denotes a generator in the power supply system, pig denotes an active power of the generator g connected with the node I, Ci(pig) is a convex function having a variant pig and denotes a generation cost of the generator g connected with the node i;determining a first constraint of the optimal model of the optimal power flow, wherein the first constraint comprises at least one of: a branch power flow constraint of the power supply system, a node injection power balance constraint of the power supply system, a generator power constraint of the power supply system, a branch phase angle difference constraint of the power supply system, a branch power constraint of the power supply system and a node voltage amplitude constraint of the power supply system,in which, the branch power flow constraint is denoted by formulas of: pij=GijVi2−GijViVj cos θij−BijViVj sin θij (2), qij=−BijVi2+BijViVj cos θij−GijViVj sin θij (3), θij=θi−θj (4), where, i and j denote adjacent nodes in the power supply system; pij denotes a three-phase active power at a head of a branch in the power supply system; qij denote a three-phase reactive power at the head of the branch ij; Vi denotes a voltage amplitude of the node i; Vj denotes a voltage amplitude of the node j; θi denotes a voltage phase angle of the node i; θj denotes a voltage phase angle of the node j; θij denotes a difference between a voltage phase angle at the head of the branch ij and a voltage phase angle at the end of the branch ij; Gij denotes a conductance of the branch ij; and Bij denotes a susceptance of the branch ij;the node injection power balance constraint is denoted by formulas of:
Priority Claims (1)
Number Date Country Kind
2017 1 0696169 Aug 2017 CN national
US Referenced Citations (6)
Number Name Date Kind
20120221265 Arya Aug 2012 A1
20130226482 Sun Aug 2013 A1
20130238148 Legbedji Sep 2013 A1
20150377936 Ghosh Dec 2015 A1
20150378384 Phan Dec 2015 A1
20160315807 Peng Oct 2016 A1
Related Publications (1)
Number Date Country
20190056704 A1 Feb 2019 US