CN115017732A - Lightning protection analysis simulation step length calculation method, device, equipment and medium - Google Patents

Lightning protection analysis simulation step length calculation method, device, equipment and medium Download PDF

Info

Publication number
CN115017732A
CN115017732A CN202210763958.0A CN202210763958A CN115017732A CN 115017732 A CN115017732 A CN 115017732A CN 202210763958 A CN202210763958 A CN 202210763958A CN 115017732 A CN115017732 A CN 115017732A
Authority
CN
China
Prior art keywords
simulation step
length
lightning protection
length data
protection analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210763958.0A
Other languages
Chinese (zh)
Inventor
刘培杰
杨柳辉
沈志毅
游景方
洪浩彬
钟运平
王东芳
张红南
魏志雄
陈俊辉
商凯
宋亮
陈晓波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Heyuan Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Heyuan Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Heyuan Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202210763958.0A priority Critical patent/CN115017732A/en
Publication of CN115017732A publication Critical patent/CN115017732A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a simulation step length calculation method, a simulation step length calculation device, simulation step length calculation equipment and a simulation step length calculation medium. The method comprises the following steps: obtaining a description file of a tower model; querying length data of the impedance element in the description file; and determining the lightning protection analysis simulation step length according to the length data. The embodiment of the invention can realize the automatic calculation of the simulation step length, reduce the workload of manpower, improve the efficiency and the accuracy of the simulation step length calculation and reduce the waste of calculation resources.

Description

