An interactive self-adaptive generation method and device of a substation main wiring diagram
Patent Information
- Application Number
- CN202610730868.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-26
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2046-05-26
AI Technical Summary
[0005]本发明的目的在于克服现有技术中的不足,提供一种变电站主接线图的交互式自适应生成方法及装置,能够解决人工绘图不规范、效率低、图模关联易出错、以及自动成图难以控制成图效果的问题
本发明通过设置变电站典型设计框架模板和母线支路间隔模板,将各个支路间隔模板实例自动布局到典设模板实例的方式,控制主接线图成图整体风格;同时,引入交互式成图配置机制,支持对变电站典型设计框架模板样式,各个电压等级下各个母线组中各类母线支路间隔模板样式、排布方向、相对排布顺序,以及各个电压等级下各个母线组延长阈值等进行自定义配置,以扩展可排布区间,实现交互和自动融合的成图模式,解决人工绘图不规范、效率低、图模关联易出错、以及自动成图难以控制成图效果的问题。
Smart Images

Figure CN122263336B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent substation technology, and in particular to an interactive adaptive generation method and apparatus for substation main wiring diagrams. Background Technology
[0002] With the rapid development of new power systems towards digitalization and intelligence, substation monitoring systems have placed higher demands on the accuracy and standardization of graphical representation.
[0003] Currently, substation main wiring diagrams are still primarily drawn manually, which suffers from problems such as low efficiency, inaccurate diagram-model correlation, inconsistent versions, and susceptibility to the influence of engineers' experience. In recent years, the large-scale integration of new energy sources and the increasing complexity of power grid structures have further exacerbated the difficulty of drawing and maintaining wiring diagrams. The need for rapid generation and standardized management of substation main wiring diagrams has become increasingly urgent, and the traditional manual mode has become a bottleneck restricting the efficiency of smart substation engineering implementation.
[0004] Existing technologies include some automated mapping solutions, such as SSD file parsing and drawing interval primitives, and template matching-based frame and interval reuse. However, these solutions mostly adopt a fully automatic mode, where the primitive layout is entirely determined by the mapping algorithm, making it difficult to control the mapping effect. At the same time, they lack a mechanism to incorporate the experience of engineers, cannot flexibly adjust mapping parameters according to on-site needs, and are difficult to adapt to the differentiated requirements of graphic layout in monitoring systems in different regions. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide an interactive adaptive generation method and device for substation main wiring diagrams, which can solve the problems of non-standard manual drawing, low efficiency, easy error in diagram model association, and difficulty in controlling the drawing effect of automatic drawing.
[0006] To achieve the above objectives, the present invention is implemented using the following technical solution: On one hand, the present invention provides an interactive adaptive generation method for substation main wiring diagrams, comprising: Load the pre-built typical design framework template for substations and busbar branch bay template; The typical design framework template and busbar branch bay template of the substation are instantiated to generate a typical design template instance and a branch bay template instance; Perform graph-model association on the aforementioned classic design template instance and branch interval template instance respectively to generate graph-model associated classic design template instance and branch interval template instance; Based on the associated classic template instance and the number and shape of branch intervals, the arrangeable range is expanded; Based on the interactive map configuration mechanism, the branch bay template instances after map model association are centered and arranged in the arrangeable range to generate the substation main wiring diagram.
[0007] Optionally, the construction of the typical substation design framework template and busbar branch bay template includes: Extract substation features and branch bay features under each substation feature from the SSD file; The characteristics of each branch interval are categorized by type, the characteristics of the bus branch interval are filtered out, and a bus branch interval template is constructed. Remove the bus branch bay feature from the SSD file and construct a typical substation design framework template.
[0008] Optionally, the substation features include voltage level information and transformer information. The voltage level information includes the number of voltage levels, the voltage value of each voltage level, the busbar connection method of each voltage level, and the number of busbars of each voltage level. The transformer information includes the number of transformers, the number of neutral points of each transformer, and the number of windings of each transformer. The characteristics of the branch bay include the number of connecting busbars, circuit breakers, disconnectors, voltage transformers, current transformers, surge arresters, capacitors, reactors, grounding transformers, and line terminals.
[0009] Optionally, graph model association is performed on the classic design template instance and the branch interval template instance respectively to generate graph model-associated classic design template instance and branch interval template instance, including: Set interval matching rules based on the interval type in the typical template instance, and match SSD interval information for each interval in the typical template instance; Based on the element type, set element matching rules to match SSD element information for each element in each interval of the standard design template instance and each element in the branch interval template instance, and generate the standard design template instance and branch interval template instance after the element association.
[0010] Optionally, the interval matching rules include bus interval matching rules, main transformer body interval matching rules, main transformer side interval matching rules, and bus branch / bus tie interval matching rules. The bus bay matching rule is as follows: the busbars in the typical design framework template of the substation are grouped according to voltage level, and the bays of each group of busbars are sorted according to the busbar name attribute to obtain the standard design bay information; the busbars in the SSD file are grouped according to voltage level, and the bays of each group of busbars are sorted according to the busbar description attribute to obtain the SSD bay information; the standard design bay information and the SSD bay information are matched one by one. The main transformer bay matching rule is as follows: Analyze the list of busbar segments connected to each side of the main transformer bay in the typical design framework template of the substation, identify the busbars with the segment number of the standardized voltage level, and obtain the standard design busbar segment list; analyze the list of busbar segments connected to each side of the main transformer bay in the SSD file, identify the busbars with the segment number of the standardized voltage level, and obtain the SSD busbar segment list; match the standard design busbar segment list and the SSD busbar segment list one by one; The matching rules for the main transformer bays on each side are as follows: Analyze the main transformer bays and bus bays connected to the main transformer bays on each side in the typical design framework template of the substation to obtain the standard main transformer bays and standard bus bays; analyze the main transformer bays and bus bays connected to the main transformer bays on each side in the SSD file to obtain the SSD main transformer bays and SSD bus bays; match the standard main transformer bays and SSD main transformer bays one by one, and match the standard bus bays and SSD bus bays one by one. The matching rule for bus branch / bus tie bays is as follows: Analyze the list of bus tie bays connected to the bus branch / bus tie bays in the typical design framework template of the substation to obtain the standard bus tie bay list; analyze the list of bus tie bays connected to the bus branch / bus tie bays in the SSD file to obtain the SSD bus tie bay list; and match the standard bus tie bay list and the SSD bus tie bay list one by one.
[0011] Optionally, the graphic element matching rules include device class graphic element matching rules, dynamic text class graphic element matching rules, and static text class graphic element matching rules; The device class element matching rule is as follows: if there is a unique type of device within the interval, the device class element is matched one by one with the device path and remote signaling quantity in the SSD element information; if there is a non-unique type of device within the interval, the subdivided device is determined by the position of the device in the interval topology, and the subdivided device class element is matched one by one with the device path and remote signaling quantity in the SSD element information. The dynamic text class graphic element matching rule is as follows: match the SSD graphic element information according to the device class graphic element associated with the dynamic text class graphic element, and match the telemetry information in the SSD graphic element information with the dynamic text class graphic element one by one. The static text-based graphic element matching rules are as follows: match the main transformer equipment of the interval to which the dispatch number text-based graphic element belongs with the dispatch number of the corresponding main transformer equipment in the SSD file; match the interval to which the interval title text-based graphic element belongs with the name of the corresponding interval in the SSD file; and match the main wiring diagram text-based graphic element with the name of the substation in the SSD file.
[0012] Optionally, the equipment includes at least a busbar, main transformer, circuit breaker, current transformer (CT), current transformer (PT), station service transformer, and line terminal. The subdivided equipment includes busbar-side disconnectors, I-busbar-side disconnectors, II-busbar-side disconnectors, III-busbar-side disconnectors, switch line-side disconnectors, switch main transformer-side disconnectors, handcarts, side switch busbar-side disconnectors, side switch line-side disconnectors, middle switch line-side disconnectors, middle switch main transformer-side disconnectors, busbar grounding switches, I-busbar-side grounding switches, II-busbar-side grounding switches, switch busbar-side grounding switches, switch CT-side grounding switches, line-side grounding switches, main transformer-side grounding switches, side switch busbar-side grounding switches, side switch line-side grounding switches, side switch CT-side grounding switches, middle switch line-side grounding switches, middle switch main transformer-side grounding switches, main transformer neutral point grounding switches, PT grounding switches, section I busbar-side grounding switches, and section II busbar-side grounding switches.
[0013] Optionally, based on the associated classic template instance and the number and shape of branch intervals, the arrangeable range can be expanded, including: Calculate the length of the outer rectangle of the unarranged branch interval in each group of branch intervals, and use it as the extension length L of the busbar. If there are no graphic elements on either side of the busbar group, extend the busbar group by a length L to either side without graphic elements to expand the arrangeable range. If there are elements on both sides of the busbar group, then: Calculate the center point of the busbar group, and sort the possible intervals in ascending order according to the distance from the center point of the possible interval to the center point of the busbar group to obtain the set of possible intervals. Select arrangeable interval objects sequentially from the set of arrangeable intervals, and construct collision detection lines perpendicular to the busbar group within the selected arrangeable interval objects; Check whether the collision detection line intersects with the outer rectangle of the interval in the typical design framework template of the substation; If they do not intersect, the primitives to the right / below of the collision detection line will be shifted to the right / below by a length L, and the busbar group will be extended by a length L to the primitives before the shift, thus expanding the arrangeable range. If they intersect, adjust the collision detection line along the outer rectangle of the intersecting interval so that the collision detection line does not intersect with the outer rectangle of the interval. Then, shift the elements to the right / below of the collision detection line by a length L to the right / below and extend the busbar group by a length L to the side of the elements before the shift to expand the arrangeable interval.
[0014] Optionally, based on the interactive mapping configuration mechanism, the branch bay template instances after map model association are centered and arranged in the arrangeable area to generate the substation main wiring diagram, including: Obtain the maximum height of the branch bay group and the minimum length of the corresponding busbar group to form a candidate rectangular area; Map the outer rectangles of all elements in the candidate rectangular region onto the horizontal axis, retain the horizontal range and position information of the outer rectangles, exclude the horizontal axis segments occupied by all elements, and form a set of discrete arrangeable interval objects on the horizontal axis. Calculate the center point of the busbar group, and sort the arrangeable interval objects in ascending order according to the distance from the center point of the arrangeable interval object to the center point of the busbar group to obtain the arrangeable interval queue. Initialize the set of intervals to be arranged; at this point, the set of intervals to be arranged is empty. Select arrangeable interval objects sequentially from the arrangeable interval queue and add them to the interval set to be arranged. Then sort the interval objects to be arranged in ascending order according to the x-coordinate of the center point of the interval objects to be arranged in the interval set to be arranged, and obtain the interval queue to be arranged. Select the interval objects to be arranged sequentially from the interval queue, and select the branch intervals sequentially from the set of unarranged branch intervals. Arrange the branch intervals into the interval objects to be arranged until all branch intervals are arranged. Return the anchor point coordinates of each branch interval to generate the substation main wiring diagram. The branch interval set is a branch interval template instance after the diagram is associated. The interval objects to be arranged can accommodate the branch intervals.
[0015] On the other hand, the present invention provides an interactive adaptive generation device for substation main wiring diagrams, comprising: The template loading module is used to load pre-built typical substation design framework templates and busbar branch bay templates. The template instantiation module is used to: instantiate the typical design framework template and busbar branch bay template of the substation, and generate a typical design template instance and a branch bay template instance; The graph model association module is used to: perform graph model association on the classic design template instance and the branch interval template instance respectively, and generate the classic design template instance and the branch interval template instance after graph model association; The interval expansion module is used to expand the arrangeable intervals based on the classic template instance after the graph model association, as well as the number and shape of the branch intervals; The mapping configuration module is used to: center and arrange the branch bay template instances after the map model association to the arrangeable range based on the interactive mapping configuration mechanism, and generate the substation main wiring diagram.
[0016] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: This invention controls the overall style of the main wiring diagram by setting a typical substation design framework template and a busbar branch bay template, and automatically laying out each branch bay template instance into the typical design template instance. At the same time, it introduces an interactive drawing configuration mechanism, which supports the customization of the substation typical design framework template style, the style, arrangement direction, relative arrangement order of various busbar branch bay templates in each busbar group under each voltage level, and the extension threshold of each busbar group under each voltage level, so as to expand the arrangeable range and realize an interactive and automatic fusion drawing mode. This solves the problems of non-standard manual drawing, low efficiency, easy error in drawing model association, and difficulty in controlling the drawing effect of automatic drawing. Attached Figure Description
[0017] Figure 1 A flowchart illustrating the interactive adaptive generation method for substation main wiring diagrams provided in this embodiment of the invention; Figure 2 A flowchart illustrating the adaptive extension method for busbar groups provided in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the busbar branch bay arrangement method provided in an embodiment of the present invention. Detailed Implementation
[0018] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations thereof. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0019] The term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0020] Example 1
[0021] like Figure 1 As shown in the figure, this embodiment introduces an interactive adaptive generation method for substation main wiring diagrams, including the following steps: Step 1: Construct a typical design framework template for a substation and a busbar branch bay template, specifically as follows: The typical design framework template for a substation refers to the wiring diagram framework after deleting the bus branch bays from the main wiring diagram of a substation.
[0022] Extract substation characteristics and branch bay characteristics under each substation characteristic from the System Specification Description (SSD) file.
[0023] The substation features include voltage level information and transformer information. The voltage level information includes the number of voltage levels, the voltage value of each voltage level, the busbar connection method of each voltage level, and the number of busbars of each voltage level. The transformer information includes the number of transformers, the number of neutral points of each transformer, and the number of windings of each transformer.
[0024] The characteristics of the branch bay include the number of connecting busbars, circuit breakers, disconnectors, voltage transformers, current transformers, surge arresters, capacitors, reactors, grounding transformers, and line terminals.
[0025] The characteristics of each branch interval are categorized, the characteristics of the bus branch interval are selected, and a bus branch interval template is constructed.
[0026] Remove the bus branch bay feature from the SSD file and construct a typical substation design framework template.
[0027] Step 2: Load the template and instantiate and associate it with the graph model, specifically: It provides a drawing configuration interface, which receives the typical design framework template style of substations input by engineers, the template styles of various bus branch bays in each bus group under each voltage level, the relative arrangement order, the arrangement direction relative to the bus group, and the extension threshold of each bus group under each voltage level, and loads the typical design framework template of substations and bus branch bay templates constructed in step one.
[0028] The typical design framework template and busbar branch bay template of the substation are instantiated to generate typical design template instance and branch bay template instance.
[0029] Perform graph-model association on the standard design template instance and the branch interval template instance respectively to generate the graph-model associated standard design template instance and branch interval template instance: Set interval matching rules based on the interval type in the typical template instance, and match SSD interval information for each interval in the typical template instance.
[0030] The types of bays include: bus bays, main transformer bays, main transformer bays on each side (including high-voltage side bays under line transformer group connection mode), and bus branch / bus tie bays.
[0031] The bay matching rules include bus bay matching rules, main transformer bay matching rules, main transformer side bay matching rules, and bus branch / bus tie bay matching rules; bus branch bay refers to the bus segment bay, and bus tie bay refers to the bus connection bay.
[0032] The bus bay matching rule is as follows: Buses in the typical substation design framework template are grouped by voltage level, and the bays of each group are sorted by bus name attribute to obtain the standard design bay information. Buses in the SSD file are also grouped by voltage level, and the bays of each group are sorted by bus description attribute to obtain SSD bay information. The standard design bay information and SSD bay information are then matched one-to-one. If the number of busbars within a group is inconsistent, an error is reported; otherwise, matching is performed according to the order within the group.
[0033] The matching rule for the main transformer bay is as follows: Analyze the list of busbar segments connected to each side of the main transformer bay in the typical substation design framework template, identifying the busbars with standardized voltage level segment numbers to obtain the standard busbar segment list; analyze the list of busbar segments connected to each side of the main transformer bay in the SSD file, identifying the busbars with standardized voltage level segment numbers to obtain the SSD busbar segment list; match the standard busbar segment list and the SSD busbar segment list one by one; match the main transformer bays using the connected busbar segment list. That is, analyze the list of busbar segments connected to each side of the main transformer element in the typical substation design framework template, identifying the busbars with standardized segment numbers (voltage level + segment number of that level); analyze the list of busbar segments connected to each side of the main transformer equipment in the entire substation's SSD file, identifying the busbars with standardized segment numbers (voltage level + segment number of that level); match the main transformer bays using the connected busbar segment list.
[0034] The matching rules for the main transformer bays on each side are as follows: Analyze the main transformer bays and bus bays connected to each main transformer bay in the typical substation design framework template to obtain the standard main transformer bays and standard bus bays; analyze the main transformer bays and bus bays connected to each main transformer bay in the SSD file to obtain the SSD main transformer bays and SSD bus bays; match the standard main transformer bays and SSD main transformer bays one by one, and match the standard bus bays and SSD bus bays one by one. That is, analyze the main transformer bays and bus bays connected to each main transformer bay in the typical substation design framework template; analyze the main transformer bays and bus bays connected to each main transformer bay in the entire substation's SSD file; match by determining whether the main transformer bays and bus bays connected to each main transformer bay in the typical substation design framework template and the entire substation's SSD file are consistent.
[0035] The busbar / bus tie-bar matching rule is as follows: Analyze the list of busbars connected to busbars / bus tie-bars in the typical substation design framework template to obtain the standard busbar list; analyze the list of busbars connected to busbars / bus tie-bars in the SSD file to obtain the SSD busbar list; match the standard busbar list and the SSD busbar list one by one. That is, analyze the list of busbars connected to busbars / bus tie-bars in the typical substation design framework template; analyze the list of busbars connected to busbars / bus tie-bars in the entire substation's SSD file; and match by determining whether the lists of busbars connected to busbars / bus tie-bars in the typical substation design framework template and the entire substation's SSD file are consistent.
[0036] Based on the element type, set element matching rules to match SSD element information for each element in each interval of the standard design template instance and each element in the branch interval template instance, and generate the standard design template instance and branch interval template instance after template association.
[0037] The graphic element types include device-type graphic elements, dynamic text-type graphic elements, and static text-type graphic elements, and different SSD information is associated with each graphic element type.
[0038] The graphic element matching rules include device-type graphic element matching rules, dynamic text-type graphic element matching rules, and static text-type graphic element matching rules.
[0039] The matching rules for device-type elements are as follows: If a unique device class exists within an interval, the device-type element is matched one-to-one with the device path and telemetry data in the SSD element information. If a non-unique device class exists within an interval, the subdivided device is determined by its position in the interval topology, and the subdivided device-type element is matched one-to-one with the device path and telemetry data in the SSD element information. In other words, the SSD information to be matched for device-type elements includes device paths and telemetry data. The matching rules are set according to the device type. If a unique device exists within an interval, it is associated based on the device type; if a non-unique device exists within an interval, the subdivided device is determined by analyzing its position in the interval topology connection, and then associated based on the subdivided device.
[0040] The equipment includes at least busbars, main transformers, circuit breakers, current transformers (CTs), voltage transformers (PTs), station service transformers, and line terminals. The subdivided equipment includes busbar-side disconnectors, I busbar-side disconnectors, II busbar-side disconnectors, III busbar-side disconnectors (bypass busbars), switch line-side disconnectors, switch main transformer-side disconnectors, handcarts, side switch busbar-side disconnectors, side switch line (main transformer)-side disconnectors, medium switch line-side disconnectors, medium switch main transformer-side disconnectors, busbar grounding switches, I busbar-side grounding switches, II busbar-side grounding switches, switch busbar-side grounding switches, switch CT-side grounding switches, line-side grounding switches, main transformer-side grounding switches, side switch busbar-side grounding switches, side switch line (main transformer) grounding switches, side switch CT-side grounding switches, medium switch line-side grounding switches, medium switch main transformer-side grounding switches, main transformer neutral point grounding switches, PT grounding switches, section I busbar-side grounding switches, and section II busbar-side grounding switches.
[0041] The matching rule for dynamic text-based primitives is as follows: SSD primitive information is matched based on the device-based primitives associated with the dynamic text-based primitives, and the telemetry data in the SSD primitive information is matched one-to-one with the dynamic text-based primitives. That is, if the SSD information to be matched by the dynamic text-based primitive is telemetry data, it is done by matching the SSD device information through the device-based primitives associated with the dynamic text-based primitives, and then matching the telemetry data in the corresponding SSD device's SSD primitive information.
[0042] The matching rules for static text-based graphical elements are as follows: Match the main transformer equipment of the bay to which the dispatch number text-based graphical element belongs with the corresponding dispatch number of the main transformer equipment in the SSD file; match the bay to which the bay title text-based graphical element belongs with the name of the corresponding bay in the SSD file; match the main wiring diagram text-based graphical elements with the name of the substation in the SSD file. In other words, static text-based graphical elements need to be associated with different SSD information based on their text type. The equipment dispatch number text-based graphical element is associated with the dispatch number of the corresponding main transformer equipment in the SSD file through the main transformer equipment of its bay; the bay title text-based graphical element is associated with the name of the corresponding bay in the SSD file through its bay; and the main wiring diagram text-based graphical element is directly associated with the name of the substation in the SSD file.
[0043] Step 3: Expand the layout space of the substation main wiring diagram, specifically as follows: like Figure 2 As shown, based on the associated classic template instance and the number and shape of branch intervals, the possible arrangement range is expanded: For each branch interval, the length of the outer rectangle of the unarranged branch interval is calculated based on the current automatic layout, and this length is used as the extension length L of the busbar.
[0044] Input the busbar extension length L, and detect whether there are graphic elements on both sides of the busbar group.
[0045] If there are no graphic elements on either side of the busbar group, extend the busbar group by a length L to the side without graphic elements to expand the arrangeable interval and rearrange the branch intervals.
[0046] If there are elements on both sides of the busbar group, then the elements to be translated need to be determined before extending the busbar group: Calculate the center point of the busbar group, and sort the possible intervals in ascending order according to the distance from the center point of the possible interval to the center point of the busbar group to obtain the set of possible intervals. Select arrangeable interval objects sequentially from the set of arrangeable intervals, and construct collision detection lines perpendicular to the busbar group within the selected arrangeable interval objects; Check whether the collision detection line intersects with the outer rectangle of the interval in the typical design framework template of the substation; If they do not intersect, the elements to the right / below of the collision detection line will be shifted to the right / below by a length L, and the busbar group will be extended by a length L to the side of the elements before the shift, thus expanding the arrangeable range and re-arranging the branch intervals. If they intersect, adjust the collision detection line along the outer rectangle of the intersecting interval so that the collision detection line does not intersect with the outer rectangle of the interval. Then, shift the elements to the right / below of the collision detection line by a length L to the right / below and extend the busbar group by a length L to the side of the elements before the shift, expanding the arrangeable range, and rearrange the branch intervals. The collision detection line is the screen division line.
[0047] Step 4: Generate the substation main wiring diagram based on the interactive diagram configuration mechanism, specifically as follows: Determine the position of the arrangeable section relative to the busbar group, and sequentially detect the space occupancy at each position of the busbar group to detect the arrangeable section. Taking the detection of the arrangeable section above the horizontal busbar group as an example: Obtain the maximum height of the branch interval group and the minimum length of the corresponding busbar group to form a candidate rectangular area; detect all elements in the candidate rectangular area, map the outer rectangle of all elements to the horizontal axis, retain the horizontal range and position information of the outer rectangle, and then exclude the horizontal axis segments occupied by all elements to form a set of discrete arrangeable interval objects on the horizontal axis.
[0048] like Figure 3 As shown, in order to make the branch intervals relatively centered, the center point of the bus group is calculated, and the arrangeable interval objects are sorted in ascending order according to the distance from the center point of the arrangeable interval object to the center point of the bus group, so as to obtain the arrangeable interval queue.
[0049] Initialize the set of intervals to be arranged; at this point, the set of intervals to be arranged is empty.
[0050] Arrangeable interval objects are sequentially selected from the queue of arrangeable intervals and added to the set of intervals to be arranged, thus giving priority to intervals closer to the center point of the bus group. Simultaneously, to maintain consistency between the branch interval arrangement order and the user-defined branch interval order, the interval objects to be arranged are sorted in ascending order according to the x-coordinate of their center points in the set of intervals to be arranged, resulting in the queue of intervals to be arranged.
[0051] Initialize the unarranged branch interval set, which is the branch interval template instance after graph model association.
[0052] Select the interval objects to be arranged sequentially from the interval queue, and select the branch intervals sequentially from the set of unarranged branch intervals. Arrange the branch intervals into the interval objects to be arranged until all branch intervals are arranged. Return the anchor point coordinates of each branch interval and generate the substation main wiring diagram. The branch interval set is the branch interval template instance after the diagram model is associated. The interval objects to be arranged can accommodate the branch intervals.
[0053] That is, if the interval object to be arranged can accommodate the branch bay, the branch bay is added to the interval object to be arranged. When all branch bays are arranged, the anchor point coordinates of each branch bay are returned to generate the substation main wiring diagram.
[0054] If no more branch intervals can be added to the interval to be arranged, the branch intervals already added to the interval to be arranged are centered. Then, it is determined whether there is a next interval to be arranged. If there is, the intervals to be arranged are retrieved from the queue and arranged. If there is no next interval to be arranged, it is determined whether there is a next arrangeable interval. If there is, the arrangeable interval is retrieved from the queue and added to the set of intervals to be arranged, and the arrangement is restarted. If there is no next arrangeable interval, the required interval length for the undated branch intervals is calculated, and the required interval length is returned. At this point, the process returns to step three to expand the arrangeable intervals and restarts the branch interval arrangement.
[0055] This embodiment controls the overall style of the main wiring diagram by setting a typical substation design framework template and a busbar branch bay template, and automatically laying out each branch bay template instance into the typical design template instance. At the same time, it introduces an interactive drawing configuration mechanism, which supports the customization of the substation typical design framework template style, the style, arrangement direction, relative arrangement order of various busbar branch bay templates in each busbar group under each voltage level, and the extension threshold of each busbar group under each voltage level, so as to expand the arrangeable range, realize the interactive and automatic fusion drawing mode, and solve the problems of non-standard manual drawing, low efficiency, easy error in drawing model association, and difficulty in controlling the drawing effect of automatic drawing.
[0056] Example 2
[0057] Based on Embodiment 1, this embodiment introduces an interactive adaptive generation device for substation main wiring diagrams, comprising: The template loading module is used to load pre-built typical substation design framework templates and busbar branch bay templates. The template instantiation module is used to: instantiate the typical design framework template and busbar branch bay template of the substation, and generate a typical design template instance and a branch bay template instance; The graph model association module is used to: perform graph model association on the classic design template instance and the branch interval template instance respectively, and generate the classic design template instance and the branch interval template instance after graph model association; The interval expansion module is used to expand the arrangeable intervals based on the classic template instance after the graph model association, as well as the number and shape of the branch intervals; The mapping configuration module is used to: center and arrange the branch bay template instances after the map model association to the arrangeable range based on the interactive mapping configuration mechanism, and generate the substation main wiring diagram.
[0058] The specific functions of each module described above are explained in the relevant content of the method in Embodiment 1, and will not be repeated here.
[0059] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0060] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0061] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0062] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0063] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. An interactive adaptive generation method for substation main wiring diagrams, characterized in that, include: Load the pre-built typical design framework template for substations and busbar branch bay template; The typical design framework template and busbar branch bay template of the substation are instantiated to generate a typical design template instance and a branch bay template instance; Perform graph-model association on the aforementioned classic design template instance and branch interval template instance respectively to generate graph-model associated classic design template instance and branch interval template instance; Based on the associated classic template instance and the number and shape of branch intervals, the arrangeable range is expanded; Based on the interactive mapping configuration mechanism, the branch bay template instances after map model association are centered and arranged in the arrangeable range to generate the substation main wiring diagram, including: Obtain the maximum height of the branch bay group and the minimum length of the corresponding busbar group to form a candidate rectangular area; Map the outer rectangles of all elements in the candidate rectangular region onto the horizontal axis, retain the horizontal range and position information of the outer rectangles, exclude the horizontal axis segments occupied by all elements, and form a set of discrete arrangeable interval objects on the horizontal axis. Calculate the center point of the busbar group, and sort the arrangeable interval objects in ascending order according to the distance from the center point of the arrangeable interval object to the center point of the busbar group to obtain the arrangeable interval queue. Initialize the set of intervals to be arranged; at this point, the set of intervals to be arranged is empty. Select arrangeable interval objects sequentially from the arrangeable interval queue and add them to the interval set to be arranged. Then sort the interval objects to be arranged in ascending order according to the x-coordinate of the center point of the interval objects to be arranged in the interval set to be arranged, and obtain the interval queue to be arranged. Select the interval objects to be arranged sequentially from the interval queue, and select the branch intervals sequentially from the set of unarranged branch intervals. Arrange the branch intervals into the interval objects to be arranged until all branch intervals are arranged. Return the anchor point coordinates of each branch interval to generate the substation main wiring diagram. The branch interval set is a branch interval template instance after the diagram is associated. The interval objects to be arranged can accommodate the branch intervals.
2. The interactive adaptive generation method for substation main wiring diagrams according to claim 1, characterized in that, The construction of the typical design framework template and busbar branch bay template for the substation includes: Extract substation features and branch bay features under each substation feature from the SSD file; The characteristics of each branch interval are categorized by type, the characteristics of the bus branch interval are filtered out, and a bus branch interval template is constructed. Remove the bus branch bay feature from the SSD file and construct a typical substation design framework template.
3. The interactive adaptive generation method for substation main wiring diagrams according to claim 2, characterized in that, The substation features include voltage level information and transformer information. The voltage level information includes the number of voltage levels, the voltage value of each voltage level, the busbar connection method of each voltage level, and the number of busbars of each voltage level. The transformer information includes the number of transformers, the number of neutral points of each transformer, and the number of windings of each transformer. The characteristics of the branch bay include the number of connecting busbars, circuit breakers, disconnectors, voltage transformers, current transformers, surge arresters, capacitors, reactors, grounding transformers, and line terminals.
4. The interactive adaptive generation method for substation main wiring diagrams according to claim 1, characterized in that, The schematic template instance and the branch interval template instance are respectively subjected to graph model association to generate schematic template instances and branch interval template instances after graph model association, including: Set interval matching rules based on the interval type in the typical template instance, and match SSD interval information for each interval in the typical template instance; Based on the element type, set element matching rules to match SSD element information for each element in each interval of the standard design template instance and each element in the branch interval template instance, and generate the standard design template instance and branch interval template instance after the element association.
5. The interactive adaptive generation method for substation main wiring diagrams according to claim 4, characterized in that, The interval matching rules include bus interval matching rules, main transformer body interval matching rules, main transformer side interval matching rules, and bus branch / bus tie interval matching rules. The bus bay matching rule is as follows: the busbars in the typical design framework template of the substation are grouped according to voltage level, and the bays of each group of busbars are sorted according to the busbar name attribute to obtain the standard design bay information; the busbars in the SSD file are grouped according to voltage level, and the bays of each group of busbars are sorted according to the busbar description attribute to obtain the SSD bay information; the standard design bay information and the SSD bay information are matched one by one. The main transformer bay matching rule is as follows: Analyze the list of busbar segments connected to each side of the main transformer bay in the typical design framework template of the substation, identify the busbars with the segment number of the standardized voltage level, and obtain the standard design busbar segment list; analyze the list of busbar segments connected to each side of the main transformer bay in the SSD file, identify the busbars with the segment number of the standardized voltage level, and obtain the SSD busbar segment list; match the standard design busbar segment list and the SSD busbar segment list one by one; The matching rules for the main transformer bays on each side are as follows: Analyze the main transformer bays and bus bays connected to the main transformer bays on each side in the typical design framework template of the substation to obtain the standard main transformer bays and standard bus bays; analyze the main transformer bays and bus bays connected to the main transformer bays on each side in the SSD file to obtain the SSD main transformer bays and SSD bus bays; match the standard main transformer bays and SSD main transformer bays one by one, and match the standard bus bays and SSD bus bays one by one. The matching rule for bus branch / bus tie bays is as follows: Analyze the list of bus tie bays connected to the bus branch / bus tie bays in the typical design framework template of the substation to obtain the standard bus tie bay list; analyze the list of bus tie bays connected to the bus branch / bus tie bays in the SSD file to obtain the SSD bus tie bay list; and match the standard bus tie bay list and the SSD bus tie bay list one by one.
6. The interactive adaptive generation method for substation main wiring diagrams according to claim 4, characterized in that, The graphic element matching rules include device class graphic element matching rules, dynamic text class graphic element matching rules, and static text class graphic element matching rules; The device class element matching rule is as follows: if there is a unique type of device within the interval, the device class element is matched one by one with the device path and remote signaling quantity in the SSD element information; if there is a non-unique type of device within the interval, the subdivided device is determined by the position of the device in the interval topology, and the subdivided device class element is matched one by one with the device path and remote signaling quantity in the SSD element information. The dynamic text class graphic element matching rule is as follows: match the SSD graphic element information according to the device class graphic element associated with the dynamic text class graphic element, and match the telemetry information in the SSD graphic element information with the dynamic text class graphic element one by one. The static text-based graphic element matching rules are as follows: match the main transformer equipment of the interval to which the dispatch number text-based graphic element belongs with the dispatch number of the corresponding main transformer equipment in the SSD file; match the interval to which the interval title text-based graphic element belongs with the name of the corresponding interval in the SSD file; and match the main wiring diagram text-based graphic element with the name of the substation in the SSD file.
7. The interactive adaptive generation method for substation main wiring diagrams according to claim 6, characterized in that, The equipment includes at least a busbar, main transformer, circuit breaker, CT, PT, station service transformer and line terminal; The subdivided equipment includes busbar-side disconnectors, I-busbar-side disconnectors, II-busbar-side disconnectors, III-busbar-side disconnectors, switch line-side disconnectors, switch main transformer-side disconnectors, handcarts, side switch busbar-side disconnectors, side switch line-side disconnectors, middle switch line-side disconnectors, middle switch main transformer-side disconnectors, busbar grounding switches, I-busbar-side grounding switches, II-busbar-side grounding switches, switch busbar-side grounding switches, switch CT-side grounding switches, line-side grounding switches, main transformer-side grounding switches, side switch busbar-side grounding switches, side switch line-side grounding switches, side switch CT-side grounding switches, middle switch line-side grounding switches, middle switch main transformer-side grounding switches, main transformer neutral point grounding switches, PT grounding switches, section I busbar-side grounding switches, and section II busbar-side grounding switches.
8. The interactive adaptive generation method for substation main wiring diagrams according to claim 1, characterized in that, Based on the associated classic template instance and the number and shape of branch intervals, the arrangeable range is expanded, including: Calculate the length of the outer rectangle of the unarranged branch interval in each group of branch intervals, and use it as the extension length L of the busbar. If there are no graphic elements on either side of the busbar group, extend the busbar group by a length L to either side without graphic elements to expand the arrangeable range. If there are elements on both sides of the busbar group, then: Calculate the center point of the busbar group, and sort the possible intervals in ascending order according to the distance from the center point of the possible interval to the center point of the busbar group to obtain the set of possible intervals. Select arrangeable interval objects sequentially from the set of arrangeable intervals, and construct collision detection lines perpendicular to the busbar group within the selected arrangeable interval objects; Check whether the collision detection line intersects with the outer rectangle of the interval in the typical design framework template of the substation; If they do not intersect, the primitives to the right / below of the collision detection line will be shifted to the right / below by a length L, and the busbar group will be extended by a length L to the primitives before the shift, thus expanding the arrangeable range. If they intersect, adjust the collision detection line along the outer rectangle of the intersecting interval so that the collision detection line does not intersect with the outer rectangle of the interval. Then, shift the elements to the right / below of the collision detection line by a length L to the right / below and extend the busbar group by a length L to the side of the elements before the shift to expand the arrangeable interval.
9. An interactive adaptive generation device for substation main wiring diagrams, characterized in that, include: The template loading module is used to load pre-built typical substation design framework templates and busbar branch bay templates. The template instantiation module is used to: instantiate the typical design framework template and busbar branch bay template of the substation, and generate a typical design template instance and a branch bay template instance; The graph model association module is used to: perform graph model association on the classic design template instance and the branch interval template instance respectively, and generate the classic design template instance and the branch interval template instance after graph model association; The interval expansion module is used to expand the arrangeable intervals based on the classic template instance after the graph model association, as well as the number and shape of the branch intervals; The mapping configuration module is used to: center and arrange branch bay template instances, after association with the map models, within the arrangeable area based on an interactive mapping configuration mechanism to generate the substation main wiring diagram, including: Obtain the maximum height of the branch bay group and the minimum length of the corresponding busbar group to form a candidate rectangular area; Map the outer rectangles of all elements in the candidate rectangular region onto the horizontal axis, retain the horizontal range and position information of the outer rectangles, exclude the horizontal axis segments occupied by all elements, and form a set of discrete arrangeable interval objects on the horizontal axis. Calculate the center point of the busbar group, and sort the arrangeable interval objects in ascending order according to the distance from the center point of the arrangeable interval object to the center point of the busbar group to obtain the arrangeable interval queue. Initialize the set of intervals to be arranged; at this point, the set of intervals to be arranged is empty. Select arrangeable interval objects sequentially from the arrangeable interval queue and add them to the interval set to be arranged. Then sort the interval objects to be arranged in ascending order according to the x-coordinate of the center point of the interval objects to be arranged in the interval set to be arranged, and obtain the interval queue to be arranged. Select the interval objects to be arranged sequentially from the interval queue, and select the branch intervals sequentially from the set of unarranged branch intervals. Arrange the branch intervals into the interval objects to be arranged until all branch intervals are arranged. Return the anchor point coordinates of each branch interval to generate the substation main wiring diagram. The branch interval set is a branch interval template instance after the diagram is associated. The interval objects to be arranged can accommodate the branch intervals.
Citation Information
Patent Citations
Method, device and equipment for quickly generating SSD (Solid State Disk) file of transformer substation and medium
CN120874804A
Full-automatic closed-loop detection method and apparatus for intelligent substation
WO2019109619A1