A DC power flow model optimization method and system considering network loss

Through similarity and order reduction processing in the AC power flow model, combined with the system initial value, a DC power flow model considering network loss is obtained, which solves the problems of slow AC power flow calculation speed and low DC power flow accuracy, and achieves efficient and accurate power flow. Computing improves the operational efficiency and reliability of power grid dispatching.

CN113496439BActive Publication Date: 2024-09-20GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110664943.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-16
Publication Date
2024-09-20
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

In the existing technology, the calculation speed of the AC power flow model is too slow, and the accuracy of the DC power flow model is difficult to improve, resulting in insufficient calculation accuracy during the power grid dispatching process, affecting operating efficiency and reliability.

Method used

On the basis of the AC power flow calculation model, through similarity processing and Taylor expansion, the high-order calculation of phase angle and voltage is reduced, the model is simplified, and the initial value of the system is used to replace the voltage and phase angle variables, and a DC power flow model considering network loss is obtained. , improving calculation accuracy through loss factor correction.

Benefits of technology

It greatly reduces the amount of calculation, improves the calculation accuracy, improves the efficiency and reliability of the power grid dispatching process, and can effectively solve the problem of insufficient accuracy of the DC power flow model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113496439B
    Figure CN113496439B
Patent Text Reader

Abstract

The present invention discloses a method for optimizing a DC power flow model taking network losses into consideration, and belongs to the field of electrical engineering. The method is based on the existing AC power flow model, combined with the existing widely used DC power flow model, and makes approximate assumptions and mathematical transformations on the former to obtain a model that is simpler than the former and more accurate than the latter. The model takes into account factors such as actual voltage, phase angle, network topology, and line conductivity, and then combines the initial conditions to correct the network losses of the original DC power flow, and finally obtains the power flow of each branch in the network. The present invention provides a new idea for power flow scheduling in the power market, which is conducive to safety verification and margin analysis, and ensures the stability of power system operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electrical engineering technology, and in particular to a method and system for optimizing a DC power flow model taking network losses into consideration. Background Art

[0002] my country has begun to gradually implement spot market reforms, which have changed the previous dispatching mode of the power grid. Safety-constrained unit combinations and safety-constrained economic dispatch in the day-ahead market and real-time market will become an important part.

[0003] However, judging from the trial operation results in some areas, either the AC power flow model is used, which has a too slow solution speed, or the DC power flow model is used, which has difficulty in improving the accuracy. Summary of the invention

[0004] The present invention provides a DC power flow model optimization method and system considering network loss, aiming to solve the problem that the current AC power flow method is too slow to calculate and the DC power flow is inaccurate, so that the calculation accuracy is improved while the calculation amount is greatly reduced.

[0005] A first aspect of the present invention provides a DC power flow model optimization method considering network loss, comprising:

[0006] On the basis of the AC power flow calculation model, when it is determined that the change value of the phase angle and the voltage is less than the preset value, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model; wherein the similarization is to simplify the calculation of the phase angle and the voltage; the reduction is to convert the high-order calculation into a low-order operation through Taylor expansion;

[0007] On the basis of the simplified AC power flow model, the voltage phase angle variable is replaced by the system initial value to obtain a DC power flow model considering network loss.

[0008] Furthermore, before using the system initial values ​​to replace the voltage and phase angle variables, the method further includes:

[0009] The loss factor is determined according to a function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model.

[0010] Further, when it is determined that the change value of the phase angle and the voltage is less than the preset value based on the AC power flow calculation model, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model, including:

[0011] Acquire the AC power flow calculation model; wherein the AC power flow calculation model is:

[0012] ;

[0013] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude of

[0014] The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula:

[0015]

[0016] ;

[0017] ;

[0018] in, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0019] The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula:

[0020] ;

[0021] ;

[0022] in, For Node i and nodes j The voltage phase angle difference in the initial state.

[0023] Furthermore, the simplified AC power flow model is:

[0024] ;

[0025] in, Representation Node iand nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude.

[0026] Furthermore, based on the simplified AC power flow model, the voltage and phase angle variables are replaced by system initial values ​​and calculated using the following formula:

[0027] ;

