Disclosure of Invention
The invention provides a transformer substation access method and a transformer substation access system of a power system, and solves the technical problems that the technical scheme of the conventional transformer substation access system is generally formulated manually, check calculation and comparison are required to be carried out on data such as transformer substation and line load rate, network loss, construction cost and the like under different wiring modes and operation modes, the processing data volume is too large, and the efficiency of the manually formulated mode is low.
The invention provides a substation access method of a power system, which comprises the following steps:
responding to an access request aiming at a to-be-accessed substation, and acquiring a plurality of substation access schemes corresponding to the power system;
solving the minimum value of the on-line of the substation access scheme according to a preset first constraint condition;
selecting a substation access scheme which accords with the minimum value of the on-line as an intermediate access scheme;
updating the first constraint condition as a second constraint condition, and calculating the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition;
selecting an intermediate access scheme which accords with the minimum value of the operation parameters as a target access scheme;
and accessing the transformer substation to be accessed to the power system according to the target access scheme and operating.
Optionally, the step of solving the minimum value of the on-line operation of the substation access scheme according to a preset first constraint condition includes:
analyzing each substation access scheme to acquire corresponding access basic information;
and substituting the access basic information into a preset objective function, and solving the minimum value of the on-line operation circuit meeting a preset first constraint condition.
Optionally, the step of updating the first constraint condition to be a second constraint condition, and calculating a minimum value of an operation parameter of the intermediate access scheme under the second constraint condition includes:
responding to input updating information, and determining a parameter type corresponding to the updating information;
adding an additional constraint condition in the first constraint condition according to the parameter type to generate a second constraint condition;
and calculating the minimum value of the operating parameters of each intermediate access scheme under the second constraint condition.
Optionally, the step of adding an additional constraint condition to the first constraint condition according to the parameter type to generate a second constraint condition includes:
if the parameter type is an operation network loss parameter, adding a line fault constraint condition and a switch outage constraint condition in the first constraint condition to generate a second constraint condition;
and if the parameter type is an operation cost parameter, adding a line fault constraint condition, a switch shutdown constraint condition and a line cost constraint condition in the first constraint condition to generate a second constraint condition.
Optionally, the step of accessing the substation to be accessed to the power system and operating according to the target access scheme includes:
analyzing the target access scheme, and determining a corresponding target wiring mode and a target operation mode;
and accessing the transformer substation to be accessed to the power system according to the target wiring mode, and operating the transformer substation to be accessed according to the target operation mode.
A second aspect of the present invention provides a substation access system for an electric power system, including:
the scheme acquisition module is used for responding to an access request aiming at a to-be-accessed transformer substation and acquiring a plurality of transformer substation access schemes corresponding to the power system;
the first constraint module is used for solving the minimum value of the on-line operation of the substation access scheme according to a preset first constraint condition;
the intermediate access scheme selection module is used for selecting a transformer substation access scheme which accords with the minimum value of the on-line as an intermediate access scheme;
the second constraint module is used for updating the first constraint condition to be a second constraint condition and calculating the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition;
a target access scheme selecting module for selecting the intermediate access scheme meeting the minimum value of the operation parameters as a target access scheme;
and the scheme access module is used for accessing the transformer substation to be accessed to the power system and operating according to the target access scheme.
Optionally, the first constraint module comprises:
the scheme analysis submodule is used for analyzing each substation access scheme to acquire corresponding access basic information;
and the first constraint solving submodule is used for substituting the access basic information into a preset objective function and solving the minimum value of the on-line operation circuit meeting the preset first constraint condition.
Optionally, the second constraint module comprises:
the update information response submodule is used for responding the input update information and determining the parameter type corresponding to the update information;
a second constraint generating submodule, configured to add an additional constraint condition to the first constraint condition according to the parameter type, and generate a second constraint condition;
and the second constraint calculation submodule is used for calculating the minimum value of the operating parameters of each intermediate access scheme under the second constraint condition.
Optionally, the second constraint generation submodule includes:
a first parameter type updating submodule, configured to add a line fault constraint condition and a switch outage constraint condition to the first constraint condition to generate a second constraint condition if the parameter type is an operating grid loss parameter;
and the second parameter type updating submodule is used for adding a line fault constraint condition, a switch outage constraint condition and a line cost constraint condition in the first constraint condition to generate a second constraint condition if the parameter type is an operating cost parameter.
Optionally, the scheme access module includes:
the target access scheme analysis submodule is used for analyzing the target access scheme and determining a corresponding target wiring mode and a target operation mode;
and the scheme operation submodule is used for accessing the transformer substation to be accessed to the power system according to the target wiring mode and operating the transformer substation to be accessed according to the target operation mode.
According to the technical scheme, the invention has the following advantages:
the method comprises the steps of obtaining a plurality of substation access schemes corresponding to the power system by responding to access requests of the substations to be accessed, then solving the minimum value of the on-line of the substation access schemes according to a preset first constraint condition, optimizing through the first constraint condition, then selecting the substation access schemes meeting the minimum value of the on-line as intermediate access schemes, updating the first constraint condition to be a second constraint condition, calculating the minimum value of operation parameters of the intermediate access schemes under the second constraint condition, then selecting the intermediate access schemes meeting the minimum value of the operation parameters as target access schemes, and finally accessing the substations to be accessed to the power system according to the target access schemes and operating. According to the invention, the minimum on-line of the substation access scheme is firstly solved through the first constraint condition, the first optimization is carried out, the second constraint condition is used for carrying out the second optimization by taking the minimum value of the operation parameter as a target, the multi-dimension optimization is carried out, the target access scheme meeting the requirement is output, the power system running according to the target access scheme is optimized, meanwhile, the optimization is carried out through the first constraint condition and the second constraint condition, the time and labor are avoided being manually made, the efficiency is improved, the cost is saved, and the better substation access scheme can be made in time and rapidly.
Detailed Description
The embodiment of the invention provides a substation access method and a substation access system of a power system, and solves the technical problems that the technical scheme of the conventional substation access system is generally established manually, check calculation and comparison are required to be carried out on data such as load rate, network loss, construction cost and the like of a substation and a line under different wiring modes and operation modes, the data processing amount is too large, and the efficiency of the manually established mode is low.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for accessing a substation of an electrical power system according to an embodiment of the present invention.
The invention provides a transformer substation access method of a power system, which comprises the following steps:
step 101, responding to an access request aiming at a to-be-accessed transformer substation, and acquiring a plurality of transformer substation access schemes corresponding to a power system.
The access request of the transformer substation to be accessed refers to request information for accessing the transformer substation to be accessed to the power system.
The substation access scheme refers to access basic information corresponding to the substation access scheme, line connection modes among existing substations in the power system, between the substation to be accessed and the existing substations, and corresponding line operation modes when the substation to be accessed is accessed to the power system.
It should be noted that the line connection mode of the substation access scheme can be represented by a line existence matrix, for example, the line existence matrix is
Can also be expressed as
Wherein, n represents the total number of lines,
the lines being present in the element unit of the matrix when
When indicates the presence of a line, when
The time indicates that the line does not exist, and the line operation mode in the substation access scheme can be realized by an on-line operation line matrix
Or
Indicating that there is a matrix corresponding to the lines, where n is the total number of lines,
for the element unit in the operational circuit matrix, when
When the line is running, when
Time indicates line outage.
In the embodiment of the invention, a plurality of substation access schemes corresponding to the power system are obtained by responding to the access request aiming at the substation to be accessed, so that the line wiring mode, the line operation mode and the access basic information corresponding to the substation access schemes are obtained.
And 102, solving the minimum value of the on-line operation of the substation access scheme according to a preset first constraint condition.
The loop refers to a closed loop formed by connecting a plurality of substations end to end through lines, and any one or more lines in a group of loops do not form a loop when not put into operation, and the number of lines in operation is relatively small when the loops are not formed; the access basic information comprises a transformer substation to be accessed, an existing transformer substation, a large-size switch, a small-size switch, a design interval number between the transformer substations, a utilized interval number of the transformer substations, an outgoing line interval number of the transformer substation to be accessed, main variable capacitance of the transformer substation, a line connection mark, a transformer substation offline load, a transformer substation load rate, a line rated capacity, line power, a line power direction, an existing line and a possible construction line; the existing transformer substations comprise a 110kV transformer substation and at least one 220kV transformer substation, and the transformer substation to be accessed is the 110kV transformer substation.
Line power direction refers to the direction of individual line power transmission; and the line power direction is set according to a preset power grid topological graph.
The first constraint condition refers to the limitation on the relation of the operation and the line of the line, the relation of the operation and the line switch of the line, the relation of the line power and the operation of the line, the relation of the load of the 220kV transformer substation, the network load and the outgoing load of the transformer substation, the operation mode of the line in the existing line, the network load and the incoming and outgoing load of the line connected to the transformer substation, the outgoing interval of the existing transformer substation, the outgoing interval of the transformer substation to be accessed, the load rate of the 220kV transformer substation and the power of each line, which are set in an inequality or equation mode according to requirements.
The minimum value of the operational lines means that the total number of all lines put into operation in the substation access plan is the minimum.
In the embodiment of the invention, the minimum value of the on-line operation of the substation access scheme is solved according to the preset first constraint condition, the substation access scheme is optimized through the first constraint condition, the situation that the on-line operation is in a loop in the solved substation access scheme is avoided as much as possible by taking the minimum value of the on-line operation as a target, and the situation that the on-line operation is in a loop in the solved substation access scheme is avoided as much as possible, and the situation that a channel is formed between substations serving as power supplies is avoided, so that a better substation access scheme is obtained, and the corresponding line access mode can be realized through a line existence matrix
And (4) showing.
And 103, selecting a substation access scheme meeting the minimum value of the on-line as an intermediate access scheme.
In the embodiment of the invention, the transformer substation access scheme which accords with the minimum value of the on-line is selected as the intermediate access scheme, and the transformer substation access scheme which is optimized by the first constraint condition is optimized again as the intermediate access scheme, so that the practicability of the final output scheme is improved, and the scheme is more in line with the target requirement.
And 104, updating the first constraint condition as a second constraint condition, and calculating the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition.
It should be noted that the access basic information further includes a line length, a single line cost, a unit resistance, and a loop flag.
The second constraint is a constraint that adds a line fault constraint, a switch shutdown constraint, and a line cost constraint based on the first constraint based on the operating parameter.
The minimum value of the operation parameter refers to a sum minimum value of all the line operation parameters in the substation access scheme meeting the second constraint condition, for example, the parameter type corresponding to the operation parameter specifically includes an operation network loss parameter and an operation cost parameter of the line.
In the implementation of the invention, the intermediate access scheme is further optimized to obtain a substation access scheme more meeting the requirement, the first constraint condition is updated to be the second constraint condition according to the operation parameters, and then the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition is calculated, so that the scheme corresponding to the minimum value of the operation parameters is conveniently solved.
In specific implementation, if the parameter type corresponding to the operation parameter is an operation grid loss parameter, a line fault constraint condition and a switch shutdown constraint condition are added under a first constraint condition as a second constraint condition, and if the parameter type corresponding to the operation parameter is an operation cost parameter, the line fault constraint condition, the switch shutdown constraint condition and a line cost constraint condition are added under the first constraint condition as the second constraint condition.
And 105, selecting the intermediate access scheme meeting the minimum value of the operation parameters as a target access scheme.
In the embodiment of the invention, the intermediate access scheme meeting the minimum value of the operation parameters is used as the target access scheme to obtain the finally optimized target access scheme, and the optimization of the first constraint condition and the second constraint condition avoids time and labor waste when the transformer substation access scheme is manually formulated, improves the optimization efficiency and accuracy of the transformer substation access scheme, and enables the optimized target access scheme to meet the target requirement.
And step 106, accessing the transformer substation to be accessed to the power system according to the target access scheme and operating.
The target access scheme refers to a substation access scheme which meets the second constraint condition and meets the minimum value of the operation parameters.
It should be noted that the target access scheme includes a target access mode and a target operation mode.
In the embodiment of the invention, the transformer substation to be accessed is accessed to the power system according to the target access mode of the target access scheme and operates according to the target operation mode, so that the power system stably operates in an expected condition and meets the target requirement.
In specific implementation, a line existence matrix corresponding to a target access mode exists
Each element unit and its corresponding element value in the corresponding ith possible construction line
And then, the to-be-accessed substation is accessed into the power system through the ith possible construction line, the to-be-accessed substation is accessed into the corresponding existing substation through the corresponding possible construction line, and the line corresponding to the target operation mode exists in the matrix
Each element unit in and its corresponding element value when
When the time is out, the corresponding line i is in operation,
if so, the corresponding line i is shut down, and then a matrix exists according to the line
And correspondingly adjusting the operation modes of the corresponding lines in the power system.
In the implementation of the invention, a plurality of substation access schemes corresponding to the power system are obtained by responding to an access request aiming at the substation to be accessed, then the minimum value of the on-line operation of the substation access schemes is solved according to a preset first constraint condition, optimization is carried out through the first constraint condition, then the substation access scheme meeting the minimum value of the on-line operation is selected as an intermediate access scheme, the first constraint condition is updated to be a second constraint condition, the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition is calculated, then the intermediate access scheme meeting the minimum value of the operation parameters is selected as a target access scheme, and finally the substation to be accessed is accessed to the power system and operated according to the target access scheme. According to the invention, the minimum on-line of the substation access scheme is firstly solved through the first constraint condition, the first optimization is carried out, the second constraint condition is used for carrying out the second optimization by taking the minimum value of the operation parameter as a target, the multi-dimension optimization is carried out, the target access scheme meeting the requirement is output, the power system running according to the target access scheme is optimized, meanwhile, the optimization is carried out through the first constraint condition and the second constraint condition, the time and labor are avoided being manually made, the efficiency is improved, the cost is saved, and the better substation access scheme can be made in time and rapidly.
Referring to fig. 2, fig. 2 is a flowchart illustrating a transformer substation access method of an electrical power system according to a second embodiment of the present invention.
The invention provides a transformer substation access method of a power system, which comprises the following steps:
step 201, responding to an access request aiming at a to-be-accessed substation, and acquiring a plurality of substation access schemes corresponding to an electric power system.
In the embodiment of the present invention, the specific implementation process of step 201 is similar to that of step 101, and is not described herein again.
Step 202, solving the minimum value of the on-line operation of the substation access scheme according to a preset first constraint condition.
Optionally, step 202 may include the following sub-steps:
analyzing each substation access scheme to obtain corresponding access basic information;
and substituting the access basic information into a preset objective function, and solving the minimum value of the on-line operation circuit meeting the preset first constraint condition.
The objective function refers to a target form sought by the design variable, so the objective function is a function of the design variable and is a scalar.
It should be noted that the access basic information includes a to-be-accessed substation, an existing substation, a substation interval number, a large-size switch, a small-size switch, a substation utilized interval number, an outgoing line interval number of the to-be-accessed substation, a substation main variable capacity, a line connection sign, a substation offline load, a substation load rate, a line rated capacity, a line power direction, an existing line and a possibly-constructed line, a connection line established between existing substations of the existing line finger, and the possibly-constructed line specifically refers to a line possibly constructed between the to-be-accessed substation and the existing substation, that is, a line connection mode in which the to-be-accessed substation is accessed to the power system, preferably, the existing substation includes a 110kV substation and at least one 220kV substation, and the to-be-accessed substation is a 110kV substation.
In the embodiment of the invention, the access basic information corresponding to each substation is acquired by analyzing the access schemes of each substation, the access basic information is waited to be input into a preset objective function, and the objective function is used for solving to acquire the minimum value of the on-line operation line meeting the first constraint condition.
In a particular implementation, for example, there ismA transformer substation,nA power system of a line, wherein all substations are numbered, the first T being 220kV substationsmEach substation is a substation to be accessed,nthe strip line comprises a possible construction line and an existing line, the pairnThe lines are numbered in sequence in the order that the possible construction line is prior and the existing line is posterior, and each line has a corresponding serial number, wherein the prior line is the first line and the existing line is the second linekThe strip is a possible linen-kThe lines are existing lines, and the line power direction is set according to a preset power grid topological graph.
The first constraint specifically includes:
1) And constraining the relationship between the operation of the line and the line, wherein the constraint conditions are as follows:
wherein the content of the first and second substances,
for the line to exist, when
When indicates the presence of a line, when
The time-out indicates that the wire is not present,
for line in transit marking, when
When it indicates that the line is in motion, when
When the circuit is shut down; the line is restrained when being transported and the line exists, the premise that the line is transported is that the line exists, and when the line possibly exists during construction, the fact that the substation to be accessed is accessed into the power system through the line is indicated.
2) And constraining the relation between the circuit and a circuit switch, wherein the circuit switch comprises a large switch and a small switch, and the constraint conditions are as follows:
wherein, the first and the second end of the pipe are connected with each other,
is a small-size switch, and is characterized in that,
the small-size switch is indicated to be closed,
it is indicated that the small-size switch is turned off,
is a large-size switch and is characterized in that,
the large-size switch is indicated to be closed,
indicating that the large size switch is open; the circuit is operated only on the premise that the large-size switch and the small-size switch are closed.
3) And constraining the relationship between the line existence and the line switch, wherein the constraint conditions are as follows:
the premise for indicating the presence of a line switch is that a line is present.
4) And constraining the relation between the line power and the line operation, wherein the constraint conditions of the line power are as follows:
wherein the content of the first and second substances,
is the line power; the corresponding line power is 0 when the line is down.
5) For the constraint of the relationship between the load of the 220kV transformer substation and the off-grid load and the outgoing load of the transformer substation, the existing load constraint conditions of the transformer substation are as follows:
wherein the content of the first and second substances,
the main variable capacity of the transformer substation is shown,
representing the load factor of a 220kV substation,
the load of the substation under the network is shown,
for line connection flag, if substation x is connected to line i and the line power direction is positive, then
If the transformer substation x is connected with the line i and the power direction of the line is reverse, then
If the transformer substation x is not connected with the line i, then
(ii) a If the line i is connected to the transformer substation x to be accessed, the line i is taken
Or
If the line i is not connected to the substation x to be accessed, the line i is taken
。
6) And (3) restricting the operation mode of the existing line, wherein the restriction conditions are as follows:
wherein, the circuit is set
iAnd a line
i+1 for adjacent possible construction routes, defining routes
jIs a line
iAnd a line
iThe existing line between +1 is,then when
And
when it is, then
Namely, when two adjacent possible construction new roads exist, the existing road disconnection between the two adjacent possible construction new roads stops.
8) And (3) constraining the network load of the 110kV transformer substation and the inflow load and the outflow load of the line connected to the transformer substation, wherein the total constraint condition of the loads is as follows:
wherein the content of the first and second substances,
as a line
iThe line power of (c).
7) Under the condition that the operation is stopped without opening, the constraint of the outgoing line interval of the transformer substation exists, and the constraint conditions are as follows:
wherein the content of the first and second substances,
denotes the first
xThe number of already existing substations using the bay,
the number of the substation design intervals is represented,
iis shown with
xA first existing substation connected
iThe strip may build a route, in particular, set
And
indicated as possible construction route adjacent to the ith possible construction route, in special cases, for example, when
i=kThen the line adjacent to the kth possible construction line is the
possible construction line 1 and
k-1(ii) a When in use
The situation that the existing line of the existing transformer substation connected with the ith possible construction line is not disconnected and stopped is shown; therefore, when the existing line connected with the existing substation is not disconnected, the sum of outgoing lines of the existing substation is not larger than the design interval number of the substation.
8) And (3) restricting the outgoing line interval of the transformer substation to be accessed, wherein the restricting conditions are as follows:
wherein the content of the first and second substances,
denotes the first
mThe number of utilized bays of the individual substations to be accessed,
the number of outgoing line intervals of the transformer substation to be accessed can be set according to the actual situation, wherein,
and the total number of new outgoing lines to be accessed into the substation is shown.
9) For the load rate constraint of a 220kV transformer substation, the constraint conditions are as follows:
the load factor of the 220kV transformer substation is not more than 99 percent.
10 For each line power constraint, the constraint conditions are:
wherein the content of the first and second substances,
an absolute value of the line power representing a possible line to be built,
indicating the rated capacity of the line.
The preset objective function representing the minimum value of the on-line is:
in the embodiment of the invention, the target function is solved through the specifically set target function, and the minimum value of the on-line operation line meeting the first constraint condition is obtained.
In a specific implementation, as shown in fig. 3, fig. 3 is an exemplary diagram of a substation access scheme provided in an embodiment of the present invention.
In the figure, 5 substations and a system of 8 lines, wherein the 5 th substation is a substation to be accessed,
lines 1 to 4 are outgoing lines which may be built,
lines 5 to 8 are existing lines, the arrow direction is a set line power transmission direction, for example, as shown in fig. 3, the direction of the existing
line 8 is from the
substation 1 to the
substation 4, the line power of the existing
line 8 for the
substation 4 is an incoming load, the line power direction is a forward direction, the line power of the
line 4 which may be built is an outgoing load, the line power direction is a reverse direction, and the rest of the lines connected with the
substation 4 are similarly available, optionally, the line access mode corresponding to the substation access scheme is determined by a line existence matrix
It is shown that,
the line operation mode of each line corresponding to the access scheme of the transformer substation is determined by the on-line operation matrix of the element units in the line existence matrix
It is shown that the process of the present invention,
are the elements of the routing matrix.
If the
transformer substation 5 to be accessed is accessed into the power system through the
possible construction lines 1 and 2 in the transformer substation access scheme with the minimum operation line value meeting the first constraint condition, the existence matrix of the line corresponding to the output transformer substation access scheme is
,
。
Because the adjacent
possible construction lines 1 and 2 are newly established at the two ends of the existing
line 5, the existing
line 5 is disconnected and stopped, and at the moment, the on-line matrix corresponding to the substation access scheme is in operation
Of the corresponding element unit of the line 5
(ii) a Similarly, if the transformer substation access scheme creates the
lines 1 and 4 which can be built, the existing
line 8 is disconnected and stopped, and the on-line-operation line matrix corresponding to the transformer substation access scheme
Of the corresponding element unit of the
line 8
。
And 203, selecting a substation access scheme which accords with the minimum value of the on-line as an intermediate access scheme.
In a specific implementation, the substation access scheme meeting the minimum value of the operation line is selected as an intermediate access scheme according to the first constraint condition, and the intermediate access scheme is
。
And 204, updating the first constraint condition as a second constraint condition, and calculating the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition.
Optionally, step 204 may comprise the following sub-steps S11-S13:
and S11, responding to the input updating information and determining the parameter type corresponding to the updating information.
And S12, adding an additional constraint condition in the first constraint condition according to the parameter type to generate a second constraint condition.
And S13, calculating the minimum value of the operation parameters of each intermediate access scheme under the second constraint condition.
Optionally, step S12 specifically includes the following sub-steps:
if the parameter type is an operation network loss parameter, adding a line fault constraint condition and a switch outage constraint condition in the first constraint condition to generate a second constraint condition;
and if the parameter type is an operation cost parameter, adding a line fault constraint condition, a switch shutdown constraint condition and a line cost constraint condition in the first constraint condition to generate a second constraint condition.
The line fault constraint condition refers to a constraint condition formulated according to a power grid planning operation N-1 criterion.
The N-1 criterion means that any element (such as a line, a generator, a transformer, a dc monopole, etc.) in the power system in the normal operation mode is not failed or disconnected due to a fault, the power system should be kept in stable operation and normally supplied, and other elements are not overloaded, and the voltage and the frequency are within the allowable range.
In the embodiment of the invention, the parameter type corresponding to the updated information is determined by responding to different input updated information, so that an additional constraint condition is added in a first constraint condition according to the parameter type, when the parameter type is operation network loss, a line fault constraint condition and a switch outage constraint condition are added in the first constraint condition to generate a second constraint condition, when the parameter type is an operation cost parameter, a line fault constraint condition, a switch outage constraint condition and a line cost constraint condition are added in the first constraint condition to generate the second constraint condition, and corresponding additional constraint conditions are correspondingly added according to different parameter types to generate the second constraint condition, so that the optimized substation access scheme has adjustability, the applicable scene is wider, the economy of the optimized substation access scheme is improved, and the operation stability of a power system is ensured through the fault constraint condition and the switch outage constraint.
It should be noted that the access basic information further includes a line length, a single line cost, a unit resistance, a connection flag, and a loop flag.
In a specific implementation, the second constraint includes:
1) Stopping the operation of each line one by one, and adopting a for-loop function to carry out constraint conditions on line faults under the condition of stopping the operation one by one:
under the constraint condition of line fault, the line power of each line should satisfy:
wherein the content of the first and second substances,
including already storedLine power on the line and line power on the line that may be built.
2) For each loop or path, at least one line is shut down to avoid loop operation, and correspondingly added switch shut down constraints are as follows:
wherein the content of the first and second substances,
a loop-back flag is indicated that indicates that,
1 denotes a line
jIn the first place
iOn the loop of the strip, the strip is provided with a plurality of loops,
hrepresenting the total number of loops; in a specific implementation, after a to-be-accessed substation is accessed to an electric power system, each loop in the electric power system is detected through a preset loop detection model, as shown in fig. 3, if newly-built lines which may be built are 1 and 3, the lines 1, 3, 7 and 8 are just one loop, so that at least one of the lines 1, 3, 7 and 8 is stopped to avoid loop operation; as shown in fig. 3, the possible construction line 1 is numbered (1, 5) from beginning to end, the possible construction line 2 is numbered (2, 5) from beginning to end, and so on, the existing line 8 is numbered (1, 4) from beginning to end; to list the combination of all 3 loops, if the ith group forms a loop (i.e. there are 3 loops, the loop with the beginning and end numbers thereof being closed, for example, the loops 1,2,5 are (1, 5), (2, 5), (1, 2) corresponding to the beginning and end numbers, and then there are a group of 3 loops), then the group is output
,
,
Then, then
k、l、mThe serial number is the corresponding serial number of the circuit on the loop; for a combination of all 3 lines that do not form a loop,enumerating 4-loop combinations including the 3-loop, if
iForming a loop, outputting one group
,
,
,
,k、l、m、nThe serial number of the line on the loop; the subsequent loop detection methods of 5 loops, 6 loops and the like are similar until all loops are found and stored in a loop matrix
The element unit in the loop matrix is
。
When the parameter type is the operation network loss parameter, the objective function of the minimum value of the operation parameter under the second constraint condition is as follows:
wherein, the first and the second end of the pipe are connected with each other,
the resistance of the resistor is expressed in terms of unit resistance,
is the line length;
when the parameter type is the operation cost parameter, the constraint condition of the line cost is as follows:
wherein the content of the first and second substances,
in order to achieve the cost of the line,
the cost is made for a single line, when the ith line is an existing line,
;
the set objective function of the minimum value of the lower running cost according to the second constraint condition is as follows:
in the embodiment of the invention, according to specific requirements, corresponding additional constraint conditions are added to generate corresponding second constraint conditions, and then optimal solution is carried out according to the objective function, so that the optimized substation access scheme has adjustability, the application scene is wider, and the optimal substation access scheme meeting the requirements is obtained.
And step 205, selecting the intermediate access scheme meeting the minimum value of the operation parameters as a target access scheme.
In the embodiment of the present invention, the specific implementation process of step 205 is similar to that of step 105, and is not described herein again.
And step 206, analyzing the target access scheme, and determining a corresponding target connection mode and a target operation mode.
The target wiring mode refers to a line connection mode between existing substations and between a to-be-accessed substation and the existing substations, and can be realized through a line existence matrix
And (4) showing.
The target operation mode refers to existing substations, and the to-be-accessed substation and the existing substationsThe operation mode of the lines can be realized by an on-line matrix
And (4) showing.
In the embodiment of the invention, the corresponding target wiring mode and the target operation mode are determined by analyzing the target access scheme.
In specific implementation, according to the element unit in the line existence matrix corresponding to the target access scheme, the substation to be accessed to the power system needs to be accessed through which possible new line is built, for example, when the element unit corresponding to the corresponding ith possible line is built
When the transformer substation is connected to the power system through the ith possible construction line, the transformer substation to be connected is connected to the power system
And if so, indicating that the to-be-accessed substation is not accessed to the power system through the ith possible construction line.
And step 207, accessing the transformer substation to be accessed to the power system according to the target wiring mode, and operating the transformer substation to be accessed according to the target operation mode.
In the embodiment of the invention, the transformer substation to be accessed is accessed to the power system according to the target wiring mode, and the transformer substation to be accessed is operated according to the target operation mode, so that the optimal wiring mode and the target operation mode meeting the target requirement are obtained, and the stable operation of the power system is ensured, for example, according to the on-line matrix
Corresponding in the operational circuit matrix
When the time is out, the corresponding line i is in operation,
then it indicatesThe corresponding line i is shut down.
In the embodiment of the invention, a plurality of substation access schemes corresponding to a power system are obtained by responding to an access request aiming at a substation to be accessed, then the minimum value of the on-line of the substation access scheme is solved according to a preset first constraint condition, optimization is carried out through the first constraint condition, then the substation access scheme meeting the minimum value of the on-line is selected as an intermediate access scheme, the first constraint condition is updated to be a second constraint condition, the minimum value of the operation parameters of the intermediate access scheme under the second constraint condition is calculated, then the intermediate access scheme meeting the minimum value of the operation parameters is selected as a target access scheme, then the target access scheme is analyzed, the corresponding target wiring mode and the target operation mode are determined, the substation to be accessed is accessed to the power system according to the target wiring mode, and the substation to be accessed is operated according to the target operation mode. According to the invention, the minimum on-line of the substation access scheme is firstly solved through the first constraint condition, the first-step optimization is carried out, the second constraint condition is optimized again by taking the minimum value of the operation parameter as a target, the multi-dimension optimization is carried out, the target access scheme meeting the requirement is output, in addition, the second constraint condition can be updated according to different requirements, the optimization direction of the substation access scheme can be adaptively adjusted, the scene application range is increased, the power system running according to the target access scheme is optimized, the economy is improved under the condition of ensuring the stable running of the power system, the time and labor are avoided being wasted in manual formulation, the efficiency is improved, the cost is saved, and the better substation access scheme can be rapidly formulated in time.
Referring to fig. 4, fig. 4 is a block diagram of a substation access system of an electric power system according to a third embodiment of the present invention.
The embodiment of the invention provides a transformer substation access system of a power system, which comprises:
the scheme acquisition module 301 is configured to respond to an access request for a to-be-accessed substation and acquire a plurality of substation access schemes corresponding to the power system;
the first constraint module 302 is used for solving the minimum value of an on-operation line of the substation access scheme according to a preset first constraint condition;
the intermediate access scheme selecting module 303 is configured to select a substation access scheme that meets the minimum value of the on-line operation as an intermediate access scheme;
a second constraint module 304, configured to update the first constraint condition to a second constraint condition, and calculate a minimum value of an operation parameter of the intermediate access scheme under the second constraint condition;
a target access scheme selecting module 305, configured to select an intermediate access scheme that meets the minimum value of the operation parameter as a target access scheme;
and the scheme access module 306 is used for accessing the transformer substation to be accessed to the power system according to the target access scheme and operating the transformer substation.
Optionally, the first constraint module 302 includes:
the scheme analysis submodule is used for analyzing each substation access scheme to acquire corresponding access basic information;
and the first constraint solving submodule is used for substituting the access basic information into a preset objective function and solving the minimum value of the on-line operation circuit meeting the preset first constraint condition.
Optionally, the second constraint module 304 comprises:
the update information response submodule is used for responding the input update information and determining the parameter type corresponding to the update information;
the second constraint generation submodule is used for adding an additional constraint condition in the first constraint condition according to the parameter type to generate a second constraint condition;
and the second constraint calculation submodule is used for calculating the minimum value of the operating parameters of each intermediate access scheme under the second constraint condition.
Optionally, the second constraint generation submodule includes:
the first parameter type updating submodule is used for adding a line fault constraint condition and a switch outage constraint condition in the first constraint condition to generate a second constraint condition if the parameter type is an operation network loss parameter;
and the second parameter type updating submodule is used for adding a line fault constraint condition, a switch outage constraint condition and a line cost constraint condition in the first constraint condition to generate a second constraint condition if the parameter type is an operating cost parameter.
Optionally, the scheme accessing module 306 includes:
the target access scheme analysis submodule is used for analyzing the target access scheme and determining a corresponding target wiring mode and a target operation mode;
and the scheme operation submodule is used for accessing the transformer substation to be accessed to the power system according to the target wiring mode and operating the transformer substation to be accessed according to the target operation mode.
In the implementation of the invention, a scheme acquisition module 301 responds to an access request aiming at a to-be-accessed substation, acquires a plurality of substation access schemes corresponding to an electric power system, then solves the minimum value of an operation line of the substation access scheme according to a preset first constraint condition through a first constraint module 302, optimizes the operation line through the first constraint condition, then selects the substation access scheme meeting the minimum value of the operation line as an intermediate access scheme through an intermediate access scheme selection module 303, updates the first constraint condition as a second constraint condition through a second constraint module 304, calculates the minimum value of an operation parameter of the intermediate access scheme under the second constraint condition, then selects the intermediate access scheme meeting the minimum value of the operation parameter as a target access scheme through a target access scheme selection module 305, and finally accesses the to-be-accessed substation to the electric power system and operates according to the target access scheme through a scheme access module 306. According to the invention, the minimum on-line of the substation access scheme is firstly solved through the first constraint condition, the first-step optimization is carried out, the second constraint condition is used for carrying out the second optimization with the minimum running parameter as a target, the multi-dimensional optimization is carried out, the target access scheme meeting the requirement is output, so that the power system running according to the target access scheme is optimized, meanwhile, the optimization is carried out through the first constraint condition and the second constraint condition, the time and labor are avoided being manually made, the efficiency is improved, the cost is saved, and the better substation access scheme can be made in time and rapidly.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the system and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.