目前,单一工程软件无法实现复杂机电产品设计过程中的多领域系统可视化建模和仿真,而多软件松散组合的协同工作方式存在各种制约,如设计过程自动化程度低、建模精度难以提高.提出并建立基于Modelica语言的、兼顾数学描述和模块化建模的多领域建模平台Vimola,通过COM、共享内存、CORBA等多种通信技术,实现了Vimola、开源Modelica语言编译仿真器、三维过程可视化商业软件VisualComponents三者之间的仿真数据共享和同步,使复杂机电产品多领域动态仿真结果二维、三维可视化.该研究是实现复杂机电产品多领域可视化建模、仿真数据可视化以及三维实体可视化等功能有机集成的有效尝试.
Currently almost no stand-alone engineering software is able to accomplish tasks of visualized modeling and simulation for multi-domain systems occurred in the design process of complex mechatronic products. Even cooperative approaches based on loosely coupled tools encounter various limits such as less automated design process and restricted precision of physical models, This paper proposes and establishes a multi-domain modeling and simulation software platform called Vimola which is based on Modelica language and supports both mathematical modeling and modular modeling. Several types of communication techniques such as COM, shared memory, and CORBA are employed to accomplish data sharing and data synchronization between Vimola, open source Modelica compiler, and a commercial 3D visualization program called Visual Components. Thus it is possible to realize both 2D and 3D visualization of the dynamic simulation results of complex mechatronic products. This work is a fruitful attempt to flexible integration of functions including visualized multi-domain modeling of complex mechatronic products, visualization of simulation data, and visualization of 3D multi-body systems, etc.