[0028] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Node i and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes j The initial state voltage amplitude, For the node i and nodes j The function of the voltage phase angle difference in the initial state, is a function of the initial state voltage amplitudes of nodes i and j.

[0029] Furthermore, the loss factor is calculated by the following formula:

[0030] ;

[0031] in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state.

[0032] Furthermore, the network loss is corrected by the loss factor to obtain a DC power flow model considering the network loss. The DC power flow model considering the network loss is calculated by the following formula:

[0033] ;

[0034] in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

[0035] A second aspect of the present invention provides a DC power flow model optimization system considering network loss, comprising:

[0036] A numerical processing module is used for, based on the AC power flow calculation model, when it is determined that the change value of the phase angle and the voltage is less than a preset value, to perform similarity processing on the calculation of the phase angle and the voltage in the AC power flow calculation model and to perform square reduction processing on the high-order calculation of the phase angle and the voltage, so as to obtain a simplified AC power flow model; wherein the similarity processing is to simplify the calculation of the phase angle and the voltage; and the square reduction processing is to convert the high-order calculation into a low-order operation through Taylor expansion;

[0037] The network loss reference module is used to obtain a DC power flow model taking network loss into consideration by replacing voltage and phase angle variables with system initial values ​​based on the simplified AC power flow model.

[0038] Furthermore, the DC power flow model optimization system considering network loss further includes:

[0039] The loss factor determination module is used to determine the loss factor according to the function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model.

[0040] Further, when it is determined that the change value of the phase angle and the voltage is less than the preset value based on the AC power flow calculation model, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model, including:

[0041] Acquire the AC power flow calculation model; wherein the AC power flow calculation model is:

[0042] ;

[0043] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude of

[0044] The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula:

[0045]

[0046] ;

[0047] ;

[0048] in, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0049] The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula:

[0050] ;

[0051] ;

[0052] in, For Nodei and nodes j The voltage phase angle difference in the initial state;

[0053] The simplified AC power flow model is:

[0054] ;

[0055] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0056] Based on the simplified AC power flow model, the voltage and phase angle variables are replaced by the system initial values ​​and calculated using the following formula:

[0057] ;

[0058] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Node i and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes jThe initial state voltage amplitude, For the node i and nodes j The function of the voltage phase angle difference in the initial state, is a function of the initial state voltage amplitudes of nodes i and j;

[0059] The loss factor is calculated by the following formula:

[0060] ;

[0061] in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state;

[0062] The network loss is corrected by the loss factor to obtain a DC power flow model considering the network loss. The DC power flow model considering the network loss is calculated by the following formula:

[0063] ;

[0064] in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

[0065] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0066] The present invention provides a method and system for optimizing a DC power flow model that takes network losses into consideration, wherein the method comprises: based on an AC power flow calculation model, when it is determined that the change in phase angle and voltage is less than a preset value, similarity processing is performed on the calculation of phase angle and voltage in the AC power flow calculation model and square reduction processing is performed on the high-order calculation of phase angle and voltage to obtain a simplified AC power flow model; wherein the similarity processing is to simplify the calculation of phase angle and voltage; the square reduction processing is to convert high-order calculation into low-order operation through Taylor expansion; based on the simplified AC power flow model, the voltage phase angle variable is replaced by the system initial value to obtain a DC power flow model that takes network losses into consideration. Compared with AC solutions, this method can greatly save calculation time, and compared with DC power flow, it can effectively improve calculation accuracy. The DC power flow model that takes network losses into consideration is This patent takes into account the correction term L with network loss, thereby improving the calculation accuracy of the power flow. This can improve the efficiency and reliability of the scheduling process. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 A DC power flow model optimization considering network loss is provided in a certain embodiment of the present invention.

[0069] Figure 2 This is a device diagram of a DC power flow model optimization system considering network loss provided by a certain embodiment of the present invention;

[0070] Figure 3 It is a structural diagram of an electronic device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0072] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0073] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0074] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0075] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0076] Judging from the trial operation results in some areas, either the AC power flow model is used, which is too slow to solve, or the DC power flow model is used, which is difficult to improve the accuracy. Therefore, in order to improve the accuracy of line power flow and ensure that the amount of calculation does not increase, a reasonable method for calculating power flow that takes network losses into consideration is urgently needed to maintain the adequacy and reliability of power market dispatching after the transformation of the power grid and ensure the normal operation of society.

