Equipment control method and system for dynamic reactive power compensation based on instruction coding

By generating a compensation range matrix and combining the current output instructions of the power equipment for reactive compensation, the problems of large voltage fluctuations and high grid loss in the AVC system are solved, and dynamic compensation and reduction of grid loss are achieved.

CN118589527BActive Publication Date: 2025-05-16FOSHAN GUYUXUAN BRAND MANAGEMENT CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410692419.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2025-05-16
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

The existing AVC systems have large voltage fluctuations in the grid voltage reactive regulation, resulting in large grid losses.

Method used

By generating a compensation range matrix based on the admission matrix and the preset reactive compensation parameter fluctuation range, and combining the current output instructions of each power device, reactive compensation is performed on each power device, thereby achieving dynamic compensation.

Benefits of technology

Reduce the impact of voltage fluctuations during reactive compensation and reduce grid loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118589527B_ABST
    Figure CN118589527B_ABST
Patent Text Reader

Abstract

The present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and in combination with the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electric power equipment, and in particular, to a method and system for controlling equipment of dynamic reactive power compensation based on instruction coding. Background Art

[0002] The AVC system is based on accurate real-time information of the power grid and realizes automatic regulation of the reactive power of the power grid through the voltage and reactive power regulation of the power grid. The existing AVC system generally configures the on-load transformer with adjustable gears and capacitors / reactors in the power grid as a means of voltage and reactive power compensation. The current defect of the AVC system in regulating voltage and reactive power is that the voltage fluctuates greatly, resulting in large power grid losses. Summary of the invention

[0003] An embodiment of the present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and in combination with the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses.

[0004] The first aspect of the present application provides a device control method for dynamic reactive power compensation based on instruction coding, and the device control method includes:

[0005] Obtaining current operating parameters and operating status data of each power device to be controlled;

[0006] Determining a current admittance matrix of the power system according to the current operating parameters and operating status data;

[0007] Generate a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation;

[0008] According to the compensation range matrix and in combination with the current output instruction of each of the electric power devices, reactive power compensation is performed on each of the electric power devices.

[0009] In an optional embodiment, generating a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation includes:

[0010] Combined with the preset fluctuation range of reactive power compensation parameters, each matrix element in the current admittance matrix is ​​updated to obtain a compensation range matrix.

[0011] In an optional embodiment, performing reactive power compensation on each power device according to the compensation range matrix and in combination with a current output instruction of each power device includes:

[0012] Encoding the current output instruction to obtain the power information to be output in the output instruction;

[0013] Input the to-be-output power information into a preset context prediction model to obtain the output power information at the current next moment; the context prediction model is formed based on a plurality of adjacent two historical output power information trainings;

[0014] According to the output power information at the current next moment and in combination with the compensation range matrix, reactive power compensation is performed on each electric power device.

[0015] In an optional embodiment, performing reactive power compensation on each power device according to the output power information at the current next moment in combination with the compensation range matrix includes:

[0016] Generate a dynamic global coefficient of the compensation range based on the output power information of the current next moment and the preset real-time node power coefficient topology diagram;

[0017] Determine the dynamic compensation amount of each node according to the compensation range matrix and the compensation range dynamic global coefficient;

[0018] The dynamic compensation amount of each node is used to perform reactive power compensation on each power device.

[0019] In an optional embodiment, the dynamic global coefficient of the compensation range is generated according to the output power information of the current next moment in combination with a preset real-time node power coefficient topology diagram, including:

[0020] Combined with the preset dynamic global coefficient model, for each power device, the output power at the next moment is matched with the real-time power coefficient of the corresponding node in the real-time node power coefficient topology diagram to obtain the dynamic global coefficient of the compensation range.

[0021] In an optional embodiment, it also includes:

[0022] Encode and decode instructions.

[0023] A second aspect of the present application provides a device control system for dynamic reactive power compensation based on instruction coding, the device control system comprising:

[0024] An acquisition module is used to acquire the current operating parameters and operating status data of each power device to be controlled;

[0025] A determination module, which determines a current admittance matrix of the power system according to the current operating parameters and operating status data;

[0026] A generating module, which generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation;

[0027] The compensation module performs reactive power compensation on each power device according to the compensation range matrix and in combination with the current output instruction of each power device.

