高级检索

多领域物理系统混合建模平台开发

Development of Hybrid Modeling Platform for Multi-domain Physical System

  • 摘要: 分析了基于Modelica语言的多领域物理系统混合建模平台的功能需求,采用基于组件的系统体系结构,完全从底层开发出可视化的图形建模工具--MWorks系统.提出一种基于句子的模型数据结构,实现了基于句子的图文动态编辑与转换;提出用于存储模型层次信息的三叉树结构,实现了基于实体集的模型子部件的块表达,以及系统模型库中可重用模型(部件)的拖放式建模.最后给出了系统建模实例.

     

    Abstract: To meet the function requirements of Modelica-based hybrid modeling platform for multi-do-main physical system,a kind of COM-based system architecture is adopted and a totally self-developed visual graphical modeling system—MWoks is implemented.A sentence object and a kind of data structure of model object based on sentences are designed.Based on the sentences of a model,dynamic bidirectional convertion between graphics view (including Icon view and Diagram view) and text view of the model is realized.Also a trifurcate tree structure storing the information of the hierarchy of models is proposed.And then a block object based on the entity set representing a model’s part is implemented,as well as the drag-and-drop modeling from the re-usable models (i.e.components) in MSL (Modelica Standard Library) to the Diagram view of current model is realized.Finally a modeling instance on the MWorks system is given.

     

/

返回文章
返回