Font Size: a A A

Research On Automatic Layout Technology Of Connection Diagram Of Modelica Components

Posted on:2020-09-28Degree:MasterType:Thesis
Country:ChinaCandidate:C Y ZhangFull Text:PDF
GTID:2428330590482889Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
The Modelica component connection diagram visually reflects the topological connection between model components and is an important basis for visual modeling.When using the Modelica component view for modeling,you need to manually drag and drop components and manually locate and connect.When the number of components and connections is large,the work is cumbersome.On the other hand,the CAD 3D assembly model automatically generates the dynamic model and imports the Modelica component connection diagram.It is also necessary to automate the layout tool to locate the components,so it is necessary to carry out the automatic layout study of the model connection diagram of Modelica.In this paper,the two steps of automatic layout and automatic routing are studied.The automatic layout algorithm based on force guidance model and the variable step line exploration method are introduced respectively.The paper analyzes the influencing factors of layout and gives a local evaluation function to evaluate the layout effect.Then it analyzes the difference and connection between the network topology diagram and the Modelica component connection diagram,and discusses the application of the force guide layout model to the Modelica component connection diagram.Feasibility;grouping and combining parallel and ring structures in the Modelica component connection diagram to reduce interference with other component connections;initializing the layout through randomization and preprocessing mechanisms.Based on this,an automatic layout algorithm for the connection diagram of Modelica components is formed.The paper compares the advantages and disadvantages of the line exploration method and the Lee's routing algorithm and the applicable scenarios.It improves the problem that the line exploration method is easy to miss the feasible solution and the obstacle-free ability,and proposes a variable-step line exploration method.The problem of obstacles in the process of escape point is discussed in detail and the obstacle-barching algorithm is given for different situations.The intersection method is processed by the folding method,component rotation method and flip method.The inflection point is used to merge and connect.The method of merging and "convex" line segment optimization optimizes the routing and serpentine routing,and ensures the aesthetics under the premise of correct connection.Finally,the paper implements the automatic layout and automatic routing algorithm,introduces the functions of the automatic layout system input and output module,automatic layout module,automatic wiring module and sub-modules,and automatically connects the component connection diagrams of the two Modelica models.The layout shows the effect of the automatic layout system in practical applications by comparing the relevant parameters before and after the layout.
Keywords/Search Tags:Component Connection Diagram, Automatic Layout, Automatic Wiring, Force-guided Layout Model, Line Exploration Method
PDF Full Text Request
Related items