[0028] In an optional embodiment, the generation module is specifically used to update each matrix element in the current admittance matrix in combination with a preset parameter fluctuation range of reactive power compensation to obtain a compensation range matrix.

[0029] The fourth aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described above when executing the computer program.

[0030] The fifth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method described above.

[0031] Beneficial effects of this application

[0032] The present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and in combination with the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 It is a schematic diagram of the steps of a device control method for dynamic reactive power compensation based on instruction coding provided by an embodiment of the present application;

[0035] Figure 2 It is a structural schematic diagram of a device control device for dynamic reactive power compensation based on instruction coding provided in an embodiment of the present application;

[0036] Figure 3It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0038] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0039] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0040] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0041] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0042] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0043] An embodiment of the present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and in combination with the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses.

[0044] The first aspect of the present application provides a device control method for dynamic reactive power compensation based on instruction coding, and the device control method includes:

[0045] S1: Obtain current operating parameters and operating status data of each power device to be controlled;

[0046] S2: Determine a current admittance matrix of the power system according to the current operating parameters and operating status data;

[0047] S3: generating a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation;

[0048] S4: Perform reactive power compensation on each power device according to the compensation range matrix and in combination with the current output instruction of each power device.

[0049] The present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and in combination with the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses.

[0050] In an optional embodiment, generating a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation includes:

[0051] Combined with the preset fluctuation range of reactive power compensation parameters, each matrix element in the current admittance matrix is ​​updated to obtain a compensation range matrix.

[0052] In an optional embodiment, performing reactive power compensation on each power device according to the compensation range matrix and in combination with a current output instruction of each power device includes:

[0053] Encoding the current output instruction to obtain the power information to be output in the output instruction;

[0054] Input the to-be-output power information into a preset context prediction model to obtain the output power information at the current next moment; the context prediction model is formed based on a plurality of adjacent two historical output power information trainings;

[0055] According to the output power information at the current next moment and in combination with the compensation range matrix, reactive power compensation is performed on each electric power device.

[0056] In this embodiment, the power information to be output obtained by the current instruction encoding is actually the power information that the power equipment needs to output. At this time, if the output power of the power equipment can meet the requirements of the power to be output, no compensation is required. If the requirements cannot be met, compensation is required according to the actual difference. The present application has a breakthrough in inputting the power information to be output into a preset context prediction model. The context prediction model predicts the possible power output at the next moment. The inventor of the present application found that the output scenarios of the power equipment are generally relatively fixed, and there is a weak correlation between the output scenarios. At the same time, the output power does not change directly and quickly. Therefore, the inventor found that the weak correlation characteristics can be used to build a model in combination with the historical data of the output scenarios, so that the power level at the next moment can be predicted and the compensation power can be prepared in advance according to the power level at the next moment.

[0057] In a further preferred embodiment, the possible power output of all global power equipment nodes at the next moment can be combined, so that when the current power output is greater than the possible power output at the next moment, the identity of the node can be converted into a "compensation output node", and when the current power output is less than the possible power output at the next moment, the identity of the node can be converted into a "compensated node". Therefore, while the present application realizes reactive power compensation, it can also perform functional compensation through other power equipment nodes.

[0058] Furthermore, in an embodiment of functional compensation through other power equipment nodes, if the lines between the nodes are far, it will cause power transmission loss. In order to avoid this situation, the inventor of the present application has a breakthrough idea of ​​forming a compensation line map for these nodes, and using the connection lines in the map as the connection relationship lines between the actual power equipment, so that power compensation can be performed with reference to the compensation line map.

[0059] Specifically, the graph includes multiple nodes, and a connection is formed between each node. The connection is configured with its own connection weight. In the embodiment of the present application, the connection weight is determined based on the line distance between the actual power equipment nodes. The higher the connection weight, the closer the actual line distance. In this way, the connection weight can be used to prioritize the compensation of nodes with close distances, thereby reducing line losses.

[0060] Furthermore, the node whose power output at the next moment is significantly different from the power output at this moment can be used as a central compensation node, and the central compensation node can undertake a larger compensation task. Specifically, the central compensation node can compensate multiple connected nodes, while the non-central compensation node can only select a line with the highest weight for compensation. In this way, the central compensation node distributes compensation according to the line weight, and other non-central compensation nodes select the line with the highest weight for line compensation. On the one hand, the power load of the entire power equipment network is balanced, and on the other hand, an optimized power equipment compensation dynamic network is formed.

[0061] Furthermore, when in use, each node to be compensated forms a local power topology diagram with itself as the center, and each connection line in the topology diagram represents a direct connection relationship.

[0062] During specific use, a high compensation output node is formed by configuring the central compensation node, and the remaining nodes directly connected to the central compensation node serve as low compensation output nodes. Then, the central compensation node is first found after one or more direct connections based on the direct connection relationship, and the directly connected nodes of all the directly connected nodes passed during the search process together form a "compensation local spectrum". The spectrum includes a node graph formed by multiple direct connection topologies. The node graph takes the power equipment node as the center, and goes through multiple direct connection topologies until the central compensation node is found and stops the topology. In this case, the compensation local spectrum includes a central compensation node, or if multiple central compensation nodes are found in a single direct connection topology, the compensation local spectrum includes multiple central compensation nodes.

[0063] The central compensation node and the directly connected node jointly compensate the power equipment node, thereby reducing the impact on other power equipment nodes on the one hand, and on the other hand, through this method, the compensating power can always be transmitted through the optimal path, thereby reducing losses. That is, the compensation matrix formed by this method can also reduce the impact of the compensation itself on other power equipment nodes and the impact of transmission losses.

[0064] Afterwards, each compensation output node has a corresponding output weight. The weight of the compensation hub power device node is higher and can be used as the main compensation output. The weight of other directly connected power device nodes is lower and can be used as secondary compensation output. In an optional embodiment, the compensation matrix is ​​determined according to the operating status data of the current power device node, one of the compensation hub power device nodes, and the power device node directly connected to the current power device node, including:

[0065] According to the current reactive power in the operating status data of the current power device node, one of the compensation hub power device nodes, and the power device node directly connected to the current power device node, combined with the allocation weight coefficient of each power device node itself, the current output reactive power of each power device node is calculated; wherein the allocation weight coefficient of the compensation hub power device node is greater than the allocation weight coefficients of other power device nodes;

[0066] The compensation matrix is ​​determined according to the current output reactive power of each power device node and the current directional input divergence coefficient spectrum of the power device node itself, wherein the current directional input divergence coefficient spectrum includes the input coefficients of each directly connected node and the secondary directly connected node.

[0067] In this way, each node itself can combine the distribution weight coefficient to compensate for multiple directly connected nodes. When there are multiple nodes that need to be compensated in the power system, the compensation can be dispersed in combination with the distribution weight coefficient. At the same time, a node to be compensated can be compensated by multiple nodes at the same time, so that the entire compensation network will not have unidirectional, single-point overcurrent or overvoltage phenomena.

[0068] And the node itself has an input coefficient corresponding to each compensation node, so that by combining the input coefficient again, the compensation amount of each compensation node to the compensated node is limited to a controllable range, so that coordinated dynamic compensation can be carried out in the entire domain.

[0069] In this way, when a node fails, a new compensation network can be updated instantly. The failure of a node will have almost no impact on the entire compensation process. Even if the failed node is a compensation central power equipment node, other compensation central power equipment nodes can be found for alternative compensation. By combining the distribution coefficient and the input coefficient, the influence of each compensation output node is further reduced, so that the entire dynamic compensation process will not be affected by any failure.

[0070] In an optional embodiment, performing reactive power compensation on each power device according to the output power information at the current next moment in combination with the compensation range matrix includes:

[0071] Generate a dynamic global coefficient of the compensation range based on the output power information of the current next moment and the preset real-time node power coefficient topology diagram;

[0072] Determine the dynamic compensation amount of each node according to the compensation range matrix and the compensation range dynamic global coefficient;

[0073] The dynamic compensation amount of each node is used to perform reactive power compensation on each power device.

[0074] In an optional embodiment, the dynamic global coefficient of the compensation range is generated according to the output power information of the current next moment in combination with a preset real-time node power coefficient topology diagram, including:

[0075] Combined with the preset dynamic global coefficient model, for each power device, the output power at the next moment is matched with the real-time power coefficient of the corresponding node in the real-time node power coefficient topology diagram to obtain the dynamic global coefficient of the compensation range.

