A marine booster station modeling method based on blueprint intelligent analysis
Patent Information
- Application Number
- CN202610880385.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-17
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2046-06-17
AI Technical Summary
[0004]为解决现有技术中存在的上述问题,本发明提供了一种基于图纸智能解析的海上升压站建模方法,解决传统手动建模效率低、误差大、流程繁琐的问题
[0015] The beneficial effects of this invention are as follows: This invention improves modeling efficiency through standardized preprocessing of drawings, automatic data extraction and optimization, and one-click mapping to generate SACS input files; it automatically extracts coordinates, removes duplicates, and reduces accuracy throughout the process, eliminating common problems such as coordinate errors and member breakage caused by manual input; it realizes seamless data transfer from CAD drawings to SACS models, greatly reducing the dependence on the professional experience of operators, and only requires simple layer naming and breakage processing to complete.
Smart Images

Figure CN122413769B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of offshore wind power engineering design and modeling technology, specifically involving a modeling method for offshore substations based on intelligent analysis of drawings. Background Technology
[0002] Offshore wind power is a core renewable energy technology in the global energy transition. As the core power transmission facility of offshore wind farms, the efficiency of the structural design and modeling of offshore substations directly determines the construction cycle of the entire wind farm. Currently, the construction pace of offshore wind farms is accelerating and the construction cycle is continuously shortening. However, offshore substations have complex structures with numerous beams, columns, trusses, and node systems. The traditional modeling method involves manually modeling from bottom to top in SACS marine engineering professional analysis software based on CAD drawings. This modeling process is not only cumbersome and time-consuming, but also prone to geometric errors and attribute errors when manually entering the three-dimensional coordinates of nodes and manually assigning cross-sectional properties of components, making it difficult to guarantee model accuracy. At the same time, the amount of repetitive work is large, and offshore substations with different capacities and layout schemes all need to be manually modeled from scratch, which can no longer meet the actual engineering needs of rapid construction of offshore wind farms.
[0003] Currently, there is a lack of efficient digital integration tools between computer-aided drafting software and marine engineering professional analysis software. There is no standardized modeling method that can automatically extract, process, and directly convert CAD drawing data into SACS software modeling commands. The industry urgently needs an automated modeling method based on intelligent drawing parsing to solve the technical pain points of low efficiency, large errors, and cumbersome processes in traditional manual modeling, and to achieve rapid and accurate modeling of offshore booster stations. Summary of the Invention
[0004] To address the aforementioned problems in existing technologies, this invention provides a modeling method for offshore substations based on intelligent drawing analysis, which solves the problems of low efficiency, large errors, and cumbersome processes in traditional manual modeling.
[0005] The objective of this invention can be achieved through the following technical solutions: A method for modeling offshore substations based on intelligent drawing analysis includes the following steps: S1, Drawing preprocessing: Obtain CAD drawings based on the electrical equipment layout drawing of the offshore substation and preprocess the CAD drawings to establish a one-to-one correspondence between the beam and column structure layer names and the component section attributes, and break up intersecting components to obtain standardized CAD model drawings. S2, Intelligent Data Extraction and Standardized Storage: The standardized CAD model drawings are imported into the digitization processing module for automated data extraction to obtain the initial three-dimensional coordinates of each line segment endpoint and the corresponding initial layer attributes. The CAD data extraction module of the digitization tool performs unit conversion, precision reduction, node deduplication, and spatial layering on the extracted initial three-dimensional coordinates and initial layer attributes to generate a structured storage set of preliminary node data and a set of preliminary member data. S3, Data Optimization: The preliminary node data set and the preliminary member data set are optimized. The optimization process includes screening core nodes, correcting coordinate accuracy, and verifying node connection relationships to obtain the optimized intermediate node data set and intermediate member data set. S4, Automatic Model Generation: The intermediate node data set and the intermediate member data set are mapped to an input file format recognizable by the SACS software. The basic modeling parameters are automatically configured, a SACS input file is generated, and the SACS input file is imported into the SACS software to automatically generate a complete offshore substation structural model.
[0006] Preferably, in step S2, the initial layer attributes correspond to the beam-column structure layer name described in S1.
[0007] Preferably, step S1 includes the following steps: S101. Based on the electrical equipment layout drawing provided by the actual project, the operator uses steel structure 3D design software to build a full-size 3D model, and then uses the software's export function to export the 3D model as a general DWG format file and import it into AutoCAD software. S102, In AutoCAD software, modify the layer name of each beam and column component to a unique identifier name corresponding to the section attribute of that component, so that each layer name uniquely represents a section attribute. S103 breaks the intersecting components so that any two line segments are connected only at their endpoints.
[0008] Preferably, step S2 includes the following: S201, Filter line elements in the AutoCAD software programming interface, and extract the initial three-dimensional coordinates of the line segment endpoints and the corresponding initial layer attributes; S202, the extracted initial three-dimensional coordinates are converted from millimeter units to metric units and rounded according to a preset precision to obtain the reduced three-dimensional coordinates; S203, the reduced three-dimensional coordinates are deduplicated, and spatial layering and sorting are performed according to the Z-axis coordinate values to form a layered node data structure, and the layered node data structure is used as the initial node data set; S204: Adopts a dynamic layer number naming rule, automatically assigning numbers or letters as layer number identifiers based on the index value in the layer height sequence; S205, the conventional three-dimensional coordinates of each line segment and the initial layer attributes are used as preliminary member data. The preliminary member data and the layered node data structure are written into a spreadsheet file to store member information and node information respectively.
[0009] Preferably, the dynamic layer number naming rule is as follows: when the layer index value is in the first numerical range, pure numbers are used as the layer number identifier; when the layer index value is in the second numerical range, a preset base conversion mapping function is called to convert the numeric index into an alphabetical identifier as the layer number identifier.
[0010] Preferably, step S3 includes: S301, Automatically identify and remove non-structural key nodes, duplicate labeled nodes and invalid labeled nodes from the preliminary node data set to obtain core node data; S302, the coordinates in the core node data are corrected for precision, the numerical precision of the coordinates is uniformly controlled within the error range allowed by the engineering design, and the coordinate system is aligned to obtain the refined node coordinates, which are used as optimized node data. S303, using a geometric constraint verification algorithm, based on the refined node coordinates, check whether the starting point coordinates and ending point coordinates of each line segment in the preliminary member data set can be found to have an exact corresponding node in the optimized node data. After verification, optimized member data is formed.
[0011] Preferably, step S4 specifically includes: S401, Read the pre-built section attribute library, which contains at least section names, and the section names adopt the same naming rules as in step S1; Generate SACS section objects and component group objects based on the section attribute library, and establish a mapping relationship table with section names as keys; S402, Generate SACS node definition command statements based on the refined node coordinates in the optimized node data; S403, based on the start and end point coordinates and layer name in the optimized member data, use the mapping relationship table to find the corresponding SACS member group object, locate the corresponding start node and end node, and generate SACS member definition command statement; S404, Automatically configure SACS modeling basic parameters, and merge the SACS node definition command statement, SACS component definition command statement and the modeling basic parameters into a SACS standard input file; S405 allows you to directly import SACS standard input files into the SACS offshore engineering professional analysis software. The SACS software automatically recognizes all modeling commands and data definitions in the input files and generates a complete offshore substation structure model with one click in the software environment.
[0012] Preferably, the process also includes step S5: model verification and calculation. The automatically generated offshore substation structural model is manually visually verified to confirm that the model is consistent with the engineering design drawings. After that, load application, working condition combination, structural analysis and specification verification are performed.
[0013] Preferably, the digitization processing module specifically includes: a data extraction plugin that is integrated into the CAD software environment as a dynamic link library based on secondary development of the CAD application programming interface; and a model generation script that is independently run as an executable script based on secondary development of the SACS component object model interface.
[0014] Preferably, the first numerical range is the layer index value 1 to 9, and the numbers 1 to 9 are used directly as the layer number identifier; the second numerical range is the layer index value 10 to 35, and the letters A to Z are used sequentially as the layer number identifier.
[0015] The beneficial effects of this invention are as follows: This invention improves modeling efficiency through standardized preprocessing of drawings, automatic data extraction and optimization, and one-click mapping to generate SACS input files; it automatically extracts coordinates, removes duplicates, and reduces accuracy throughout the process, eliminating common problems such as coordinate errors and member breakage caused by manual input; it realizes seamless data transfer from CAD drawings to SACS models, greatly reducing the dependence on the professional experience of operators, and only requires simple layer naming and breakage processing to complete. Attached Figure Description
[0016] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to the accompanying drawings.
[0017] Figure 1 The main flowchart of the offshore substation modeling method provided by the present invention.
[0018] Figure 2 The flowchart illustrates the offshore substation modeling method provided by this invention.
[0019] Figure 3 This is a schematic diagram of the 3D3S model of the offshore booster station of this invention.
[0020] Figure 4 This is a schematic diagram of the CAD model and digitization tool operation of the offshore substation of this invention. Detailed Implementation
[0021] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description of the specific implementation methods, structures, features, and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided.
[0022] like Figures 1-4 As shown, a method for modeling offshore substations based on intelligent drawing analysis includes the following steps: S1, Drawing preprocessing: Based on the electrical equipment layout drawing of the offshore substation, obtain CAD drawings and preprocess the CAD drawings. Modify the layer name of each component to a standardized string that reflects the cross-section type (e.g., "LZ1" represents the main column cross-section), and break up intersecting components to obtain standardized CAD model drawings. S2, Intelligent Data Extraction and Standardized Storage: Standardized CAD model drawings are imported into the digitization processing module for automated data extraction, obtaining the initial 3D coordinates of each line segment endpoint and the corresponding initial layer attributes. The CAD data extraction module of the digitization tool performs unit conversion, precision reduction, node deduplication, and spatial layering on the extracted initial 3D coordinates and initial layer attributes, generating a structured preliminary node data set and a preliminary member data set; the digitization processing module has CAD data extraction and processing functions. S3, Data Optimization: The preliminary node data set and preliminary member data set are optimized. The optimization process includes screening core nodes, correcting coordinate accuracy, and verifying node connection relationships to obtain the optimized intermediate node data set and intermediate member data set. S4, Automatic Model Generation: Maps the intermediate node data set and intermediate member data set into an input file format recognizable by SACS software, automatically configures basic modeling parameters, generates SACS input files, imports the SACS input files into SACS software, and automatically generates a complete offshore substation structural model.
[0023] In summary, this embodiment solves the technical problems of low efficiency, error-proneness, and asynchronous data between drawings and models in traditional manual modeling. Through fully automated processes including drawing standardization, automatic data extraction and cleaning, and one-click model generation, it achieves seamless conversion from 2D CAD electrical layout drawings to 3D SACS structural models, significantly improving the efficiency and accuracy of offshore substation structural modeling.
[0024] In one embodiment, in step S2, the initial layer attributes correspond to the beam-column structure layer names in S1. In step S1, the operator modifies the layer names of each beam-column component in AutoCAD software to standardized strings that clearly reflect the cross-section type and size specifications. For example, "LZ1" represents the first type of main column cross-section, "LZ2" represents the second type of main column cross-section, and "JGJ" represents the truss member cross-section, etc. In step S2, the CAD data extraction plugin of the digitization tool reads the layer attribute string to which each straight line entity belongs through the AutoCAD application programming interface. This string is the standardized layer name mentioned above and is directly used as the cross-section type identifier of the corresponding component without any conversion. For example, if a straight line is located in the "LZ1" layer, then its layer attribute string is "LZ1". This correspondence ensures the consistency of layer names from drawing preprocessing to data extraction, enabling subsequent steps to directly retrieve the corresponding cross-section geometry and material parameters from the cross-section attribute library based on the layer name. This solution resolves the data mapping errors caused by inconsistent component identification at different processing stages, avoids manual intervention for name conversion, and enables automatic and unambiguous association between drawing layers and section attributes in the structural model, thereby improving the reliability and automation of data flow.
[0025] This embodiment refines step S1 and provides specific sub-steps for drawing preprocessing.
[0026] S101. Based on the electrical equipment layout drawing of the offshore substation, draw a structural diagram of the offshore substation consistent with the engineering design: Operators, using AutoCAD software, draw a structural diagram of the offshore substation completely consistent with the engineering design, based on the electrical equipment layout drawing provided by the actual project. During the drawing process, they strictly adhere to the engineering design drawing specifications, ensuring that the position, size, and arrangement of structural components precisely match the electrical equipment layout drawing, without any dimensional deviations or misalignments. This provides an accurate two-dimensional drawing foundation for subsequent 3D modeling. Operators use 3D3S steel structure design software to build a full-size 3D model. During the modeling process, they fully reproduce the 3D geometric features of all core structural components of the substation, including beams, columns, braces, trusses, and various connection nodes, ensuring that the model structure is completely consistent with the actual engineering design. After the model is built, the 3D model is exported as a common DWG format file using the export function of 3D3S software, and this DWG file is imported into AutoCAD software, providing a working environment for subsequent drawing preprocessing operations.
[0027] S102. In AutoCAD software, modify the layer name of each beam and column component to a unique identifier name corresponding to the cross-sectional properties of that component. Operators modify the layer names to standardized strings according to the actual cross-sectional properties of the structural components. For example, "LZ1" represents the first type of main column cross-section, specifically: (circular tube cross-section, outer diameter 800mm, wall thickness 25mm), "LZ2" represents the second type of main column cross-section, specifically: (circular tube cross-section, outer diameter 1000mm, wall thickness 30mm), "JGJ" represents the truss member cross-section, specifically: (H-beam, H300×300×10×15), etc., so that each layer name uniquely represents a cross-sectional property.
[0028] S103, the operator uses AutoCAD's break command to precisely break all structural component lines that have geometric intersections, ensuring that any two line segments only connect at their respective endpoints and no longer intersect in the middle.
[0029] This embodiment solves the problem of arbitrary layer naming and line segment intersections in the original CAD drawings, which makes it impossible to automatically identify independent components. By standardizing layer naming and breaking the line segment, each line segment in the preprocessed drawing represents an independent structural component, and its endpoint is the structural node. This eliminates geometric connection ambiguity for subsequent automatic extraction of node coordinates and identification of component-node relationships, laying the foundation for fully automatic data extraction.
[0030] This embodiment provides a detailed operation process for step S2: S201, in the AutoCAD software programming interface, filter straight line elements, extract the initial three-dimensional coordinates of the endpoints of the line segments and the corresponding initial layer attributes. Specifically, the plugin prompts the operator to select the drawing area to be processed through the CAD API, traverses each entity object in the area, and filters out all straight line type graphic entities by entity type. For each straight line entity, reads the start coordinates and end coordinates in its geometric attributes, and reads the layer attribute string to which the straight line entity belongs.
[0031] S202 converts the extracted initial 3D coordinates from millimeters to meters and rounds them according to a preset precision to obtain the reduced 3D coordinates. For example, the coordinate value is divided by 1000 to achieve unit conversion, and then the rounding function is called to round the converted coordinate value to the sixth decimal place, eliminating the slight differences in floating-point numbers caused by different CAD versions or operations.
[0032] S203, the three-dimensional coordinates of the reduction are deduplicated, and spatial layering and sorting are performed according to the Z-axis coordinate values to form a layered node data structure. The layered node data structure is used as the initial node data set. Specifically, the Z-axis components of all coordinate points are extracted, deduplicated and sorted to obtain the layer height sequence. The layer height sequence is traversed and the corresponding coordinate points are selected according to the Z value and assigned to each layer container.
[0033] S204 adopts a dynamic layer number naming rule, which automatically assigns numbers or letters as layer number identifiers based on the index value in the layer height sequence. For example, layers 1-9 are represented by numbers 1-9, and layers 10 and above are represented by letters A, B, etc.
[0034] S205: Use the standard three-dimensional coordinates of each line segment and the initial layer attributes as preliminary member data. Write the preliminary member data and the layered node data structure into a spreadsheet file to store member information and node information respectively. For example, write the node number and coordinates by layer in the node worksheet, and write the start coordinates, end coordinates and layer name of each line segment in the cell worksheet.
[0035] This embodiment solves the technical problem of automatically extracting and structurally storing massive amounts of node and component information from CAD drawing data. Through coordinate transformation, accuracy reduction, deduplication and layering, and standardized output, the messy two-dimensional drawing data is transformed into clean, orderly spreadsheet data that can be directly used for subsequent optimization, greatly reducing the workload of manual processing and the probability of errors.
[0036] This embodiment specifies the naming rules for dynamic layer numbers. The naming rules are as follows: when the layer index value is in the first numerical range, pure numbers are used as the layer number identifier; when the layer index value is in the second numerical range, a preset base conversion mapping function is called to convert the numerical index into a letter identifier as the layer number identifier. In the specific implementation process, after the digitization tool completes the spatial layering, it obtains the layer height sequence. Each Z value in the sequence corresponds to a horizontal structural layer. The layer index sequence number is obtained by sorting the Z values from smallest to largest (counting from 1).
[0037] Assuming the offshore substation has 15 structural layers, the layer index value of layer 1 is 1, belonging to the first numerical range, and is directly identified by the pure number "1"; layer 2 is identified by "2", and so on. When processing layer 10, the layer index value 10 belongs to the second numerical range, and the system calls the built-in letter sequence mapping function to convert 10 to the letter "A", layer 11 to "B", and so on until layer 15 is converted to "E".
[0038] This embodiment solves the problem of inconsistent layer number identifier lengths caused by the traditional two-digit requirement for purely numerical numbering when the number of structural layers in an offshore substation exceeds nine layers. By using a unified encoding method with single-character identifiers (numbers or letters), the string parsing logic for subsequent node numbers is simplified, while supporting unique identifiers for up to 35 structural layers, fully meeting the actual needs of offshore substation projects.
[0039] This embodiment provides a detailed description of the data optimization processing in step S3. In step S3: S301 automatically identifies and removes non-structural critical nodes, duplicate labeled nodes, and invalid labeled nodes from the initial node data set to obtain core node data. Specifically, non-structural critical nodes include geometric points that do not participate in the actual structural stress, such as the intersection of auxiliary lines, the endpoints of dimension leader lines, and temporary positioning points; duplicate labeled nodes refer to redundant coordinate items generated by the same structural node being labeled multiple times due to drawing habits, such as the center point of a column; invalid labeled nodes refer to isolated points whose coordinates are outside the structural design range or cannot be corresponding to actual components, such as those with a negative Z-axis value and exceeding the foundation depth. The removal algorithm can be automatically executed through preset rules, such as isolated points with a node connectivity degree of less than 2.
[0040] S302, the coordinates in the core node data are corrected for accuracy, and the numerical accuracy of the coordinates is uniformly controlled within the error range allowed by the engineering design, such as 0.001 meters, or 1 millimeter. The coordinate system is also aligned, such as translating the origin of the coordinate system to the center of the structural base or the zero point of the sea level design, to ensure that it is consistent with the default coordinate system of the SACS software, so as to obtain the refined node coordinates and use them as optimized node data. S303 uses a geometric constraint verification algorithm to check whether the start and end coordinates of each line segment in the preliminary member data set can be precisely matched with nodes in the optimized node data based on the refined node coordinates. Once verification is successful, optimized member data is generated. Specifically, each member record is traversed, and its start and end coordinates are matched against the optimized node data. If a match is successful, it is retained; if a match fails, a rematch is attempted within a preset tolerance (e.g., 0.001 meters). If the match still fails, the member is marked as abnormal and output for manual review. Optimized member data is generated after successful verification.
[0041] This embodiment addresses the technical issues of noise, redundancy, and inconsistent node-component connection relationships in the original extracted data. By selecting core nodes, performing accuracy correction, and geometric verification, it ensures that the data input into the SACS model is both concise and accurate, avoiding model generation failures or structural errors caused by data contamination, and improving the success rate of automatic modeling and the reliability of structural analysis.
[0042] This embodiment fully defines the automatic model generation process in step S4, which specifically includes: S401, First, the script reads the pre-prepared cross-section attribute library spreadsheet file. This spreadsheet file defines at least the following fields: "name" (cross-section name), "shape" (cross-section shape), "diameter" (outer diameter), "thickness" (wall thickness), "E" (elastic modulus), "G" (shear modulus), "SY" (yield strength), and "DENSITY" (density). The cross-section name uses the same naming convention as the layer name in step S102, thus establishing a one-to-one correspondence. The script loads these definitions into memory to form a cross-section attribute mapping table; then… The SACS model root object is created through the SACS component object model interface. The section attribute mapping table is traversed. For records with "shape" as "Tube", the tubular section creation interface is called to generate section objects by passing in the outer diameter and wall thickness parameters. Then, the component group creation interface is called to create component group objects with the section name as the component group identifier. The section object and material properties are bound to the component group through the segment addition interface. In this process, a mapping table is built with the section name (i.e., layer name) as the key and the SACS component group object as the value to realize the automatic association between drawing attributes and analysis model attributes.
[0043] S402 generates SACS node definition command statements based on the refined node coordinates in the optimized node data. The script first assigns a unique number to each node, following the rule: "Layer ID + Four-digit serial number". The layer ID uses the dynamic layer numbering rule (numbers or letters) described above, with the four-digit serial number starting from 0001 and incrementing. For example, the 5th node in layer 10 (layer ID "A") is numbered "A0005", and the 1st node in layer 2 (layer ID "2") is numbered "20001". The script parses the refined node coordinates line by line, generating node definition command statements according to this rule. Each command statement contains the node number and its corresponding X, Y, and Z coordinate values, thus automatically generating the node definition commands.
[0044] S403: Based on the start and end point coordinates and layer name in the optimized member data, the script uses a mapping table to find the corresponding SACS member group object and locates the corresponding start and end nodes. Specifically, while generating the node definition command in step S402, the script establishes a hash table in memory with the reduced coordinate tuple (X, Y, Z) as the key and the node number as the value. When S403 reads the start and end point coordinates in the optimized member data, it first reduces the coordinates to the precision (0.001 meters) set in S302, and then uses the reduced coordinate tuple as the key to search for the corresponding node number in the hash table. If the search is successful, the start and end node numbers are obtained; if the search fails, the hash table is traversed within a preset tolerance (0.001 meters) for fuzzy matching. If it still fails, the member is marked as abnormal and output for manual review. After a successful search, the script looks up the corresponding SACS component group object in the mapping table based on the layer name, and finally generates SACS component definition command statements. Each statement contains the component number, start node number, end node number and the name of the component group to which it belongs.
[0045] S404 automatically configures the basic parameters for SACS modeling, merging the SACS node definition command statements, SACS component definition command statements, and the basic modeling parameters into a standard SACS input file. In a specific embodiment, the script automatically adds the necessary basic configuration commands for SACS modeling during the command statement generation process. These include setting the unit system to "kN, m, s", defining a global rectangular coordinate system with the origin at the intersection of sea level and the structure's centerline, declaring node numbering rules (range 1-99999, allowing letter prefixes), and calling the steel elastic modulus E=2.06e8 kPa, Poisson's ratio ν=0.3, and density ρ=7.849 t / m³ defined in the cross-section property library spreadsheet file in S401 as basic parameters. After processing, the script writes the SACS node definition command statements, SACS component definition command statements, and the commands corresponding to the basic modeling parameters into a text file and saves it in a standard input file format (.dat or .inp format) recognizable by the SACS software.
[0046] S405 allows you to directly import SACS standard input files into the SACS offshore engineering analysis software. The SACS software automatically recognizes all modeling commands and data definitions in the input file and generates a complete offshore substation structural model with one click in the software environment. The generated model includes the three-dimensional spatial location information of all structural nodes, the geometric connection relationship of all components, and the cross-sectional and material properties of each component. The model can be viewed, rotated, scaled, and edited in all aspects within the SACS software.
[0047] This embodiment solves the problem of automatically converting standardized intermediate data into executable modeling scripts for SACS software. By using a section name mapping table, node coordinate matching, and automatic generation of command statements, it achieves the construction of SACS model input files without manual intervention, avoiding problems such as formatting errors, numbering conflicts, and attribute omissions that are very likely to occur when writing manually, thus greatly improving modeling efficiency.
[0048] This embodiment also includes step S5: model verification and calculation. The specific implementation process is as follows: After the operator successfully and automatically generates a complete three-dimensional structural model of the offshore substation in the SACS software, a manual visual verification is first performed. In the graphical interface of the SACS software, the model is checked from all angles by rotating, scaling, and panning. The verification content includes: whether the overall structural layout is consistent with the design drawings, whether the nodes of each layer are located on the same horizontal plane, whether there are any missing or redundant design components, whether the cross-sectional attribute values of each component are correctly assigned (the cross-sectional attribute values can be verified by color coding or attribute query), and whether there are any non-co-positional phenomena of nodes due to data matching errors, such as the endpoints of adjacent components not coinciding.
[0049] After manual verification confirms that the model has no structural errors, the operator proceeds to the next analysis process: applying load conditions, including structural self-weight, wind load, wave load, equipment load, live load, etc., setting load combinations such as basic combination and seismic combination, performing linear or nonlinear structural analysis, checking member stress and verifying node strength, and finally outputting calculation sheets and verification reports.
[0050] This embodiment addresses the technical challenge of verifying the reliability of automatically generated models to ensure engineering safety. By combining manual visual inspection with subsequent structural calculations, it maintains automation efficiency while preserving quality control at key points, ensuring the authenticity and compliance of the final structural analysis results and meeting the stringent safety requirements of offshore substation engineering design.
[0051] In one embodiment, the digitization processing module specifically includes two core program units. The first unit is a data extraction plugin developed based on CAD application programming interfaces such as AutoCAD .NET API or ObjectARX. This plugin is integrated into the CAD software environment as a dynamic link library (DLL). In specific implementation, the DLL is automatically loaded when AutoCAD starts, and a custom function button is added to the software interface. After the operator clicks the button, the plugin can be invoked to perform drawing data extraction.
[0052] The second unit is a model generation script based on the SACS component object model interface, which is developed independently and does not depend on the CAD environment. The model generation script can be written in VBScript, Python, or the command-line language provided by SACS. It communicates with the SACS software kernel by creating a SACS Application object and using its exposed COM interface.
[0053] In the actual workflow, the operator first runs the DLL plugin in AutoCAD to complete the drawing parsing and data export, generating an intermediate spreadsheet file; then closes or keeps AutoCAD open and runs the model generation script separately. The script reads the spreadsheet file and automatically executes modeling commands in the SACS background through the COM interface to generate input files or directly drive the SACS software to build the model.
[0054] This embodiment solves the technical problems of difficult data interoperability and fragmented operation processes between CAD and SACS software in traditional methods. By decoupling data extraction and model generation into two independent program units, it maintains the flexibility of each step while achieving overall automated integration.
[0055] This embodiment specifically defines the first and second numerical ranges in the dynamic layer number naming rules. The first numerical range is layer index values 1 to 9, directly using the numbers 1 to 9 as layer number identifiers; the second numerical range is layer index values 10 to 35, sequentially using the letters A to Z as layer number identifiers. The specific implementation is as follows: After the digitization tool performs spatial layering and sorting of nodes, it obtains a layer height sequence. Each Z value in this sequence represents a horizontal structural layer. The sequence number obtained after sorting the Z values from smallest to largest is the layer index value (counting from 1). When the layer index value is 1, the system assigns the layer number identifier "1"; layer index value 2 is assigned "2"; ...; layer index value 9 is assigned "9". When the layer index value is 10, the system calls the built-in letter mapping function to map 10 to the letter "A"; layer index value 11 is mapped to "B"; layer index value 12 is mapped to "C"; and so on, with layer index value 35 mapped to the letter "Z". If the offshore substation has no more than 9 structural layers, all layers will be identified by numbers. If the structural layers are 15, layers 1-9 will be identified by numbers 1-9, layer 10 by "A", layer 11 by "B", layer 12 by "C", layer 13 by "D", layer 14 by "E", and layer 15 by "F". In subsequent node numbering, for example, the 5th node in layer 10 (layer number "A") can be numbered as "A05" or "A005", etc. Embedding the layer number into the identifier facilitates identification.
[0056] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A method for modeling offshore substations based on intelligent drawing analysis, characterized in that, Includes the following steps: S1, Drawing preprocessing: Obtain CAD drawings based on the electrical equipment layout drawing of the offshore substation and preprocess the CAD drawings to establish a one-to-one correspondence between the beam and column structure layer names and the component section attributes, and break up intersecting components to obtain standardized CAD model drawings. S2, Intelligent Data Extraction and Standardized Storage: The standardized CAD model drawings are imported into the digitization processing module for automated data extraction to obtain the initial three-dimensional coordinates of each line segment endpoint and the corresponding initial layer attributes. The CAD data extraction module of the digitization tool performs unit conversion, precision reduction, node deduplication, and spatial layering on the extracted initial three-dimensional coordinates and initial layer attributes to generate a structured storage set of preliminary node data and a set of preliminary member data. S3, Data Optimization: The preliminary node data set and the preliminary member data set are optimized. The optimization process includes screening core nodes, correcting coordinate accuracy, and verifying node connection relationships to obtain the optimized intermediate node data set and intermediate member data set. S4, Automatic Model Generation: The intermediate node data set and the intermediate member data set are mapped to an input file format recognizable by the SACS software. The basic modeling parameters are automatically configured, a SACS input file is generated, and the SACS input file is imported into the SACS software to automatically generate a complete offshore substation structural model.
2. The method for modeling offshore substations based on intelligent drawing analysis according to claim 1, characterized in that, In step S2, the initial layer attributes correspond to the beam-column structure layer name mentioned in S1.
3. The method for modeling offshore substations based on intelligent drawing analysis according to claim 1, characterized in that, Step S1 includes the following steps: S101. Based on the electrical equipment layout drawing provided by the actual project, the operator uses steel structure 3D design software to build a full-size 3D model, and then uses the software's export function to export the 3D model as a general DWG format file and import it into AutoCAD software. S102, In AutoCAD software, modify the layer name of each beam and column component to a unique identifier name corresponding to the section attribute of that component, so that each layer name uniquely represents a section attribute. S103 breaks the intersecting components so that any two line segments are connected only at their endpoints.
4. The method for modeling offshore substations based on intelligent drawing analysis according to claim 1, characterized in that, Step S2 includes the following: S201, Filter line elements in the AutoCAD software programming interface, and extract the initial three-dimensional coordinates of the line segment endpoints and the corresponding initial layer attributes; S202, the extracted initial three-dimensional coordinates are converted from millimeter units to metric units and rounded according to a preset precision to obtain the reduced three-dimensional coordinates; S203, the reduced three-dimensional coordinates are deduplicated, and spatial layering and sorting are performed according to the Z-axis coordinate values to form a layered node data structure, and the layered node data structure is used as the initial node data set; S204: Adopts a dynamic layer number naming rule, automatically assigning numbers or letters as layer number identifiers based on the index value in the layer height sequence; S205, the conventional three-dimensional coordinates of each line segment and the initial layer attributes are used as preliminary member data. The preliminary member data and the layered node data structure are written into a spreadsheet file to store member information and node information respectively.
5. The method for modeling offshore substations based on intelligent drawing analysis according to claim 4, characterized in that, The dynamic layer number naming rule is as follows: when the layer index value is in the first numerical range, pure numbers are used as the layer number identifier; when the layer index value is in the second numerical range, a preset base conversion mapping function is called to convert the numeric index into an alphabetical identifier as the layer number identifier.
6. The method for modeling offshore substations based on intelligent drawing analysis according to claim 4, characterized in that, Step S3 includes: S301, Automatically identify and remove non-structural key nodes, duplicate labeled nodes and invalid labeled nodes from the preliminary node data set to obtain core node data; S302, the coordinates in the core node data are corrected for precision, the numerical precision of the coordinates is uniformly controlled within the error range allowed by the engineering design, and the coordinate system is aligned to obtain the refined node coordinates, which are used as optimized node data. S303, using a geometric constraint verification algorithm, based on the refined node coordinates, check whether the starting point coordinates and ending point coordinates of each line segment in the preliminary member data set can be found to have an exact corresponding node in the optimized node data. After verification, optimized member data is formed.
7. The method for modeling offshore substations based on intelligent drawing analysis according to claim 6, characterized in that, Step S4 specifically includes: S401, Read the pre-built section attribute library, which contains at least section names, and the section names adopt the same naming rules as in step S1; Generate SACS section objects and component group objects based on the section attribute library, and establish a mapping relationship table with section names as keys; S402, Generate SACS node definition command statements based on the refined node coordinates in the optimized node data; S403, based on the start and end point coordinates and layer name in the optimized member data, use the mapping relationship table to find the corresponding SACS member group object, locate the corresponding start node and end node, and generate SACS member definition command statement; S404, Automatically configure SACS modeling basic parameters, and merge the SACS node definition command statement, SACS component definition command statement and the modeling basic parameters into a SACS standard input file; S405 allows you to directly import SACS standard input files into the SACS offshore engineering professional analysis software. The SACS software automatically recognizes all modeling commands and data definitions in the input files and generates a complete offshore substation structure model with one click in the software environment.
8. The method for modeling offshore substations based on intelligent drawing analysis according to claim 1, characterized in that, It also includes step S5 model verification and calculation: the automatically generated offshore substation structural model is manually visually verified to confirm that the model is consistent with the engineering design drawings, and then load application, working condition combination, structural analysis and specification verification are carried out.
9. The method for modeling offshore substations based on intelligent drawing analysis according to claim 1, characterized in that, The digitization processing module specifically includes: a data extraction plugin that is integrated into the CAD software environment as a dynamic link library based on secondary development of the CAD application programming interface; and a model generation script that is independently run as an executable script based on secondary development of the SACS component object model interface.
10. A method for modeling offshore substations based on intelligent drawing analysis according to claim 5, characterized in that, The first numerical range is the layer index value 1 to 9, and the numbers 1 to 9 are used directly as the layer number identifier; the second numerical range is the layer index value 10 to 35, and the letters A to Z are used sequentially as the layer number identifier.
Citation Information
Patent Citations
Ship design drawing structured vector analysis method and intelligent question and answer method
CN120997870A
Structural model generation method and device based on architectural drawing, equipment and medium
CN121413085A