Method, apparatus, electronic device, and storage medium for determining transmission line simulation parameters
By calculating the target inductance value and capacitance value of the transmission line, it meets the decoupling conditions, and solves the problem of large calculation time of short transmission lines in the distribution network, and realizes efficient power network simulation.
Patent Information
- Application Number
- CN202210644396.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-06-08
AI Technical Summary
In power systems, traditional spatial parallel algorithms are difficult to decouple short transmission lines in power distribution networks, resulting in excessive computing time consumption.
By finding the transmission line that cannot be decoupled in the power network, obtain its inductance value and capacitance value, and calculate the target inductance value and target capacitance value based on the preset simulation step size and inductance adjustment value, so that the transmission line can meet the decoupling conditions.
The use of spatial calculation methods reduces calculation time consumption and improves the efficiency of the power network simulation process.
Smart Images

Figure CN114996949B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power, and in particular, to a method, device, electronic device, and storage medium for determining simulation parameters of a transmission line. Background Art
[0002] As the power system is transforming and upgrading towards a new energy-based power system, the traditional AC power system has been converted into an AC-DC hybrid power grid. Based on the characteristics of the AC-DC hybrid power grid, electromagnetic transient simulation technology is generally used to identify and detect weak links in the AC-DC hybrid power grid, thereby improving the stability of the entire network.
[0003] Currently, a spatial parallel algorithm is mainly used to calculate relevant data in the electromagnetic transient simulation process. The core idea of spatial parallel computing is mainly to decouple the power system, that is, to decompose the power system into several smaller-scale networks, and perform simulation calculations on each partition separately, thereby reducing the scale of the system matrix in the simulation process and reducing the calculation time. However, the transmission lines in the distribution network are usually short and cannot be decoupled, making it impossible to use the spatial calculation method, thus increasing a large amount of calculation time consumption. Summary of the Invention
[0004] The objectives of the present invention include, for example, providing a method, device, electronic device, and storage medium for determining simulation parameters of a transmission line, which can enable a to-be-processed transmission line that cannot be decoupled to meet the decoupling conditions.
[0005] Embodiments of the present invention may be implemented as follows:
[0006] In a first aspect, the present invention provides a method for determining simulation parameters of a transmission line, which is applied to an electronic device. The method includes:
[0007] Search for a to-be-processed transmission line in the power network that cannot be decoupled;
[0008] Obtain the inductance value and capacitance value of the to-be-processed transmission line, as well as a preset simulation step size and an inductance adjustment value;
[0009] Obtain a target inductance value according to the inductance value and the inductance adjustment value;
[0010] Obtain a target capacitance value according to the target inductance value and the simulation step size;
[0011] Use the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line, so that the to-be-processed transmission line meets the decoupling conditions.
[0012] In an alternative embodiment, the method further includes a step of determining whether the target inductance value and the target capacitance value meet the Bergeyron model simulation requirements, and this step includes:
[0013] Based on the PI model, perform simulation using the inductance value and capacitance value of the transmission line to be processed to obtain an initial simulation result;
[0014] Based on the PI model, perform simulation using the target inductance value and the target capacitance value to obtain a first simulation result;
[0015] According to the initial simulation result and the first simulation result, obtain a target error;
[0016] If the target error is less than a preset error threshold, determine that the Bergeyron model simulation requirements are met, and based on the Bergeyron model, use the target inductance value and the target capacitance value as the simulation parameters of the transmission line to be processed for simulation.
[0017] In an alternative embodiment, there are multiple first simulation results. The step of performing simulation using the target inductance value and the target capacitance value based on the PI model to obtain the first simulation result includes:
[0018] Based on the PI model, perform simulation using the target inductance value and the target capacitance value to obtain one of the first simulation results;
[0019] According to the target inductance value and the inductance adjustment value, obtain a first inductance value;
[0020] According to the target capacitance value and the simulation step size, obtain a first capacitance value;
[0021] Based on the PI model, perform simulation using the first inductance value and the first capacitance value to obtain another first simulation result;
[0022] Take the first inductance value as the target inductance value and the first capacitance value as the target capacitance value, and repeat the steps from according to the target inductance value and the inductance adjustment value to based on the PI model, perform simulation using the first inductance value and the first capacitance value to obtain another first simulation result according to a preset number of times until a preset number of first simulation results are obtained;
[0023] The step of obtaining a target error according to the initial simulation result and the first simulation result includes:
[0024] For each of the first simulation results, obtain an error to be determined according to the initial simulation result and the first simulation result;
[0025] From all the to-be-determined errors, select the smallest to-be-determined error as the target error;
[0026] The step of performing simulation based on the Bergeyron model with the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line includes:
[0027] Based on the Bergeyron model, perform simulation with the target inductance value and the target capacitance value corresponding to the smallest to-be-determined error as the simulation parameters of the to-be-processed transmission line.
[0028] In an alternative embodiment, the method further includes:
[0029] If the target error is greater than the error threshold, perform simulation based on the PI model with the capacitance value and the inductance value of the to-be-processed transmission line as the simulation parameters of the to-be-processed transmission line.
[0030] In an alternative embodiment, the target inductance value is obtained by the following method:
[0031] L = L0 + △L
[0032] Wherein, L0 represents the inductance value, and △L represents the inductance adjustment value.
[0033] In an alternative embodiment, the target capacitance value is obtained by the following method:
[0034] C = △t^2 / L
[0035] Wherein, △t represents the simulation step length, and L represents the target inductance value.
[0036] In an alternative embodiment, the to-be-determined error is obtained by the following method:
[0037]
[0038] Wherein, α1 represents the initial simulation result, and α2 represents the first simulation result.
[0039] In a second aspect, the present invention provides a device for determining simulation parameters of a transmission line, which is applied to an electronic device. The device includes:
[0040] A search module, configured to search for a to-be-processed transmission line that cannot be decoupled in a power network;
[0041] An acquisition module, configured to acquire the inductance value and the capacitance value of the to-be-processed transmission line, as well as a preset simulation step length and an inductance adjustment value;
[0042] A determination module, configured to obtain a target inductance value according to the inductance value and the inductance adjustment value; obtain a target capacitance value according to the target inductance value and the simulation step size; and use the target inductance value and the target capacitance value as simulation parameters of the to-be-processed transmission line, so that the to-be-processed transmission line meets the decoupling condition.
[0043] In a third aspect, the present invention provides an electronic device, including: a memory, a processor, and a program stored on the memory and executable on the processor, where when the program is executed by the processor, the method described in any one of the foregoing embodiments is implemented.
[0044] In a fourth aspect, the present invention provides a storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the method described in any one of the foregoing embodiments are executed.
[0045] The beneficial effects of the embodiments of the present invention include, for example: when determining a to-be-processed transmission line in a power network, based on the inductance value and capacitance value of the to-be-processed transmission line, as well as a preset simulation step size and inductance adjustment value, a target inductance value and a target capacitance value are obtained, so that when the target inductance value and the target capacitance value are used as simulation parameters of the to-be-processed transmission line for simulation, the decoupling condition can be met. Thus, a spatial calculation method can be used to reduce the consumption of calculation time. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0047] Figure 1 It is a schematic diagram of a Berenger model provided by an embodiment of the present invention.
[0048] Figure 2 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0049] Figure 3 It is one of the flow schematic diagrams of a method for determining simulation parameters of a transmission line provided by an embodiment of the present invention.
[0050] Figure 4 It is a schematic diagram of a transmission line that cannot achieve decoupling provided by an embodiment of the present invention.
[0051] Figure 5 It is the second of the flow schematic diagrams of a method for determining simulation parameters of a transmission line provided by an embodiment of the present invention.
[0052] Figure 6 It is a schematic diagram of a PI mode provided by an embodiment of the present invention.
[0053] Figure 7 It is the third flowchart schematic diagram of a method for determining transmission line simulation parameters provided by an embodiment of the present invention.
[0054] Figure 8 It is a schematic diagram of functional modules of a device for determining transmission line simulation parameters provided by an embodiment of the present invention.
[0055] Icons: 100 - electronic device; 110 - communication unit; 120 - memory; 130 - processor;
[0056] 200 - device for determining transmission line simulation parameters; 210 - search module; 220 - acquisition module; 230 - determination module. Detailed implementation manners
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. Usually, the components of the embodiments of the present invention described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.
[0058] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed present invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts fall within the protection scope of the present invention.
[0059] It should be noted that: similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0060] In addition, terms such as "first" are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0061] It should be noted that, without conflict, the features in the embodiments of the present invention can be combined with each other.
[0062] Due to the high computational efficiency of the space parallel algorithm, it is widely used in power networks to calculate some complex information during the electromagnetic transient simulation process. Currently, the commonly used space parallel algorithms are the network splitting algorithm and the long transmission line decoupling method. The long transmission line decoupling method has higher computational efficiency compared to the network splitting algorithm. The basic principle of the long transmission line decoupling method is to use the Bergeyron model to achieve power grid partitioning and decoupling. The prerequisite for using the Bergeyron transmission line model is that the transmission time of the wave in the line is greater than or equal to the simulation step during the power network simulation. Due to this prerequisite of the Bergeyron transmission line model, short transmission lines in the power network cannot meet this requirement, that is, the long transmission line decoupling method cannot be used for short transmission lines in the power network, resulting in low computational efficiency.
[0063] To facilitate the understanding of the decoupling of the Bergeyron model, the transmission line decoupling method splitting interface model, that is, the Bergeyron model, will be briefly introduced below.
[0064] As Figure 1 shown, it is a Bergeyron model provided by an embodiment of the present invention. As shown in the figure:
[0065]
[0066] Where:
[0067] In the above formula, I m (t) represents the current flowing into the left end of the Bergeyron transmission line at time t, and I m (t - τ) represents the current flowing into the left end of the Bergeyron transmission line at time t - τ. I n (t) represents the current flowing into the right end of the Bergeyron transmission line at time t, and I n (t - τ) represents the current flowing into the right end of the Bergeyron transmission line at time t - τ. u m (t) represents the voltage at the left end of the Bergeyron transmission line at time t, and u m (t - τ) represents the voltage at the left end of the Bergeyron transmission line at time t - τ. u n (t) represents the voltage at the right end of the Bergeyron transmission line at time t, and u n (t - τ) represents the voltage at the right end of the Bergeyron transmission line at time t - τ. I mn (t - τ) represents the equivalent current source on the left side of the Bergeyron transmission line, and I nm (t - τ) represents the equivalent current source on the right side of the Bergeyron transmission line.
[0068] In the above Figure 1 , Z = Z c + R / 4, Z is the Norton equivalent impedance of the Bergeyron transmission line, where Z cis the characteristic impedance of the transmission line, R is the equivalent resistance of the line, and h is the length of the transmission line.
[0069] Based on the problems existing in the existing technology, please refer to Figure 2 , is a schematic diagram of a structure of an electronic device 100 according to an embodiment of the present invention. The electronic device 100 includes a memory 120 , a processor 130 and a communication unit 110 .
[0070] The memory 120, the processor 130 and the communication unit 110 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The transmission line simulation parameter method can be stored in the memory 120 in the form of software or firmware or a software function module solidified in the operating system (OS) of the electronic device 100. The processor 130 is used to execute the executable module stored in the memory 120.
[0071] The memory 120 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 120 is used to store a program, and the processor 130 executes the program after receiving an execution instruction. The communication unit 110 is used to communicate with an external system.
[0072] The processor 130 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0073] Figure 3 This is one of the flow diagrams of a method for determining simulation parameters of a transmission line provided by an embodiment of the present invention. This method can be applied to the above-mentioned electronic device. Please refer to Figure 3 , and it can be implemented through the following steps S101 to S105:
[0074] Step S101: Search for the to-be-processed transmission lines in the power network that cannot be decoupled.
[0075] Step S102: Obtain the inductance value and capacitance value of the to-be-processed transmission line, as well as the preset simulation step length and inductance adjustment value.
[0076] Step S103: Obtain the target inductance value according to the inductance value and the inductance adjustment value.
[0077] Step S104: Obtain the target capacitance value according to the target inductance value and the simulation step length.
[0078] Step S105: Use the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line, so that the to-be-processed transmission line meets the decoupling condition.
[0079] Search for the to-be-processed transmission lines in the power network that cannot be decoupled. Based on the inductance value and capacitance value of the to-be-processed transmission line, as well as the preset simulation step length and inductance adjustment value, obtain the target inductance value and the target capacitance value. Thus, when using the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line for simulation, the decoupling condition can be met. Thus, the space calculation method can be used to reduce the consumption of calculation time.
[0080] Exemplarily, the to-be-processed transmission line is as Figure 4 shown, which is a schematic diagram of a transmission line that cannot be decoupled provided by an embodiment of the present invention. The resistance of the unit length transmission line of LINE is r1, the inductance is l1, the capacitance is c1, and the length is h1. R1 = r1h1, L1 = l1h1, where R1 is the resistance of the line, L1 is the line inductance. C1 is the line capacitance. Since the line length is short, it is impossible to decouple the two lines for transmission lines.
[0081] Please continue to refer to Figure 3 , for the convenience of understanding the embodiments of this method, the calculation of the transmission time of the wave on the line will be described below. The transmission time of the wave on the line, that is, τ, can be calculated by the following formula:
[0082]
[0083] where L is the line inductance of the transmission line, C is the capacitance to the ground of the transmission line. l is the length of the transmission line, and v represents the speed of the wave.
[0084] Exemplarily, the target inductance value can be obtained through the following formula: L = L0 + ΔL.
[0085] Wherein, L0 represents the inductance value, and ΔL represents the inductance adjustment value.
[0086] Exemplarily, the target capacitance value can be obtained in the following way: C = Δt^2 / L.
[0087] Wherein, Δt represents the simulation step size, and L represents the target inductance value.
[0088] Therefore, when simulating the simulation parameters of the target inductance value and the target capacitance value, the transmission time of the wave in the line can be calculated as:
[0089] In this way, through the above settings of the target inductance value and the target capacitance value, while continuously adjusting the target capacitance value and the target capacitance value, it is ensured that the simulation step size is equal to the transmission time of the wave in the line, that is, the preconditions for using the long transmission line decoupling method are met.
[0090] Wherein, the specific value of the simulation step size can be set according to the actual application. Generally, 50 ms is taken. If the value of the simulation step size taken is too small, the number of sampling points becomes too many, resulting in too large a calculation amount and thus too long a calculation time.
[0091] Furthermore, to reduce the gap between the simulation and the actual application. Figure 5 This is the second flow diagram of a method for determining transmission line simulation parameters provided by an embodiment of the present invention. The above method further includes the step of determining whether the target inductance value and the target capacitance value meet the simulation requirements of the Berreman model, and this step includes:
[0092] Step S106: Based on the PI model, use the inductance value and capacitance value of the transmission line to be processed for simulation to obtain an initial simulation result.
[0093] Step S107: Based on the PI model, use the target inductance value and the target capacitance value for simulation to obtain a first simulation result.
[0094] Step S108: Obtain a target error according to the initial simulation result and the first simulation result.
[0095] Step S109: If the target error is less than the preset error threshold, it is determined that the simulation requirements of the Berreman model are met, and based on the Berreman model, the target inductance value and the target capacitance value are used as the simulation parameters of the transmission line to be processed for simulation.
[0096] Step S1010: If the target error is greater than the error threshold, then based on the PI model, the capacitance value and inductance value of the transmission line to be processed are used as the simulation parameters of the transmission line to be processed for simulation.
[0097] Exemplarily, since the simulation parameters of the transmission line to be processed are different from its actual parameters, that is, there is a situation where the simulation results do not match the actual results, resulting in the deviation of the results calculated by spatial parallel computing from the actual situation. Therefore, based on the PI model, the inductance value and capacitance value of the transmission line to be processed can be used for simulation to obtain the initial simulation results, and the target inductance value and target capacitance value can be used for simulation to obtain the first simulation results. Thus, the target error can be obtained based on the initial simulation results and the first simulation results. When the target error is less than the preset error threshold, it can be determined that the simulation requirements of the Berreman model are met. That is, when simulating based on the target inductance value and target capacitance value using the Berreman model, the difference from the actual application of the transmission line to be processed is small, that is, the error between the simulation process and the actual application process is within the allowable range. This improves the accuracy of the calculation results while increasing the operation and calculation efficiency.
[0098] Exemplarily, the preset error threshold can be reasonably set according to the simulation experience in actual applications so that the error can meet the actual applications at that time.
[0099] Exemplarily, when the target error is greater than the preset error threshold, it is considered that the gap between the actual application and the simulation is too large, making the results calculated by spatial parallel computing meaningless. Therefore, the PI model is still used to simulate and calculate relevant information using the inductance value and capacitance value of the transmission line to be processed to ensure the accuracy of the calculation results.
[0100] For easy understanding of the PI model, Figure 6 The following is a schematic diagram of a PI mode provided by an embodiment of the present invention. As Figure 6 shown, when simulating using the PI model, the transmission line is not decoupled. Among them, R is the resistance of the transmission line, L is the inductance of the transmission line, and C is the capacitance to ground of the transmission line.
[0101] To make the difference between the simulation results and the actual results smaller, as Figure 7 shown, the following is the third schematic diagram of the process of the method for determining the simulation parameters of a transmission line provided by an embodiment of the present invention. There are multiple first simulation results. Step S107 can be implemented in the following manner:
[0102] Step S107-1: Based on the PI model, use the target inductance value and target capacitance value for simulation to obtain one of the first simulation results.
[0103] Step S107-2: Obtain the first inductance value according to the target inductance value and the inductance adjustment value. Obtain the first capacitance value according to the target capacitance value and the simulation step size.
[0104] Step S107-3: Based on the PI model, perform simulation using the first inductance value and the first capacitance value to obtain another first simulation result.
[0105] Step S107-4: Use the first inductance value as the target inductance value and the first capacitance value as the target capacitance value.
[0106] Repeat the steps from according to the target inductance value and the inductance adjustment value to based on the PI model, perform simulation using the first inductance value and the first capacitance value to obtain another first simulation result according to the preset number of times until the preset number of first simulation results are obtained.
[0107] Exemplarily, the first simulation result is a waveform diagram of current, voltage, etc. displayed after software simulation, and / or an array converted from the waveform diagram.
[0108] After obtaining the multiple target inductance values and target capacitance values as described above, step S108 can be implemented in the following manner:
[0109] Step S108-1: For each first simulation result, obtain the error to be determined according to the initial simulation result and the first simulation result.
[0110] Step S108-2: Select the smallest error to be determined from all the errors to be determined as the target error.
[0111] It should be noted that the error does not gradually increase or decrease as the inductance value and the capacitance value are adjusted, but changes randomly. Therefore, adjust the target inductance value and the target capacitance value repeatedly according to the preset number of times to obtain multiple target inductance values and target capacitance values, so as to obtain the target inductance value and the target capacitance value when the error is minimized.
[0112] Exemplarily, the error to be determined can be calculated by the following formula:
[0113] Among them, α1 represents the initial simulation result, α2 represents the first simulation result. Error represents the error two-norm between the initial simulation result and the first simulation result.
[0114] After determining the minimum error, step S109 can be implemented in the following manner:
[0115] Step S109-1: If the target error is less than the preset error threshold, it is determined that the simulation requirements of the Berreman model are met. Based on the Berreman model, use the target inductance value and the target capacitance value corresponding to the smallest error to be determined as the simulation parameters of the transmission line to be processed for simulation.
[0116] Based on the above-obtained target inductance value and target capacitance value at the minimum error, when using the target inductance value and target capacitance value for simulation, the calculation efficiency can be improved while reducing the gap between actual application and simulation.
[0117] Figure 8 The following is a schematic diagram of the functional modules of a device 200 for determining transmission line simulation parameters provided by an embodiment of the present invention. The basic principle and the technical effects generated by this device are the same as those of the corresponding method embodiment described above. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding content in the method embodiment. As Figure 8 shown, the device includes a search module 210, an acquisition module 220, and a determination module 230.
[0118] The search module 210 is configured to search for the to-be-processed transmission lines in the power network that cannot be decoupled.
[0119] The acquisition module 220 is configured to acquire the inductance value and capacitance value of the to-be-processed transmission line, as well as a preset simulation step size and an inductance adjustment value.
[0120] The determination module 230 is configured to obtain a target inductance value according to the inductance value and the inductance adjustment value. According to the target inductance value and the simulation step size, obtain a target capacitance value. Use the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line, so that the to-be-processed transmission line meets the decoupling condition.
[0121] Exemplarily, the determination module 230 is further configured to determine whether the target inductance value and the target capacitance value meet the simulation requirements of the Bergeron model. And the steps for the determination module 230 to execute the determination of whether the target inductance value and the target capacitance value meet the simulation requirements of the Bergeron model include:
[0122] Based on the PI model, use the inductance value and capacitance value of the to-be-processed transmission line for simulation to obtain an initial simulation result.
[0123] Based on the PI model, use the target inductance value and the target capacitance value for simulation to obtain a first simulation result.
[0124] According to the initial simulation result and the first simulation result, obtain a target error.
[0125] The above device further includes a simulation module. The simulation module is configured to, if the target error is less than a preset error threshold, determine that the simulation requirements of the Bergeron model are met, and based on the Bergeron model, use the target inductance value and the target capacitance value as the simulation parameters of the to-be-processed transmission line for simulation.
[0126] If the target error is greater than the error threshold, then based on the PI model, use the capacitance value and inductance value of the to-be-processed transmission line as the parameters of the to-be-processed transmission line for simulation.
[0127] An embodiment of the present invention also provides a storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the above method embodiment are executed.
[0128] In summary, the embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for determining simulation parameters of a transmission line. It can determine a transmission line to be processed in a power network, and based on the inductance value and capacitance value of the transmission line to be processed, as well as a preset simulation step length and an inductance adjustment value, obtain a target inductance value and a target capacitance value. Thus, when using the target inductance value and the target capacitance value as the simulation parameters of the transmission line to be processed for simulation, the decoupling condition can be satisfied. In addition, through multiple subsequent loops, from the obtained multiple target capacitance values and target inductance values, the target inductance value and target capacitance value with the smallest error are selected, making it more similar to the actual application situation, that is, the accuracy of the calculated result is higher.
[0129] In several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of apparatuses, methods, and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0130] In addition, each functional module in various embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0131] When the above-mentioned functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0132] The foregoing are only the preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for determining simulation parameters of a transmission line, characterized in that Applied to an electronic device, the method includes: Finding a transmission line to be processed in the power network that cannot be decoupled; Obtaining the inductance value and capacitance value of the transmission line to be processed, as well as a preset simulation step size and an inductance adjustment value; Obtaining a target inductance value according to the inductance value and the inductance adjustment value; Obtaining a target capacitance value according to the target inductance value and the simulation step size; Taking the target inductance value and the target capacitance value as the simulation parameters of the transmission line to be processed, so that the transmission line to be processed meets the decoupling condition; The method further includes a step of determining whether the target inductance value and the target capacitance value meet the simulation requirements of the Bergeyron model, and this step includes: Based on the PI model, performing simulation using the inductance value and capacitance value of the transmission line to be processed to obtain an initial simulation result; Based on the PI model, performing simulation using the target inductance value and the target capacitance value to obtain a first simulation result; Obtaining a target error according to the initial simulation result and the first simulation result; If the target error is less than a preset error threshold, it is determined that the simulation requirements of the Bergeyron model are met. Based on the Bergeyron model, the target inductance value and the target capacitance value are used as the simulation parameters of the transmission line to be processed for simulation.
2. The method according to claim 1, wherein There are multiple first simulation results. The step of obtaining the first simulation result by performing simulation using the target inductance value and the target capacitance value based on the PI model includes: Based on the PI model, performing simulation using the target inductance value and the target capacitance value to obtain one of the first simulation results; Obtaining a first inductance value according to the target inductance value and the inductance adjustment value; Obtaining a first capacitance value according to the target capacitance value and the simulation step size; Based on the PI model, performing simulation using the first inductance value and the first capacitance value to obtain another first simulation result; Taking the first inductance value as the target inductance value and the first capacitance value as the target capacitance value, and repeating the steps from obtaining the first inductance value according to the target inductance value and the inductance adjustment value to performing simulation using the first inductance value and the first capacitance value based on the PI model to obtain another first simulation result according to a preset number of times until a preset number of first simulation results are obtained; The step of obtaining the target error according to the initial simulation result and the first simulation result includes: For each of the first simulation results, obtaining an error to be determined according to the initial simulation result and the first simulation result; Selecting the smallest error to be determined from all the errors to be determined as the target error; The step of performing simulation using the target inductance value and the target capacitance value as the simulation parameters of the transmission line to be processed based on the Bergeyron model includes: Based on the Bergeyron model, using the target inductance value and the target capacitance value corresponding to the smallest error to be determined as the simulation parameters of the transmission line to be processed for simulation.
3. The method according to claim 1, characterized in that The method further includes: If the target error is greater than the error threshold, then based on the PI model, using the capacitance value and inductance value of the transmission line to be processed as the simulation parameters of the transmission line to be processed for simulation.
4. The method according to claim 1, wherein The target inductance value is obtained in the following manner: L = L0 + △L where L0 represents the inductance value and △L represents the inductance adjustment value.
5. The method according to claim 1, wherein The target capacitance value is obtained in the following manner: C = △t^2 / L where △t represents the simulation step length and L represents the target inductance value.
6. The method according to claim 2, wherein The error to be determined is obtained in the following manner: where α1 represents the initial simulation result and α2 represents the first simulation result.
7. A device for determining simulation parameters of a transmission line, characterized in that, Applied to an electronic device, the apparatus is used to execute the method according to any one of claims 1-6. The apparatus includes: A search module for searching for a transmission line to be processed that cannot be decoupled in the power network; An acquisition module for acquiring the inductance value and capacitance value of the transmission line to be processed, as well as a preset simulation step length and inductance adjustment value; A determination module for obtaining a target inductance value according to the inductance value and the inductance adjustment value; obtaining a target capacitance value according to the target inductance value and the simulation step length; using the target inductance value and the target capacitance value as simulation parameters of the transmission line to be processed so that the transmission line to be processed meets the decoupling condition.
8. An electronic device, characterized in that, including: A memory, a processor, and a program stored on the memory and executable on the processor. When the program is executed by the processor, the method according to any one of claims 1-6 is implemented.
9. A storage medium, characterized in that, A computer program is stored on the storage medium. When the computer program is run by the processor, the steps of the method according to any one of claims 1-6 are executed.
Citation Information
Patent Citations
Simulation method and device for decoupling of short circuit in active power distribution network
CN113569514A