Power grid power flow regulation and control method and device, storage medium and electronic equipment
By using interconnected devices in the power grid to adjust the control parameters of the interconnected lines and determine and update the trend relationship, the problem that the power grid cannot adjust the trend in real time is solved, and the on-site automatic adjustment and precise control of the power grid trend is achieved.
Patent Information
- Application Number
- CN202411344954.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-13
AI Technical Summary
After charging large-scale distributed power supplies and electric vehicles, existing power grid systems cannot adjust the current in real time, resulting in node voltage fluctuations, lack of flexible control methods, and cannot cope with the challenges of future grid load changes.
The interconnected lines in the power grid are adjusted through interconnected devices, the initial current relationship between the test control parameters and the test control results are determined, and the target current relationship is updated to realize the on-site adjustment of the power grid trend.
It realizes automatic trend control in-place interconnection of distribution networks, reduces dependence on external communications and backend computer systems, and improves the accuracy and efficiency of power grid trend control.
Smart Images

Figure CN119134330A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power systems and smart grid technology, and more specifically, to a power grid flow control method, device, storage medium and electronic equipment. Background Art
[0002] As large-scale distributed power sources are connected to the distribution network, a large amount of power is injected into the network, which can easily cause the node voltage to exceed the upper limit. At the same time, after large-scale electric vehicle charging loads are connected to the distribution network, the load power is large, exceeding the rated capacity of the equipment, which may cause the node voltage to exceed the lower limit.
[0003] Most of the distribution networks are "closed-loop design, open-loop operation", and are actually in a single radial operation state, that is, a line is powered by only one main power source, and when a fault occurs, the adjacent line will transfer the power. This mode of operation lacks flexible control means, and the flow direction can only flow from the beginning to the end of the line. It cannot adjust the flow in real time and cannot cope with the huge challenges caused by the large-scale access of distributed power sources and electric vehicles to the distribution network in the future. The relevant technologies have a large amount of dynamic real-time collection and transmission data, and are highly dependent on communications. The flow regulation requires the background computer system to perform flow calculations, and there is a technical problem that the power grid flow control cannot be achieved on-site.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a power grid flow control method, device, storage medium and electronic device to at least solve the technical problem in the related art that power grid flow control cannot be achieved locally.
[0006] According to one aspect of an embodiment of the present application, a power grid flow control method is provided, comprising: using an interconnection device to adjust interconnected lines in a power grid, and determining an initial flow relationship between a test control parameter and a test control result, wherein the interconnected line is a line connected to other lines in the power grid through an interconnection device; in response to a current regulation target issued to the interconnected device, based on the initial flow relationship, the interconnected device controls the interconnected line to obtain a current actual regulation result; using the interconnected device, based on the current actual regulation result, the initial flow relationship is updated to obtain a target flow relationship; in response to a next regulation target issued to the interconnected device, based on the target flow relationship, the interconnected device controls the interconnected line to obtain a new actual regulation result.
[0007] Optionally, the use of an interconnection device to adjust the interconnected lines in the power grid and determine the initial power flow relationship between the test control parameters and the test regulation results includes: determining the type of control parameter used by the interconnection device to adjust the interconnected lines; when the control parameter type is a voltage control type, based on multiple groups of voltage control parameters included in the test control parameters, using the interconnection device to perform voltage regulation on the interconnected lines to obtain power regulation results corresponding to the multiple groups of voltage control parameters, wherein the test regulation results include the power regulation results; based on the multiple groups of voltage control parameters and the corresponding power regulation results, using the interconnection device to perform fitting to obtain the initial power flow relationship.
[0008] Optionally, each group of voltage control parameters in the multiple groups of voltage control parameters is a conjugate vector, the conjugate vector includes a real part of voltage and an imaginary part of voltage, the power control result includes the active power and reactive power of the interconnected line, and the initial power flow relationship is fitted based on the relationship between the real part of voltage and the active power and the reactive power, and the relationship between the imaginary part of voltage and the active power and the reactive power.
[0009] Optionally, the relationship between the real part of the voltage and the active power and the reactive power is expressed in the following manner:
[0010]
[0011] The relationship between the imaginary part of the voltage and the active power and the reactive power is expressed in the following way:
[0012]
[0013] Among them, U cx represents the real part of the voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c represents the active power, Q c represents the reactive power, U N It represents the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter.
[0014] Optionally, the interconnection device has a current collection capability, and the method further includes: using the interconnection device to collect current from the interconnection line to obtain a current current value at a current moment; determining a current difference between the current current value and a previous current value, wherein the previous current value is a current value collected at a previous moment before the current moment; when the current difference is greater than a predetermined current threshold, using the interconnection device to adjust the interconnection line to determine a reset power flow relationship between a reset control parameter and a reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
[0015] Optionally, based on the initial power flow relationship, the interconnected device controls the interconnected lines to obtain a current actual regulation result, including: based on the target power information indicated by the current regulation target, the interconnected device determines a target voltage parameter corresponding to the target power information based on the initial power flow relationship; and uses the target voltage parameter to control the interconnected lines to obtain the current actual regulation result.
[0016] Optionally, the initial power flow relationship is obtained based on fitting of a control matrix, the control matrix including multiple groups of voltage control parameters and corresponding power control results, and the initial power flow relationship is updated based on the current actual control result to obtain a target power flow relationship, including: based on the target voltage parameters and the current actual control result, the interconnected device updates the control matrix to obtain an updated control matrix; based on the updated control matrix, fits to obtain a fitting result; based on the fitting result, the interconnected device updates the initial power flow relationship to obtain the target power flow relationship.
[0017] According to another aspect of an embodiment of the present application, a power grid flow control method device is provided, including: a relationship determination module, which is used to use an interconnected device to adjust the interconnected lines in the power grid to determine the initial flow relationship between the test control parameter and the test control result, wherein the interconnected line is a line connected to other lines in the power grid through the interconnected device; a first control module, which is used to respond to the current regulation target issued to the interconnected device, and based on the initial flow relationship, the interconnected device controls the interconnected lines to obtain the current actual regulation result; a relationship update module, which is used to adopt the interconnected device to update the initial flow relationship based on the current actual regulation result to obtain the target flow relationship; a second control module, which is used to respond to the next regulation target issued to the interconnected device, and based on the target flow relationship, the interconnected device controls the interconnected lines to obtain a new actual regulation result.
[0018] Optionally, the relationship determination module includes: a first determination module, used to determine the type of control parameter used by the interconnected device to adjust the interconnected line; a voltage regulation module, used to, when the control parameter type is a voltage control type, use the interconnected device to perform voltage regulation on the interconnected line based on multiple sets of voltage control parameters included in the test control parameters, and obtain power regulation results corresponding to the multiple sets of voltage control parameters, wherein the test regulation results include the power regulation results; a first power flow relationship determination module, used to use the interconnected device to perform fitting based on the multiple sets of voltage control parameters and the corresponding power regulation results to obtain the initial power flow relationship.
[0019] Optionally, each group of voltage control parameters in the multiple groups of voltage control parameters is a conjugate vector, the conjugate vector includes a real part of voltage and an imaginary part of voltage, the power control result includes the active power and reactive power of the interconnected line, and the initial power flow relationship is fitted based on the relationship between the real part of voltage and the active power and the reactive power, and the relationship between the imaginary part of voltage and the active power and the reactive power.
[0020] Optionally, the relationship between the real part of the voltage and the active power and the reactive power is expressed in the following manner:
[0021]
[0022] The relationship between the imaginary part of the voltage and the active power and the reactive power is expressed in the following way:
[0023]
[0024] Among them, U cx represents the real part of the voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c represents the active power, Q c represents the reactive power, U N It represents the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter.
[0025] Optionally, the interconnection device has a current collection capability, and the apparatus further includes: a current collection module, used to use the interconnection device to collect current from the interconnection line to obtain a current current value at the current moment; a difference determination module, used to determine the current difference between the current current value and a previous current value, wherein the previous current value is the current value collected at the previous moment before the current moment; a second power flow relationship determination module, used to use the interconnection device to adjust the interconnection line when the current difference is greater than a predetermined current threshold, and determine a reset power flow relationship between a reset control parameter and a reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
[0026] Optionally, the first regulation module includes: a second determination module, which is used to determine the target voltage parameters corresponding to the target power information based on the target power information indicated by the current regulation target, and the target voltage parameters corresponding to the target power information are determined by the interconnected device based on the initial power flow relationship; and a control execution module, which is used to control the interconnected lines using the target voltage parameters to obtain the current actual regulation result.
[0027] Optionally, the initial power flow relationship is obtained based on fitting of a control matrix, wherein the control matrix includes multiple groups of voltage control parameters and corresponding power control results, and the second control module includes: a first update module, which is used to update the control matrix by the interconnected device based on the target voltage parameters and the current actual control results to obtain an updated control matrix; a fitting module, which is used to fit based on the updated control matrix to obtain a fitting result; and a second update module, which is used to update the initial power flow relationship by the interconnected device based on the fitting result to obtain the target power flow relationship.
[0028] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the power grid power flow control methods.
[0029] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the power grid flow control methods described.
[0030] In the embodiment of the present application, a power grid flow control method is adopted, and the interconnected lines in the power grid are adjusted by using an interconnected device to determine the initial flow relationship between the test control parameters and the test control results, wherein the interconnected lines are lines connected to other lines in the power grid through the interconnected devices; in response to the current adjustment target issued to the interconnected device, based on the initial flow relationship, the interconnected device controls the interconnected lines to obtain the current actual adjustment result; using the interconnected device, based on the current actual adjustment result, the initial flow relationship is updated to obtain the target flow relationship; in response to the next adjustment target issued to the interconnected device, based on the target flow relationship, the interconnected device controls the interconnected lines to obtain a new actual adjustment result. The purpose of local automatic flow regulation of the distribution network interconnection is achieved, and the technical effect of controlling the power grid flow locally by the device is achieved, thereby solving the technical problem of the inability to realize the power grid flow control locally in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0032] Figure 1 is a flow chart of an optional power grid power flow control method provided according to an embodiment of the present application;
[0033] Figure 2 is a first schematic diagram of an optional power grid power flow control method provided according to an embodiment of the present application;
[0034] Figure 3 is a second schematic diagram of an optional power grid power flow control method provided according to an embodiment of the present application;
[0035] Figure 4 It is a schematic diagram of an optional power grid flow control device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0038] An embodiment of the present application provides an embodiment of a method for power grid flow control. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0039] Figure 1 is a flow chart of an optional power grid flow control method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0040] Step S102, using the interconnection device to adjust the interconnection lines in the power grid to determine the initial power flow relationship between the test control parameters and the test regulation results, wherein the interconnection lines are lines connected to other lines in the power grid through the interconnection device.
[0041] It can be understood that by utilizing interconnected devices, the lines connected to the power grid through the interconnected devices are adjusted to determine the test control parameters and the test regulation results. Based on the test control parameters and the test regulation results, the initial power flow relationship between the two is obtained, thereby achieving precise control of the power flow in the power grid lines.
[0042] Optionally, the above interconnection equipment may be a flexible interconnection device in a flexible interconnection distribution network.
[0043] In an optional embodiment, an interconnection device is used to adjust the interconnection lines in the power grid to determine the initial power flow relationship between the test control parameters and the test regulation results, including: determining the control parameter type for adjusting the interconnection lines by the interconnection device; when the control parameter type is a voltage control type, based on multiple groups of voltage control parameters included in the test control parameters, using the interconnection device to perform voltage regulation on the interconnection lines to obtain power regulation results corresponding to the multiple groups of voltage control parameters, wherein the test regulation results include power regulation results; based on the multiple groups of voltage control parameters and the corresponding power regulation results, using the interconnection device for fitting to obtain the initial power flow relationship.
[0044] It can be understood that the parameter type of the interconnected device to adjust the interconnected line is determined. When the control parameter type is the voltage control type, the corresponding adjustment capability between the voltage parameter and the power parameter is determined. The interconnected device is used to fine-tune the voltage of the interconnected line to obtain the power control results corresponding to multiple sets of voltage control parameters. Based on multiple sets of voltage control parameters and the corresponding power control results, the interconnected device is used for fitting to obtain the initial power flow relationship, which is based on the initial power flow relationship obtained from the test data. It provides data support for the management and planning of the power grid, which is convenient for subsequent iterative optimization.
[0045] Optionally, the above-mentioned flexible interconnected distribution network equivalent circuit containing interconnected devices may be of various types, for example, Figure 2 is a first schematic diagram of an optional power grid power flow control method provided according to an embodiment of the present application, such as Figure 2 As shown, by fine-tuning the interconnected line voltage difference, the line fixed parameters, that is, multiple groups of voltage control parameters, are obtained, thereby determining the relationship curve between the regulated voltage and the regulated power. Represent the left and right power supply voltage vectors respectively, Represents the load power of each node, I1 to I n Represents the load current of each node, Z1-Z n represents the line impedance between nodes, Indicates the adjustment power of the series adjustable voltage source, Indicates the adjustment voltage of the adjustable voltage source. represents the current flowing through the adjustable voltage source, Figure 2 The * represents the conjugate complex number.
[0046] By adjusting The power flow distribution of the network can be adjusted. Since the voltage drop of the distribution line is small, the load node voltage has little effect on the power. Therefore, it is assumed that the voltage at each load branch is U N , then adjust the voltage With adjustable power The quantitative relationship between them is as follows:
[0047]
[0048] The power regulation mainly consists of four parts. When the line load, impedance and voltage phase difference at both ends are fixed values, the first three parts are fixed values, while the fourth part is determined by the conjugate phase of the regulated voltage.
[0049]
[0050] Among them: a is the real part of the first three parts of the mathematical expression (0-1), b is the imaginary part of the first three parts of the mathematical expression (0-1), and j is the imaginary unit.
[0051] Will adjust the power With regulated voltage And line impedance The complex mathematical expression of is as follows:
[0052]
[0053] Among them: U cx express The real part of U cy express The imaginary part size, P c Indicates the active power of the regulated power, Q c Indicates the reactive power of the regulated power, R k Indicates the size of the line resistance, X k Indicates the size of the line reactance.
[0054] Substituting the mathematical expression (0-3) into (0-2) yields the complex form of the quantitative relationship between the regulated voltage and the regulated power:
[0055]
[0056] in,
[0057]
[0058] Assuming the resistance Reactance but:
[0059]
[0060] From the mathematical expression (0-6), it can be seen that when the line load, impedance and voltage phase difference at both ends are fixed values, the active power and reactive power passing through the interconnected lines are only related to U cx and U cy related.
[0061] During the operation of the distribution line, the line impedance is a fixed parameter, and the line load and the voltage at both ends can be regarded as fixed parameters in a short time. Therefore, from the mathematical expression (0-6), it can be seen that by fine-tuning the voltage multiple times and measuring the corresponding regulated power active power and reactive power, the a, b, R, and X in the mathematical expression can be reversed. Assuming that the calculation results are a1, b1, R1, and X1 respectively, the fixed relationship between the regulated voltage and the regulated power is:
[0062]
[0063] Alternatively, the functional relationship between adjusting active power, adjusting reactive power and adjusting voltage can be fitted through multiple measurement results.
[0064]
[0065] In an optional embodiment, each set of voltage control parameters in the multiple sets of voltage control parameters is a conjugate vector, which includes the real part of the voltage and the imaginary part of the voltage. The power control result includes the active power and reactive power of the interconnected lines. The initial power flow relationship is fitted based on the relationship between the real part of the voltage and the active power and reactive power, and the relationship between the imaginary part of the voltage and the active power and reactive power.
[0066] It can be understood that each set of voltage control parameters in the multiple sets of voltage control parameters is a conjugate vector, which includes the real part of the voltage and the imaginary part of the voltage. The power control result includes the active power and reactive power of the interconnected lines. Based on the relationship between the real part of the voltage and the active power and reactive power, and the relationship between the imaginary part of the voltage and the active power and reactive power, fitting is performed to obtain the initial power flow relationship, thereby achieving accurate power control and comprehensively analyzing the impact of voltage on power in the power grid.
[0067] In an optional embodiment, the relationship between the real part of the voltage and the active power and reactive power is expressed in the following manner:
[0068]
[0069] The relationship between the imaginary part of voltage and active and reactive power is expressed as follows:
[0070]
[0071] Among them, U cx represents the real part of voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c Indicates active power, Q c Represents reactive power, U NIndicates the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter. The above formulas (0-9-1) and (0-9-2) can be combined to obtain (0-9)
[0072] It can be understood that according to the fixed relationship (0-7) between the regulated voltage and the regulated power determined in the previous step, the relationship between the regulated voltage and the regulated power, that is, the relationship between the real part of the voltage or the imaginary part of the voltage and the active power and reactive power, is obtained, which helps to deeply understand the relationship between voltage and power.
[0073] Optionally, the flexible interconnection device, i.e., the interconnection device, can receive power adjustment instructions issued by the superior dispatching system during operation. 1 c and reactive power target value Q 1 c After that, the regulated voltage output by the flexible interconnection device can be calculated. and After the flexible interconnection device adjusts the output voltage according to the above-mentioned adjustment voltage value, the actual active power value P flowing through the flexible interconnection device is recorded. 2 c And reactive power value Q 2 c .
[0074] Optionally, the flexible interconnection device has the functions of voltage and current collection and active power and reactive power calculation, so each time the voltage U is changed cx and U cy , the corresponding regulated power and active power P can be measured c and adjust the reactive power Q c .
[0075] Step S104, in response to the current regulation target issued to the interconnected device, based on the initial power flow relationship, the interconnected device controls the interconnected lines to obtain the current actual regulation result.
[0076] It can be understood that the interconnected devices send the current regulation target, and based on the current regulation target and the initial power flow relationship, the interconnected devices are used to control the interconnected lines to obtain the current actual regulation results, avoiding lengthy calculation processes and saving regulation time and resources.
[0077] In an optional embodiment, based on the initial power flow relationship, the interconnected device controls the interconnected lines to obtain the current actual regulation result, including: based on the target power information indicated by the current regulation target, the interconnected device determines the target voltage parameters corresponding to the target power information based on the initial power flow relationship; and uses the target voltage parameters to control the interconnected lines to obtain the current actual regulation result.
[0078] It can be understood that based on the target power information indicated by the current regulation target, the interconnected device determines the target voltage parameter corresponding to the target power information according to the initial power flow relationship, and uses the interconnected device to control the interconnected line to obtain the current actual regulation result. The required target voltage parameter is quickly calculated according to the target power information, realizing the accurate calculation of the regulation result.
[0079] In an optional embodiment, the initial power flow relationship is obtained based on fitting of a control matrix, the control matrix includes multiple groups of voltage control parameters and corresponding power control results, and the initial power flow relationship is updated based on the current actual control results to obtain a target power flow relationship, including: based on the target voltage parameters and the current actual control results, the interconnected device updates the control matrix to obtain an updated control matrix; based on the updated control matrix, fitting is performed to obtain a fitting result; based on the fitting result, the interconnected device updates the initial power flow relationship to obtain a target power flow relationship.
[0080] It can be understood that the control matrix is fitted to obtain the initial power flow relationship, and the control matrix includes multiple sets of voltage control parameters and corresponding power control results. Based on the target voltage parameters and the current actual control results, the interconnected device updates the control matrix to obtain an updated control matrix, fits the updated control matrix to obtain the fitting result, and based on the fitting result, updates the initial power flow relationship to obtain the target power flow relationship. By continuously updating the fitted control matrix, the control result is made more accurate and the control error is reduced.
[0081] Optionally, the above-mentioned control methods may be multiple, for example, there is no obvious parameter adjustment in the system: the line load, impedance and the voltage phase difference at both ends are fixed values.
[0082] Record the adjustment voltage matrix U of the flexible interconnection device for multiple adjustments cx , U cy and adjust the actual value of active power P c , Actual value of reactive power Q c , in the vector, different results of multiple adjustments are indicated by subscripts 1 to n.
[0083]
[0084] According to the mathematical expression 0-9, when there is no obvious parameter adjustment in the system, that is, the line load, impedance and the voltage phase difference at both ends are fixed values, U cx , U cy are respectively related to the two variables P c , Q c Linear variation.
[0085] Optionally, the above fitting methods can be multiple, such as multiple linear regression algorithm, polynomial fitting, nonlinear least squares method, etc. The multiple linear regression algorithm is used below to determine the functional relationship curve (i.e., initial power flow relationship) between regulating active power, regulating reactive power and regulating voltage.
[0086] Select U cx , U cy With P c , Q c The regression model is:
[0087]
[0088] The following expression can be obtained:
[0089]
[0090]
[0091] Substituting the mathematical expression 0-11, we get (α0, α1, α2) T 、(β0,β1,β2) T The maximum likelihood estimate of Among them, α0, α1, α2, β0, β1, β2 are the correlation coefficients in the maximum likelihood estimation. are the correlation coefficients in the maximum likelihood estimation when performing the minimum mean square error. The random variable ε indicates that it has a mean of 0 and a variance of σ 2 The normal distribution of the random variable η is 0 and the variance is δ 2 The normal distribution of .
[0092]
[0093] Then we can find U cx , U cy With P c , Q c The binary linear regression equation is:
[0094]
[0095] Mathematical expression 0-16 is U cx , U cy With P c , Q c Relational equation.
[0096] After each adjustment, record the adjusted voltage and adjusted power values, add them to the adjusted voltage matrix and adjusted power matrix, and continue to optimize U according to the above process. cx , U cy With Pc , Q c Relational equation.
[0097] Step S106, using interconnected devices, based on the current actual control results, the initial power flow relationship is updated to obtain the target power flow relationship.
[0098] It can be understood that by using interconnected devices, the initial flow relationship is updated based on the current actual control results to obtain the target flow relationship, and the target flow relationship is determined by the current actual control results, thereby improving the accuracy of the control.
[0099] Step S108, in response to the next regulation target sent to the interconnected device, based on the target power flow relationship, the interconnected device controls the interconnected lines to obtain a new actual regulation result.
[0100] It can be understood that after receiving the next regulation target for the interconnected device, the interconnected line is controlled by the interconnected device according to the target power flow relationship to obtain a new actual regulation result, thereby improving the effectiveness and accuracy of the regulation measures.
[0101] In an optional embodiment, the interconnected device has a current collection capability, and the method further includes: using the interconnected device to collect current from the interconnected lines to obtain a current current value at the current moment; determining a current difference between the current current value and a previous current value, wherein the previous current value is a current value collected at the previous moment before the current moment; when the current difference is greater than a predetermined current threshold, using the interconnected device to adjust the interconnected lines to determine a reset power flow relationship between a reset control parameter and a reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
[0102] It can be understood that when the interconnected device has the ability to collect current, the interconnected device is used to collect current from the interconnected lines to obtain the current value, and the current difference between the current value and the current value at the previous moment is calculated. When the current difference is greater than the predetermined current threshold, the interconnected device is used to adjust the interconnected lines to determine the reset power flow relationship between the reset control parameters and the reset control results, wherein the reset power flow relationship is used to replace the initial power flow relationship. By adjusting the power flow relationship, the impact of current mutations on the accuracy of power flow calculation is reduced.
[0103] Optionally, the above-mentioned way of adjusting the power flow relationship can be multiple, for example, when there are large changes in system parameters: line load, impedance and voltage phasor difference at both ends. When system parameters such as line load, impedance and voltage phasor difference at both ends change, U cx , U cy With P c , Q cThe equation will inevitably change, and the historical data of the regulated voltage and regulated power recorded by the device will no longer have reference value, and it is necessary to re-iterate and calculate U cx , U cy With P c , Q c Relational equation.
[0104] When the regulated voltage of the flexible interconnection device (i.e. the interconnection device mentioned above) remains unchanged, if the system parameters remain unchanged, the regulated power will basically not change. When the system parameters change, the flexible interconnection device can collect the interconnection current I on site. c (such as the current value collected) mutation, therefore, the interconnection current mutation amount △I c Is the current difference greater than the set value I set (i.e., the predetermined current threshold) is used as the criterion to determine whether it is necessary to re-iterate the calculation of U cx , U cy With P c , Q c Relational equation.
[0105] △I c ≥I set When the system parameters are determined to have changed, U cx , U cy With P c , Q c The historical data is no longer of reference value for iterative calculations.
[0106] The flexible interconnection device needs to record the U cx , U cy With P c , Q c Data, and adjust the voltage several times, each time according to U cx , U cy The minimum adjustment step is to gradually increase or decrease the adjustment voltage. Record the new adjustment voltage and adjustment power data matrix. According to the above method, the new U′ is obtained. cx , U′ cy and P′ c , Q′ c The binary linear regression equation is . The regulated voltage and regulated power values of each subsequent regulation are added to the regulated voltage matrix and the regulated power matrix, and U is optimized according to the above process. cx , U cy With P c , Q c relationship equation, and perform actual adjustment control based on the new relationship equation and parameters.
[0107]
[0108] Through the above step S102, the interconnected device is used to adjust the interconnected lines in the power grid to determine the initial power flow relationship between the test control parameters and the test regulation results, wherein the interconnected lines are lines connected to other lines in the power grid through the interconnected device; step S104, in response to the current regulation target issued to the interconnected device, based on the initial power flow relationship, the interconnected device controls the interconnected lines to obtain the current actual regulation result; step S106, using the interconnected device, based on the current actual regulation result, the initial power flow relationship is updated to obtain the target power flow relationship; step S108, in response to the next regulation target issued to the interconnected device, based on the target power flow relationship, the interconnected device controls the interconnected lines to obtain a new actual regulation result, which can achieve the purpose of local automatic power flow regulation of the distribution network interconnection, and achieve the technical effect of locally controlling the power grid power flow through the device, thereby solving the technical problem that the power grid power flow control cannot be realized locally in the related technology.
[0109] Based on the above embodiments and optional embodiments, the present application proposes an optional implementation method. During the operation of the distribution line, the line impedance is a fixed parameter, and the line load and the voltage at both ends can be regarded as fixed parameters in a short time. Therefore, from the mathematical expression (0-6), it can be seen that by fine-tuning the regulated voltage multiple times and measuring the corresponding regulated power active power and reactive power, the a, b, R, and X in the mathematical expression can be reversed. Assuming that the calculation results are a1, b1, R1, and X1 respectively, the fixed relationship between the regulated voltage and the regulated power is:
[0110]
[0111] Alternatively, the functional relationship between adjusting active power, adjusting reactive power and adjusting voltage can be fitted through multiple measurement results.
[0112]
[0113] Adjust the interconnection line flow according to the targets issued by the dispatcher;
[0114] According to the fixed relationship between the regulated voltage and the regulated power (0-7) determined in the previous step, the relationship between the regulated voltage and the regulated power is as follows:
[0115]
[0116] It can accept the power adjustment command issued by the superior dispatching system. 1 c and reactive power target value Q 1 c After that, the regulated voltage output by the flexible interconnection device can be calculated. and After the flexible interconnection device adjusts the output voltage according to the above-mentioned adjustment voltage value, the actual active power value P flowing through the flexible interconnection device is recorded. 2 c And reactive power value Q 2 c .
[0117] The voltage and active and reactive parameter curves or line fixed parameters are corrected according to the results of multiple adjustments. There are two cases: Case 1: There is no obvious parameter adjustment in the system: the line load, impedance and the voltage phase difference at both ends are fixed values.
[0118] Record the adjustment voltage matrix U of the flexible interconnection device for multiple adjustments cx , U cy and adjust the actual value of active power P c , Actual value of reactive power Q c .
[0119]
[0120] According to formula 0-9, when there is no obvious parameter adjustment in the system, that is, the line load, impedance and the voltage phase difference between the two ends are fixed values, U cx , U cy are respectively related to the two variables P c , Q c Linear variation.
[0121] The multivariate linear regression algorithm is used as an example to illustrate the optimization process of the functional relationship curve between regulating active power, regulating reactive power and regulating voltage.
[0122] Select U cx , U cy With P c , Q c The regression model is:
[0123]
[0124] The following expression can be obtained:
[0125]
[0126] Substituting the mathematical expression 0-11, we get (α0, α1, α2) T 、(β0,β1,β2) T The maximum likelihood estimate of Among them, α0, α1, α2, β0, β1, β2 are the correlation coefficients in the maximum likelihood estimation. They are respectively the correlation coefficients in the maximum likelihood estimation obtained when performing the minimum mean square error.
[0127]
[0128] Then we can find U cx , U cy With P c , Q c The binary linear regression equation is:
[0129]
[0130] Mathematical expression (0-16) is U cx , U cy With P c , Q c Relational equation.
[0131] After each adjustment, record the adjusted voltage and adjusted power values, add them to the adjusted voltage matrix and adjusted power matrix, and continue to optimize U according to the above process. cx , U cy With P c , Q c Relational equation.
[0132] Case 2: There are large changes in system parameters: line load, impedance, and voltage phase difference at both ends. When system parameters such as line load, impedance, and voltage phase difference at both ends change, U cx , U cy With P c , Q c The equation will inevitably change, and the historical data of the regulated voltage and regulated power recorded by the device will no longer have reference value, and it is necessary to re-iterate and calculate U cx , U cy With P c , Q c Relational equation.
[0133] When the regulated voltage of the flexible interconnection device (i.e. the interconnection device mentioned above) remains unchanged, if the system parameters remain unchanged, the regulated power will basically not change. When the system parameters change, the flexible interconnection device can collect the interconnection current I on site. c (such as the current value collected) mutation, therefore, the interconnection current mutation amount △I c Is the current difference greater than the set value I set (i.e., the predetermined current threshold) is used as the criterion to determine whether it is necessary to re-iterate the calculation of U cx , U cy With P c , Q c Relational equation.
[0134] △I c ≥I set When the system parameters are determined to have changed, Ucx , U cy With P c , Q c The historical data is no longer of reference value for iterative calculations.
[0135] The flexible interconnection device needs to record the U cx , U cy With P c , Q c Data, and adjust the voltage several times, each time according to U cx , U cy The minimum adjustment step is to gradually increase or decrease the adjustment voltage. Record the new adjustment voltage and adjustment power data matrix. According to the above method, the new U′ is obtained. cx , U′ cy and P′ c , Q′ c The binary linear regression equation is . The regulated voltage and regulated power values of each subsequent regulation are added to the regulated voltage matrix and the regulated power matrix, and U is optimized according to the above process. cx , U cy With P c , Q c relationship equation, and perform actual adjustment control based on the new relationship equation and parameters.
[0136]
[0137] Figure 3 This is a second schematic diagram of an optional power grid flow control method provided in an embodiment of the present application. The present application has been used on site to interconnect two 10kV outgoing lines of the same busbar of a substation, and set three working conditions to test the flow controller. The test results are as follows: Figure 3 As shown, the active and reactive power flow regulated by the interconnection device changes linearly with the regulated voltage. According to the active power flow and the regulated voltage data, the characteristic curve of the active power of the interconnection line changing with the regulated voltage can be calculated, and the output parameter (regulated voltage) of the interconnection device can be controlled according to the characteristic curve. According to the reactive power flow and the regulated voltage data, the characteristic curve of the reactive power of the interconnection line changing with the regulated voltage can be calculated, and the output parameter (regulated voltage) of the interconnection device can be controlled according to the characteristic curve. Through the above illustration, it can be determined that the method provided in the embodiment of the present application is feasible to perform local power regulation.
[0138] The above optional implementations achieve at least the following effects: The embodiment of the present application provides a method for local automatic power flow regulation of distribution network interconnection applicable to flexible interconnection devices. The method does not rely on external communication. By fine-tuning the output of the flexible interconnection device, the line power change is measured locally, the system parameters of the interconnected distribution network are determined, and the distribution network interconnection power flow regulation characteristic curve is obtained. The system parameter collection and steady-state analysis and calculation links in the prior art are simplified, the dependence of the power flow regulation of the interconnection device on the main operation station is reduced, and the local automatic link of the distribution network interconnection power flow is realized. It is also applicable to complex distribution networks with unclear system parameters, and has strong practicality and scalability.
[0139] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0140] In this embodiment, a power grid flow control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "module" and "device" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0141] According to an embodiment of the present application, there is also provided an embodiment of a device for implementing a power grid power flow control method. Figure 4 is a schematic diagram of a power grid flow control device according to an embodiment of the present application, such as Figure 4 As shown, the above-mentioned power grid flow control device includes a relationship determination module 402, a first control module 404, a relationship update module 406, and a second control module 408. The device is described below.
[0142] The relationship determination module 402 is used to use the interconnection device to adjust the interconnection line in the power grid to determine the initial power flow relationship between the test control parameter and the test regulation result, wherein the interconnection line is a line connected to other lines in the power grid through the interconnection device;
[0143] The first control module 404 is connected to the relationship determination module 402, and is used to respond to the current regulation target issued to the interconnected device, and based on the initial power flow relationship, the interconnected device controls the interconnected line to obtain the current actual regulation result;
[0144] The relationship updating module 406 is used to update the initial power flow relationship based on the current actual control result by using the interconnected device to obtain the target power flow relationship;
[0145] The second control module 408 is connected to the relationship update module 406, and is used to respond to the next adjustment target issued to the interconnected device, and based on the target power flow relationship, the interconnected device controls the interconnected line to obtain a new actual control result.
[0146] In a power grid flow control device provided by an embodiment of the present application, a relationship determination module is set up to use interconnected devices to adjust the interconnected lines in the power grid and determine the initial flow relationship between the test control parameters and the test control results, wherein the interconnected lines are lines connected to other lines in the power grid through interconnected devices; a first control module is used to respond to the current adjustment target issued to the interconnected devices, and based on the initial flow relationship, the interconnected devices control the interconnected lines to obtain the current actual control result; a relationship update module is used to use the interconnected devices to update the initial flow relationship based on the current actual control result to obtain the target flow relationship; a second control module is used to respond to the next adjustment target issued to the interconnected devices, and based on the target flow relationship, the interconnected devices control the interconnected lines to obtain a new actual control result. The purpose of local automatic flow regulation of the distribution network interconnection is achieved, and the technical effect of controlling the power grid flow locally through the device is achieved, thereby solving the technical problem of the inability to realize the power grid flow control locally in the related technology.
[0147] In an optional embodiment, the relationship determination module includes: a first determination module, used to determine the type of control parameter used by the interconnected device to adjust the interconnected line; a voltage regulation module, used to, when the control parameter type is a voltage control type, use the interconnected device to perform voltage regulation on the interconnected line based on multiple sets of voltage control parameters included in the test control parameters, and obtain power regulation results corresponding to the multiple sets of voltage control parameters, wherein the test regulation results include power regulation results; a first power flow relationship determination module, used to use the interconnected device to perform fitting based on the multiple sets of voltage control parameters and the corresponding power regulation results to obtain an initial power flow relationship.
[0148] In an optional embodiment, each set of voltage control parameters in the multiple sets of voltage control parameters is a conjugate vector, which includes the real part of the voltage and the imaginary part of the voltage. The power control result includes the active power and reactive power of the interconnected lines. The initial power flow relationship is fitted based on the relationship between the real part of the voltage and the active power and reactive power, and the relationship between the imaginary part of the voltage and the active power and reactive power.
[0149] In an optional embodiment, the relationship between the real part of the voltage and the active power and reactive power is expressed in the following manner:
[0150]
[0151] The relationship between the imaginary part of voltage and active and reactive power is expressed as follows:
[0152]
[0153] Among them, U cx represents the real part of voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c Indicates active power, Q c Represents reactive power, U N It represents the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter.
[0154] In an optional embodiment, the interconnected device has a current collection capability, and the apparatus further includes: a current collection module, used to use the interconnected device to collect current from the interconnected line to obtain a current current value at the current moment; a difference determination module, used to determine the current difference between the current current value and the previous current value, wherein the previous current value is the current value collected at the previous moment before the current moment; a second power flow relationship determination module, used to use the interconnected device to adjust the interconnected line when the current difference is greater than a predetermined current threshold, and determine a reset power flow relationship between the reset control parameter and the reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
[0155] In an optional embodiment, the first regulation module includes: a second determination module, which is used to determine the target voltage parameters corresponding to the target power information based on the target power information indicated by the current regulation target, and the interconnected device determines the target voltage parameters corresponding to the target power information based on the initial power flow relationship; and a control execution module, which is used to control the interconnected lines using the target voltage parameters to obtain the current actual regulation result.
[0156] In an optional embodiment, the initial power flow relationship is obtained based on fitting of a control matrix, where the control matrix includes multiple groups of voltage control parameters and corresponding power control results. The second control module includes: a first update module, which is used to update the control matrix by the interconnected device based on the target voltage parameters and the current actual control results to obtain an updated control matrix; a fitting module, which is used to fit based on the updated control matrix to obtain a fitting result; and a second update module, which is used to update the initial power flow relationship by the interconnected device based on the fitting result to obtain a target power flow relationship.
[0157] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0158] It should be noted that the above-mentioned relationship determination module 402, the first regulation module 404, the relationship update module 406, and the second regulation module 408 correspond to steps S102 to S108 in the embodiment, and the examples and application scenarios implemented by the above-mentioned modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment. It should be noted that the above-mentioned modules can be run in a computer terminal as part of the device.
[0159] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0160] The above-mentioned power grid flow control device may also include a processor and a memory. The relationship determination module 402, the first control module 404, the relationship update module 406, the second control module 408, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0161] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0162] An embodiment of the present application provides a non-volatile storage medium on which a program is stored, and when the program is executed by a processor, a method for controlling power flow in a power grid is implemented.
[0163] The embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, the following steps are implemented: using an interconnected device to adjust the interconnected lines in the power grid, and determine the initial flow relationship between the test control parameters and the test regulation results, wherein the interconnected line is a line connected to other lines in the power grid through the interconnected device; in response to the current regulation target issued to the interconnected device, based on the initial flow relationship, the interconnected device controls the interconnected line to obtain the current actual regulation result; using the interconnected device, based on the current actual regulation result, the initial flow relationship is updated to obtain the target flow relationship; in response to the next regulation target issued to the interconnected device, based on the target flow relationship, the interconnected device controls the interconnected line to obtain a new actual regulation result. The device in this article can be a server, a PC, etc.
[0164] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: using an interconnected device to adjust the interconnected lines in the power grid to determine the initial power flow relationship between the test control parameters and the test regulation results, wherein the interconnected lines are lines connected to other lines in the power grid through the interconnected device; in response to the current regulation target issued to the interconnected device, based on the initial power flow relationship, the interconnected device controls the interconnected lines to obtain the current actual regulation result; using the interconnected device, based on the current actual regulation result, the initial power flow relationship is updated to obtain the target power flow relationship; in response to the next regulation target issued to the interconnected device, based on the target power flow relationship, the interconnected device controls the interconnected lines to obtain a new actual regulation result.
[0165] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0166] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0167] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0169] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0170] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0171] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0172] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0173] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0174] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for controlling power flow in a power grid, characterized in that: include: Using an interconnection device to adjust an interconnection line in the power grid to determine an initial power flow relationship between a test control parameter and a test regulation result, wherein the interconnection line is a line connected to other lines in the power grid through the interconnection device; In response to the current regulation target sent to the interconnected device, the interconnected device controls the interconnected line based on the initial power flow relationship to obtain a current actual regulation result; Using the interconnected device, based on the current actual control result, the initial power flow relationship is updated to obtain a target power flow relationship; In response to the next regulation target sent to the interconnected device, based on the target power flow relationship, the interconnected device controls the interconnected line to obtain a new actual regulation result.
2. The method according to claim 1, characterized in that The method of using interconnection equipment to adjust interconnection lines in the power grid and determining an initial power flow relationship between a test control parameter and a test regulation result includes: Determining a control parameter type for adjusting the interconnection line by the interconnection device; In the case where the control parameter type is a voltage control type, based on the multiple groups of voltage control parameters included in the test control parameters, the interconnection device is used to perform voltage regulation on the interconnection line to obtain power regulation results corresponding to the multiple groups of voltage control parameters, wherein the test regulation result includes the power regulation result; Based on the multiple groups of voltage control parameters and the corresponding power regulation results, the interconnected device is used for fitting to obtain the initial power flow relationship.
3. The method according to claim 2, characterized in that Each group of voltage control parameters in the multiple groups of voltage control parameters is a conjugate vector, and the conjugate vector includes a real part of voltage and an imaginary part of voltage. The power control result includes the active power and reactive power of the interconnected line. The initial power flow relationship is obtained by fitting based on the relationship between the real part of voltage and the active power and the reactive power, and the relationship between the imaginary part of voltage and the active power and the reactive power.
4. The method according to claim 3, characterized in that The relationship between the real part of the voltage and the active power and the reactive power is expressed in the following way: The relationship between the imaginary part of the voltage and the active power and the reactive power is expressed in the following way: Among them, U cx represents the real part of the voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c represents the active power, Q c represents the reactive power, U N It represents the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter.
5. The method according to claim 1, characterized in that The interconnected device has a current collection capability, and the method further includes: The interconnection device is used to collect current from the interconnection line to obtain a current current value at the current moment; Determine a current difference between the current value and a previous current value, wherein the previous current value is a current value collected at a previous moment before the current moment; When the current difference is greater than a predetermined current threshold, the interconnection device is used to adjust the interconnection line to determine a reset power flow relationship between a reset control parameter and a reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
6. The method according to any one of claims 1 to 5, characterized in that Based on the initial power flow relationship, the interconnected device controls the interconnected line to obtain a current actual regulation result, including: Based on the target power information indicated by the current regulation target, the interconnected device determines a target voltage parameter corresponding to the target power information based on the initial power flow relationship; The target voltage parameter is used to control the interconnection line to obtain the current actual regulation result.
7. The method according to claim 6, characterized in that The initial power flow relationship is obtained based on the fitting of the control matrix, wherein the control matrix includes multiple groups of voltage control parameters and corresponding power control results. The initial power flow relationship is updated based on the current actual control result to obtain the target power flow relationship, including: Based on the target voltage parameter and the current actual control result, the interconnected device updates the control matrix to obtain an updated control matrix; Perform fitting based on the updated control matrix to obtain a fitting result; Based on the fitting result, the interconnected device updates the initial power flow relationship to obtain the target power flow relationship.
8. A power grid flow control device, characterized in that: include: A relationship determination module, used to use an interconnection device to adjust an interconnection line in the power grid to determine an initial power flow relationship between a test control parameter and a test regulation result, wherein the interconnection line is a line connected to other lines in the power grid through an interconnection device; A first control module, configured to respond to a current regulation target issued to the interconnected device, and based on the initial power flow relationship, control the interconnected line by the interconnected device to obtain a current actual regulation result; A relationship updating module, configured to use the interconnected device to update the initial power flow relationship based on the current actual control result to obtain a target power flow relationship; The second control module is used to respond to the next adjustment target sent to the interconnected device, and based on the target power flow relationship, the interconnected device controls the interconnected line to obtain a new actual control result.
9. The device according to claim 8, characterized in that The relationship determination module includes: A first determination module, configured to determine a control parameter type used by the interconnection device to adjust the interconnection line; a voltage regulation module, configured to, when the control parameter type is a voltage control type, use the interconnection device to perform voltage regulation on the interconnection line based on multiple groups of voltage control parameters included in the test control parameters, and obtain power regulation results corresponding to the multiple groups of voltage control parameters respectively, wherein the test regulation result includes the power regulation result; The first power flow relationship determination module is used to obtain the initial power flow relationship by fitting with the interconnected device based on the multiple groups of voltage control parameters and the corresponding power regulation results.
10. The device according to claim 9, characterized in that Each group of voltage control parameters in the multiple groups of voltage control parameters is a conjugate vector, and the conjugate vector includes a real part of voltage and an imaginary part of voltage. The power control result includes the active power and reactive power of the interconnected line. The initial power flow relationship is obtained by fitting based on the relationship between the real part of voltage and the active power and the reactive power, and the relationship between the imaginary part of voltage and the active power and the reactive power.
11. The device according to claim 10, characterized in that The relationship between the real part of the voltage and the active power and the reactive power is expressed in the following way: The relationship between the imaginary part of the voltage and the active power and the reactive power is expressed in the following way: Among them, U cx represents the real part of the voltage, U cy represents the imaginary part of the voltage, X1 represents the reactance value of the interconnection line, R1 represents the resistance value of the interconnection line, P c represents the active power, Q c represents the reactive power, U N It represents the voltage value at the load branch, a1 is the relevant real part parameter, and b1 is the relevant imaginary part parameter.
12. The device according to claim 8, characterized in that The interconnection device has a current collection capability, and the device further comprises: A current acquisition module, used to acquire current from the interconnected line using the interconnected device to obtain a current current value at the current moment; A difference determination module, used to determine a current difference between the current value and a previous current value, wherein the previous current value is a current value collected at a previous moment before the current moment; The second power flow relationship determination module is used to use the interconnection device to adjust the interconnection line when the current difference is greater than a predetermined current threshold, and determine the reset power flow relationship between the reset control parameter and the reset regulation result, wherein the reset power flow relationship is used to replace the initial power flow relationship.
13. The device according to any one of claims 8 to 12, characterized in that The first control module comprises: A second determination module is configured to determine, based on the target power information indicated by the current regulation target, a target voltage parameter corresponding to the target power information by the interconnected device based on the initial power flow relationship; A control execution module is used to control the interconnection line by adopting the target voltage parameter to obtain the current actual regulation result.
14. The device according to claim 13, characterized in that The initial power flow relationship is obtained based on the fitting of the control matrix, wherein the control matrix includes multiple groups of voltage control parameters and corresponding power control results, and the second control module includes: A first updating module, configured to update the control matrix by the interconnected device based on the target voltage parameter and the current actual control result to obtain an updated control matrix; A fitting module, used for performing fitting based on the updated control matrix to obtain a fitting result; The second updating module is used to update the initial power flow relationship by the interconnected device based on the fitting result to obtain the target power flow relationship.
15. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the power grid power flow control method described in any one of claims 1 to 7.
16. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the power grid flow control method described in any one of claims 1 to 7.
