Electric shock prevention method and device for electrified water body and computer readable storage medium
The resistance network model addresses the complexity of existing water equivalent models by simplifying calculations and improving safety assessments in charged water environments.
Patent Information
- Application Number
- CN202411198060.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-24
AI Technical Summary
Existing water equivalent models require a large number of parameters and complex mathematical expressions, consuming significant computing resources and failing to accurately capture the real behavior of water bodies, leading to safety hazards.
A resistance network model is constructed using tetrahedral units in a three-dimensional space, with nodes connected by resistors, solving state variables according to Ohm's law and current conservation principles to generate a potential distribution diagram and assess risk, simplifying the modeling process and reducing complexity.
Accurately calculates ground potential and current in charged water bodies, reducing calculation complexity and time, enabling safer assessments of electric shock risks.
Smart Images

Figure CN119180135A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical engineering technology, and in particular to a method and device for preventing electric shock in charged water, and a computer-readable storage medium. Background Art
[0002] The water equivalent model is a method used to simulate the effect of water on leakage current in power systems. In power systems, leakage current occurs when there is a leakage situation, such as equipment insulation failure or external reasons that cause current to flow to conductive media such as the ground or water. The water equivalent model is designed to help simulate and predict the effect of water on current propagation in leakage situations. This model is usually implemented by abstracting the water body as an equivalent circuit element. By considering parameters such as the conductivity and dielectric constant of the water body, the corresponding equivalent circuit model can be established to appropriately simulate the effect of the water body in power system analysis.
[0003] Water equivalent models play an important role in the field of electrical engineering, especially in electrical design and safety assessment involving equipment on the ground or in water. Using accurate water equivalent models can better understand the impact of water in leakage conditions and help engineers design safer and more reliable power systems.
[0004] The existing water equivalent model method based on finite element analysis usually discretizes the water body into a finite number of units, and the current characteristics of each unit can be obtained through mathematical modeling. Then the distribution of the electric field, including the propagation of charge and current density, is solved by the finite element method; however, this method has a large amount of calculation, a complex modeling process, and limited flexibility when dealing with irregular water shapes or performing detailed analysis of specific points. The standard meshing method of finite element analysis may not be suitable enough, limiting its wide application in practical applications.
[0005] The above-mentioned existing equivalent models require a large number of parameters and complex mathematical expressions to describe the characteristics of water bodies, consume a lot of computing resources, and are difficult to accurately capture the real behavior of water bodies, which easily causes safety hazards. No effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a method and device for preventing electric shock in charged water, and a computer-readable storage medium, so as to at least solve the technical problems that the existing equivalent model requires a large number of parameters and complex mathematical expressions to describe the characteristics of the water body, consumes a lot of computing resources, and is difficult to accurately capture the real behavior of the water body, which easily causes safety hazards.
[0007] According to one aspect of an embodiment of the present invention, a method for preventing electric shock in charged water is provided, comprising: obtaining water body parameters of the charged water body, wherein the charged water body refers to a water body into which current flows due to leakage of electrical equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; constructing a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of a plurality of basic units in a three-dimensional space, each of the plurality of basic units is a tetrahedron composed of a node and three resistors connected to the node, the node represents any unit body in the charged water body, and the unit body is a tetrahedron of the charged water body in the three-dimensional space. The resistor is obtained by discretization, and any two nodes are connected through the resistor; the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current to obtain the voltage of the node in each basic unit and the current flowing into each resistor, wherein the state variables at least include: the voltage of the node in the basic unit and the current flowing into each resistor; the potential distribution diagram of the charged water body is generated according to the voltage of each node in the resistor network model and the current flowing into each resistor; the risk of the charged water body is assessed according to the potential distribution diagram to obtain the safe distance for contacting the charged water body.
[0008] Optionally, a resistance network model of the charged water body is constructed based on the water body parameters, including: discretely dividing the charged water body in the three-dimensional space to obtain a plurality of unit bodies; determining the unit bodies as the nodes; connecting each of the nodes to the adjacent nodes through a resistor in each dimensional direction in the three-dimensional space to obtain an initial resistance network model; and inputting the water body parameters into the initial resistance network model to obtain the resistance network model.
[0009] Optionally, the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current to obtain the voltage of the node in each basic unit and the current flowing into each resistor, including: establishing multiple linear equations for each basic unit in the resistor network model according to Ohm's law and the principle of conservation of current based on the water body parameters to obtain a linear equation group consisting of multiple linear equations; solving the linear equation group for each basic unit to obtain the state variables of each basic unit; and determining the voltage of the node in each basic unit and the current flowing into each resistor based on the state variables.
[0010] Optionally, multiple linear equations of each of the basic units in the resistance network model are established according to the water body parameters in accordance with Ohm's law and the current conservation principle to obtain a linear equation group consisting of the multiple linear equations, including: when the node of the basic unit is an internal passive node, a first linear equation group is established according to the water body parameters in accordance with Ohm's law and the current conservation principle, wherein the internal passive node is the node not connected to an external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in =0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I in represents the current externally injected into the node, and R represents the resistance; when the node of the basic unit is not the internal passive node, the boundary condition is determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the basic unit.
[0011] Optionally, when the node of the basic unit is not the internal passive node, determining the boundary condition according to the node type of the node, and adjusting the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the basic unit, including: when the node type indicates that the node is an internal active node, determining the boundary condition as: (i,j,k) =U in, based on the boundary condition, the first linear equation in the first linear equation group is replaced by a fifth linear equation to obtain a second linear equation group of the internal active node, wherein the internal active node is the node connected to the external power supply, and the fifth linear equation is: (i,j,k) -U in =0,U in Indicates the external power supply voltage; when the node type indicates that the node is an internal ground node, the boundary condition is determined as: U (i,j,k) =0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain a third linear equation group of the internal grounding node, wherein the internal grounding node is the node connected to the ground, and the fourth linear equation is: (i,j,k) =0; when the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction of the upper boundary node is zero, and the linear equations in the first group of linear equations are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; when the node type indicates that the node is a lower boundary node, the boundary condition is determined to be that the current flowing into the next level of the lower boundary node in the boundary direction is zero, and the linear equations in the first group of linear equations are adjusted according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
[0012] Optionally, the upper boundary node includes: an upper boundary grounding node and an upper boundary insulating node. When the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero. The linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: when the node is the upper boundary grounding node and is located in the x direction, the boundary condition is determined to be: U (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain a fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is the node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k) =0; when the node is the upper boundary grounding node and is located in the y direction, the boundary condition is determined as: U (i,j+1,k)=0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eighth linear equation to obtain a fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; when the node is the upper boundary grounding node and is located in the z direction, the boundary condition is determined as: U (i,j,k+1) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by a ninth linear equation to obtain a sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; when the node is the upper boundary insulation node and is located in the x direction, the boundary condition is determined as: I x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is the node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) =0, M represents the total number of the nodes in the x direction; when the node is the upper boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,N,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eleventh linear equation to obtain an eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) =0, N represents the total number of the nodes in the y direction; when the node is the upper boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,L) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of the nodes in the z direction.
[0013] Optionally, the lower boundary node includes: a lower boundary grounding node and a lower boundary insulating node. When the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero. The linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: when the lower boundary node is the lower boundary grounding node, determining the third linear equation group as the linear equation group corresponding to the lower boundary node, wherein the lower boundary grounding node is the node located at the lower boundary of the resistor network model and is grounded; when the lower boundary node is the lower boundary insulating node and is located in the x direction, determining the boundary condition to be: I x(i-1,j,k) =0, based on the boundary condition, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is the node located at the lower boundary of the resistor network model and not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; when the lower boundary node is the lower boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,j-1,k) =0, based on the boundary condition, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; when the lower boundary node is the lower boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,k-1) =0, based on the boundary condition, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
[0014] According to another aspect of an embodiment of the present invention, there is also provided an anti-electric shock device for charged water, comprising: a first acquisition unit, used to acquire water body parameters of the charged water body, wherein the charged water body refers to a water body into which current flows due to leakage of electrical equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; a construction unit, used to construct a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected to the node, the node represents any unit body in the charged water body, and the unit body is a discrete representation of the charged water body in the three-dimensional space. It is obtained that any two of the nodes are connected through the resistor; a second acquisition unit is used to solve the state variables of each of the basic units in the resistor network model according to Ohm's law and the principle of conservation of current, and obtain the voltage of the nodes in each of the basic units and the current flowing into each of the resistors, wherein the state variables at least include: the voltage of the nodes in the basic units and the current flowing into each of the resistors; a generation unit is used to generate a potential distribution diagram of the charged water body according to the voltage of each of the nodes in the resistor network model and the current flowing into each of the resistors; a third acquisition unit is used to perform risk assessment on the charged water body according to the potential distribution diagram, and obtain a safe distance for contacting the charged water body.
[0015] Optionally, the construction unit includes: a first acquisition module, used to discretely divide the charged water body in the three-dimensional space to obtain a plurality of unit bodies; a first determination module, used to determine the unit bodies as the nodes; a second acquisition module, used to connect each of the nodes with the adjacent nodes through a resistor in each dimensional direction in the three-dimensional space to obtain an initial resistance network model; and a third acquisition module, used to input the water body parameters into the initial resistance network model to obtain the resistance network model.
[0016] Optionally, the second acquisition unit includes: a fourth acquisition module, used to establish multiple linear equations for each of the basic units in the resistor network model according to the water body parameters in accordance with Ohm's law and the current conservation principle, and obtain a linear equation group consisting of multiple linear equations; a fifth acquisition module, used to solve the linear equation group of each of the basic units to obtain the state variables of each of the basic units; a second determination module, used to determine the voltage of the node in each of the basic units and the current flowing into each resistor according to the state variables.
[0017] Optionally, the fourth acquisition module includes: an establishment submodule, which is used to establish a first linear equation group according to the water body parameters in accordance with Ohm's law and the current conservation principle when the node of the basic unit is an internal passive node, wherein the internal passive node is the node that is not connected to the external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in =0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I in Represents the current injected externally into the node, and R represents the resistance; a first acquisition submodule is used to determine the boundary conditions according to the node type of the node when the node of the basic unit is not the internal passive node, and adjust the linear equations in the first linear equation group according to the boundary conditions to obtain the linear equation group corresponding to the basic unit.
[0018] Optionally, the first acquisition submodule includes: a first determination submodule, configured to determine, when the node type indicates that the node is an internal active node, that the boundary condition is: (i,j,k) =U in , based on the boundary condition, the first linear equation in the first linear equation group is replaced by a fifth linear equation to obtain a second linear equation group of the internal active node, wherein the internal active node is the node connected to the external power supply, and the fifth linear equation is: (i,j,k) -U in =0,U inIndicates an external power supply voltage; a second determining submodule, for determining, when the node type indicates that the node is an internal grounding node, that the boundary condition is: U (i,j,k) =0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain a third linear equation group of the internal grounding node, wherein the internal grounding node is the node connected to the ground, and the fourth linear equation is: (i,j,k) =0; a second acquisition submodule, used for, when the node type indicates that the node is an upper boundary node, determining that the boundary condition is that the node voltage of the upper boundary node is zero, or the current in the boundary direction of the upper boundary node is zero, and adjusting the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; a third acquisition submodule, used for, when the node type indicates that the node is a lower boundary node, determining that the boundary condition is that the current flowing into the lower boundary node in the next level in the boundary direction is zero, and adjusting the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
[0019] Optionally, the upper boundary node includes: an upper boundary grounding node and an upper boundary insulation node, and the second acquisition submodule includes: a third determination submodule, which is used to determine that the boundary condition is: U (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain a fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is the node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k) =0; a fourth determination submodule, configured to determine, when the node is the upper boundary grounding node and is located in the y direction, that the boundary condition is: U (i,j+1,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eighth linear equation to obtain a fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; a fifth determining submodule, configured to determine, when the node is the upper boundary grounding node and is located in the z direction, that the boundary condition is: U (i,j,k+1)= 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by a ninth linear equation to obtain a sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; a sixth determination submodule, for determining, when the node is the upper boundary insulation node and is located in the x direction, that the boundary condition is: I x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is the node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) =0, M represents the total number of the nodes in the x direction; a seventh determination submodule, for determining, when the node is the upper boundary insulation node and is located in the y direction, that the boundary condition is: I y(i,N,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eleventh linear equation to obtain an eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) =0, N represents the total number of the nodes in the y direction; an eighth determination submodule, for determining, when the node is the upper boundary insulation node and is located in the z direction, that the boundary condition is: I z(i,j,L) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of the nodes in the z direction.
[0020] Optionally, the lower boundary node includes: a lower boundary grounding node and a lower boundary insulating node, and the third acquisition submodule includes: a ninth determination submodule, used for determining, when the lower boundary node is the lower boundary grounding node, that the third linear equation group is the linear equation group corresponding to the lower boundary node, wherein the lower boundary grounding node is the node located at the lower boundary of the resistor network model and is grounded; and a tenth determination submodule, used for determining, when the lower boundary node is the lower boundary insulating node and is located in the x direction, that the boundary condition is: I x(i-1,j,k)=0, based on the boundary condition, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is the node located at the lower boundary of the resistor network model and not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; an eleventh determination submodule, for determining, when the lower boundary node is the lower boundary insulation node and is located in the y direction, that the boundary condition is: I y(i,j-1,k) =0, based on the boundary condition, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; a twelfth determination submodule, for determining, when the lower boundary node is the lower boundary insulation node and is located in the z direction, that the boundary condition is: I z(i,j,k-1) =0, based on the boundary condition, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
[0021] According to another aspect of an embodiment of the present invention, a system for preventing electric shock in charged water is provided. The system for preventing electric shock in charged water uses any one of the above-mentioned methods for preventing electric shock in charged water.
[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for preventing electric shock in charged water.
[0023] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for preventing electric shock in charged water is executed.
[0024] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, which, when executed by a processor, perform any one of the above-mentioned methods for preventing electric shock in charged water.
[0025] In an embodiment of the present invention, water body parameters of a charged water body are obtained, wherein the charged water body refers to a water body into which current flows due to leakage of electrical equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; a resistor network model of the charged water body is constructed based on the water body parameters, wherein the resistor network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, and the node represents any unit body in the charged water body, and the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected by resistors; the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current, and the voltage of the nodes in each basic unit and the current flowing into each resistor are obtained, wherein the state variables at least include: the voltage of the nodes in the basic unit and the current flowing into each resistor; a potential distribution diagram of the charged water body is generated according to the voltage of each node in the resistor network model and the current flowing into each resistor; a risk assessment of the charged water body is performed according to the potential distribution diagram to obtain a safe distance for contacting the charged water body. Through the above technical scheme, the purpose of establishing a water body resistance network model, simulating the electrical characteristics of the water body when electrified, estimating the potential distribution of the charged water body to the ground and the size and propagation path of the leakage current in the water body when leakage exists, so as to enable people close to the water body to maintain a safe distance, and achieving the technical effect of accurately calculating the ground potential and current of the charged water body by solving a group of node equations, simplifying the modeling process, reducing the complexity of parameters and mathematical expressions, eliminating the need to solve physical equations and variational operations for water objects, greatly reducing the complexity and time of calculations, and providing more flexible boundary condition settings, which can handle more complex water body distribution environments, thereby solving the technical problems that the existing equivalent model requires a large number of parameters and complex mathematical expressions to describe the characteristics of the water body, consumes a lot of computing resources, and is difficult to accurately capture the real behavior of the water body, which easily causes safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0027] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for preventing electric shock in charged water according to an embodiment of the present invention;
[0028] Figure 2 is a flow chart of a method for preventing electric shock in charged water according to an embodiment of the present invention;
[0029] Figure 3 is a flow chart of an optional method for preventing electric shock in charged water according to an embodiment of the present invention;
[0030] Figure 4 is a schematic diagram of node connections of a three-dimensional resistor network according to an embodiment of the present invention;
[0031] Figure 5 is a schematic diagram of a basic unit in a resistor network model according to an embodiment of the present invention;
[0032] Figure 6 is a schematic diagram of an internal node according to an embodiment of the present invention;
[0033] Figure 7 is a schematic diagram of an upper boundary node according to an embodiment of the present invention;
[0034] Figure 8 is a schematic diagram of an upper boundary grounding node according to an embodiment of the present invention;
[0035] Fig. 9 is a schematic diagram of an upper boundary insulation node according to an embodiment of the present invention;
[0036] Fig.10 is a schematic diagram of a lower boundary insulation node according to an embodiment of the present invention;
[0037] Fig.11 Schematic diagram of an electric shock protection device for charged water according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0040] As introduced in the background technology, the existing equivalent model requires a large number of parameters and complex mathematical expressions to describe the characteristics of the water body, which consumes a lot of computing resources and is difficult to accurately capture the real behavior of the water body, which easily causes safety hazards. In view of the above defects, an anti-electric shock method and device for charged water bodies and a computer-readable storage medium are provided in an embodiment of the present invention.
[0041] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0042] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal for preventing electric shock in charged water according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0043] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the anti-electric shock method for charged water in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0044] According to an embodiment of the present invention, a method embodiment of a method for preventing electric shock in charged water is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0045] Figure 2 is a flow chart of a method for preventing electric shock in charged water according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0046] Step S202, obtaining water body parameters of a charged water body, wherein a charged water body refers to a water body into which current flows due to leakage of electric equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body.
[0047] In this embodiment, charged water generally refers to liquid water that carries an electric charge or potential due to the inflow of external current; the water parameters of the charged water mainly refer to the parameters used to describe the electrical properties of the water, which are crucial for establishing an equivalent resistance model of the water. Specifically, these parameters may include but are not limited to: 1) Conductivity: The conductivity of water is an indicator of the electrical conductivity of water, usually measured in Siemens per meter (S / m). A high conductivity means a higher ion concentration in the water, and thus the water has a stronger conductivity. In the resistor network model, conductivity is the main factor determining the resistance value; 2) Dielectric Constant: The dielectric constant describes the ability of water to store charge in an electric field, which affects the way the electric field propagates in the water; in the water equivalent resistor model, the dielectric constant helps determine the response of the water to the electric field; 3) Resistivity: Resistivity is the reciprocal of conductivity. It represents the resistance of water per unit length and unit cross-sectional area under unit electric field strength. In the resistor network model, resistivity is used to determine the value of the resistor element; 4) Temperature: The temperature of the water body affects its conductivity and resistivity, because changes in temperature affect the movement of ions in the water body. In some cases, temperature may need to be used as a parameter to adjust the accuracy of the model; 5) Shape and Dimensions of the water body: The shape and size of the water body will affect the layout of the resistor network and the way the nodes are connected. For example, irregularly shaped water bodies may require more complex resistor network structures to accurately simulate. Through these parameters, the current distribution and potential distribution in the water can be calculated, and the potential hazards in the case of leakage can be analyzed and the safety performance of the equipment can be evaluated. In practical applications, these parameters usually need to be obtained through experimental measurement or theoretical calculation, and then analyzed and simulated in combination with a specific water body resistance network model. Accurately mastering these parameters is crucial to improving the accuracy and reliability of the model.
[0048] Step S204, constructing a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, the node represents any unit body in the charged water body, the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected by resistors.
[0049] In this embodiment, the acquired water parameters of the charged water body can be used to establish an accurate water body resistance network model to simulate the influence of the water body on the leakage current in the power system.
[0050] Step S206, solving the state variables of each basic unit in the resistor network model according to Ohm's law and the principle of current conservation, obtaining the voltage of the nodes in each basic unit and the current flowing into each resistor, wherein the state variables include at least: the voltage of the nodes in the basic unit and the current flowing into each resistor.
[0051] In this embodiment, the state vector of each basic unit in the resistor network model may be solved to obtain the final resistor network model.
[0052] Step S208, generating an electric potential distribution diagram of the charged water body according to the voltage of each node in the resistor network model and the current flowing into each resistor.
[0053] In this embodiment, the constructed resistance network model can be used to simulate the potential distribution of charged water under different conditions to help evaluate the potential change in the case of leakage.
[0054] Step S210, performing risk assessment on the charged water body according to the potential distribution map to obtain a safe distance for contacting the charged water body.
[0055] In this embodiment, the safety distance can be determined by estimating the electric potential of the charged water body and the safety threshold specified in the power system safety specification, so as to help personnel stay in a safe area when approaching the charged water body and avoid the risk of electric shock.
[0056] As can be seen from the above, through the technical solution provided by the above embodiment of the present invention, the water body parameters of the charged water body can be obtained, wherein the charged water body refers to the water body into which the current flows due to the leakage of the power equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; a resistor network model of the charged water body is constructed based on the water body parameters, wherein the resistor network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, and the node represents any unit body in the charged water body, and the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected by resistors; the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current to obtain the voltage of the node in each basic unit and the current flowing into each resistor, wherein the state variables include at least: The voltage of the nodes in the basic unit and the current flowing into each resistor; the potential distribution diagram of the charged water body is generated according to the voltage of each node in the resistance network model and the current flowing into each resistor; the risk assessment of the charged water body is carried out according to the potential distribution diagram to obtain the safe distance for contacting the charged water body, so as to achieve the purpose of establishing a water body resistance network model, simulating the electrical characteristics of the water body when electrified, estimating the potential distribution of the charged water body to the ground and the size and propagation path of the leakage current in the water body when there is leakage, so as to enable people approaching the water body to maintain a safe distance, and achieving the technical effect of accurately calculating the ground potential and current of the charged water body by solving the node equation group, simplifying the modeling process, reducing the complexity of parameters and mathematical expressions, eliminating the need to solve the physical equations and variational operations of the water body object, greatly reducing the calculation complexity and time consumption, and providing more flexible boundary condition settings, which can handle more complex water body distribution environments.
[0057] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problems that the existing equivalent model requires a large number of parameters and complex mathematical expressions to describe the characteristics of the water body, consumes a lot of computing resources, and is difficult to accurately capture the real behavior of the water body, which easily causes safety hazards.
[0058] Combine the following Figures 3 to 10 The above embodiments of the present invention are described in detail. Figure 3 is a flow chart of an optional method for preventing electric shock in charged water according to an embodiment of the present invention, Figure 4 is a schematic diagram of the connection of nodes of a three-dimensional resistor network according to an embodiment of the present invention, Figure 5 is a schematic diagram of a basic unit in a resistor network model according to an embodiment of the present invention, Figure 6 is a schematic diagram of an internal node according to an embodiment of the present invention, Figure 7 is a schematic diagram of an upper boundary node according to an embodiment of the present invention, Figure 8 is a schematic diagram of an upper boundary grounding node according to an embodiment of the present invention, Fig. 9 is a schematic diagram of an upper boundary insulation node according to an embodiment of the present invention, Fig.10 is a schematic diagram of a lower boundary insulation node according to an embodiment of the present invention.
[0059] As above Figure 3 As shown, the linear equations corresponding to each node in the initially constructed resistance network model can be solved according to the water parameters of the charged water body, so as to obtain the final resistance network model for the potential distribution of the charged water body according to the obtained solution, analyze the propagation path and impact range of the leakage current in the water body, etc., so as to conduct safety assessment and adopt corresponding optimization plans.
[0060] According to the above embodiment of the present invention, a resistance network model of a charged water body is constructed based on water body parameters, including: discretely dividing the charged water body in a three-dimensional space to obtain a plurality of unit bodies; determining the unit bodies as nodes; connecting each node with an adjacent node through a resistor in each dimensional direction in the three-dimensional space to obtain an initial resistance network model; and inputting the water body parameters into the initial resistance network model to obtain a resistance network model.
[0061] As above Figure 4 And Figure 5 As shown in the figure, the number of layers of the water body equivalent resistance network model in the three-dimensional coordinates (x, y, z) are M, N and L respectively. Each node is connected to three resistors, the smallest tetrahedron is the basic unit of the water body, each unit is labeled (i, j, k), and the positive direction of the x, y, z coordinate axis is the direction in which the labels i, j, k increase; the state variable is the node voltage U(i, j, k), and the currents flowing into the three resistance branches are I x(i,j,k) , I y(i,j,k) and I z(i,j,k) , the state vector of each unit θ=[U(i,j,k),I x(i,j,k) , I y(i,j,k) , I z(i,j,k) ] T , by subsequently solving the state variables of each basic unit, the resistance network model of the charged water body can be obtained.
[0062] According to the above embodiment of the present invention, the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current to obtain the voltage of the nodes in each basic unit and the current flowing into each resistor, including: establishing multiple linear equations of each basic unit in the resistor network model according to Ohm's law and the principle of conservation of current based on water parameters to obtain a linear equation group composed of multiple linear equations; solving the linear equation group of each basic unit to obtain the state variables of each basic unit; and determining the voltage of the nodes in each basic unit and the current flowing into each resistor based on the state variables.
[0063] In this embodiment, linear equations of each basic unit in the resistor network model can be established according to Ohm's law and the principle of conservation of current. Each basic unit corresponds to multiple linear equations. It can also be understood that each basic unit corresponds to a linear equation group containing multiple linear equations. Then, by solving these linear equations, a unique solution for each basic unit can be obtained, and then the final resistor network model can be obtained.
[0064] In the above embodiment of the present invention, multiple linear equations of each basic unit in the resistance network model are established according to Ohm's law and the principle of conservation of current based on water body parameters to obtain a linear equation group consisting of multiple linear equations, including: when the node of the basic unit is an internal passive node, a first linear equation group is established according to Ohm's law and the principle of conservation of current based on water body parameters, wherein the internal passive node is a node not connected to an external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in = 0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I in represents the current injected into the node externally, and R represents the resistance; when the node of the basic unit is not an internal passive node, the boundary condition is determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the basic unit.
[0065] Specifically, according to Ohm's law and the principle of current conservation, four equations (1) to (4) can be listed: Among them, U (i+1,j,k) , U (i,j+1,k) and U (i,j,k+1)is the node voltage of the adjacent cell, I x(i-1,j,k) , I y(i,j-1,k) and I z(i,j,k-1) is the resistance branch current of the adjacent unit, I in Represents the current injected into the node from the outside (passive node, I in =0).
[0066] By simply transforming the above equations (1)-(4), we can get the four basic equations of the node: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0(5) (i.e. the first linear equation), U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0(6) (i.e., the second linear equation), U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0(7) (i.e. the third linear equation), I x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in =0(8) (i.e. the fourth linear equation), the equation group consisting of these four basic equations is the first linear equation group.
[0067] In the resistance network model of charged water, nodes can be mainly divided into internal nodes, upper boundary nodes and lower boundary nodes according to their locations. Different types of nodes may have different boundary conditions. Figure 6 As shown, the internal passive nodes in the internal nodes refer to nodes that have no external power supply connected, that is, there are no specific boundary conditions, so the internal passive nodes are applicable to the above-mentioned first linear equation group; while for other internal active nodes, internal ground nodes, upper boundary nodes and lower boundary nodes, there will be some specific boundary conditions due to their positions and states, so it is necessary to replace the linear equations in the above-mentioned first linear equation group according to the boundary conditions to obtain the corresponding linear equation group belonging to the node. The boundary conditions of these nodes and which linear equation in the first linear equation group needs to be replaced are explained in detail below.
[0068] In a specific embodiment of the present invention, when the node of the basic unit is not an internal passive node, the boundary condition is determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the basic unit, including: when the node type indicates that the node is an internal active node, the boundary condition is determined as: (i,j,k) =U in, based on the boundary condition, the first linear equation in the first linear equation group is replaced by the fifth linear equation to obtain the second linear equation group of the internal active node, wherein the internal active node is a node connected to the external power supply, and the fifth linear equation is: U (i,j,k) -U in =0,U in Indicates the external power supply voltage; when the node type indicates that the node is an internal ground node, the boundary condition is determined as: U (i,j,k) = 0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain the third linear equation group of the internal grounding node, wherein the internal grounding node is a node connected to the ground, and the fourth linear equation is: U (i,j,k) =0; when the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction of the upper boundary node is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; when the node type indicates that the node is a lower boundary node, the boundary condition is determined to be that the current flowing into the next level of the lower boundary node in the boundary direction is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
[0069] Optionally, the upper boundary node includes: an upper boundary grounding node and an upper boundary insulation node.
[0070] Optionally, the lower boundary node includes: a lower boundary grounding node and a lower boundary insulation node.
[0071] Specifically, in this embodiment, the node voltage of the internal active node is the external power supply voltage U in (known), there is an external current injected into the node (unknown), so there is a boundary condition U (i,j,k) =U in , equation (5) can be changed to U (i,j,k) -U in =0(9) (i.e., the fifth linear equation); the internal ground node is equivalent to a power supply with an external voltage of 0, so equation (8) can be changed to the boundary condition U (i,j,k) =0(10) (i.e., the sixth linear equation); for the upper boundary nodes and the lower boundary nodes, since the nodes may be in any direction of the x-direction, the y-direction, and the z-direction, the corresponding boundary conditions may also be different due to the different specific positions of the nodes, which is described in detail below.
[0072] In another specific embodiment of the present invention, when the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: when the node is an upper boundary ground node and is located in the x direction, the boundary condition is determined to be: U (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain the fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is a node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k) =0; when the node is an upper boundary ground node and is located in the y direction, the boundary condition is determined as: U (i,j+1,k) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eighth linear equation to obtain the fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; when the node is an upper boundary ground node and is located in the z direction, the boundary condition is determined as: U (i,j,k+1) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the ninth linear equation to obtain the sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; when the node is an upper boundary insulation node and is located in the x direction, the boundary condition is determined as: I x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is a node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) = 0, M represents the total number of nodes in the x direction; when the node is an upper boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,N,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eleventh linear equation to obtain the eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) = 0, N represents the total number of nodes in the y direction; when the node is an upper boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,L)=0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of nodes in the z direction.
[0073] As above Figure 7 As shown, the upper boundary node refers to the edge node where the network label i, j or k is the maximum value, and the upper boundary node can be divided into an upper boundary grounding node and an upper boundary insulation node.
[0074] As above Figure 8 As shown, the upper boundary grounding node refers to the node located at the upper boundary and connected to the ground. First, according to the condition that the voltage of the grounding node is 0, equation (8) is changed to boundary condition (10); in addition, the voltage of the boundary endpoint of the node is also set to 0. For example, if the node is located at the x-axis boundary, that is, i = M, then there is a boundary condition U (i+1,j,k) =0, equation (5) can be changed to the boundary condition U (i,j,k) -RI x(i,j,k) =0(11) (i.e. the seventh linear equation), considering U (i+1,j,k) = 0, the boundary condition (11) is actually equivalent to I x(i,j,k) ; If the node is located at the boundary of the y-axis, that is, j = N, there is a boundary condition U (i,j+1,k) =0, equation (6) can be changed to U (i,j,k) -RI y(i,j,k) =0(12) (i.e., the eighth linear equation); if the node is located at the z-axis boundary, i.e., k=L, there is a boundary condition U (i,j,k+1) =0, equation (7) can be changed to U (i,j,k) -RI z(i,j,k) =0(13) (i.e. the ninth linear equation).
[0075] As above Fig. 9 As shown, the upper boundary insulation node is located at the node where the impedance branch connects to the insulator. If the upper boundary is insulated, the resistance branch current in this direction is 0. If the node is located at the x-axis boundary, that is, i = M, there is a boundary condition I x(M,j,k) =0, equation (5) can be changed to I x(i,j,k) =0(14) (i.e., the tenth linear equation); if the node is located at the boundary of the y-axis, i.e., j=N, there is a boundary condition I y(i,N,k) =0, equation (6) can be changed to I y(i,j,k) =0(15) (i.e., the eleventh linear equation); if the node is located at the z-axis boundary, i.e., k=L, there is a boundary condition I z(i,j,L) =0, equation (7) can be changed to I z(i,j,k) =0(16) (i.e., the twelfth linear equation).
[0076] In another specific embodiment of the present invention, when the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: when the lower boundary node is a lower boundary grounding node, determining the third linear equation group as the linear equation group corresponding to the lower boundary node, wherein the lower boundary grounding node is a node located at the lower boundary of the resistor network model and is grounded; when the lower boundary node is a lower boundary insulating node and is located in the x direction, determining the boundary condition as: I x(i-1,j,k) =0, based on the boundary conditions, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is a node located at the lower boundary of the resistor network model and is not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; when the lower boundary node is a lower boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,j-1,k) =0, based on the boundary conditions, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; when the lower boundary node is a lower boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,k-1) =0, based on the boundary conditions, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
[0077] Specifically, the lower boundary node refers to the edge node where the network number i, j or k is the minimum value. The lower boundary node status is divided into grounded node and insulated node. The lower boundary grounded node refers to the node located at the lower boundary and connected to the ground. That is, the lower boundary node is grounded, and the node voltage is 0. Therefore, the boundary condition of the node is the same as the boundary condition of the internal grounded node, and equation (8) can be changed to boundary condition (10).
[0078] As above Fig.10 As shown, the insulating node is the node located at the lower boundary where the resistance branch connects to the insulator, i.e., the lower boundary insulating node boundary condition: the node located at the lower boundary, i.e., there is no resistance branch current flowing into the unit of the next level. For example, if the node is the lower boundary of the x-axis unit (i=1), the current flowing into the (1, j, k) node is only I y(1,j-1,k) and I z(1,j,k-1) ; Since the node is insulated and there is no externally injected current, the boundary conditions of the node include I x(i-1,j,k)=0(17) (i.e., the thirteenth linear equation); if the node is the lower boundary of the y-axis unit (j=1), then the boundary condition includes I y(i,j-1,k) =0(18) (i.e. the fourteenth linear equation); if the node is the lower boundary of the z-axis element (k=1), then the boundary condition includes I z(i,j,k-1) =0(19) (i.e. the fifteenth linear equation).
[0079] Finally, the state variables of each node can be solved according to the above-listed equations. The state vector θ of each node in the water body resistor network has a total of 4 states to be solved. According to the type of each node, 4 equations (basic equations + boundary conditions) can be listed for each node. By combining the equations of each node, the linear equation group AX=Y of the entire resistor network can be obtained, where X is formed by the arrangement and connection of the state vectors of each node, X=[θ (1,1,1) T ,θ (2,1,1) T , ..., θ (M,1,1) T ,θ (1,2,1) T , ..., θ (1,N,1) T , ..., θ (M,N,1) T ,θ (1,1,2) T , ..., θ (M,N,L) T ] T , with a total of 4×M×N×L rows. A is a matrix (4MNL×4MNL) composed of the coefficients of the linear equations. Since the state of each node is only related to the states of its adjacent nodes, the matrix A is a sparse matrix; Y is a vector composed of the items in the linear equations except the state vector, usually the external power supply voltage. Therefore, except for the active nodes, the elements of Y corresponding to other nodes are 0. Solving the linear equations AX=Y can obtain the unique solution of each node state.
[0080] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0081] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0082] According to an embodiment of the present invention, there is also provided a device for preventing electric shock in charged water for implementing the above-mentioned method for preventing electric shock in charged water. Fig.11 Schematic diagram of an electric shock protection device for charged water according to an embodiment of the present invention. Fig.11 As shown, the device comprises: a first acquisition unit 111, a construction unit 113, a second acquisition unit 115, a generation unit 117 and a third acquisition unit 119. The device for preventing electric shock of charged water is described in detail below.
[0083] The first acquisition unit 111 is used to acquire water body parameters of a charged water body, wherein a charged water body refers to a water body into which current flows due to leakage of electric equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body.
[0084] The construction unit 113 is used to construct a resistor network model of a charged water body based on water body parameters, wherein the resistor network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, and the node represents any unit body in the charged water body. The unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected by resistors.
[0085] The second acquisition unit 115 is used to solve the state variables of each basic unit in the resistor network model according to Ohm's law and the principle of conservation of current, and obtain the voltage of the nodes in each basic unit and the current flowing into each resistor, wherein the state variables include at least: the voltage of the nodes in the basic unit and the current flowing into each resistor.
[0086] The generating unit 117 is used to generate an electric potential distribution diagram of the charged water body according to the voltage of each node in the resistor network model and the current flowing into each resistor.
[0087] The third acquisition unit 119 is used to perform risk assessment on the charged water body according to the potential distribution map to obtain a safe distance for contacting the charged water body.
[0088] It should be noted here that the above-mentioned first acquisition unit 111, construction unit 113, second acquisition unit 115, generation unit 117 and third acquisition unit 119 correspond to steps S202 to S210 in the above-mentioned embodiments, and the five units are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.
[0089] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, the first acquisition unit can be used to acquire the water body parameters of the charged water body, wherein the charged water body refers to the water body into which current flows due to leakage of the electrical equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; then the construction unit is used to construct a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of multiple basic units in a three-dimensional space, and each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, and the node represents any unit body in the charged water body, and the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected by resistors; then the second acquisition unit is used to solve the state variables of each basic unit in the resistance network model according to Ohm's law and the principle of conservation of current, and the voltage of the node in each basic unit and the current flowing into each resistor are obtained, wherein the state variables at least include The invention summarizes: the voltage of the nodes in the basic unit and the current flowing into each resistor; then the generation unit is used to generate the potential distribution map of the charged water body according to the voltage of each node in the resistance network model and the current flowing into each resistor; finally, the third acquisition unit is used to conduct risk assessment on the charged water body according to the potential distribution map, and obtain the safe distance for contacting the charged water body, so as to achieve the purpose of establishing a water body resistance network model, simulating the electrical characteristics of the water body when electrified, estimating the potential distribution of the charged water body to the ground and the size and propagation path of the leakage current in the water body when there is leakage, so as to enable people close to the water body to maintain a safe distance, and realize the technical effect of accurately calculating the ground potential and current of the charged water body by solving the node equation group, simplifying the modeling process, reducing the complexity of parameters and mathematical expressions, eliminating the need to solve the physical equations and variational operations of the water body object, greatly reducing the calculation complexity and time consumption, and providing more flexible boundary condition settings, which can handle more complex water body distribution environments.
[0090] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problems that the existing equivalent model requires a large number of parameters and complex mathematical expressions to describe the characteristics of the water body, consumes a lot of computing resources, and is difficult to accurately capture the real behavior of the water body, which easily causes safety hazards.
[0091] Optionally, the construction unit includes: a first acquisition module, used to discretely divide the charged water body in three-dimensional space to obtain multiple unit bodies; a first determination module, used to determine the unit bodies as nodes; a second acquisition module, used to connect each node with the adjacent node through a resistor in each dimensional direction in the three-dimensional space to obtain an initial resistance network model; a third acquisition module, used to input water body parameters into the initial resistance network model to obtain a resistance network model.
[0092] Optionally, the second acquisition unit includes: a fourth acquisition module, which is used to establish multiple linear equations for each basic unit in the resistor network model according to the water body parameters in accordance with Ohm's law and the principle of conservation of current, and obtain a linear equation group consisting of multiple linear equations; a fifth acquisition module, which is used to solve the linear equation group of each basic unit to obtain the state variables of each basic unit; and a second determination module, which is used to determine the voltage of the nodes in each basic unit and the current flowing into each resistor according to the state variables.
[0093] Optionally, the fourth acquisition module includes: an establishment submodule, which is used to establish a first linear equation group according to Ohm's law and the principle of conservation of current based on water parameters when the node of the basic unit is an internal passive node, wherein the internal passive node is a node that is not connected to an external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k )=0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k )=0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in = 0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I inRepresents the current injected into the node externally, and R represents the resistance; the first acquisition submodule is used to determine the boundary conditions according to the node type of the node when the node of the basic unit is not an internal passive node, and adjust the linear equations in the first linear equation group according to the boundary conditions to obtain the linear equation group corresponding to the basic unit.
[0094] Optionally, the first acquisition submodule includes: a first determination submodule, configured to determine the boundary condition as follows when the node type indicates that the node is an internal active node: (i,j,k) =U in , based on the boundary condition, the first linear equation in the first linear equation group is replaced by the fifth linear equation to obtain the second linear equation group of the internal active node, wherein the internal active node is a node connected to the external power supply, and the fifth linear equation is: U (i,j,k) -U in =0,U in Indicates the external power supply voltage; the second determination submodule is used to determine the boundary condition as follows: U (i,j,k) = 0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain the third linear equation group of the internal grounding node, wherein the internal grounding node is a node connected to the ground, and the fourth linear equation is: U (i,j,k) =0; a second acquisition submodule is used to, when the node type indicates that the node is an upper boundary node, determine that the boundary condition is that the node voltage of the upper boundary node is zero, or the current in the boundary direction of the upper boundary node is zero, and adjust the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; a third acquisition submodule is used to, when the node type indicates that the node is a lower boundary node, determine that the boundary condition is that the current flowing into the lower boundary node in the next level in the boundary direction is zero, and adjust the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
[0095] Optionally, the upper boundary node includes: an upper boundary grounding node and an upper boundary insulation node, and the second acquisition submodule includes: a third determination submodule, which is used to determine the boundary condition as follows when the node is an upper boundary grounding node and is located in the x direction: U (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain the fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is a node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k)=0; the fourth determination submodule is used to determine the boundary condition as follows when the node is an upper boundary grounding node and is located in the y direction: U (i,j+1,k) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eighth linear equation to obtain the fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; The fifth determination submodule is used to determine the boundary condition as follows when the node is an upper boundary grounding node and is located in the z direction: U (i,j,k+1) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the ninth linear equation to obtain the sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; the sixth determination submodule is used to determine the boundary condition as follows when the node is an upper boundary insulation node and is located in the x direction: I x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is a node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) =0, M represents the total number of nodes in the x direction; the seventh determination submodule is used to determine the boundary condition as follows when the node is an upper boundary insulation node and is located in the y direction: I y(i,N,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eleventh linear equation to obtain the eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) =0, N represents the total number of nodes in the y direction; the eighth determination submodule is used to determine the boundary condition as follows when the node is an upper boundary insulation node and is located in the z direction: I z(i,j,L) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of nodes in the z direction.
[0096] Optionally, the lower boundary node includes: a lower boundary grounding node and a lower boundary insulating node, and the third acquisition submodule includes: a ninth determination submodule, which is used to determine that the third linear equation group is a linear equation group corresponding to the lower boundary node when the lower boundary node is a lower boundary grounding node, wherein the lower boundary grounding node is a node located at the lower boundary of the resistance network model and is grounded; and a tenth determination submodule, which is used to determine that the boundary condition is: I x(i-1,j,k) =0, based on the boundary conditions, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is a node located at the lower boundary of the resistor network model and is not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; the eleventh determination submodule is used to determine the boundary condition as follows when the lower boundary node is a lower boundary insulation node and is located in the y direction: I y(i,j-1,k) =0, based on the boundary conditions, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; The twelfth determination submodule is used to determine the boundary condition as follows when the lower boundary node is a lower boundary insulation node and is located in the z direction: I z(i,j,k-1) =0, based on the boundary conditions, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
[0097] According to another aspect of an embodiment of the present invention, a system for preventing electric shock of a charged water body is further provided. The system for preventing electric shock of a charged water body uses any one of the above-mentioned methods for preventing electric shock of a charged water body.
[0098] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned methods for preventing electric shock in charged water.
[0099] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.
[0100] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining water body parameters of a charged water body, wherein a charged water body refers to a water body into which current flows due to leakage of electrical equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; constructing a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of multiple basic units in a three-dimensional space, each of the multiple basic units is a tetrahedron composed of a node and three resistors connected by the node, the node represents any unit body in the charged water body, and the unit body is The charged water body is discretized in three-dimensional space, and any two nodes are connected by resistors; the state variables of each basic unit in the resistor network model are solved according to Ohm's law and the principle of conservation of current, and the voltage of the nodes in each basic unit and the current flowing into each resistor are obtained, wherein the state variables include at least: the voltage of the nodes in the basic unit and the current flowing into each resistor; the potential distribution diagram of the charged water body is generated according to the voltage of each node in the resistor network model and the current flowing into each resistor; the risk of the charged water body is assessed according to the potential distribution diagram, and the safe distance for contacting the charged water body is obtained.
[0101] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: discretely dividing the charged water body in three-dimensional space to obtain multiple unit bodies; determining the unit bodies as nodes; connecting each node to the adjacent nodes through a resistor in each dimensional direction in the three-dimensional space to obtain an initial resistance network model; inputting water body parameters into the initial resistance network model to obtain a resistance network model.
[0102] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: establishing multiple linear equations for each basic unit in the resistor network model according to Ohm's law and the principle of conservation of current based on water body parameters to obtain a linear equation group consisting of multiple linear equations; solving the linear equation group for each basic unit to obtain a state variable for each basic unit; and determining the voltage of the nodes in each basic unit and the current flowing into each resistor based on the state variables.
[0103] Optionally, in this embodiment, the computer-readable storage medium is configured to store a program code for executing the following steps: when the node of the basic unit is an internal passive node, a first linear equation group is established according to Ohm's law and the current conservation principle based on the water body parameters, wherein the internal passive node is a node that is not connected to an external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k)=0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in = 0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I in represents the current injected into the node externally, and R represents the resistance; when the node of the basic unit is not an internal passive node, the boundary condition is determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the basic unit.
[0104] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: in the case where the node type indicates that the node is an internal active node, determining the boundary condition as follows: (i,j,k) =U in , based on the boundary condition, the first linear equation in the first linear equation group is replaced by the fifth linear equation to obtain the second linear equation group of the internal active node, wherein the internal active node is a node connected to the external power supply, and the fifth linear equation is: U (i,j,k) -U in =0,U in Indicates the external power supply voltage; when the node type indicates that the node is an internal ground node, the boundary condition is determined as: U (i,j,k) = 0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain the third linear equation group of the internal grounding node, wherein the internal grounding node is a node connected to the ground, and the fourth linear equation is: U (i,j,k)=0; when the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction of the upper boundary node is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; when the node type indicates that the node is a lower boundary node, the boundary condition is determined to be that the current flowing into the next level of the lower boundary node in the boundary direction is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
[0105] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the node is an upper boundary ground node and is located in the x direction, determining the boundary condition as: (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain the fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is a node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k) =0; when the node is an upper boundary ground node and is located in the y direction, the boundary condition is determined as: U (i,j+1,k) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eighth linear equation to obtain the fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; when the node is an upper boundary ground node and is located in the z direction, the boundary condition is determined as: U (i,j,k+1) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the ninth linear equation to obtain the sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; when the node is an upper boundary insulation node and is located in the x direction, the boundary condition is determined as: I x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is a node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) = 0, M represents the total number of nodes in the x direction; when the node is an upper boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,N,k)=0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the eleventh linear equation to obtain the eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) = 0, N represents the total number of nodes in the y direction; when the node is an upper boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,L) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of nodes in the z direction.
[0106] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the lower boundary node is a lower boundary grounding node, determining the third linear equation group as a linear equation group corresponding to the lower boundary node, wherein the lower boundary grounding node is a node located at the lower boundary of the resistor network model and grounded; when the lower boundary node is a lower boundary insulating node and is located in the x direction, determining the boundary condition as: x(i-1,j,k) =0, based on the boundary conditions, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is a node located at the lower boundary of the resistor network model and is not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; when the lower boundary node is a lower boundary insulation node and is located in the y direction, the boundary condition is determined as: I y(i,j-1,k) =0, based on the boundary conditions, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; when the lower boundary node is a lower boundary insulation node and is located in the z direction, the boundary condition is determined as: I z(i,j,k-1) =0, based on the boundary conditions, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
[0107] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for preventing electric shock in charged water is executed.
[0108] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, which, when executed by a processor, execute any one of the above-mentioned methods for preventing electric shock in charged water.
[0109] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0110] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0111] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.
[0112] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0113] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0114] 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0115] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for preventing electric shock in charged water, characterized in that: include: Acquiring water body parameters of a charged water body, wherein the charged water body refers to a water body into which current flows due to leakage of electric power equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; A resistor network model of the charged water body is constructed based on the water body parameters, wherein the resistor network model is a model composed of a plurality of basic units in a three-dimensional space, each of the plurality of basic units is a tetrahedron composed of a node and three resistors connected to the node, the node represents any unit body in the charged water body, the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected through the resistor; Solving the state variables of each of the basic units in the resistor network model according to Ohm's law and the current conservation principle to obtain the voltage of the nodes in each of the basic units and the current flowing into each of the resistors, wherein the state variables at least include: the voltage of the nodes in the basic unit and the current flowing into each of the resistors; generating an electric potential distribution diagram of the charged water body according to the voltage of each of the nodes in the resistor network model and the current flowing into each of the resistors; A risk assessment is performed on the charged water body according to the potential distribution diagram to obtain a safe distance for contacting the charged water body.
2. The method for preventing electric shock in charged water according to claim 1, characterized in that: Constructing a resistance network model of the charged water body based on the water body parameters includes: Discretely dividing the charged water body in the three-dimensional space to obtain a plurality of unit bodies; Determining the unit cell as the node; Connecting each of the nodes to the adjacent nodes via one of the resistors in each dimensional direction in the three-dimensional space to obtain an initial resistor network model; The water body parameters are input into the initial resistance network model to obtain the resistance network model.
3. The method for preventing electric shock in charged water according to claim 1, characterized in that: Solving the state variables of each basic unit in the resistor network model according to Ohm's law and the current conservation principle to obtain the voltage of the node in each basic unit and the current flowing into each resistor includes: Establishing multiple linear equations of each of the basic units in the resistance network model according to the water body parameters in accordance with Ohm's law and the current conservation principle, to obtain a linear equation group consisting of the multiple linear equations; Solving the linear equations of each basic unit to obtain the state variables of each basic unit; The voltage of the node in each of the basic units and the current flowing into each of the resistors are determined according to the state variable.
4. The method for preventing electric shock in charged water according to claim 3, characterized in that: According to the water body parameters, multiple linear equations of each of the basic units in the resistance network model are established according to Ohm's law and the current conservation principle, to obtain a linear equation group consisting of multiple linear equations, including: In the case where the node of the basic unit is an internal passive node, a first linear equation group is established according to the water body parameters in accordance with Ohm's law and the current conservation principle, wherein the internal passive node is the node that is not connected to an external power supply, and the first linear equation group includes: a first linear equation, a second linear equation, a third linear equation and a fourth linear equation, and the first linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the second linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the third linear equation is: U(i, j, k)-U(i+1, j, k)-RI x(i,j,k) =0, the fourth linear equation is: x(i,j,k) +I y(i,j,k) +I z(i,j,k) -I x(i-1,j,k) -I y(i,j-1,k) -I z(i,j,k-1) -I in =0, i represents the number of the node in the x direction in the three-dimensional space, j represents the number of the node in the y direction in the three-dimensional space, k represents the number of the node in the z direction in the three-dimensional space, U represents the voltage of the node, I x represents the current in the x direction, I y represents the current in the y direction, I z represents the current in the z direction, I in represents the current externally injected into the node, and R represents the resistance; In the case where the node of the basic unit is not the internal passive node, the boundary conditions are determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary conditions to obtain the linear equation group corresponding to the basic unit.
5. The method for preventing electric shock in charged water according to claim 4, characterized in that: In the case where the node of the basic unit is not the internal passive node, a boundary condition is determined according to the node type of the node, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the basic unit, including: In the case where the node type indicates that the node is an internal active node, the boundary condition is determined as: (i,j,k) =U in , based on the boundary condition, the first linear equation in the first linear equation group is replaced by a fifth linear equation to obtain a second linear equation group of the internal active node, wherein the internal active node is the node connected to the external power supply, and the fifth linear equation is: (i,j,k) -U in =0,U in Indicates the external power supply voltage; In the case where the node type indicates that the node is an internal grounding node, the boundary condition is determined as: ( i, j, k ) =0, based on the boundary condition, the fourth linear equation in the first linear equation group is replaced by the sixth linear equation to obtain a third linear equation group of the internal grounding node, wherein the internal grounding node is the node connected to the ground, and the fourth linear equation is: ( i, j, k ) =0; In the case where the node type indicates that the node is an upper boundary node, determining that the boundary condition is that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero, and adjusting the linear equations in the first linear equation group according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node; When the node type indicates that the node is a lower boundary node, the boundary condition is determined to be that the current flowing into the next level of the lower boundary node in the direction of the boundary is zero, and the linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the lower boundary node.
6. The method for preventing electric shock in charged water according to claim 5, characterized in that: The upper boundary node includes: an upper boundary grounding node and an upper boundary insulation node. When the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero. The linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: In the case where the node is the upper boundary ground node and is located in the x direction, the boundary condition is determined as: (i+1,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the seventh linear equation to obtain a fourth linear equation group of the upper boundary grounding node, wherein the upper boundary grounding node is the node located at the upper boundary of the resistor network model and grounded, and the seventh linear equation is: U (i,j,k) -RI x(i,j,k) =0; In the case where the node is the upper boundary ground node and is located in the y direction, the boundary condition is determined as: (i,j+1,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eighth linear equation to obtain a fifth linear equation group of the upper boundary grounding node, wherein the eighth linear equation is: (i,j,k) -RI y(i,j,k) =0; In the case where the node is the upper boundary ground node and is located in the z direction, the boundary condition is determined as: (i,j,k+1) = 0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by a ninth linear equation to obtain a sixth linear equation group of the upper boundary grounding node, wherein the ninth linear equation is: (i,j,k) -RI z(i,j,k) =0; In the case where the node is the upper boundary insulation node and is located in the x direction, the boundary condition is determined as: x(M,j,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the tenth linear equation to obtain the seventh linear equation group of the upper boundary grounding node, wherein the upper boundary insulation node is the node located at the lower boundary of the resistance network model and is not grounded, and the tenth linear equation is: x(M,j,k) =0, M represents the total number of the nodes in the x direction; In the case where the node is the upper boundary insulation node and is located in the y direction, the boundary condition is determined as: y(i,N,k) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by an eleventh linear equation to obtain an eighth linear equation group of the upper boundary grounding node, wherein the eleventh linear equation is: y(i,N,k) =0, N represents the total number of nodes in the y direction; In the case where the node is the upper boundary insulation node and is located in the z direction, the boundary condition is determined as: z(i,j,L) =0, based on the boundary condition, the first linear equation in the third linear equation group is replaced by the twelfth linear equation to obtain the ninth linear equation group of the upper boundary grounding node, wherein the twelfth linear equation is: z(i,j,L) =0, L represents the total number of the nodes in the z direction.
7. The method for preventing electric shock in charged water according to claim 5, characterized in that: The lower boundary node includes: a lower boundary grounding node and a lower boundary insulating node. When the node type indicates that the node is an upper boundary node, the boundary condition is determined to be that the node voltage of the upper boundary node is zero, or the current in the boundary direction where the upper boundary node is located is zero. The linear equations in the first linear equation group are adjusted according to the boundary condition to obtain the linear equation group corresponding to the upper boundary node, including: In the case where the lower boundary node is the lower boundary grounding node, determining the third linear equation group as the linear equation group corresponding to the lower boundary node, wherein the lower boundary grounding node is the node located at the lower boundary of the resistor network model and grounded; In the case where the lower boundary node is the lower boundary insulation node and is located in the x direction, the boundary condition is determined as: x(i-1,j,k) =0, based on the boundary condition, the thirteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the lower boundary insulation node is the node located at the lower boundary of the resistor network model and not grounded, and the thirteenth linear equation is: x(i-1,j,k) =0; In the case where the lower boundary node is the lower boundary insulation node and is located in the y direction, the boundary condition is determined as: y(i,j-1,k) =0, based on the boundary condition, the fourteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fourteenth linear equation is: y(i,j-1,k) =0; In the case where the lower boundary node is the lower boundary insulation node and is located in the z direction, the boundary condition is determined as: z(i,j,k-1) =0, based on the boundary condition, the fifteenth linear equation is added to the first linear equation group to obtain the tenth linear equation group of the lower boundary node, wherein the fifteenth linear equation is: z(i,j,k-1) =0.
8. An anti-electric shock device for charged water, characterized in that: include: A first acquisition unit is used to acquire water body parameters of a charged water body, wherein the charged water body refers to a water body into which current flows due to leakage of electric equipment, and the water body parameters are used to describe the electrical characteristics of the charged water body; A construction unit, used for constructing a resistance network model of the charged water body based on the water body parameters, wherein the resistance network model is a model composed of a plurality of basic units in a three-dimensional space, each of the plurality of basic units is a tetrahedron composed of a node and three resistors connected to the node, the node represents any unit body in the charged water body, the unit body is obtained by discretizing the charged water body in the three-dimensional space, and any two nodes are connected through the resistor; A second acquisition unit is used to solve the state variables of each of the basic units in the resistor network model according to Ohm's law and the current conservation principle to obtain the voltage of the node in each of the basic units and the current flowing into each of the resistors, wherein the state variables at least include: the voltage of the node in the basic unit and the current flowing into each of the resistors; A generating unit, configured to generate an electric potential distribution diagram of the charged water body according to the voltage of each of the nodes in the resistor network model and the current flowing into each of the resistors; The third acquisition unit is used to perform risk assessment on the charged water body according to the electric potential distribution map to obtain a safe distance for contacting the charged water body.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method for preventing electric shock in charged water according to any one of claims 1 to 7.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the method for preventing electric shock in charged water according to any one of claims 1 to 7 is performed.
Citation Information
Cited By
Method for constructing and simulating equivalent impedance model of electrified water body and related device
CN119294151A
A method for constructing and simulating an equivalent impedance model of charged water and related devices
CN119294151B
