Design method for electrical secondary wiring based on design decoupling
By decoupling the electrical secondary wiring design into two parts, "node connection" and "equipment wiring", and utilizing cable databases and testing procedures, the problem of high error rate in electrical secondary wiring design is solved, achieving higher design accuracy and construction efficiency.
Patent Information
- Application Number
- CN202310226286.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2043-03-03
AI Technical Summary
Existing technologies have a high error rate and complex design process in electrical secondary wiring design, and cannot meet the electrical secondary wiring requirements under complex conditions.
By adopting a design-based decoupling approach, the electrical secondary wiring design is decoupled into two main parts: "node connection" and "equipment wiring". Through cable database, cable wiring relationship table and multiple testing steps, it is ensured that the cable data is accurately connected to the correct node, and the equipment wiring design is carried out according to the circuit number and cable model.
It significantly reduces the error rate of electrical secondary wiring design, improves design accuracy and production efficiency, and facilitates actual construction.
Smart Images

Figure CN116305693B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electrical secondary design, and particularly relates to a design method for electrical secondary wiring based on design decoupling. BACKGROUND
[0002] At present, electrical secondary wiring is usually needed in a large industrial building to integrate each individual system in the industrial building into a whole system for actual application. Before electrical secondary wiring construction, the design of electrical secondary wiring needs to be performed.
[0003] In the related art, the design of electrical secondary wiring is generally based on template-based design technology or secondary wiring automatic generation technology. The template-based design scheme is to match the wiring with the actual project under the determined wiring topology. The secondary wiring automatic generation scheme is to automatically connect the wiring terminals under the determined wiring terminal condition.
[0004] However, since the electrical secondary wiring needs to clearly indicate the specific wiring positions of thousands of cables, the principle diagram design, terminal wiring, cable repetition and cable connection need to be considered in the design, and the design process is relatively complex. The design scheme in the above related art still cannot meet the electrical secondary wiring design under complex conditions, and the error rate of the design result is high. SUMMARY
[0005] The present application aims to at least solve one of the above technical problems to some extent.
[0006] To this end, a first object of the present application is to provide a design method for electrical secondary wiring based on design decoupling, which reduces the error rate of electrical secondary wiring design to an acceptable range and solves the problem of high error rate of electrical secondary wiring design.
[0007] A second object of the present application is to provide a design system for electrical secondary wiring based on design decoupling.
[0008] A third object of the present application is to provide a non-transitory computer readable storage medium.
[0009] To achieve the above objects, a first aspect of the present application provides a design method for electrical secondary wiring based on design decoupling, which comprises:
[0010] S101: When performing loop design of electrical secondary wiring, according to the restriction requirement of a preset cable database for storing cable data, the related data of each loop is filled into the corresponding row of the cable database row by row;
[0011] S102: set each device to be wired as a node in a preset cable wiring relationship table, and fill in each row of cable data after filling in the label in it as an index into the corresponding node in turn;
[0012] S103: check whether any end in each row of cable data is consistent with the name of the node where it is located, and if none of them is consistent, eliminate the current cable data;
[0013] S104: based on the label of each cable data, respectively, count the number of occurrences of each cable data in all nodes of the cable wiring relationship table, and determine whether each cable data is connected to the correct node according to the corresponding number of occurrences, and re-design and node connection for the cable data not connected to the correct node;
[0014] S105: in the case where each cable data is connected to the correct node, perform device wiring design according to the loop number and cable model in the cable data.
[0015] In addition, the design method of electrical secondary wiring based on design decoupling of the embodiments of the application also has the following additional technical features:
[0016] Optionally, in some embodiments, after the device wiring design according to the loop number and cable model in the cable data, it further includes: determining whether there is a target cable with errors according to the result of the device wiring design; in the case where there is the target cable, adjusting the cable data in the cable database based on the target cable, and repeating steps S102 to S105 for the adjusted target cable data.
[0017] Optionally, in some embodiments, the determination of whether each cable data is connected to the correct node according to the corresponding number of occurrences includes: in the case where the number of occurrences is 2, determining that the current cable data is connected to the correct node; in the case where the number of occurrences is not 2, determining that the current cable data is missing or multiple; the re-design and node connection for the cable data not connected to the correct node includes: returning the cable data not connected to the correct node to step S101 for re-design, and repeating steps S102 to S104 until all cable data in the cable database are connected to the correct node.
[0018] Optionally, in some embodiments, before the loop design of the electrical secondary wiring, it further includes: counting the names of all devices involved in the electrical secondary wiring to generate a device code correspondence table.
[0019] Optionally, in some embodiments, the cable data comprises the label, the start end, the end, the loop number, the cable model and the occurrence number, wherein the label is information representing the uniqueness of the cable data, and the label is used to distinguish different cable data; the start end and the end are devices in the device code correspondence table; the loop number is used to indicate the function and loop name of the current loop in the electrical secondary wiring; and the cable model comprises cable type information and cable number information.
[0020] To achieve the above object, the second aspect of the present application provides a design system for electrical secondary wiring based on design decoupling, comprising:
[0021] The first filling module is configured to fill the relevant data of each loop into the corresponding row of the cable database row by row according to the limit requirements of the preset cable database for storing cable data when designing the loop of the electrical secondary wiring;
[0022] The second filling module is configured to set each device to be wired as a node in the preset cable wiring relationship table, and fill each row of cable data after filling into the corresponding node with the label therein as an index;
[0023] The checking module is configured to check whether any end of the start end and the end in each row of cable data is consistent with the name of the node, and to eliminate the current cable data if none of them is consistent;
[0024] The statistical module is configured to respectively count the occurrence number of each cable data in all nodes of the cable wiring relationship table based on the label of each cable data, and to determine whether each cable data is connected to the correct node according to the corresponding occurrence number, and to redesign and connect the nodes for the cable data that is not connected to the correct node;
[0025] The device wiring module is configured to perform device wiring design according to the loop number and the cable model in the cable data when each cable data is connected to the correct node.
[0026] Optionally, in some embodiments, the system further comprises a judgment module configured to determine whether there is a target cable with errors according to the result of the device wiring design, and an adjustment module configured to adjust the cable data in the cable database based on the target cable when the target cable exists, and to control the second filling module, the checking module, the statistical module and the device wiring module to sequentially re-execute their own functions on the adjusted target cable data.
[0027] Optionally, in some embodiments, the statistical module is specifically configured to: in the case that the occurrence frequency is 2, determine that the current cable data is connected to the correct node; in the case that the occurrence frequency is not 2, determine that the current cable data has a missing connection or a multiple connection; redesign the cable data that is not connected to the correct node, and control the second filling module, the checking module and the statistical module to sequentially perform their own functions on the redesigned cable data until all the cable data in the cable database are connected to the correct nodes.
[0028] Optionally, in some embodiments, the system further comprises a statistical module configured to count the names of all the devices involved in the electrical secondary wiring, and generate a device code correspondence table.
[0029] A third aspect of the embodiments of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the design method of the electrical secondary wiring based on design decoupling disclosed by the embodiments of the present application.
[0030] The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects: the present application decouples the secondary wiring design into two main parts of "node connection" and "device wiring" in the design link of the electrical secondary wiring, and performs the wiring design according to the process from the database to the label and then to the node, that is, the cable data in the generated cable database is sequentially connected to the matched node according to the label. Therefore, the present application makes the design idea of the electrical secondary wiring clearer and more understandable, reduces the complexity of the secondary wiring design, eliminates the possible misconnection, missing connection or multiple connection through multiple detection steps, greatly reduces the error rate of the electrical secondary wiring, improves the accuracy of the overall secondary wiring design, and is beneficial to greatly improving the production efficiency and facilitating the actual construction of the wiring.
[0031] The additional aspects and advantages of the present application will be partially given in the following description, partially become obvious from the following description, or be understood through the practice of the present application. BRIEF DESCRIPTION OF DRAWINGS
[0032] The above and / or additional aspects and advantages of the present application will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
[0033] Figure 1 A flowchart of a design method of the electrical secondary wiring based on design decoupling according to the embodiments of the present application is shown in the figure;
[0034] Figure 2 A schematic diagram of a cable database interface according to the embodiments of the present application is shown in the figure;
[0035] Figure 3A flow chart of a specific design method of electrical secondary wiring based on design decoupling proposed by an embodiment of the present application;
[0036] Figure 4 A structural schematic diagram of a design system of electrical secondary wiring based on design decoupling proposed by an embodiment of the present application;
[0037] Figure 5 A structural schematic diagram of a specific design system of electrical secondary wiring based on design decoupling proposed by an embodiment of the present application. DETAILED DESCRIPTION
[0038] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings, in which the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.
[0039] The design method and system of electrical secondary wiring based on design decoupling of embodiments of the present application are described below with reference to the accompanying drawings.
[0040] Figure 1 A flow chart of a design method of electrical secondary wiring based on design decoupling proposed by an embodiment of the present application is shown in FIG. 1, which includes the following steps: Figure 1
[0041] In step S101, when designing a loop of electrical secondary wiring, the relevant data of each loop is filled into the corresponding row of the cable database according to the limit requirements of the cable database for storing cable data.
[0042] The electrical secondary wiring design is a design method of interconnecting various systems or devices such as protection systems, measurement and control systems, communication systems, network devices and electronic computers in multiple types of industrial buildings such as power plants, substations or industrial plants by cables, network cables or electric wires to form an overall system and realize system functions.
[0043] A plurality of devices are connected by cables to form a loop to realize a certain function in the overall system. The loop design includes the number of loops contained in the overall system and the composition and connection mode of each loop.
[0044] Specifically, in the loop design stage, the contents of each designed loop are organized according to the requirements of the cable data, and the organized contents are filled into the cable database.
[0045] Specifically, each loop corresponds to the cable data of the loop, and the application is provided with a cable database for storing the cable data. The cable database is composed of multiple rows of cable data, each row only stores the cable data of one loop, and the stored cable data has restrictions on data content and storage format. After designing each loop and determining the specific information of each loop, the relevant data in the data of each loop that matches the content required by the cable data is written into the cable database in turn, so that the cable data corresponding to each loop is filled in row by row, and the filling of the content of the cable database is realized.
[0046] In an embodiment of the application, the content in each cable data includes: a label, a start end, a terminal, a loop number, a cable model, and a number of occurrences.
[0047] The label is information that represents the uniqueness of the cable data, and the label is used to distinguish different cable data. Specifically, the label of each cable data is globally unique, and is used to uniquely identify the current corresponding cable data among multiple global cable data. For example, the label can be a separate label or alias assigned to each cable data.
[0048] The start end and the terminal are devices in the device code correspondence table. Specifically, in this embodiment, before the loop design of the electrical secondary wiring is performed, it also includes: counting the names of all devices involved in the electrical secondary wiring, and generating a device code correspondence table. The device code correspondence table lists the names of all devices in the field. In this embodiment, all devices that may be involved in the electrical secondary wiring in the field are first determined according to the actual situation and the wiring needs, such as devices connected to the wiring cable, and then a device code correspondence table is generated. When designing the loop, two devices are selected from the device code correspondence table as the start end and the terminal of the wiring, so that the start end and the terminal are two names contained in the device code correspondence table.
[0049] The loop number is used to indicate the function and loop name of the loop in the electrical secondary wiring. Specifically, the loop number is used to guide the wiring design, and the function and loop name related to the secondary design need to be noted in this data. For example, the loop number information contains the number allocated to the current loop and the functions such as communication, charging, combination, and feeder used by the loop.
[0050] The cable model includes cable type information and cable number information. Specifically, the cable model is the specific selected cable information, and the cable information contains commonly used power cables, secondary cables, communication cables, network cables, and electric wires, etc. Cable types, and the number allocated to each cable. In order to facilitate reading and writing information, the last four digits of the cable number can be selected for filling.
[0051] It should be noted that in the present step, only the information of the above-mentioned label, start end, end, loop number and cable model is filled in each row of cable data of the cable database, and the occurrence times in the cable data are counted in the subsequent step and then filled in, so the occurrence times are described later.
[0052] In step S102, each device to be wired is set as a node in the preset cable wiring relationship table, and each row of cable data after being filled in is indexed by the label therein and sequentially filled into the corresponding node.
[0053] The device to be wired can be various cabinets or devices connected with the cable in actual application, such as a control cabinet, a feeder cabinet, or a grounding switch device.
[0054] It can be understood that, since the device code corresponding table of all devices involved in the electrical secondary wiring has been generated in advance in the embodiment of the above step, the device to be wired can be selected from the device code corresponding table, and each device to be wired can be regarded as a node connected with the cable.
[0055] The present application also pre-provides a cable wiring relationship table for storing node data, which is composed of multiple rows of nodes, and each row of node represents a specific cabinet, device, etc., and its data is contained in the device code corresponding table.
[0056] Specifically, each cabinet or device to be wired is set as a corresponding node in the cable wiring relationship table, and each row of cable data in the cable database is indexed by its own label and sequentially "connected" into the corresponding node.
[0057] Specifically, each row of cable data is distinguished by a label, and the content of each row of cable data stored in the cable database is sequentially filled into the corresponding node. For example, the current cable data is added to the node corresponding to the start end and the end.
[0058] It can be understood that, in actual application, since one device to be wired can be connected with multiple cables, each node after being filled in can contain one or more cable data.
[0059] In step S103, it is checked whether any end of the start end and the end in each row of cable data is consistent with the name of the node, and the current cable data is removed in the case where none of them is consistent.
[0060] Specifically, it is checked whether each node in the filled cable connection relationship table contains the start or end of each cable data under the node, that is, after filling each cable data to the corresponding node, it is checked whether the start or end of each cable data contains one that is the same as the name of the node filled to, if one is contained, it proves that the connection is correct, otherwise, it indicates that the current cable data is irrelevant to the node, the current cable data is mispositioned with the node, and then the cable data is eliminated in the node. After all the cable data is checked in the above manner, the subsequent step S104 is performed.
[0061] It can be understood that, since the cable data is filled to the node according to the matching of the start and end of the cable data with the corresponding node, and the node with the same start and end can be selected for filling. Therefore, if the start or end of the cable data is different from the name in the current node, it indicates that the cable data is filled incorrectly.
[0062] Step S104, based on the label of each cable data, the number of occurrences of each cable data in all nodes of the cable connection relationship table is counted respectively, and whether each cable data is connected to the correct node is judged according to the corresponding number of occurrences, and the cable data not connected to the correct node is redesigned and connected to the node.
[0063] Specifically, the number of occurrences of each cable data in the cable connection relationship table is calculated, that is, the total number of labels of each cable data under all nodes in the cable connection relationship table is counted, and the counted total number is filled into the "number of occurrences" in the corresponding cable data.
[0064] For example, the cable database with the number of occurrences filled in is shown in Figure 2 The pseudonym, the last four digits of the cable and the device name and other information in the database are filled in step S101, and the empty number of occurrences is filled in this step according to the statistical result.
[0065] Further, when judging whether each cable data is connected to the correct node according to the number of occurrences, if the number of occurrences is 2, it proves that the cable data is connected to the correct node as required, and if the number of occurrences is not 2, it proves that the cable data is missing or multiple.
[0066] It can be understood that the correctly connected cable should be connected with the two devices of the beginning end and the terminal, and therefore, after the cable data is selected and filled into the cable connection relationship table at the same nodes of the beginning end and the terminal respectively, the label of the cable data which is correctly connected should appear at the nodes corresponding to the beginning end and the terminal, i.e., a total of twice in the cable connection relationship table, and if the number of appearances is not 2, it indicates that the node connection is incorrect, specifically, if the number of appearances is less than 2, it indicates that the connection is missed, and if the number of appearances is greater than 2, it indicates that the connection is multiple, and the connection needs to be re-performed. Thus, in combination with the node connection detection of the present step, the "node connection" link is completed.
[0067] Further, for the cable data which is not connected to the correct node, the design and node connection are re-performed, including: returning the cable data which is not connected to the correct node to step S101 to re-perform the design, and repeatedly performing steps S102 to S104 until all the cable data in the cable database are connected to the correct node.
[0068] That is, the cable data which is not connected to the correct node is returned to the above step S101, and steps S101 to S104 are re-performed to exclude errors by repeatedly performing the above steps. Among them, according to the error reason, the error cable data can be re-designed, or when it is determined that the node filling link is incorrect, the original design is maintained and returned to step S102 to re-perform the node filling. And according to the above steps, the modification is checked in turn until the number of appearances of all the cable data is 2. Thus, it is ensured that all the cable data in the whole field is connected to the correct node.
[0069] Step S105, in the case that each cable data is connected to the correct node, the device connection design is performed according to the loop number and the cable model in the cable data.
[0070] Specifically, after the cable data in each node is correct, the device connection design is performed according to the loop number and the cable model in the cable data. For example, in combination with the current actual situation in the industrial building, the actual device connection design is performed according to the function realized by each loop, the specific cable used and the specific device connected. That is, the present step performs the "device connection" link, and the electrical secondary connection design is completed through the two links of "node connection" and "device connection".
[0071] Further, in an embodiment of the present application, after the device connection design is performed according to the loop number and the cable model in the cable data, it further includes: judging whether there is a target cable with error according to the result of the device connection design; in the case that there is a target cable, adjusting the cable data in the cable database based on the target cable, and repeatedly performing steps S102 to S105 on the adjusted target cable data.
[0072] Specifically, in the present embodiment, in the process of carrying out the device wiring design, if a cable is wrongly connected, missed or connected in excess, the cable data in the cable database is adjusted, added or deleted accordingly, and then the above steps S102 to S105 are re-executed. The modification is checked according to the above steps, and the correctness of the previous steps is ensured, so that the overall secondary wiring design is ensured to be correct, i.e. the correctness of the "device wiring" link is ensured.
[0073] To more fully illustrate the beneficial effects of the design method of electrical secondary wiring based on design decoupling of the present application on improving design accuracy, a specific embodiment in practical application is described below. In the present embodiment, in the design of a flexible reconstruction wind farm of a thermal power plant, there are 3 220kV outgoing lines, 2 main transformers and 12 35kV cable incoming lines in the whole field. The 220kV adopts double busbars, and the 35kV adopts single busbar segmentation. The number of secondary cables in the whole field reaches 1800. At the beginning of the design, the cable information is filled into the above-mentioned database, and then the cable data under the nodes is filled in accordance with the conditions of each node. Then, each step is checked according to the above embodiment, and the cable wiring table and the cable database are constantly modified to ensure the correctness of "node connection" and "device wiring". After the design is completed and the actual construction is carried out, the relevant staff members measure it, and the error rate of the present scheme can be as low as 1‰ or less, which greatly reduces the design error rate. The error rate of the design scheme in the related art is more than 10%. Figure 2
[0074] In summary, the design method of electrical secondary wiring based on design decoupling of the present embodiment decouples the secondary wiring design into "node connection" and "device wiring" in the design link of electrical secondary wiring, and the cable data in the generated cable database is connected according to the design idea of connecting the cable data in the cable database to the matched nodes according to the label in the process from the database to the label and then to the node. Therefore, the method makes the design idea of electrical secondary wiring clearer and easier to understand, reduces the complexity of secondary wiring design, eliminates possible misconnection or missed connection through multiple detection steps, greatly reduces the error rate of electrical secondary wiring, improves the accuracy of overall secondary wiring design, and is beneficial to greatly improving the production efficiency and facilitating the actual construction of wiring.
[0075] Based on the above embodiment, in order to more clearly illustrate the specific implementation process of the electrical secondary wiring design of the present application, a specific electrical secondary wiring design method proposed in an embodiment of the present application is described in detail below. Figure 3 A flowchart of a specific electrical secondary wiring design method proposed in an embodiment of the present application is shown in FIG. 2, and the method comprises the following steps: Figure 3
[0076] Step S301, fill in the cable database content, gradually fill in the cable data.
[0077] Step S302, fill in the nodes in the cable wiring relationship table one by one, and fill in the cable data in the cable database with the label as the index.
[0078] Step S303, check the nodes in the cable wiring relationship table, whether the start and end of each cable data have one consistent with the node name, if consistent, it proves that the connection is correct, if not consistent, the error cable data in the node is removed.
[0079] Step S304, check the occurrence times of the cable data, count the total number of labels under all nodes in the cable wiring relationship table, and fill in the occurrence times of the cable data, if the occurrence times are 2, the wiring is correct, if not, the cable that is not 2 is checked and modified according to the above steps, until the occurrence times of all cables are 2, to ensure that all cables are connected to the correct node.
[0080] Step S305, after each node data is correct, the equipment wiring design is carried out according to the loop number and cable model of the cable data, if there is an error cable, the data in the cable database is adjusted accordingly, and the above steps are checked and modified to ensure that the overall secondary wiring design is correct.
[0081] It should be noted that the specific implementation of each step described above can refer to the related description in the above embodiment, and the implementation principle is similar, which will not be repeated here.
[0082] In order to realize the above embodiment, the application also proposes a design system for electrical secondary wiring based on design decoupling. Figure 4 A structure diagram of a design system for electrical secondary wiring based on design decoupling is proposed for the embodiment of the application. As shown in FIG. 4, the system includes a first filling module 100, a second filling module 200, a checking module 300, a statistical module 400 and an equipment wiring module 500.
[0083] The first filling module 100 is used to fill in the related data of each loop into the corresponding row of the cable database according to the preset cable database limit requirement for storing cable data when the loop design of electrical secondary wiring is carried out.
[0084] The second filling module 200 is used to set each device to be wired as a node in the preset cable wiring relationship table, and fill in each row of cable data after filling into the corresponding node with the label therein as the index.
[0085] The checking module 300 is configured to check whether any of the start end and the terminal end in each row of cable data is consistent with the name of the node where the end is located, and to eliminate the current cable data if neither of the start end and the terminal end is consistent with the name of the node where the end is located.
[0086] The statistical module 400 is configured to count the occurrence times of each cable data in all nodes of the cable wiring relationship table based on the label of each cable data, and to determine whether each cable data is connected to a correct node according to the corresponding occurrence times, and to redesign and connect the nodes for the cable data that is not connected to the correct node.
[0087] The device wiring module 500 is configured to perform device wiring design according to the loop number and the cable model in the cable data if each cable data is connected to the correct node.
[0088] Optionally, in some embodiments, the statistical module 400 is specifically configured to: determine that the current cable data is connected to the correct node if the occurrence times is 2; determine that the current cable data is missing or multiple if the occurrence times is not 2; and redesign the cable data that is not connected to the correct node, and control the second filling module 200, the checking module 300 and the statistical module 400 to sequentially perform their own functions on the redesigned cable data until all cable data in the cable database are connected to the correct node.
[0089] Optionally, in an embodiment of the present application, as a possible implementation manner, as shown in Figure 5 the system further includes a generation module 600, a determination module 700 and an adjustment module 800.
[0090] The determination module 700 is configured to determine whether there is a target cable with an error according to the result of the device wiring design.
[0091] The adjustment module 800 is configured to adjust the cable data in the cable database based on the target cable if the target cable exists, and to control the second filling module 200, the checking module 300, the statistical module 400 and the device wiring module 500 to sequentially perform their own functions on the adjusted target cable data.
[0092] Optionally, in some embodiments, before the loop design of the electrical secondary wiring is performed, the generation module 600 is configured to count the names of all devices involved in the electrical secondary wiring, and to generate a device code corresponding table.
[0093] In summary, the design system for electrical secondary wiring based on design decoupling provided in the embodiments of the present application decouples the design of the secondary wiring into two main parts, i.e., node connection and device wiring, in the design stage of the electrical secondary wiring, and performs the wiring design according to the flow from the database to the label and then to the node, i.e., the design idea of connecting the cable data in the generated cable database to the matched node according to the label. Thus, the system makes the design idea of the electrical secondary wiring more clear and simple, reduces the complexity of the secondary wiring design, eliminates the possible misconnection or missed connection through multiple detection steps, greatly reduces the error rate of the electrical secondary wiring, improves the accuracy of the overall secondary wiring design, and is beneficial to greatly improving the production efficiency and facilitating the actual construction of the wiring.
[0094] In order to implement the above-mentioned embodiments, the present application further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make the computer execute the design method for electrical secondary wiring based on design decoupling according to any one of the above-mentioned embodiments.
[0095] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above-mentioned terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the present specification and the features of the different embodiments or examples without contradiction.
[0096] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise specifically limited.
[0097] Any process or method descriptions in flow charts or described elsewhere herein can be understood as representing code modules, segments, or portions of code that include one or more executable instructions for implementing specific logic functions (or steps) in the process, and the various embodiments of the present application include additional implementations in which the order of steps can differ from those shown or discussed, including a step can occur at other times, including as recited in the claims, the functions can be performed in an order different than that shown or discussed, including as recited in the claims, including in a substantially simultaneous manner, or including as recited in the claims, including in reverse order, depending on the functionality involved, and that this description or discussion is meant to be taken in a manner where features described can be combined, separated, and / or removed for different implementations of the application, and that individual features can be implemented and / or combined in any manner or in any combination of the features described in the application, this should be understood by those skilled in the art.
[0098] The logic and / or steps represented in flow diagrams or otherwise described herein, for example, can be considered as a sequence of instructions to implement logic functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this specification, a "computer-readable medium" can be any means that can contain, store, communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a machine-readable storage device (e.g., magnetic, optical or other storage device), a machine-readable storage substrate, a machine-readable signal, or any combination thereof. Other, specific examples of a computer-readable medium (non-exhaustive list) include the following: an electrical connection (electrical) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber (optical), and a portable compact disc read-only memory (CDROM). Note that the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
[0099] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As such, in some embodiments, memory (including computer-readable media) can store software or firmware for use by the instruction execution system. As used herein, "computer-readable medium" can be any tangible storage medium that can contain or store the program (e.g., instructions) for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a machine-readable storage device (e.g., magnetic, optical or other storage device), a machine-readable storage substrate, a machine-readable signal, or any combination thereof. The computer-readable medium can be, for example, but is not limited to, tangible media such as floppy disks, optical disks, compact disc read-only memories (CD-ROMs), and memory chips and chips attached to the processor such as read-only memory (ROM) chips and erasable programmable read-only memory (EPROM) chips. Note that the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
[0100] Those skilled in the art can understand that all or part of the steps involved in the above-mentioned embodiment method can be completed by programs instructing related hardware, and the programs can be stored in a computer-readable storage medium. When the programs are executed, one or a combination of the steps of the method embodiments is included.
[0101] In addition, each of the functional units in the various embodiments of the present application can be integrated in one processing module, or each of the units can be physically present separately, or two or more units can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0102] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.
Claims
1. A design method for electrical secondary wiring based on design decoupling, characterized in that, Includes the following steps: S101: When designing the circuit for electrical secondary wiring, according to the preset cable database's restrictions on storing cable data, fill in the relevant data of each circuit line by line into the corresponding line of the cable database; S102: Set each device to be wired as a node in the preset cable wiring relationship table, and fill in each row of cable data with the label in it as the index into the corresponding node in sequence; S103: Check if any end in the beginning and end of each row of cable data has the same name as the node it is in. If they do not match, remove the current cable data. S104: Based on the tag of each cable data, count the number of times each cable data appears in all nodes of the cable wiring relationship table, and determine whether each cable data is connected to the correct node according to the corresponding number of occurrences. For cable data that is not connected to the correct node, redesign and reconnect the nodes. The step of determining whether each cable data is connected to the correct node according to the corresponding number of occurrences includes: if the number of occurrences is 2, determine that the current cable data is connected to the correct node; if the number of occurrences is not 2, determine that the current cable data has missing or multiple connections. The step of redesigning and reconnecting the nodes for cable data that is not connected to the correct node includes: returning the cable data that is not connected to the correct node to step S101 for redesign, and repeating steps S102 to S104 until all cable data in the cable database is connected to the correct node. S105: Design the equipment wiring based on the loop number and cable type in each cable data, provided that each cable data is connected to the correct node.
2. The design method according to claim 1, characterized in that, After designing the equipment wiring based on the loop number and cable type in the cable data, the following is also included: Based on the results of the equipment wiring design, determine whether there is a target cable with an error; If the target cable exists, adjust the cable data in the cable database based on the target cable, and repeat steps S102 to S105 on the adjusted target cable data.
3. The design method according to claim 1, characterized in that, Before designing the circuit for electrical secondary wiring, the following is also included: The names of all equipment involved in the electrical secondary wiring are compiled, and an equipment code mapping table is generated.
4. The design method according to claim 3, characterized in that, The cable data includes: the tag, the start end, the end end, the loop number, the cable model, and the number of occurrences, wherein, The label is information that uniquely represents the cable data, and the label is used to distinguish different cable data. The starting point and the terminal are devices in the device code correspondence table; The circuit number is used to indicate the function and name of this circuit in the electrical secondary wiring. The cable model includes cable type information and cable number information.
5. A design system for electrical secondary wiring based on design decoupling, characterized in that, include: The first filling module is used to fill in the relevant data of each circuit into the corresponding row of the cable database line by line, according to the preset cable database's limitation requirements for storing cable data, when designing the circuit for electrical secondary wiring. The second filling module is used to set each device to be wired as a node in the preset cable wiring relationship table, and fill each row of cable data into the corresponding node in sequence with the label in it as the index; The inspection module is used to check whether any end in the beginning and end of each row of cable data has the same name as the node it is in. If they do not match, the current cable data is discarded. The statistics module is used to count the number of times each cable data appears in all nodes of the cable wiring relationship table based on the tag of each cable data, and to determine whether each cable data is connected to the correct node according to the corresponding number of occurrences. For cable data that is not connected to the correct node, the node connection is redesigned. Specifically, the statistics module is used to: determine that the current cable data is connected to the correct node when the occurrence count is 2; determine that the current cable data has missing or multiple connections when the occurrence count is not 2; redesign the cable data that is not connected to the correct node, and control the second filling module, the checking module and the statistics module to sequentially re-execute their functions on the redesigned cable data until all cable data in the cable database is connected to the correct node. The equipment wiring module is used to design equipment wiring based on the loop number and cable type in the cable data, assuming that each cable data is connected to the correct node.
6. The design system according to claim 5, characterized in that, Also includes: The judgment module is used to determine whether there is an erroneous target cable based on the result of the device wiring design; The adjustment module is used to adjust the cable data in the cable database based on the target cable when the target cable exists, and to control the second filling module, the checking module, the statistics module and the equipment wiring module to sequentially re-execute their functions on the adjusted target cable data.
7. The design system according to claim 5, characterized in that, Also includes: The statistics module is used to count the names of all equipment involved in electrical secondary wiring and generate an equipment code mapping table.
8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the electrical secondary wiring design method based on design decoupling according to any one of claims 1-4.
Citation Information
Patent Citations
Rapid identification method and device for secondary cable and optical cable loop of transformer substation
CN114139660A
Process for automatically wiring and routing for networks of plants
EP2575063A1