[0077] In view of the defects of the prior art, the purpose of the present invention is to provide a DC power flow model optimization taking into account network losses, aiming to solve the problem that the current AC power flow method is too slow to calculate and the DC power flow is inaccurate, so that the calculation accuracy is improved while the calculation amount is greatly reduced.

[0078] The DC power flow model that takes network losses into consideration proposed in this patent can be used in real-time market DC power flow dispatch and clearing in the spot market environment to improve dispatch accuracy. In the actual power system dispatch process, power flow calculation is a necessary link, and most dispatch processes now mainly use DC power flow models, which are inaccurate and have large deviations from reality. This patent corrects the power flow, making the calculation more in line with the actual situation in the DC power flow optimization dispatch, and when the line capacity constraints are reduced, it can solve some dispatch situations that could not be solved before, effectively improving the dispatch operation of the power grid.

[0079] The first aspect.

[0080] See also Figure 1 An embodiment of the present invention provides a method for optimizing a DC power flow model taking network loss into consideration, comprising:

[0081] S10. Based on the AC power flow calculation model, when it is determined that the change value of the phase angle and the voltage is less than the preset value, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model; wherein the similarity processing is to simplify the calculation of the phase angle and the voltage; the reduction processing is to convert the high-order calculation into a low-order operation through Taylor expansion.

[0082] In a specific implementation, the step S10 includes:

[0083] Acquire the AC power flow calculation model; wherein the AC power flow calculation model is:

[0084] ;

[0085] in, Representation Node i and nodes j The active power on the line between Representation Nodei and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude of

[0086] The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula:

[0087]

[0088] ;

[0089] ;

[0090] in, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0091] The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula:

[0092] ;

[0093] ;

[0094] in, For Node i and nodes j The voltage phase angle difference in the initial state.

[0095] The DC power flow model is:

[0096] ;

[0097] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude.

[0098] S20. Determine the loss factor according to the function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model.

[0099] In a specific implementation, the loss factor is calculated by the following formula:

[0100] ;

[0101] in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state.

[0102] S30. On the basis of the simplified AC power flow model, the voltage phase angle variable is replaced by the system initial value to obtain a DC power flow model that takes network loss into consideration.

[0103] In a specific implementation, based on the simplified AC power flow model, the voltage and phase angle variables are replaced by system initial values ​​and calculated using the following formula:

[0104] ;

[0105] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Nodei and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes j The initial state voltage amplitude.

[0106] The DC power flow model considering network loss is calculated by the following formula:

[0107] ;

[0108] in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

[0109] In a specific embodiment, the present invention provides a DC power flow model optimization method considering network loss, the specific contents of which are as follows:

[0110] The AC power flow model is widely used in various power system analyses and can be expressed as follows:

[0111] (1)

[0112] in Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude. After the network topology of an actual power system is determined, the conductance and susceptance of the line are determined. When a system starts to run in a power flow, the voltage and phase angle values ​​can be obtained by using a computer or power flow solving software, such as MatPower, MatacDC, etc. This formula is applicable to the case of a single line connected to two nodes. If there are multiple lines connected, parallel processing is required.

[0113] In actual power system operation, the phase angle and voltage values ​​fluctuate very little, so the following assumptions can be made:

[0114] (2)

[0115] (3)

[0116] In addition, considering the actual power grid operation environment, taking real-time market dispatch as an example, compared with the voltage amplitude in the basic case, when the power grid has only a small load fluctuation, the actual change in voltage in a real-time dispatch time period of every 15 minutes is very small, and it can be approximately considered that there is no change compared with the previous time period. Therefore, the voltage expression can be further approximated:

[0117] (4)

[0118] in , Respectively represent nodes i and nodes j The initial state voltage amplitude, Representation Node i and nodes j The difference in voltage amplitude between the two. Taking real-time market dispatch as an example, the initial voltage amplitude can be selected from the parameters solved by the computer in the previous time period, and substituted into the calculation solution in this time period for iterative processing. The difference in voltage amplitude will be obtained by the power flow solution of this time period. Substituting (2), (3) and (4) into expression (1) can obtain a preliminary simplified AC power flow model.

