Batch creation method and device of electrical configuration diagram of centralized control system, equipment and medium
Patent Information
- Application Number
- CN202610904694.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-23
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2046-06-23
AI Technical Summary
[0003]本发明提供了一种集控系统电气组态图的批量创建方法、装置、设备及介质,以解决电气组态图创建的大量重复操作、效率低的问题
[0008]The standard graphic element library designed in this invention not only stores the standard graphic elements themselves, but also synchronously stores configuration information to enrich the graphic element configuration dimensions. Moreover, all configuration information can be directly reused when called, which greatly reduces repetitive operations in the configuration process.
Smart Images

Figure CN122433668B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic configuration diagram construction technology, specifically to a method, apparatus, equipment, and medium for batch creation of electrical configuration diagrams for centralized control systems. Background Technology
[0002] With the further development of new energy technologies, the centralized and scientific management model of new energy power plants has gradually come into the public eye. With the construction of new energy control centers, an effective way has been provided for the centralized management of power generation equipment assets and power transmission and transformation equipment assets of power plants. However, as the number of power plants connected to the control center increases, the workload of drawing electrical topology diagrams for each power plant and displaying the status of measurement points will increase exponentially. This will cause the implementation personnel to perform a large number of repetitive operations, including repeatedly drawing elements in the electrical topology diagram and repeatedly drawing substation configuration diagrams of the same type of bay. The cost of repetitive drawing and conversion is high, and the efficiency is low and prone to errors. Summary of the Invention
[0003] This invention provides a method, apparatus, equipment, and medium for batch creation of electrical configuration diagrams for centralized control systems, in order to solve the problems of numerous repetitive operations and low efficiency in creating electrical configuration diagrams.
[0004] In a first aspect, the present invention provides a method for batch creation of electrical configuration diagrams. The method includes: drawing electrical configuration diagrams of the same type of bay based on field electrical wiring diagrams and a pre-built standard element library; attaching measurement points to each element in the electrical configuration diagram and establishing a mapping rule between the measurement point acquisition values and the element display status to obtain an electrical configuration reference drawing, wherein the attribute information of the measurement point includes at least a measurement point code, and the measurement point code includes at least the serial number code of the substation bay to which it belongs under the same type of bay and a serial number representing the function of the measurement point; responding to a batch creation command, batch copying the electrical configuration reference drawing to obtain multiple target electrical configuration diagrams corresponding to substation bays, and defining the serial number code of the substation bay corresponding to each target electrical configuration diagram; updating the measurement point code of all measurement points in the target electrical configuration diagram based on the rule of updating the serial number code while keeping the serial number unchanged and the serial number code of the target electrical configuration diagram, to obtain the batch-produced electrical configuration diagrams.
[0005] The batch creation method for electrical configuration diagrams of centralized control systems provided by this invention can draw electrical configuration diagrams of the same type of substation based on a standard element library. Measurement points are then attached to each element in the electrical configuration diagram, and a mapping rule is established between the measured values and the displayed status of the elements to obtain an electrical configuration baseline drawing. The attribute information of this measurement point includes the measurement point code. During batch creation, the electrical configuration baseline drawing is copied in batches to obtain target electrical configuration diagrams corresponding to multiple substations. A serial number code is defined for each target electrical configuration diagram. Based on the rule of updating the serial number code while keeping the sequence number unchanged, and the serial number code of the target electrical configuration diagram, the measurement point codes of all measurement points in the target electrical configuration diagram are updated to obtain batch-produced electrical configuration diagrams. This method enables batch creation of electrical configuration diagrams of the same type of substation based on measurement point codes, significantly reducing the manual costs of repetitive drawing and point-by-point attachment, effectively avoiding problems such as incorrect drawing and misattached measurement points caused by manual operation, and improving the standardization and accuracy of configuration modeling.
[0006] In one optional implementation, the measurement point code further includes the identifier of the substation area to which it belongs and the bay type identifier. The process of attaching measurement points to each element in the electrical configuration diagram includes: determining the measurement point function to be bound to the current element based on the attachment status of measurement points in the field electrical wiring diagram; retrieving a matching measurement point code from a pre-built measurement point database based on the measurement point function and the sequence code of the substation bay to which it belongs; and attaching the measurement point corresponding to the matching measurement point code to the current element. The measurement point database is constructed through the following steps: processing the measurement points of each electrical device in the field electrical wiring diagram... Establish a hierarchical structure corresponding to the current measurement point, including substation area, bay type, and substation bay; encode the current measurement point according to the hierarchical structure and measurement point function to obtain the measurement point code; configure the corresponding data source identifier according to the source of the current measurement point; obtain the measurement point channel number and information body address of the current measurement point; store the current measurement point and its corresponding measurement point attribute information in the measurement point database, wherein the measurement point attribute information includes the measurement point code, data source identifier, measurement point channel number, information body address, and measurement point attributes, and the measurement point attributes include at least the measurement point data type, measurement point name, measurement point category, and measurement point default value.
[0007] In one optional implementation, the standard graphic element library is constructed through the following steps: drawing the standard graphic elements corresponding to the current substation equipment; defining the configuration information corresponding to the standard graphic elements, wherein the configuration information includes at least the basic metadata of the graphic elements, the association and binding relationship between the graphic elements and the measurement points, the user's interactive operation behavior with the standard graphic elements, and the mapping rules between the measurement point acquisition values and the graphic element display status; and storing the current equipment, the corresponding standard graphic elements, and the configuration information in the standard graphic element library.
[0008] The standard graphic element library designed in this invention not only stores the standard graphic elements themselves, but also synchronously stores configuration information to enrich the graphic element configuration dimensions. Moreover, all configuration information can be directly reused when called, which greatly reduces repetitive operations in the configuration process.
[0009] In one optional implementation, updating the measurement point codes of all measurement points in the target electrical configuration diagram based on the rule of updating the sequence number and keeping the sequence number unchanged, and the sequence number code of the target electrical configuration diagram, includes: obtaining all measurement point codes in the electrical configuration reference drawing, and extracting the coding fields representing the hierarchical structure of the measurement points from the measurement point codes to generate a reference coding sequence; using the reference coding sequence as a reference, updating all coding fields under the target electrical configuration diagram for the sequence number code of the target electrical configuration diagram to obtain the target coding field; retaining the sequence number in the measurement point codes, and updating all coding fields in the target electrical configuration diagram to the target coding field.
[0010] In one optional implementation, if the batch creation instruction indicates that the target electrical configuration diagram and the electrical configuration reference diagram have the same local structure, the update of the measurement point codes of all measurement points in the target electrical configuration diagram based on the rule of updating the sequence number encoding while keeping the sequence number unchanged, and the sequence number encoding of the target electrical configuration diagram, includes: using the reference encoding sequence as a reference, updating all encoding fields in the local structurally identical parts of the target electrical configuration diagram for the sequence number encoding of the target electrical configuration diagram to obtain the target encoding field, so as to retain the sequence number in the measurement point encoding, and updating all encoding fields in the local structurally identical parts to the target encoding field; setting the encoding fields corresponding to all first measurement points in structurally different parts to empty; and in response to the first encoding field corresponding to the first measurement point submitted by the user, filling the first encoding field into the encoding field corresponding to the first measurement point.
[0011] This invention relies on measurement points with the same local structure as the reference diagram and the target electrical configuration diagram to update the measurement point codes in batches, thereby improving the efficiency of creating and modifying electrical configuration diagrams. For parts with different structures, the code is first left blank and then filled in by the user. This takes into account both the efficiency of batch automated processing and the flexibility of non-standard measurement points and newly added measurement points, avoids erroneous code overwriting, and improves the accuracy of the final code.
[0012] In one optional implementation, the first measurement point includes measurement points to be replaced in batches or a single measurement point. The step of filling the first encoding field corresponding to the first measurement point in response to the first encoding field submitted by the user into the encoding field corresponding to the first measurement point includes: filling the first encoding field in batches into the measurement points to be replaced in batches, or filling the first encoding field into the single measurement point.
[0013] In an optional implementation, the method further includes: visualizing and running the generated electrical configuration diagram; during operation, querying the measurement point attribute information corresponding to the measurement point corresponding to the measurement point code attached to the current graphic element from the measurement point database; based on the measurement point attribute information, collecting real-time measurement point data and storing it in a time-series library to establish a mapping link between measurement points and real-time measurement point data in the time-series library, and performing preprocessing operations on the transmitted real-time measurement point data; and updating the display status of the current graphic element based on the mapping rules between the measurement point acquisition value and the graphic element display status and the real-time measurement point data.
[0014] This invention adopts a data-driven dynamic status update mechanism, which can automatically switch the display status according to the real-time operating data collected from the corresponding measuring points, and accurately and in real time provide feedback on the actual operating conditions of the electrical wiring circuit of the substation, ensuring that maintenance personnel have accurate control over the operating status of the on-site circuits.
[0015] Secondly, the present invention provides a batch creation device for electrical configuration diagrams of a centralized control system. The device includes: a configuration diagram drawing module, used to draw electrical configuration diagrams of the same type of bay based on the field electrical wiring diagram and a pre-built standard element library; a measurement point attachment module, used to attach measurement points to each element in the electrical configuration diagram and establish a mapping rule between the measurement point acquisition value and the element display status to obtain an electrical configuration reference drawing, wherein the attribute information of the measurement point includes at least a measurement point code, and the measurement point code includes at least the serial number code of the substation bay to which it belongs under the same type of bay and a serial number representing the function of the measurement point; a configuration diagram batch creation module, used to batch copy the electrical configuration reference drawing in response to a batch creation command to obtain multiple target electrical configuration diagrams corresponding to substation bays, and define the serial number code of the substation bay corresponding to each target electrical configuration diagram; and a measurement point code update module, used to update the measurement point code of all measurement points in the target electrical configuration diagram based on the rule of updating the serial number code and keeping the serial number unchanged, and the serial number code of the target electrical configuration diagram, to obtain the batch-produced electrical configuration diagrams.
[0016] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the batch creation method of the electrical configuration diagram of the centralized control system of the first aspect or any corresponding embodiment described above.
[0017] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the batch creation method of electrical configuration diagrams of a centralized control system according to the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a schematic flowchart of a first method for batch creation of electrical configuration diagrams of a centralized control system according to an embodiment of the present invention; Figure 2 This is a structural example diagram of an electrical configuration drawing file according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the second method for batch creation of electrical configuration diagrams of a centralized control system according to an embodiment of the present invention; Figure 4 This is an example diagram showing the configuration information of graphic elements according to an embodiment of the present invention; Figure 5 This is a structural example diagram of the measurement point database according to an embodiment of the present invention; Figure 6 This is an example diagram of the differential coding configuration operation according to an embodiment of the present invention; Figure 7 This is a flowchart illustrating the operation of the electrical configuration diagram according to an embodiment of the present invention; Figure 8 This is a flowchart illustrating the editing and running of electrical configuration diagrams according to an embodiment of the present invention; Figure 9 This is a flowchart illustrating the editing and running of electrical configuration diagrams according to an embodiment of the present invention; Figure 10 This is a structural block diagram of a batch creation device for electrical configuration diagrams of a centralized control system according to an embodiment of the present invention; Figure 11 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0022] As the number of control centers connected to the stations gradually increases, the workload of drawing electrical topology diagrams for each station and displaying the status of measurement points increases exponentially, causing implementation personnel to perform a large amount of repetitive work: repeatedly drawing configuration diagrams of the same type of station and scenario; repeatedly drawing configuration diagrams of the same type of station and scenario; repeatedly drawing substation configuration diagrams of the same type of scenario and bay; and sequentially connecting the corresponding measurement points to each configuration diagram. It is evident that with hundreds of main wiring diagrams and substation sub-diagrams, the cost of repeatedly drawing and converting configuration diagrams is high, inefficient, and prone to errors. Therefore, there is an urgent need for a method to quickly and in batches build electrical configuration diagrams and simultaneously connect bay measurement points in batches during the construction process.
[0023] According to an embodiment of the present invention, a method for batch creation of electrical configuration diagrams of a centralized control system is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] This embodiment provides a method for batch creation of electrical configuration diagrams for a centralized control system, which can be used for electronic devices. Figure 1 This is a flowchart of a method for batch creation of electrical configuration diagrams for a centralized control system according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: Based on the on-site electrical wiring diagram and the pre-built standard element library, draw the electrical configuration diagram of the same type of bay.
[0025] The embodiments of the present invention can combine on-site electrical wiring drawings and call a pre-built standard element library (which stores power equipment and corresponding standard elements) to draw an electrical configuration diagram of a single substation bay of the same type, clarifying the element layout, the measurement point situation of element binding and the data display specifications.
[0026] Step S102: Connect measurement points to each element in the electrical configuration diagram and establish a mapping rule between the measured values and the displayed status of the elements to obtain the electrical configuration reference drawing.
[0027] The attribute information of the measuring point includes at least the measuring point code, which includes at least the serial number code of the substation to which it belongs under the same type of interval and the serial number representing the function of the measuring point.
[0028] This invention allows for the attachment of corresponding measuring points to various elements of the electrical configuration diagram based on the actual on-site measurement point configuration. Attribute information such as measuring point codes is configured. Simultaneously, based on the electrical element state transition logic summarized from on-site surveys, a mapping rule between measured point data and element display states is established, forming a reusable electrical configuration baseline drawing. This serves as the core baseline input for batch creation, providing a unified execution basis for the rapid construction of subsequent electrical configuration diagrams. The attribute information of the measuring points includes at least a measuring point code. The measuring point code includes at least the sequence number of the substation bay to which it belongs within the same type of bay and a serial number representing the measuring point's function. For example, the active power measuring point code for collector line 1 is XXXX_X01_XXX01_ _ _00001, the sequence number code is XXX01, and the serial number is 00001; the active power measuring point code for collector line 2 is XXXX_X01_XXX02_ _ _00001, serial number XXX02, serial number 00001, serial number 00001 is defined as a unique identifier for the active power of the collector line, and is only used as an example.
[0029] In one optional implementation, the electrical configuration reference drawing can be generated through the following steps: Select the graphic element to be configured in the electrical configuration drawing, click the configuration panel of the graphic element, select the corresponding type of standardized interface that has been predefined. The standardized interface has predefined corresponding rules for parameter format, data interaction protocol and graphic element-measuring point code-state mapping logic. Enter the measuring point code of the measuring point to be attached to the graphic element in the interface configuration item. The interface will automatically load the preset mapping rules between the measured point acquisition value and the graphic element display status. After the attachment is completed, the graphic element in the electrical configuration drawing can synchronize the real-time acquisition data of the background measuring point in real time and automatically switch the display status to realize the visual monitoring of the equipment operation status. This is just an example.
[0030] In this embodiment of the invention, after the electrical configuration reference drawing is completed, the electrical configuration reference drawing can be configured into a JSON file and stored in the drawing library, with the drawing address serving as a unique identifier for this drawing, such as... Figure 2 As shown, the file structure includes, but is not limited to, global basic configuration, core attribute configuration, and a collection of visualization components. The global basic configuration includes the framework version number, last modified time, and overall display range. The core attribute configuration includes the canvas configuration and global adaptive configuration. The collection of visualization components includes shape components (background), text components (auxiliary text), and node components (primitives). This is just an example.
[0031] Step S103: In response to the batch creation command, the electrical configuration reference drawings are copied in batches to obtain target electrical configuration diagrams corresponding to multiple substation bays, and the serial number encoding of each target electrical configuration diagram for the substation bay is defined.
[0032] In response to a batch creation command, this embodiment of the invention allows selection of a JSON file, loading a standardized and verified electrical configuration reference drawing, setting it as the reference template for the configuration design of the same type of substation, and simultaneously batch copying the electrical configuration reference drawing to obtain target electrical configuration diagrams corresponding to multiple substation bays. Furthermore, based on the classification and naming standards of power transmission and transformation equipment bays (substation bays), the sequence number code corresponding to each target electrical configuration diagram can be defined. For example, the sequence number code corresponding to the electrical configuration reference drawing might be AHC01, and the target electrical configuration... Figure 1 The serial number of the strain gauge electrical compartment is AHC02, and the target electrical configuration is... Figure 2 The corresponding strain gauge is coded as AHC03, which is only an example.
[0033] Step S104: Based on the rules of updating the serial number encoding and keeping the serial number unchanged, and the serial number encoding of the target electrical configuration diagram, update the measurement point encoding of all measurement points in the target electrical configuration diagram to obtain the batch production electrical configuration diagram.
[0034] Based on the rule of updating the serial number encoding while keeping the serial number unchanged, and the serial number encoding of the current target electrical configuration, this embodiment of the invention updates the measurement point encoding of all measurement points in the current target electrical configuration diagram, and finally completes the generation of batch electrical configuration diagrams.
[0035] The batch creation method for electrical configuration diagrams of centralized control systems provided by this invention can draw electrical configuration diagrams of the same type of substation based on a standard element library. Measurement points are then attached to each element in the electrical configuration diagram, and a mapping rule is established between the measured values and the displayed status of the elements to obtain an electrical configuration baseline drawing. The attribute information of this measurement point includes the measurement point code. During batch creation, the electrical configuration baseline drawing is copied in batches to obtain target electrical configuration diagrams corresponding to multiple substations. A serial number code is defined for each target electrical configuration diagram. Based on the rule of updating the serial number code while keeping the sequence number unchanged, and the serial number code of the target electrical configuration diagram, the measurement point codes of all measurement points in the target electrical configuration diagram are updated to obtain batch-produced electrical configuration diagrams. This method enables batch creation of electrical configuration diagrams of the same type of substation based on measurement point codes, significantly reducing the manual costs of repetitive drawing and point-by-point attachment, effectively avoiding problems such as incorrect drawing and misattached measurement points caused by manual operation, and improving the standardization and accuracy of configuration modeling.
[0036] This embodiment provides a method for batch creation of electrical configuration diagrams for a centralized control system, which can be used for electronic devices. Figure 3This is a flowchart of a method for batch creation of electrical configuration diagrams for a centralized control system according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps: Step S301: Based on the on-site electrical wiring diagram and the pre-built standard element library, draw the electrical configuration diagram of the same type of bay.
[0037] Specifically, the standard graphic element library is constructed through the following steps: drawing the standard graphic elements corresponding to the current substation equipment; defining the configuration information corresponding to the standard graphic elements, the configuration information including at least the basic metadata of the graphic elements, the association and binding relationship between the graphic elements and the measurement points, the operation behaviors that users can interact with the standard graphic elements, and the mapping rules between the measurement point acquisition values and the graphic element display status; and storing the current equipment, the corresponding standard graphic elements, and the configuration information in the standard graphic element library.
[0038] This invention can define and draw the appearance of various electrical elements based on national standards and specifications, obtaining standard elements corresponding to the current substation equipment. The constructed standard elements can be maintained in a standard element library in JSON format. Simultaneously, configuration information for the standard elements can be defined and stored in the standard element library, including but not limited to the element's basic metadata, data binding configuration, interactive behavior, and visual component configuration, such as... Figure 4 As shown, taking a circuit breaker as an example, the basic metadata includes the element modification time, icon size, whether it supports interaction, and pixel accuracy; data binding relationships (also known as the association binding relationship between elements and measurement points) include open position measurement points, closed position measurement points, and control measurement points; interactive behaviors (also known as the operation behaviors that users can interact with standard elements), such as right-click interaction logic including verifying control measurement point binding and calling dynamic components; visual component configuration (also known as the mapping rules between measurement point acquisition values and element display status), such as the open 0 closed 1 display style, the open 1 closed 0 display style, and other status display styles, to achieve clear classification and definition of configuration information, reduce the user's operation threshold, eliminate the need to repeatedly sort out the configuration logic, and avoid human error caused by chaotic configuration logic and missing parameters, thereby improving the accuracy of configuration drawings. This is just an example.
[0039] The standard graphic element library designed in this invention not only stores the standard graphic elements themselves, but also synchronously stores configuration information to enrich the graphic element configuration dimensions. Moreover, all configuration information can be directly reused when called, which greatly reduces repetitive operations in the configuration process.
[0040] Step S302: Connect measurement points to each element in the electrical configuration diagram and establish a mapping rule between the measured values and the displayed status of the elements to obtain the electrical configuration reference drawing.
[0041] The attribute information of the measuring point includes at least the measuring point code, which includes at least the serial number code of the substation to which it belongs under the same type of interval and the serial number representing the function of the measuring point.
[0042] Specifically, the measurement point code also includes the identification number of the substation area to which it belongs and the bay type identification. The above step S302 includes: Step S3021: Based on the connection status of the measuring points in the on-site electrical wiring diagram, determine the measuring point functions to be bound to the current graphic element.
[0043] Step S3022: Based on the measurement point function and the serial number code of the substation to which it belongs, retrieve the matching measurement point code in the pre-built measurement point database.
[0044] Step S3023: Connect the measurement point corresponding to the matched measurement point code to the current graphic element.
[0045] Specifically, the measurement point database is constructed through the following steps: The measurement points of each electrical device in the field electrical wiring diagram are processed to construct a hierarchical structure corresponding to the current measurement point, including the substation area, bay type, and substation bay; the current measurement point is encoded based on its hierarchical structure and function to obtain a measurement point code; the corresponding data source identifier is configured according to the current measurement point's source; the measurement point channel number and information body address of the current measurement point are obtained; and the current measurement point and its corresponding attribute information are stored in the measurement point database. The measurement point attribute information includes the measurement point code, data source identifier, measurement point channel number, information body address, and measurement point attributes. The measurement point attributes at least include the measurement point data type, measurement point name, measurement point category, and measurement point default value.
[0046] This invention, based on the KKS coding rules for power transmission and transformation equipment, classifies and organizes the measurement points of various electrical devices in the field electrical wiring diagram (e.g., measurement points for primary and secondary electrical equipment). It constructs a hierarchical structure from top to bottom, corresponding to the current measurement point, including the substation area, bay type (representing the equipment bay category to which the measurement point belongs), and substation bay (representing different bay units under the same type of bay). Based on the hierarchical structure and function of the current measurement point, it encodes the current measurement point to obtain a measurement point code. For example, the active power measurement point code for collector line 1 is XXXX_X01_XXX01_ _ _00001, and the active power measurement point code for collector line 2 is XXXX_X01_XXX02_ _ _00001, where 00001 is the serial number, representing the function of the measurement point; XXXX_X01_XXX01 represents the coding field of the hierarchical structure corresponding to the measurement point (also known as the KKS coding field), used to clarify the association relationship of the interval (or equipment) to which the measurement point belongs, and is represented by a coding structure of letters and numbers; specifically, the first segment XXXX can represent the top-level affiliation identifier, usually the unique code of the station or project; the second segment X01 represents the unique code of the substation area; the third segment XXX01 represents the serial number code of the substation interval to which the measurement point belongs under the same type of interval. In the example, the first and second collection lines are both AHC, indicating that they belong to the same type of interval. AHC01 and AHC02 are used to distinguish different substation interval units under the same type of interval, which can accurately locate the substation interval to which the measurement point belongs; the middle segment _ _ _ represents the reserved extended field, which can supplement the subdivided attributes, such as equipment, component type subdivision, etc. After coding, the measurement point coding information is formed into a wide table and stored in the measurement point database, as shown in Table 1.
[0047] Table 1 Measurement Point Coding Information Table
[0048] This invention allows for the configuration of corresponding data source identifiers based on the source of the measurement point, clearly identifying which system the measurement point data originates from, thus distinguishing different acquisition channels and data types, including but not limited to integrated automation and power metering. It can also obtain the measurement point channel number and information body address of the current measurement point. The measurement point channel number is the physical interface or logical channel number corresponding to the measurement point. Electronic devices can find the acquisition link of the corresponding measurement point through the measurement point channel number and establish a communication connection with the field equipment. The information body address is a key field in the protocol stack for locating specific measurement points, used to parse the real-time values of the corresponding measurement point. During the acquisition phase, the corresponding acquisition driver can be selected based on the data source identifier, and a physical / logical communication link can be established through the measurement point channel number. Raw data is read from the field equipment according to the information body address (this is just an example). Finally, the current measurement point and its corresponding attribute information can be stored in a measurement point database, forming a complete measurement point information system. The main structure of the measurement point database can be found in [reference needed]. Figure 5 As shown.
[0049] Specifically, the measurement point attribute information also includes measurement point attributes, which at least include the measurement point data type, measurement point name, measurement point category, and measurement point default value. This is to define the business data points that the icon needs to be bound to when attaching measurement points to graphic elements. Measurement point attributes are the core data source of icon logic, as shown in Table 2: Table 2 Measurement Point Attribute Table
[0050] In the actual drawing process, this embodiment of the invention can determine the function of the measurement point to be bound to the current graphic element based on the actual connection configuration of the measurement point in the on-site electrical wiring diagram. Then, based on the measurement point function and the serial number code of the substation to which the measurement point belongs, a matching measurement point code is retrieved in the measurement point database, and the measurement point corresponding to the matching measurement point code is attached to the current graphic element.
[0051] This invention strengthens the strong binding relationship between measurement points and their corresponding intervals based on a composite coding rule of measurement point hierarchical structure and measurement point sequence number. It constructs a standardized and traceable measurement point coding system, providing core technical support for the batch synchronous generation of configuration drawings. It is applicable to configuration modeling scenarios of complex electrical systems such as new energy power plants and large substations. Moreover, when actually connecting measurement points, it accurately retrieves and matches measurement point codes in the measurement point database based on measurement point function and sequence number coding, avoiding the blind connection of measurement points, reducing configuration anomalies caused by measurement point matching errors, and simplifying the connection operation.
[0052] Step S303: In response to the batch creation command, the electrical configuration reference drawings are batch copied to obtain target electrical configuration diagrams corresponding to multiple substation bays, and the sequence number encoding of each target electrical configuration diagram for the corresponding substation bay is defined. For details, please refer to [link to details]. Figure 1 Step S103 of the illustrated embodiment will not be described again here.
[0053] Step S304: Based on the rules of updating the serial number encoding and keeping the serial number unchanged, and the serial number encoding of the target electrical configuration diagram, update the measurement point encoding of all measurement points in the target electrical configuration diagram to obtain the batch production electrical configuration diagram.
[0054] Specifically, the measurement point codes of all measurement points in the target electrical configuration diagram can be updated through the following steps: obtain all measurement point codes in the electrical configuration reference drawing, and extract the coding fields representing the corresponding hierarchical structure of the measurement points from the measurement point codes to generate a reference coding sequence; based on the reference coding sequence, update all coding fields under the target electrical configuration diagram according to the sequence number coding of the target electrical configuration diagram to obtain the target coding field; retain the sequence number in the measurement point codes, and update all coding fields in the target electrical configuration diagram to the target coding field.
[0055] This invention can extract all measurement point codes from the electrical configuration reference drawing, then extract the coding fields representing the hierarchical structure of the measurement points, generate a reference coding sequence based on all coding fields, and then use the reference coding sequence as a reference to update all coding fields under the target electrical configuration diagram for the sequence number coding, thereby obtaining the target coding field and realizing the batch replacement operation of the sequence number coding. Furthermore, the coding replacement algorithm identifies the sequence number coding to be replaced based on the KKS coding rules, calls the measurement point binding module to synchronously replace the measurement point coding, and follows the core rule of updating the sequence number coding while keeping the sequence number unchanged during the replacement process, updating all coding fields in the target electrical configuration diagram to the target coding field, realizing the full-domain batch update of the measurement point sequence number coding of the electrical configuration diagram, as shown in Table 3: Table 3 Encoding Field Update Table
[0056] For large-scale applications in high-capacity power plant substations where the number of similar bay diagrams can reach 40-50, this invention deeply couples with the measurement point coding standard and adopts a hierarchical coding replacement strategy: by accurately locating the sequence code in the KKS coding structure, targeted replacement is performed while ensuring the global consistency of the measurement point sequence number. With this mechanism, multiple bay diagrams can be built in batches efficiently, and measurement points and equipment objects can be automatically linked and associated, greatly improving work efficiency and data consistency in large-scale configuration scenarios.
[0057] In one optional implementation, if the batch creation instruction indicates that the target electrical configuration diagram has the same local structure as the electrical configuration reference diagram, the measurement point codes of all measurement points in the target electrical configuration diagram are updated based on the rules of updating the sequence number encoding and keeping the sequence number unchanged, and the sequence number encoding of the target electrical configuration diagram. This includes: using the reference encoding sequence as a reference, updating all encoding fields in the local structurally identical parts of the target electrical configuration diagram for the sequence number encoding of the target electrical configuration diagram to obtain the target encoding field, so as to retain the sequence number in the measurement point encoding, and updating all encoding fields in the local structurally identical parts to the target encoding field; setting the encoding fields corresponding to all first measurement points in structurally different parts to empty; and filling the first encoding field corresponding to the first measurement point into the encoding field corresponding to the first measurement point in response to the first encoding field submitted by the user.
[0058] In this embodiment of the invention, if the batch creation command indicates that the target electrical configuration diagram and the electrical configuration reference diagram have the same local structure, the batch-generated differentiated coding configuration function can be used to perform fine-grained operations such as partial field replacement and partial field emptying of the coding fields. Based on the input coding rules, it can match the graphic objects that need to retain the measurement point association, and automatically complete the configuration modeling, electrical topology construction, and measurement point attachment configuration of the corresponding graphic objects in the new drawing. For graphic objects with empty KKS codes, only the standardized construction of the electrical structure is performed, and the measurement point binding module is not called for measurement point binding. The final generated configuration drawing will exhibit differentiated measurement point attachment characteristics: some graphic objects complete the measurement point association based on the preset KKS code, while some graphic objects only retain the electrical topology structure and do not carry any measurement point data, meeting the personalized configuration requirements of the same type of interval diagram. For differentiated coding configuration operations, please refer to [link to relevant documentation]. Figure 6 As shown.
[0059] Specifically, for the coding fields corresponding to all measuring points in the same local structural part, the target coding fields can be obtained by updating all coding fields in the same local structural part under the target electrical configuration diagram using the reference coding sequence as the reference and the sequence number coding of the target electrical configuration diagram. Then, the sequence number in the measuring point coding is retained, and all coding fields in the structurally similar part are updated to the target coding fields. The coding fields corresponding to all first measuring points in structurally different parts are set to empty. Then, the coding fields corresponding to the empty measuring points can be filled manually based on the on-site electrical wiring. This is just an example.
[0060] This invention relies on measurement points with the same local structure as the reference diagram and the target electrical configuration diagram to update the measurement point codes in batches, thereby improving the efficiency of creating and modifying electrical configuration diagrams. For parts with different structures, the code is first left blank and then filled in by the user. This takes into account both the efficiency of batch automated processing and the flexibility of non-standard measurement points and newly added measurement points, avoids erroneous code overwriting, and improves the accuracy of the final code.
[0061] Furthermore, the first test point may include test points to be replaced in batches or a single test point. For the filling operation of the encoding field corresponding to the first test point, it may include: filling the first encoding field into the test points to be replaced in batches, or filling the first encoding field into a single test point.
[0062] This invention embodiment performs a batch selection operation on target graphic elements for which measurement points have not yet been attached. The batch synchronization measurement point selection module is opened to quickly select all eligible graphic elements using the box selection and batch checkbox functions of the configuration tools, avoiding the tedious operation of selecting each element individually and improving operational efficiency. After the target objects are selected, the batch synchronization measurement point function module in the configuration system is activated. For measurement points to be replaced in batches, a unified first code field submitted by the user can be obtained. Through the batch fill function of the module, this first code field is filled into the corresponding code fields of all measurement points to be replaced in batches, achieving batch... The measurement point codes can be updated quickly without the need for point-by-point entry. Alternatively, for a single measurement point, the first code field corresponding to that single measurement point can be obtained from the user and directly filled into the code field of that measurement point to complete the code configuration for that single measurement point. This also takes into account the personalized needs of non-standard measurement points and supports iterative updates of measurement point codes key-value one by one. It fully meets the diverse and flexible operational needs of on-site implementation personnel. The dual operation modes can be flexibly selected according to on-site needs, enabling both unified replacement at the code level and fine-grained iteration at the key-value level, fully adapting to the operational needs of different implementation scenarios and improving the practicality of the solution.
[0063] This invention distinguishes between batch replacement of measurement points and single measurement points, providing two methods: batch filling and individual filling. This satisfies the needs of large-scale standardized coding configuration and also adapts to the personalized coding settings of non-standard measurement points and newly added measurement points.
[0064] In one optional implementation, the generated electrical configuration diagram is visualized and run. During operation, for the measurement point code corresponding to the measurement point attached to the current graphic element, the corresponding measurement point attribute information is queried from the measurement point database. Based on the measurement point attribute information, real-time measurement point data is collected and stored in the time series library to establish a mapping link between measurement points and real-time measurement point data in the time series library, and the transmitted real-time measurement point data is preprocessed. Based on the mapping rules between the measurement point acquisition value and the graphic element display status and the real-time measurement point data, the display status of the current graphic element is updated.
[0065] In this embodiment of the invention, the user selects the corresponding JSON file storage address in the system configuration interface. The electronic device retrieves the corresponding drawing based on the address, seamlessly integrating the electrical configuration diagram from the editing system to the target interface for display and operation. During operation, for the unique measurement point code corresponding to the measurement point attached to the current element, the measurement point attribute information corresponding to the measurement point can first be queried from the measurement point database to obtain key index information such as the measurement point information address and channel number. Then, based on the information address and channel number, through steps such as collection, forwarding, processing, and storage, the real-time data of the measurement point is collected and stored in the time series database. Then, the real-time value of the measurement point whose channel number and information body address can be matched is sent to the configuration interface, thereby establishing a mapping link between the measurement point and the real-time data of the measurement point in the time series database. This mapping link enables high-speed uploading of the real-time data of the measurement point, and preprocessing operations can be performed on the transmitted real-time data of the measurement point. The preprocessing operations include, but are not limited to, performing preprocessing operations (including data completion, anomaly removal, and smoothing filtering) for possible breakpoints and outliers during data transmission. Finally, the processed real-time data of the measurement point is uploaded to the monitoring interface. Figure 7 As shown, based on the mapping rules between the real-time data of the measurement points and the collected values of the measurement points and the display status of the graphic elements, the display status and values can be updated in real time by self-driving, forming a real-time operation monitoring interface for the electrical wiring of the substation, providing on-duty personnel with accurate and intuitive equipment condition monitoring and data support.
[0066] This invention adopts a data-driven dynamic status update mechanism, which can automatically switch the display status according to the real-time operating data collected from the corresponding measuring points, and accurately and in real time provide feedback on the actual operating conditions of the electrical wiring circuit of the substation, ensuring that maintenance personnel have accurate control over the operating status of the on-site circuits.
[0067] Regarding the batch creation method of the electrical configuration diagram of the centralized control system mentioned above, the configuration drawings are built on a large scale and the automatic connection configuration of the measurement point codes is completed. The measurement point data is retrieved in real time and visualized on the configuration diagram interface connected to the operating system. For example, for key electrical components such as disconnectors, circuit breakers, and handcarts, a data-driven dynamic status update mechanism is adopted. The display status (such as opening / closing, working / maintenance / fault status) can be automatically switched according to the real-time operating data collected from the corresponding measurement points. This provides accurate and real-time feedback on the actual operating conditions of the electrical wiring circuits of the substation, ensuring that maintenance personnel have accurate control over the operating status of the on-site circuits. The overall process is divided into editing mode and running mode. In editing mode, firstly, based on the electrical element state change logic summarized from the field survey, a standardized mapping rule for the measurement point acquisition value and the element display status is constructed. At the same time, the appearance definition and drawing of various electrical elements are completed in strict accordance with national standards and specifications, and they are standardized and stored in the standard element library for unified management. Secondly, the protection and control measurement points of the power equipment are standardized and coded according to the preset coding rules, and the coding information and attributes are maintained in the measurement point database. Subsequently, through the measurement point binding module, a logical association mapping is established between graphic element objects and measurement point data in the time series library. Finally, the batch generation module is called to automatically generate various configuration sub-maps in batches based on the configured baseline template and coding system. In the running mode, the generated configuration sub-maps are published and mapped to the web interface for visualization and operation through system configuration. During system operation, the front-end graphic elements locate the corresponding measurement points through the relational database based on their bound unique coding identifiers, and then accurately and uniquely obtain real-time acquisition data from the time series library. The data undergoes preprocessing processes such as outlier removal before display, and is finally presented in a visual form on the web monitoring interface, providing maintenance personnel with a highly reliable real-time monitoring view. For the interaction between editing mode and running mode, please refer to [link to documentation]. Figure 8 As shown.
[0068] In a specific embodiment, in editing mode, the measurement points of each electrical device in the field electrical wiring diagram are processed to construct a hierarchical structure corresponding to the current measurement point, including the substation area, bay type, and substation bay. Based on the hierarchical structure and measurement point function, the current measurement point is encoded to obtain a measurement point code, which is stored in the measurement point database. Then, based on the field electrical wiring diagram and a pre-built standard element library, an electrical configuration diagram for bays of the same type is drawn. Measurement points are connected to each element in the electrical configuration diagram, and a mapping rule between the measured values and the displayed status of the elements is established to obtain the electrical configuration reference drawing. The drawings are batch copied to obtain target electrical configuration diagrams corresponding to multiple substation bays, and a serial number code is defined for each target electrical configuration diagram. Based on the rule of updating the serial number code while keeping the serial number unchanged, and the serial number code of the target electrical configuration diagram, the measurement point code of all measurement points in the target electrical configuration diagram is updated to obtain the batch-produced electrical configuration diagrams. In the running mode, the generated electrical configuration diagrams are visualized and run. Based on the mapping rules between the measurement point acquisition values and the display status of the graphic elements, and the real-time data of the measurement points, the display status of the current graphic element is updated. For the process architecture of the batch creation method of electrical configuration diagrams of the centralized control system, please refer to [link to documentation]. Figure 9 As shown, it will not be elaborated further here.
[0069] This embodiment also provides a batch creation device for electrical configuration diagrams of a centralized control system. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0070] This embodiment provides a batch creation device for electrical configuration diagrams of a centralized control system, such as... Figure 10 As shown, the system includes: a configuration diagram drawing module 1001, used to draw electrical configuration diagrams of the same type of bay based on the on-site electrical wiring diagram and a pre-built standard element library; a measurement point attachment module 1002, used to attach measurement points to each element in the electrical configuration diagram and establish a mapping rule between the measurement point acquisition value and the element display status to obtain an electrical configuration reference drawing, wherein the attribute information of the measurement point includes at least the measurement point code, and the measurement point code includes at least the serial number code of the substation bay to which it belongs under the same type of bay and the serial number representing the function of the measurement point; a configuration diagram batch creation module 1003, used to batch copy the electrical configuration reference drawing in response to the batch creation command to obtain target electrical configuration diagrams corresponding to multiple substation bays, and define the serial number code of the substation bay corresponding to each target electrical configuration diagram; and a measurement point code update module 1004, used to update the measurement point code of all measurement points in the target electrical configuration diagram based on the rule of updating the serial number code and keeping the serial number unchanged, and the serial number code of the target electrical configuration diagram, to obtain the batch-produced electrical configuration diagram.
[0071] In some optional implementations, the measurement point code also includes the identification number of the substation area to which it belongs and the bay type identification. The measurement point binding module 1002 includes: a measurement point function determination unit, used to determine the measurement point function to be bound to the current graphic element based on the binding status of the measurement points in the field electrical wiring diagram; an code retrieval unit, used to retrieve the matching measurement point code in the pre-built measurement point database based on the measurement point function and the serial number code of the substation bay to which it belongs; and a measurement point binding unit, used to bind the measurement point corresponding to the matching measurement point code to the current graphic element. The measurement point database is constructed through the following steps: for each electrical device in the field electrical wiring diagram... The prepared measurement points are processed to construct a hierarchical structure corresponding to the current measurement point, including the substation area, bay type, and substation bay. Based on the hierarchical structure and measurement point function, the current measurement point is encoded to obtain a measurement point code. A corresponding data source identifier is configured according to the current measurement point's source. The measurement point channel number and information body address of the current measurement point are obtained. The current measurement point and its corresponding attribute information are stored in the measurement point database. The measurement point attribute information includes the measurement point code, data source identifier, measurement point channel number, information body address, and measurement point attributes. Measurement point attributes at least include the measurement point data type, measurement point name, measurement point category, and measurement point default value.
[0072] In some optional implementations, the standard graphic element library is constructed through the following steps: drawing the standard graphic elements corresponding to the current substation equipment; defining the configuration information corresponding to the standard graphic elements, the configuration information including at least the basic metadata of the graphic elements, the association and binding relationship between the graphic elements and the measurement points, the operation behaviors that users can interact with the standard graphic elements, and the mapping rules between the measurement point acquisition values and the graphic element display status; and storing the current equipment, the corresponding standard graphic elements, and the configuration information in the standard graphic element library.
[0073] In some optional implementations, the measurement point coding update module 1004 includes: a sequence generation unit, used to acquire all measurement point codes in the electrical configuration reference drawing, and extract the coding fields representing the corresponding hierarchical structure of the measurement points from the measurement point codes to generate a reference coding sequence; a coding field generation unit, used to update all coding fields under the target electrical configuration diagram based on the reference coding sequence and the sequence number coding of the target electrical configuration diagram to obtain the target coding field; and a coding update unit, used to retain the sequence number in the measurement point codes and update all coding fields in the target electrical configuration diagram to the target coding field.
[0074] In some optional implementations, if the batch creation instruction indicates that the target electrical configuration diagram and the electrical configuration reference diagram have the same local structure, the measurement point coding update module 1004 includes: a coding field update unit, used to update all coding fields in the same part of the local structure under the target electrical configuration diagram based on the reference coding sequence and the sequence number coding of the target electrical configuration diagram, to obtain the target coding field, so as to retain the sequence number in the measurement point coding and update all coding fields in the same part of the local structure to the target coding field; a coding emptying unit, used to empty the coding fields corresponding to all first measurement points in the structurally different parts; and a coding filling unit, used to fill the first coding field into the coding field corresponding to the first measurement point in response to the first coding field submitted by the user.
[0075] In some optional implementations, the first measurement point includes measurement points to be replaced in batches or a single measurement point, and the encoding filling unit includes: an encoding batch filling subunit, used to fill the first encoding field into the measurement points to be replaced in batches, or an encoding step-by-step filling subunit, used to fill the first encoding field into a single measurement point.
[0076] In some optional implementations, the batch creation device for electrical configuration diagrams of the centralized control system further includes: a configuration diagram display module, used to visualize and run the generated electrical configuration diagram; an attribute query module, used to query the corresponding measurement point attribute information from the measurement point database for the measurement point code corresponding to the measurement point attached to the current graphic element during operation; a link construction module, used to collect real-time data of the measurement points based on the measurement point attribute information and store it in the time series library to establish a mapping link between the measurement points and the real-time data of the measurement points in the time series library, and to perform preprocessing operations on the transmitted real-time data of the measurement points; and a display status update module, used to update the display status of the current graphic element based on the mapping rules between the measurement point acquisition value and the graphic element display status and the real-time data of the measurement points.
[0077] The batch creation device for electrical configuration diagrams of centralized control systems provided in this embodiment of the invention can execute the batch creation method for electrical configuration diagrams of centralized control systems provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method. Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0078] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0079] The following is a detailed reference. Figure 11The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1102 or a program loaded from memory 1108 into random access memory (RAM) 1103. The RAM 1103 also stores various programs and data required for the operation of the electronic device. The processor 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0080] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1107 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 1108 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1109. Communication device 1109 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 11 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0081] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 1109, or installed from a memory 1108, or installed from a ROM 1102. When the computer program is executed by the processor 1101, it performs the functions defined in the batch creation method of the centralized control system electrical configuration diagram according to embodiments of the present invention.
[0082] Figure 11 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.
[0083] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the batch creation method of the centralized control system electrical configuration diagram shown in the above embodiments is implemented.
[0084] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0085] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for batch creation of electrical configuration diagrams for a centralized control system, characterized in that, The method includes: Based on the on-site electrical wiring diagram and the pre-built standard element library, draw the electrical configuration diagram of the same type of bay; For each element in the electrical configuration diagram, a measurement point is attached, and a mapping rule is established between the measurement point acquisition value and the element display status to obtain the electrical configuration reference drawing. The attribute information of the measurement point includes at least the measurement point code, and the measurement point code includes at least the serial number code of the substation to which it belongs under the same type of interval and the serial number characterizing the function of the measurement point. In response to the batch creation command, the electrical configuration reference drawings are copied in batches to obtain target electrical configuration diagrams corresponding to multiple substation bays, and the serial number encoding of each target electrical configuration diagram corresponding to the substation bay is defined; Based on the rules of updating the serial number encoding while keeping the serial number unchanged, and the serial number encoding of the target electrical configuration diagram, the measurement point encoding of all measurement points in the target electrical configuration diagram is updated to obtain the electrical configuration diagram for mass production.
2. The method according to claim 1, characterized in that, The measurement point code also includes the identification number of the substation area to which it belongs and the bay type identification. Specifically, the connection of measurement points to each element in the electrical configuration diagram includes: Based on the connection status of the measuring points in the on-site electrical wiring diagram, determine the measuring point functions to be bound to the current graphic element; Based on the function of the measurement point and the serial number of the substation to which it belongs, a matching measurement point code is retrieved from the pre-built measurement point database; The measurement points corresponding to the matched measurement point codes are attached to the current graphic element. The measurement point database is constructed through the following steps: The measurement points of each electrical device in the on-site electrical wiring diagram are processed to construct a hierarchical structure corresponding to the current measurement point, which includes the substation area, bay type, and substation bay. The current measurement point is encoded based on its hierarchical structure and function to obtain the measurement point code. Configure the corresponding data source identifier according to the current measurement point source; Obtain the current measurement point channel number and information body address; The current measurement point and its corresponding attribute information are stored in the measurement point database. The measurement point attribute information includes the measurement point code, data source identifier, measurement point channel number, information body address, and measurement point attributes. The measurement point attributes include at least the measurement point data type, measurement point name, measurement point category, and measurement point default value.
3. The method according to claim 1, characterized in that, The standard primitive library is constructed through the following steps: Draw the standard graphic elements corresponding to the current power equipment; Define the configuration information corresponding to the standard graphic element. The configuration information includes at least the basic metadata of the graphic element, the association and binding relationship between the graphic element and the measurement point, the user's interactive operation behavior with the standard graphic element, and the mapping rules between the measurement point acquisition value and the graphic element display status. Store the current device, its corresponding standard graphic elements, and configuration information in the standard graphic element library.
4. The method according to claim 2, characterized in that, The rule based on updating the serial number encoding while keeping the serial number unchanged, and the serial number encoding of the target electrical configuration diagram, updates the measurement point encoding of all measurement points in the target electrical configuration diagram, including: Obtain all measurement point codes in the electrical configuration reference drawing, and extract the coding fields representing the hierarchical structure of the measurement points from the measurement point codes to generate a reference coding sequence; Based on the aforementioned reference coding sequence, and for the sequence number coding of the target electrical configuration diagram, all coding fields under the target electrical configuration diagram are updated to obtain the target coding field; Retain the sequence number in the measurement point code, and update all coding fields in the target electrical configuration diagram to the target coding field.
5. The method according to claim 4, characterized in that, If the batch creation command indicates that the target electrical configuration diagram has the same local structure as the electrical configuration reference diagram, then, based on the rules of updating the serial number encoding while keeping the serial number unchanged, and the serial number encoding of the target electrical configuration diagram, the measurement point encoding of all measurement points in the target electrical configuration diagram is updated, including: Based on the reference coding sequence, for the sequence number coding of the target electrical configuration diagram, update all coding fields in the same part of the local structure under the target electrical configuration diagram to obtain the target coding field, so as to retain the sequence number in the measurement point coding and update all coding fields in the same part of the local structure to the target coding field; The encoding fields corresponding to all first measurement points in the structurally different parts are set to empty. The first measurement point is the measurement point in the part where the target electrical configuration diagram and the electrical configuration reference diagram have different local structures. In response to the first encoding field corresponding to the first test point submitted by the user, the first encoding field is filled into the encoding field corresponding to the first test point.
6. The method according to claim 5, characterized in that, The first test point is either a batch of test points to be replaced or a single test point. A single test point is a test point that individually fills the first encoding field. The test points to be batch replaced are test points that have their first encoding fields filled in batches. The step of responding to the first encoding field corresponding to the first test point submitted by the user, and filling the first encoding field into the encoding field corresponding to the first test point, includes: The first encoded field is batch-filled into the measurement points to be batch-replaced, or... The first encoded field is filled into the single measurement point.
7. The method according to claim 2, characterized in that, The method further includes: The generated electrical configuration diagram can be visualized and run. During operation, for the measurement point code corresponding to the measurement point attached to the current graphic element, the measurement point attribute information corresponding to the measurement point is queried from the measurement point database. Based on the measurement point attribute information, real-time data of the measurement points is collected and stored in the time series library to establish a mapping link between the measurement points and the real-time data of the measurement points in the time series library, and preprocessing operation is performed on the transmitted real-time data of the measurement points. Based on the mapping rules between the measured point values and the displayed status of the graphic element, and the real-time data of the measured points, update the display status of the current graphic element.
8. A batch creation device for electrical configuration diagrams of a centralized control system, characterized in that, The device includes: The configuration diagram drawing module is used to draw electrical configuration diagrams of the same type of bay based on the on-site electrical wiring diagram and the pre-built standard element library; The measurement point connection module is used to connect measurement points to each element in the electrical configuration diagram and establish a mapping rule between the measurement point acquisition value and the element display status to obtain the electrical configuration reference drawing. The attribute information of the measurement point includes at least the measurement point code, and the measurement point code includes at least the serial number code of the substation compartment to which it belongs under the same type of compartment and the serial number characterizing the function of the measurement point. The configuration diagram batch creation module is used to respond to the batch creation command, copy the electrical configuration reference drawing in batches to obtain target electrical configuration diagrams corresponding to multiple substation bays, and define the serial number code corresponding to each target electrical configuration diagram; The measurement point coding update module is used to update the measurement point coding of all measurement points in the target electrical configuration diagram based on the rules of updating the serial number coding and keeping the serial number unchanged, as well as the serial number coding of the target electrical configuration diagram, to obtain the batch production electrical configuration diagram.
9. An electronic device, characterized in that, include: A memory and a processor are interconnected, the memory stores computer instructions, and the processor executes the computer instructions to perform the batch creation method of the electrical configuration diagram of the centralized control system according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the batch creation method of the electrical configuration diagram of the centralized control system according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent configuration method
CN105204458A
Method for migrating traditional electric power SCADA (supervisory control and data acquisition) system to new energy system
CN120561103A