Lightning protection analysis simulation step length calculation method, device, equipment and medium
Technical Field
The invention relates to the technical field of computer simulation, in particular to a method, a device, equipment and a medium for calculating a lightning protection analysis simulation step length.
Background
Lightning strikes are the main cause of tripping of transmission lines. For the lightning protection evaluation model of the power transmission line, in the prior art, the simulation step length needs to be set by a user according to the user, and the user needs to know the lengths of the wave impedance elements of all towers of the whole line due to the setting of the parameter, so that the workload is very large.
The lightning protection evaluation of the whole line is mostly carried out in a segmented mode, and in order to ensure that the evaluation of all towers does not report errors, the artificially set simulation step length is a slightly small time step length even if the calculation is not reported errors through continuous trial, so that the great calculation resource waste is easily caused.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for calculating a lightning protection analysis simulation step length, which realize the automatic calculation of the simulation step length, reduce the workload of workers, improve the efficiency and the accuracy of the simulation step length calculation and reduce the waste of calculation resources.
According to an aspect of the present invention, there is provided a lightning protection analysis simulation step size calculation method, including:
obtaining a description file of a tower model;
querying length data of the impedance element in the description file;
and determining the lightning protection analysis simulation step length according to the length data.
According to another aspect of the present invention, there is provided a lightning protection analysis simulation step size calculation apparatus, including:
the description file acquisition module is used for acquiring a description file of the tower model;
the length data query module is used for querying the length data of the impedance element in the description file;
and the simulation step size determining module is used for determining the lightning protection analysis simulation step size according to the length data.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the lightning protection analysis simulation step size calculation method according to any embodiment of the invention.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to implement the lightning protection analysis simulation step size calculation method according to any embodiment of the present invention when the computer instructions are executed.
According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program, which when executed by a processor, implements the lightning protection analysis simulation step size calculation method according to any embodiment of the present invention.
According to the technical scheme, the method and the device for calculating the simulation step length solve the problems that in the prior art, the simulation step length needs to be determined according to the lengths of the impedance elements of all towers of the whole line, so that the simulation step length is set to be small and calculation resources are wasted seriously, the simulation step length can be set reasonably, the accuracy of simulation step length calculation is improved, and the waste of calculation resources is reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a lightning protection analysis simulation step calculation method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a lightning protection analysis simulation step calculation method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a lightning protection analysis simulation step calculation method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a lightning protection analysis simulation step calculation method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a lightning protection analysis simulation step size calculation apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing the lightning protection analysis simulation step size calculation method according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the term "comprises/comprising" and any variations thereof in the description and claims of this invention and the above-described drawings is intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a lightning protection analysis simulation step size calculation method according to an embodiment of the present invention, where the method is applicable to a case of performing lightning protection performance analysis on a tower, and the method may be executed by a lightning protection analysis simulation step size calculation device, and the lightning protection analysis simulation step size calculation device may be implemented in a hardware and/or software manner, and may be configured in an electronic device. As shown in fig. 1, the method includes:
and S110, obtaining a description file of the tower model.
The pole tower is a support for supporting the transmission line in the overhead transmission line. The tower model refers to a mathematical model established for a tower. The performance of the tower can be subjected to simulation analysis through the tower model. In this application, the performance of shaft tower can be lightning protection performance, that is to say the ability that the shaft tower bore the thunder and lightning electric current, and exemplarily, the thunder hits the shaft tower, can regard as with thunder and lightning electric current input shaft tower, forms the overvoltage, and the thunder and lightning electric current is big more, and the overvoltage that forms is higher, and the overvoltage is too high when leading to the shaft tower can't bear, can take place the condition of transmission line tripping operation, and wherein, the thunder and lightning electric current indicates when direct thunderbolt, through being struck the object, and the electric current of leaking into the earth.
The description file refers to a file for describing parameters of the tower model. The parameters of the tower model comprise at least one of the parameters of the tower size, the topological structure and the like. The tower size refers to the actual geometric dimension of the tower. The topological structure refers to a connecting structure of a tower equivalent circuit. The tower equivalent circuit is formed by connecting a series of impedance elements, the number of each connected node is determined, and the tower equivalent circuit topological structure can be described through the node number. The impedance element refers to an element for describing the impedance of the tower. The parameters of the tower model can be preset default values, and can also be set according to actual conditions. The description file is automatically generated after the tower model is built.
Specifically, when the lightning protection performance of the tower is analyzed, at least one tower model is established through simulation software and connected with each tower model for simulating an actual power transmission line. And according to the at least one established tower model, a description file corresponding to each tower model can be obtained. One tower model corresponds to one description file. The description files corresponding to different tower models can be the same or different.
And S120, inquiring length data of the impedance element in the description file.
The length data refers to the length of the impedance element. The impedance magnitude of the impedance element can be described by the length data. Illustratively, the greater the length data, the greater the impedance of the impedance element. The description file includes at least length data of one impedance element. The length data of the impedance elements may be the same or different.
Specifically, the fields in the description file are queried to identify the length data of the impedance element. Illustratively, data of a preset data type can be directly extracted from the description file and used as length data of the impedance element; it is also possible to extract a character string for describing the length data of the impedance element from the description file, convert the character string into data of a preset data type, and use the data as the length data of the impedance element. The preset data type may be a double precision floating point number.
And S130, determining the lightning protection analysis simulation step length according to the length data.
The lightning protection analysis means that the lightning protection performance of the tower is analyzed to obtain the maximum lightning current which can be borne by the tower. The lightning protection analysis simulation step length refers to the interval time between two continuous calculation processes executed by the tower model in the lightning protection analysis process. The tower model executing the calculation process once means a process of starting from inputting lightning current to the tower model, calculating overvoltage of the tower according to the lightning current, and comparing the overvoltage with a preset voltage to obtain a comparison result, wherein the preset voltage can be set according to actual conditions. The comparison result can be normal and abnormal, and the abnormal indicates that the tower trips.
Specifically, according to the length data, the length data can be substituted into a calculation formula of the simulation step length to calculate the lightning protection analysis simulation step length, or the length data can be processed to calculate the lightning protection analysis step length according to the processed length data.
According to the technical scheme of the embodiment of the invention, the description file of the tower model is obtained, the length data of the impedance element is inquired in the description file, the lightning protection analysis simulation step length is determined according to the length data, the automatic calculation of the simulation step length is realized, the efficiency of the simulation step length calculation can be improved, the manual workload is reduced, the simulation step length can be determined aiming at the tower model by inquiring the length data of the impedance element in the description file of the tower model, the problems that in the prior art, the simulation step length needs to be determined according to the lengths of the impedance elements of all towers of the whole line, the simulation step length is set slightly, the calculation resource waste is serious are solved, the simulation step length can be reasonably set, the accuracy of the simulation step length calculation is improved, and the waste of calculation resources is reduced.
Example two
Fig. 2 is a flowchart of a lightning protection analysis simulation step calculation method according to a second embodiment of the present invention, where this embodiment is implemented by querying length data of an impedance element in the description file on the basis of the second embodiment of the present invention, and is implemented as: inquiring target information corresponding to the length identification field in the description file; and acquiring length data of the impedance element in the target information. As shown in fig. 2, the method includes:
and S210, obtaining a description file of the tower model.
S220, inquiring target information corresponding to the length identification field in the description file.
The length identification field is used to identify the location of information describing the length data. For example, the length identification field may include a first start field for identifying a start position of the information describing the length data and a first end field for identifying an end position of the information describing the length data.
The object information refers to information describing length data. The target information may be code in a description file. At least one length data may be acquired through the target information. The target information corresponding to the length identification field refers to the target information determined according to the length identification field, and for example, the target information corresponding to the length identification field may be information between a first start field and a first end field in the length identification field.
Specifically, in the description file, the length identification field is queried, and the position of the target information is determined according to the length identification field, so that the target information corresponding to the length identification field is determined. Illustratively, the length identification field comprises a first start field < ResistanceLength > and a first end field </ResistanceLength >, the start and end positions of the target information are determined according to the first start field and the first end field, and the information between the first start field and the first end field is the target information corresponding to the length identification field.
And S230, acquiring length data of the impedance element in the target information.
Specifically, the target information is identified, a field for identifying length data in the target information is obtained, and the length data of the impedance element is obtained according to the field for identifying the length data. The target information includes at least one set of fields identifying length data from which length data for an impedance element can be determined. A set of fields identifying length data includes a second start field and a second end field, and length data for the impedance element may be determined based on information between the second start field and the second end field. Illustratively, a set of fields identifying length data includes a second start field < string > and a second end field </string >, and information between < string > and </string > may be determined as the length data of the impedance element
And S240, determining the lightning protection analysis simulation step length according to the length data.
According to the technical scheme of the embodiment of the invention, the target information corresponding to the length identification field is inquired in the description file, and the length data of the impedance element is acquired in the target information, so that the target information is automatically inquired in the description file, the acquisition efficiency of the target information can be improved, the acquisition efficiency of the length data of the impedance element is improved, and the manual workload is reduced.
On the basis of the above embodiment, the acquiring length data in the target information includes: and identifying at least one piece of line information included in the target information, and acquiring length data of at least one impedance element, wherein different impedance elements correspond to different pieces of line information.
The line information refers to information corresponding to a line of codes in the codes corresponding to the target information. It can also be understood that the target information corresponds to at least one line of codes, each line of codes corresponds to one line of information, and the target information includes at least one line of information. Specifically, the line information included in the target information is identified line by line, in each line, a field for identifying length data in the line information is identified, the length data of the impedance element is obtained according to the field for identifying the length data, and after the target information is identified, the length data of at least one impedance element can be obtained. The length data of one impedance element is included in one piece of row information, that is, different impedance elements correspond to different pieces of row information, and according to the row sequence of the row information, the length data included in the row information can be determined as the length data of which impedance element. It can also be understood that, according to the line sequence of the line information, the impedance element corresponding to the length data may be determined, and the correspondence between the length data and the impedance element may be preset.
The target information comprises at least one line information, line-by-line identification is carried out, the length data of at least one impedance element is obtained, the corresponding relation between the length data and the impedance element is conveniently established, and the accuracy of obtaining the length data is improved.
EXAMPLE III
Fig. 3 is a flowchart of a lightning protection analysis simulation step size calculation method provided in the third embodiment of the present invention, where on the basis of the foregoing embodiment, the lightning protection analysis simulation step size is determined according to the length data, and the determining is implemented as follows: calculating an initial simulation step length according to the length data; and correcting the initial simulation step length to obtain the lightning protection analysis simulation step length. As shown in fig. 3, the method includes:
and S310, obtaining a description file of the tower model.
And S320, inquiring length data of the impedance element in the description file.
And S330, calculating an initial simulation step length according to the length data.
The initial simulation step size refers to a simulation step size obtained by calculation according to the length data, and the initial simulation step size can provide a reference basis for determining the lightning protection analysis simulation step size.
Specifically, a simulation step size can be calculated according to one length data, at least one simulation step size can be calculated according to at least one length data, and then the obtained simulation step sizes are screened to obtain an initial simulation step size; or the length data can be screened first, and then the initial simulation step length is calculated according to the screened length data. According to the data with a plurality of lengths, only one initial simulation step length can be obtained finally.
S340, correcting the initial simulation step length to obtain the lightning protection analysis simulation step length.
Specifically, the initial simulation step size is corrected, and the corrected initial simulation step size is determined as the lightning protection analysis simulation step size. For example, the initial simulation step size is corrected by enlarging or reducing the initial simulation step size within a preset range, and the preset range may be set according to actual conditions.
According to the technical scheme, the initial simulation step length is calculated through the length data, the simulation step length is corrected, the lightning protection analysis simulation step length is obtained, the influence of calculation errors on the lightning protection analysis simulation step length setting can be avoided, the accuracy of determining the lightning protection analysis simulation step length is improved, and the waste of calculation resources is reduced.
On the basis of the above embodiment, the calculating an initial simulation step size according to the length data includes: acquiring minimum length data of at least one impedance element; according to the minimum length data, calculating the initial simulation step length based on the following formula:
Figure BDA0003721647490000091
wherein, T is the initial simulation step length, L is the minimum length data, and c is the speed of light.
The minimum length data refers to the minimum value among the length data. Specifically, the length data of at least one impedance element is sequenced, the length data with the minimum value is obtained and used as the minimum length data, the minimum length data is substituted into an initial simulation step size calculation formula, and the initial simulation step size is calculated.
By selecting the minimum length data from the length data of the impedance element and calculating the initial simulation step length according to the minimum length data, the calculation amount of the initial simulation step length can be reduced, the calculation resources are saved, and the calculation efficiency of the initial simulation cloth length is improved.
On the basis of the above embodiment, the correcting the initial simulation step size to obtain a lightning protection analysis simulation step size includes: reducing the initial simulation step length through preset parameters to obtain an alternative simulation step length; and mapping the alternative simulation step length to a preset standard value range to obtain a lightning protection analysis simulation step length, wherein the preset standard value range is determined according to preset minimum transmission time.
The preset parameters are parameters which are set according to actual conditions and used for reducing and adjusting the initial simulation step length. The alternative simulation step size refers to the simulation step size after the initial simulation step size is reduced. The preset standard value range refers to the value range of the simulation step length determined according to the minimum transmission time. Illustratively, the predetermined standard value range is less than the minimum transmission time. The transit time is the time required for a current to flow from one end to the other end through the impedance element. The transit time is determined by the parameters of the impedance element itself. The minimum transmission time is a minimum value of the transmission time of each impedance element.
Specifically, the initial simulation step length is divided by the preset parameter according to the preset parameter to obtain the alternative simulation step length. And mapping the alternative simulation step length to a preset standard numerical range, and determining a mapping result as the lightning protection analysis simulation step length. Illustratively, the preset parameter is 1.1, the initial simulation step size is divided by 1.1 to obtain an alternative simulation step size, and the alternative simulation step size is expressed by a scientific counting method, that is, a × 10 n Wherein, 1 is less than or equal to a<10, if a is an integer, the alternative simulation step length can be directly determined as the lightning protection analysis simulation step length, otherwise, a is rounded downwards to obtain an integer b, b is 10 n As lightning protection analysis simulation step length.
The initial simulation step length is reduced through the preset parameters to obtain the alternative simulation step length, the alternative simulation step length is mapped into the preset standard value range to obtain the lightning protection analysis simulation step length, the problem that the set lightning protection analysis simulation step length is larger than the minimum transmission time due to the small digit retention problem in the prior art can be solved, and the accuracy of determining the lightning protection analysis simulation step length is improved.
On the basis of the above embodiment, the method further includes: and inputting lightning current to the tower model according to the lightning protection analysis simulation step length to obtain the lightning protection performance of the tower model.
Specifically, from the lightning current of first input to the shaft tower model, lightning protection analysis simulation step length every interval, lightning current once inputs to the shaft tower model, the lightning current of input at every turn increases gradually, the range of increase can set up according to actual conditions, the shaft tower receives behind the lightning current, calculate the overvoltage of shaft tower according to the lightning current, contrast overvoltage and preset voltage, if overvoltage is less than preset voltage, show that the contrast result is normal, continue next lightning current input, if overvoltage is greater than preset voltage, show that the result of correspondence is unusual, lightning protection analytic process ends, can be according to the overvoltage of the size of the lightning current of last input or last output, confirm the lightning protection performance of shaft tower.
According to the lightning protection analysis step length, the lightning current is input into the tower model, the lightning protection performance of the tower model is obtained, the simulation research on the lightning protection performance of the tower is realized, and a data basis is provided for improving the lightning protection performance of the tower.
Example four
Fig. 4 is a flowchart of a lightning protection analysis simulation step size calculation method according to a fourth embodiment of the present invention. As shown in fig. 4, the method includes:
and S410, obtaining a description file of the tower model.
The description file of the tower model comprises codes for describing length data of the impedance elements. Illustratively, the code describing the length data of the impedance element is:
Figure BDA0003721647490000111
the method comprises the steps of obtaining a tower model, wherein the tower model comprises L _ ZA1, L _ ZA2, L _ ZA3, L _ ZA4, L _ ZA5, L _ ZA6, L _ ZT1 and L _ ZT, and the lengths of all impedance elements in an equivalent circuit of the tower corresponding to the tower model are set by a user when the tower model is built.
And S420, inquiring target information corresponding to the length identification field in the description file.
Specifically, a < ResistanceLength > field and a </ResistanceLength > field in the description file are identified, and target information is determined according to a code between the < ResistanceLength > field and the </ResistanceLength > field.
And S430, identifying the target information line by line, and acquiring length data of at least one impedance element.
Specifically, character strings between string and string are extracted line by line, converted into double-precision floating point numbers, determined as length data of the impedance elements, and the length data of at least one impedance element is stored as an impedance length array.
And S440, acquiring minimum length data in the length data of the at least one impedance element.
Specifically, the values in the impedance length array are compared to obtain the minimum length data L.
And S450, calculating an initial simulation step length according to the minimum length data.
Specifically, the minimum length data is substituted into an initial simulation step size calculation formula to obtain an initial simulation step size T.
And S460, correcting the initial simulation step length to obtain the lightning protection analysis simulation step length.
Specifically, T is divided by 1.1 and the results are expressed in scientific notation, i.e., a 10 n ,1≤a<10; if a is an integer, then keep the same, otherwise, get a integer b by rounding down, finally get b 10 n As lightning protection analysis simulation step length.
According to the technical scheme of the embodiment of the invention, the description file of the tower model is obtained, the length data of the impedance element is inquired in the description file, the lightning protection analysis simulation step length is determined according to the length data, the automatic calculation of the simulation step length is realized, the efficiency of the simulation step length calculation can be improved, the manual workload is reduced, the simulation step length can be determined aiming at the tower model by inquiring the length data of the impedance element in the description file of the tower model, the problems that in the prior art, the simulation step length needs to be determined according to the lengths of the impedance elements of all towers of the whole line, the simulation step length is set slightly, the calculation resource waste is serious are solved, the simulation step length can be reasonably set, the accuracy of the simulation step length calculation is improved, and the waste of calculation resources is reduced.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a lightning protection analysis simulation step size calculation apparatus according to a fifth embodiment of the present invention. As shown in fig. 5, the apparatus includes: a description file obtaining module 501, a length data query module 502 and a simulation step size determining module 503.
The description file obtaining module 501 is configured to obtain a description file of a tower model;
a length data query module 502, configured to query the length data of the impedance element in the description file;
a simulation step size determining module 503, configured to determine a lightning protection analysis simulation step size according to the length data.
According to the technical scheme of the embodiment of the invention, the description file of the tower model is obtained, the length data of the impedance element is inquired in the description file, the lightning protection analysis simulation step length is determined according to the length data, the automatic calculation of the simulation step length is realized, the efficiency of the simulation step length calculation can be improved, the manual workload is reduced, the simulation step length can be determined aiming at the tower model by inquiring the length data of the impedance element in the description file of the tower model, the problems that in the prior art, the simulation step length needs to be determined according to the lengths of the impedance elements of all towers of the whole line, the simulation step length is set slightly, the calculation resource waste is serious are solved, the simulation step length can be reasonably set, the accuracy of the simulation step length calculation is improved, and the waste of calculation resources is reduced.
Optionally, the length data query module 502 includes:
the target information query unit is used for querying the target information corresponding to the length identification field in the description file;
a length data acquisition unit for acquiring length data of the impedance element in the target information.
Optionally, the length data acquiring unit is specifically configured to:
and identifying at least one line of information included in the target information, and acquiring length data of at least one impedance element, wherein different impedance elements correspond to different lines of information.
Optionally, the simulation step size determining module 503 includes:
an initial simulation step length determining unit, configured to calculate an initial simulation step length according to the length data;
and the correcting unit is used for correcting the initial simulation step length to obtain the lightning protection analysis simulation step length.
Optionally, the initial simulation step size determining unit includes:
a minimum length data acquisition subunit configured to acquire minimum length data of at least one of the impedance elements;
an initial simulation step calculating subunit, configured to calculate, according to the minimum length data, the initial simulation step based on the following formula:
Figure BDA0003721647490000141
wherein, T is the initial simulation step length, L is the minimum length data, and c is the speed of light.
Optionally, the correction unit includes:
the alternative simulation step length determining subunit is used for reducing the initial simulation step length through preset parameters to obtain an alternative simulation step length;
and the mapping subunit is used for mapping the alternative simulation step length into a preset standard value range to obtain the lightning protection analysis simulation step length, wherein the preset standard value range is determined according to the preset minimum transmission time.
Optionally, the apparatus further comprises:
and the lightning current input module is used for inputting lightning current to the tower model according to the lightning protection analysis simulation step length to obtain the lightning protection performance of the tower model.
The lightning protection analysis simulation step length calculation device provided by the embodiment of the invention can execute the lightning protection analysis simulation step length calculation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example six
FIG. 6 illustrates a schematic structural diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the lightning protection analysis simulation step calculation method.
In some embodiments, the lightning protection analysis simulation step size calculation method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the lightning protection analysis simulation step calculation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the lightning protection analysis simulation step calculation method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the conventional physical host and VPS (Virtual Private Server) service.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A lightning protection analysis simulation step length calculation method is characterized by comprising the following steps:
obtaining a description file of a tower model;
querying length data of the impedance element in the description file;
and determining the lightning protection analysis simulation step length according to the length data.
2. The method of claim 1, wherein querying the profile for length data of impedance elements comprises:
inquiring target information corresponding to the length identification field in the description file;
and acquiring length data of the impedance element in the target information.
3. The method of claim 2, wherein the obtaining length data in the target information comprises:
and identifying at least one line of information included in the target information, and acquiring length data of at least one impedance element, wherein different impedance elements correspond to different lines of information.
4. The method of claim 1, wherein determining a lightning protection analysis simulation step size from the length data comprises:
calculating an initial simulation step length according to the length data;
and correcting the initial simulation step length to obtain the lightning protection analysis simulation step length.
5. The method of claim 4, wherein said calculating an initial simulation step size from said length data comprises:
acquiring minimum length data of at least one impedance element;
according to the minimum length data, calculating the initial simulation step length based on the following formula:
Figure FDA0003721647480000011
wherein, T is the initial simulation step length, L is the minimum length data, and c is the speed of light.
6. The method of claim 4, wherein the correcting the initial simulation step size to obtain a lightning protection analysis simulation step size comprises:
reducing the initial simulation step length through preset parameters to obtain an alternative simulation step length;
and mapping the alternative simulation step length to a preset standard value range to obtain a lightning protection analysis simulation step length, wherein the preset standard value range is determined according to preset minimum transmission time.
7. The method of claim 1, further comprising:
and inputting lightning current to the tower model according to the lightning protection analysis simulation step length to obtain the lightning protection performance of the tower model.
8. A lightning protection analysis simulation step size calculation device is characterized by comprising:
the description file acquisition module is used for acquiring a description file of the tower model;
the length data query module is used for querying the length data of the impedance element in the description file;
and the simulation step size determining module is used for determining the lightning protection analysis simulation step size according to the length data.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the lightning protection analysis simulation step calculation method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the lightning protection analysis simulation step calculation method according to any one of claims 1 to 7 when executed.
CN202210763958.0A 2022-06-29 2022-06-29 Lightning protection analysis simulation step length calculation method, device, equipment and medium Pending CN115017732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210763958.0A CN115017732A (en) 2022-06-29 2022-06-29 Lightning protection analysis simulation step length calculation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210763958.0A CN115017732A (en) 2022-06-29 2022-06-29 Lightning protection analysis simulation step length calculation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115017732A true CN115017732A (en) 2022-09-06