[0119] However, these approximations are not enough. The voltage and phase angle are still in a high-order state, and linearization should be ensured as much as possible. Therefore, Taylor expansion is performed on the voltage and phase angle, and the following two steps are performed respectively:

[0120] (5)

[0121] (6)

[0122] in For Node i and nodes j The voltage phase angle difference in the initial state. Similar to the voltage amplitude in the initial state, the voltage phase angle difference in the initial state can also select the parameters solved by the computer in the previous time period and substitute them into the calculation solution in this period for iterative processing. Then, continue to substitute (5) (6) into (1) for sorting, and the following power flow model can be obtained:

[0123] (7)

[0124] Although this is a simplified model of AC, it is still very complicated. It contains unknown voltage and unknown angle. There will be two variables in the iterative solution, and the voltage is a quadratic quantity, which will cause great trouble in the calculation. Therefore, based on equation (7), an approximate treatment is made, the voltage variable is regarded as a known quantity, and the conductivity in the angle expression is ignored, and the following results can be obtained:

[0125] (8)

[0126] in , Representation Node i and nodes j The voltage value at the initial moment, , Representation Node i and nodes j Phase angle value at the initial moment. Observing formula (8), it can be seen that the line flow consists of two parts. One part is composed of the angle difference between the two nodes, which is itself a typical DC flow model. The other part is an additional function related to the initial value of the voltage and angle. According to operating experience, once the initial value is determined, or the state is determined, this part will be a constant that does not need to be calculated. Therefore, we might as well regard the function as multiplying a parameter on the original basis and record the entire part as the loss factor L , that is (due to previous errors, formulas (8) and (9) have been modified)

[0127] (9)

[0128] in and are the constants preceding the angle and voltage variables, respectively. They can be corrected by the actual power flow model or simplified by equation (7). For Node i and nodes j The difference in voltage phase angle under the initial state. Therefore, based on equations (8) and (9), we can clearly understand the idea of ​​solving the improved power flow model, that is, first solve the DC power flow model, and then correct the network loss according to the simplified AC expression. Since the loss factor does not need to participate in the iterative solution and only needs to be calculated based on the existing state quantity, the complexity will be greatly reduced. Since the load fluctuation is very small when the large power grid is in operation, the amplitude and phase angle fluctuations are basically not too large, so the accuracy of the loss factor is very close to that of the direct solution of the AC power flow. Therefore, equation (8) satisfies the problem of ensuring that the calculation amount is not too large while improving the power flow accuracy, and it is an improved DC power flow model that considers network loss. The final line power flow expression is as follows:

[0129] (10)

[0130] Formula (10) is the improved DC power flow model considering network loss. (Once the calculation scheme of the L parameter in this model is determined, it will be completely handed over to the computer power flow solving software in actual scheduling, and the solution of the next moment will be replaced by the result of the previous solution, so as to achieve the effect of iterative calculation.)

[0131] In another specific embodiment of the present invention, the IEEE standard node case 39 is used for analysis and calculation, and an example analysis is performed. The calculation results of the power flow under three solutions are given below, namely, the built-in DC power flow solution of Matpower, the built-in AC power flow solution of Matpower, and the improved DC model optimization method proposed in the present invention.

[0132] The active power of each branch can be calculated by using the built-in DC and AC power flow solution of Matpower. By comparing the results obtained by using the model proposed by the present invention, the active power of the corresponding 46 lines can be obtained. The specific data are shown in Table 1:

[0133] Table 1

[0134]

[0135] Since the AC power flow accuracy is very high, it can be assumed to be the actual value. Therefore, the AC result can be compared with the data obtained by the other two methods to observe whether the model is accurate. By calculating the mean of the percentage error and the variance of the percentage accuracy, the data shown in the following table can be obtained:

[0136] Table 2

[0137]

[0138] Among them, the calculation formulas of percentage error mean and percentage accuracy variance are as follows (21)(22):

[0139] (twenty one)

[0140] (twenty two)

[0141] avg It means to find the average. var Indicates the variance. This is the result of the AC power flow model. The results are for DC or improved DC models. According to the results, it can be found that after using the improved DC power flow model, the average percentage error has been reduced from 6.3% to 2.85% in terms of accuracy. Specifically, each line is closer to the result of AC power flow, and the percentage accuracy variance has been reduced from 138.8 to 23.4, indicating that the power flow distribution is more concentrated, the results are less dispersed, and the corresponding overall model solves the power flow more accurately.

[0142] The second aspect.

[0143] See also Figure 2 An embodiment of the present invention provides a DC power flow model optimization system considering network loss, including:

[0144] The numerical processing module 10 is used to perform similarity processing on the calculation of the phase angle and voltage in the AC power flow calculation model and reduce the power of the high-order calculation of the phase angle and voltage to obtain a simplified AC power flow model when it is determined that the change value of the phase angle and the voltage is less than a preset value based on the AC power flow calculation model; wherein the similarity processing is to simplify the calculation of the phase angle and the voltage; the reduction processing is to convert the high-order calculation into a low-order operation through Taylor expansion.

[0145] The loss factor determination module 20 is used to determine the loss factor according to the function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model.

[0146] The network loss reference module 30 is used to replace the voltage phase angle variable with the system initial value on the basis of the simplified AC power flow model to obtain a DC power flow model taking network loss into consideration.

[0147] In a specific implementation, when it is determined that the change value of the phase angle and the voltage is less than a preset value based on the AC power flow calculation model, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model, including:

[0148] Acquire the AC power flow calculation model; wherein the AC power flow calculation model is:

[0149] ;

[0150] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node iand nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude of

[0151] The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula:

[0152]

[0153] ;

[0154] ;

[0155] in, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0156] The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula:

[0157] ;

[0158] ;

[0159] in, For Node i and nodes j The voltage phase angle difference in the initial state;

[0160] The simplified AC power flow model is:

[0161] ;

[0162] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0163] Based on the simplified AC power flow model, the voltage and phase angle variables are replaced by the system initial values ​​and calculated using the following formula:

[0164] ;

[0165] in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Node i and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes j The initial state voltage amplitude;

[0166] The loss factor is calculated by the following formula:

[0167] ;

[0168] in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state;

[0169] The DC power flow model considering network loss is calculated by the following formula:

[0170] ;

[0171] in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

[0172] The third aspect.

[0173] The present invention provides an electronic device, the electronic device comprising:

[0174] processor, memory, and bus;

[0175] The bus is used to connect the processor and the memory;

[0176] The memory is used to store operation instructions;

[0177] The processor is used to call the operation instruction, and the executable instruction enables the processor to perform operations corresponding to a DC power flow model optimization method considering network loss as shown in the first aspect of the present application.

[0178] In an alternative embodiment, an electronic device is provided, such as Figure 3 As shown, Figure 3 The electronic device 5000 shown includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are connected, such as through a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the electronic device 5000 does not constitute a limitation on the embodiments of the present application.

[0179] Processor 5001 may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 5001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0180] The bus 5002 may include a path to transmit information between the above components. The bus 5002 may be a PCI bus or an EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0181] The memory 5003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0182] The memory 5003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 5001. The processor 5001 is used to execute the application code stored in the memory 5003 to implement the content shown in any of the above method embodiments.

[0183] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0184] The fourth aspect.

[0185] The present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, a DC power flow model optimization method considering network loss shown in the first aspect of the present application is implemented.

[0186] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

Claims

1. A DC power flow model optimization method considering network loss, characterized in that: include: On the basis of the AC power flow calculation model, when it is determined that the change value of the phase angle and the voltage is less than the preset value, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model; wherein the similarization is to simplify the calculation of the phase angle and the voltage; the reduction is to convert the high-order calculation into a low-order operation through Taylor expansion; Based on the simplified AC power flow model, the voltage and phase angle variables are replaced by the system initial values ​​to obtain a DC power flow model considering network loss. Based on the simplified AC power flow model, the voltage and phase angle variables are replaced by the system initial values ​​and calculated using the following formula: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Node i and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes j The initial state voltage amplitude, For the node i and nodes j The function of the voltage phase angle difference in the initial state, is a function of the initial state voltage amplitudes of nodes i and j; Before using the system initial value to replace the voltage and phase angle variables, it also includes: Determining the loss factor according to a function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model; The loss factor is calculated by the following formula: ; in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state; The network loss is corrected by the loss factor to obtain a DC power flow model taking the network loss into consideration; The DC power flow model considering network loss is calculated by the following formula: ; in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

2. A DC power flow model optimization method considering network loss as claimed in claim 1, characterized in that: When it is determined that the change value of the phase angle and the voltage is less than the preset value based on the AC power flow calculation model, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model, including: Acquire the AC power flow calculation model; wherein the AC power flow calculation model is: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude; The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula: ; ; in, , Respectively represent nodes i and nodes j The initial state voltage amplitude; The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula: ; ; in, For Node i and nodes j The voltage phase angle difference in the initial state.

3. A DC power flow model optimization method considering network loss as claimed in claim 1, characterized in that: The simplified AC power flow model is: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude.

4. A DC power flow model optimization system considering network loss, characterized in that: include: A numerical processing module is used for, based on the AC power flow calculation model, when it is determined that the change value of the phase angle and the voltage is less than a preset value, to perform similarity processing on the calculation of the phase angle and the voltage in the AC power flow calculation model and to perform square reduction processing on the high-order calculation of the phase angle and the voltage, so as to obtain a simplified AC power flow model; wherein the similarity processing is to simplify the calculation of the phase angle and the voltage; and the square reduction processing is to convert the high-order calculation into a low-order operation through Taylor expansion; A network loss reference module is used to obtain a DC power flow model taking network loss into consideration by replacing voltage and phase angle variables with system initial values ​​based on the simplified AC power flow model; Based on the simplified AC power flow model, the voltage and phase angle variables are replaced by the system initial values ​​and calculated using the following formula: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The susceptance on the line between For Node i and nodes j The voltage phase angle difference in the initial state; , Respectively represent nodes i and nodes j The initial state voltage amplitude; For the node i and nodes j The function of the voltage phase angle difference in the initial state, is a function of the initial state voltage amplitudes of nodes i and j; The DC power flow model optimization system also includes: A loss factor determination module, used to determine the loss factor according to a function quantity related to the voltage and the initial value of the phase angle in the simplified AC power flow model; The loss factor is calculated by the following formula: ; in, is the angular constant, and The nodes are i and nodes j The voltage constant, For Node i and nodes j The voltage phase angle difference in the initial state; The network loss is corrected by the loss factor to obtain a DC power flow model taking the network loss into consideration; The DC power flow model considering network loss is calculated by the following formula: ; in, P Indicates the active power on the line, Representation Node i and nodes j The phase angle difference between b represents the susceptance on the line, L Represents the loss factor.

5. A DC power flow model optimization system considering network loss as claimed in claim 4, characterized in that: When it is determined that the change value of the phase angle and the voltage is less than the preset value based on the AC power flow calculation model, the calculation of the phase angle and the voltage in the AC power flow calculation model is similarized and the high-order calculation of the phase angle and the voltage is reduced to obtain a simplified AC power flow model, including: Acquire the AC power flow calculation model; wherein the AC power flow calculation model is: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude; The calculation of phase angle and voltage in the AC power flow calculation model is similarized; specifically, it is calculated by the following formula: ; ; in, , Respectively represent nodes i and nodes j The initial state voltage amplitude; The higher power calculation of the phase angle and voltage is reduced in square; specifically, it is calculated by the following formula: ; ; in, For Node i and nodes j The voltage phase angle difference in the initial state; The simplified AC power flow model is: ; in, Representation Node i and nodes j The active power on the line between Representation Node i and nodes j The phase angle difference between Representation Node i and nodes j The conductance value of the line between Representation Node i and nodes j The susceptance on the line between , Respectively represent nodes i and nodes j The voltage amplitude, For Node i and nodes j The voltage phase angle difference in the initial state, , Respectively represent nodes i and nodes j The initial state voltage amplitude.