[0076] In an optional embodiment, it also includes:

[0077] Encode and decode instructions.

[0078] The embodiments of the present application are described in detail below.

[0079] Specifically, in the embodiment of the present application, the specific process of forming the admittance matrix can be formed in the following manner:

[0080] (1) When a control cycle (usually 5 minutes) of the automatic voltage control (AVC) begins, the AVC base station performs the secondary voltage control calculation of the substation, generates the reactive power adjustment value of the fast dynamic reactive compensation equipment (including static VAR compensator / static synchronous compensator (SVC / SVG (Statcom)) and other devices), and obtains the upper limit value Vh and the lower limit value Vl of the bus voltage on the high-voltage side of the substation;

[0081] (2) The AVC base station generates a reactive power control instruction code for the substation fast dynamic reactive compensation device according to the reactive power adjustment amount and reactive power adjustment direction of the fast dynamic reactive compensation device. The code adopts a 4-bit integer instruction code, recorded as K1K2K3K4, where each bit code is defined as follows:

[0082] K1 indicates the adjustment direction of the reactive power of the fast dynamic reactive power compensation equipment, "1" indicates a decrease, "2" indicates an increase, and other values ​​are considered as illegal reactive power control instruction codes;

[0083] K2 represents the issuing round of a reactive control instruction code, and the value increases from "1" to "5". Each time the AVC base station issues the reactive control instruction code of the fast dynamic reactive compensation device, the value of this bit is guaranteed to be different from the instruction of the previous round. The fast dynamic reactive compensation device saves the reactive control instruction code of the AVC base station in the previous round. After obtaining the reactive adjustment instruction code of the new round, if the value of K2 in the new reactive control instruction code is different from the value of the previous round, it is considered that a new reactive adjustment instruction code has been received; if the value of K2 in the new reactive control instruction code is the same as the value of the previous round, or does not conform to the "1"-"5" increasing cycle, or K2 is not in the range of "1"-"5", the new reactive control instruction code is considered to be an illegal instruction;

[0084] K3 and K4 are respectively the values ​​of reactive power of the fast dynamic reactive compensation equipment for switching on or off. The value ranges of K3 and K4 are both positive integers from 0 to 9, and the unit is megavar (MVAR). If the codes of K3 and K4 are "00", it is considered that there is no need to increase or decrease the reactive power of the fast dynamic reactive compensation equipment at present. If the codes of K3 and K4 are not "00", the values ​​of K3 and K4 increase or decrease the reactive power of the fast dynamic reactive compensation equipment.

[0085] For example, in the first round, the AVC base station needs SVC to reduce the reactive power by 20 MVAR, and the reactive code "1120" is generated; in the second round, the AVC base station needs SVC to maintain the current reactive power, and the command reactive code is generated as "1200"; in the third round, the AVC base station needs SVC to increase the reactive power by 5 MVAR, and the reactive command code is generated as "2305"; if the reactive command code generated in the fourth round is 5405, and the thousands digit is not "1" and not "2", the command is an illegal command. If the reactive command code generated in the fourth round is 2310, and the hundreds digit "3" is the same as the hundreds digit "3" of the command code in the previous round, i.e., the third round, the command will be judged as a non-new command and will not be executed. If the command code in the fourth round is 2920, and the hundreds digit "9" is not increasing with the hundreds digit "3" of the command code in the previous round, i.e., the third round, and the command is within the range of "1"-"5", the command is an illegal command, and SVC / SVG will not execute it when receiving an illegal command.

[0086] (3) The AVC base station sends a control instruction to the fast dynamic reactive power compensation device, wherein the control instruction includes the upper limit value Vh of the high-voltage side bus voltage of the substation obtained in the above step (1), the lower limit value Vl of the high-voltage side bus voltage of the substation, and the reactive power control instruction code generated in the above step (2), wherein Vh and Vl are not encoded and sent according to the actual value;

[0087] (4) After the fast dynamic reactive power compensation device receives the control instruction of the AVC base station, Vh and Vl are parsed according to the actual values, the reactive power control instruction code is decoded according to the definition of the code value, and the decoded reactive power adjustment instruction is obtained. The adjustment mode of the fast dynamic reactive power compensation device is selected according to the actual value Vrel of the bus voltage on the high-voltage side of the substation:

[0088] If Vrel>Vl and Vrel≥Vh, the fast dynamic reactive power compensation device selects to follow the reactive power adjustment instruction mode, and adjusts the reactive power output according to the decoded reactive power adjustment value of the fast dynamic reactive power compensation device;

[0089] If Vrel≤Vl or Vrel≥Vh, the fast dynamic reactive power compensation equipment will autonomously adjust the reactive power output of the equipment to control the real-time voltage of the high-voltage busbar of the substation within the range of the upper limit value of the high-voltage busbar voltage and the lower limit value of the high-voltage busbar voltage;

[0090] For example, in the first round, the control instruction received by SVC is the SVC reactive power regulation instruction "1120", Vh=356.0, Vl=340.0, and SVC analyzes that the reactive power needs to be reduced by 20MVAR; the actual value of the high-side bus voltage of the substation is Vrel=344.65, which satisfies the conditions of Vrel>Vl and Vrel≥Vh, and SVC chooses to follow the reactive power regulation instruction mode, and will perform real-time adjustment to reduce the reactive power by 20MVAR; the control instruction received by SVC in the second round is the SVC reactive power regulation instruction "1210", Vh=356.0, Vl=343.5, and SVC analyzes that the reactive power needs to be reduced by 10MVAR; the actual value of the high-side bus voltage of the substation is Vrel=341.65, where Vrel≤Vl, and SVC chooses the autonomous adjustment mode, and will increase the reactive power to make Vrel satisfy Vrel>Vl and Vrel≥Vh.

[0091] (5) If the fast dynamic reactive power compensation device does not receive a new legal control instruction for more than 15 minutes, it is considered that the AVC master station has exited, and the fast dynamic reactive power compensation device automatically switches to local control, and controls the fast dynamic reactive power compensation device in a preset manner. If the fast dynamic reactive power compensation device receives a new control instruction again, it automatically switches to receiving the AVC master station instruction, that is, the remote control state;

[0092] For example, if the SVC does not receive a new legal instruction for more than 15 minutes, it considers that the AVC base station has exited, and the SVC automatically switches to local operation, that is, it does not accept the control instructions of the AVC base station, and performs local control according to the SVC preset method. For example, after switching to local operation, the real-time value of the high-voltage side bus voltage Vrel = 345.6 of the substation is less than the set high-voltage side bus voltage lower limit 343.0, then the SVC increases reactive power according to the local setting adjustment parameters. If the SVC receives a new instruction from the AVC base station again, which is the third round of legal control instructions, such as receiving the reactive power instruction "2420", it will automatically switch to receiving the AVC master station instruction, that is, the remote control state;

[0093] (6) After the AVC base station fast dynamic reactive power compensation device control command is issued, wait for the next round of secondary voltage control cycle and return to step (1).

[0094] It can be seen that the present application provides a device control method and system for dynamic reactive compensation based on instruction coding. The present application generates a compensation range matrix of the admittance matrix according to the admittance matrix and the preset parameter fluctuation range of reactive compensation. Then, according to the compensation range matrix and the current output instruction of each of the power devices, reactive compensation is performed on each power device, thereby realizing dynamic compensation. In this way, the impact of large voltage fluctuations can be reduced during reactive compensation, thereby reducing grid losses.

[0095] Figure 3 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 400 includes: at least one processor 401 ( Figure 3 Only one processor is shown in the figure), a memory 402, and a computer program 403 stored in the memory 402 and executable on the at least one processor 401, wherein the processor 401 implements the steps in the above method embodiment when executing the computer program 403.

[0096] The electronic device 400 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 3 This is merely an example of the electronic device 400 and does not constitute a limitation on the electronic device 400 . The electronic device 400 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0097] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0098] In some embodiments, the memory 402 may be an internal storage unit of the electronic device 400, such as a hard disk or memory of the electronic device 400. In other embodiments, the memory 402 may also be an external storage device of the electronic device 400, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the electronic device 400. Further, the memory 402 may also include both an internal storage unit of the electronic device 400 and an external storage device. The memory 402 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 402 may also be used to temporarily store data that has been output or is to be output.

[0099] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0100] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0101] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-OKlyMemory), a random access memory (RAM, RandomAccessMemory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0105] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0107] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A device control method for dynamic reactive power compensation based on instruction coding, characterized in that: The device control method comprises: Obtaining current operating parameters and operating status data of each power device to be controlled; Determining a current admittance matrix of the power system according to the current operating parameters and operating status data; Generate a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation; According to the compensation range matrix and in combination with the current output instruction of each of the electric power devices, performing reactive power compensation on each of the electric power devices; The performing reactive power compensation on each power device according to the compensation range matrix and in combination with the current output instruction of each power device comprises: Encoding the current output instruction to obtain the power information to be output in the output instruction; Input the to-be-output power information into a preset context prediction model to obtain the output power information at the current next moment; the context prediction model is formed based on a plurality of adjacent two historical output power information trainings; According to the output power information of the current next moment, combined with the compensation range matrix, reactive power compensation is performed on each power device; The method further comprises: The power equipment node whose current output power is less than the output power at the next moment is regarded as the compensated node; The power equipment node whose current output power is greater than the output power at the next moment is used as the compensation output node to perform functional compensation on the compensated node.

2. The device control method for dynamic reactive power compensation based on instruction coding according to claim 1 is characterized in that: According to the admittance matrix, combined with the preset parameter fluctuation range of reactive power compensation, a compensation range matrix of the admittance matrix is ​​generated, including: Combined with the preset fluctuation range of reactive power compensation parameters, each matrix element in the current admittance matrix is ​​updated to obtain a compensation range matrix.

3. The device control method for dynamic reactive power compensation based on instruction coding according to claim 1 is characterized in that: According to the output power information of the current next moment, combined with the compensation range matrix, performing reactive power compensation on each power device includes: Generate a dynamic global coefficient of the compensation range based on the output power information of the current next moment and the preset real-time node power coefficient topology diagram; Determine the dynamic compensation amount of each node according to the compensation range matrix and the compensation range dynamic global coefficient; The dynamic compensation amount of each node is used to perform reactive power compensation on each power device.

4. The device control method for dynamic reactive power compensation based on instruction coding according to claim 3 is characterized in that: The method generates a dynamic global coefficient of the compensation range based on the output power information of the current next moment in combination with a preset real-time node power coefficient topology diagram, including: Combined with the preset dynamic global coefficient model, for each power device, the output power at the next moment is matched with the real-time power coefficient of the corresponding node in the real-time node power coefficient topology diagram to obtain the dynamic global coefficient of the compensation range.

5. The device control method for dynamic reactive power compensation based on instruction coding according to claim 4 is characterized in that: Also includes: Encode and decode instructions.

6. A device control system for dynamic reactive power compensation based on instruction coding, characterized in that: The equipment control system comprises: An acquisition module is used to acquire the current operating parameters and operating status data of each power device to be controlled; A determination module, which determines a current admittance matrix of the power system according to the current operating parameters and operating status data; A generating module, which generates a compensation range matrix of the admittance matrix according to the admittance matrix and in combination with a preset parameter fluctuation range of reactive power compensation; A compensation module, performing reactive power compensation on each power device according to the compensation range matrix and in combination with a current output instruction of each power device; Among them, the reactive compensation for each power device according to the compensation range matrix and in combination with the current output instruction of each power device includes: encoding the current output instruction to obtain the power information to be output in the output instruction; inputting the power information to be output into a preset context prediction model to obtain the output power information at the current next moment; the context prediction model is formed based on a plurality of adjacent two historical output power information training; reactive compensation for each power device according to the output power information at the current next moment and in combination with the compensation range matrix; The device control system for dynamic reactive power compensation based on instruction coding is also used to: use the power device node whose current output power is less than the output power at the next moment as the compensated node; use the power device node whose current output power is greater than the output power at the next moment as the compensation output node, so as to functionally compensate the compensated node.

7. The device control system for dynamic reactive power compensation based on instruction coding according to claim 6 is characterized in that: The generation module is specifically used to update each matrix element in the current admittance matrix in combination with a preset parameter fluctuation range of reactive power compensation to obtain a compensation range matrix.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • New energy-containing multi-stage voltage automatic control optimization method based on model predictive control

    CN116667361A