Family

ID=83079508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210763958.0A Pending CN115017732A (en) 2022-06-29 2022-06-29 Lightning protection analysis simulation step length calculation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115017732A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116757122A (en) * 2023-08-11 2023-09-15 杭州百子尖科技股份有限公司 Method, device, equipment and storage medium for constructing simulation model of packing absorption tower

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116757122A (en) * 2023-08-11 2023-09-15 杭州百子尖科技股份有限公司 Method, device, equipment and storage medium for constructing simulation model of packing absorption tower
CN116757122B (en) * 2023-08-11 2023-12-01 杭州百子尖科技股份有限公司 Method, device, equipment and storage medium for constructing simulation model of packing absorption tower

Similar Documents

Publication Publication Date Title
CN115017732A (en) Lightning protection analysis simulation step length calculation method, device, equipment and medium
CN116523140A (en) Method and device for detecting electricity theft, electronic equipment and storage medium
CN117473384A (en) Power grid line safety constraint identification method, device, equipment and storage medium
CN115408034A (en) Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium
CN117131315B (en) Out-of-tolerance electric energy meter determining method and medium based on solving multi-element quadratic function extremum
CN115511047B (en) Quantification method, device, equipment and medium of Softmax model
CN116151034B (en) Insulator core rod crisping prediction method, device, equipment and medium
CN117827710B (en) DMA bandwidth determining method, device, equipment and medium based on AI chip
CN115563015B (en) Code heat statistics method, device, equipment and storage medium
CN117131353A (en) Method and device for determining out-of-tolerance electric energy meter, electronic equipment and storage medium
CN115271211A (en) Power generation data generation method and device
CN116523051A (en) Model mixed-precision reasoning method, device, equipment and storage medium
CN117422108A (en) Method, device, equipment and storage medium for determining convolution kernel
CN115840660A (en) Alarm processing method, device, equipment and storage medium
CN116205321A (en) Method, device, equipment and storage medium for determining carbon consumption
CN117407722A (en) Method, device, equipment and medium for assembling distribution box
CN114910156A (en) Disturbance monitoring method, device and equipment for underground pipeline and storage medium
CN115864384A (en) Capacity expansion detection method, device, equipment and medium based on daily generated energy data
CN117406577A (en) Timing error determining method, timing error determining device, chip and storage medium
CN116127664A (en) Method, device, equipment and storage medium for correcting length of adjacent rod wire
CN118054563A (en) Dynamic setting method, device and equipment for protection device in power distribution network and storage medium
CN117194018A (en) Processing method and device of system temperature control algorithm in multi-core and multi-chip environment
CN116933088A (en) Secondary equipment fault data generation method and device, electronic equipment and medium
CN117293665A (en) Wire harness grouping method, device, equipment and medium for centrally installed switchgear
CN117913859A (en) Power grid planning method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination