复杂系统建模仿真语言编译器的实现与应用  被引量:3

Implementation and Application of Complex System Modeling and Simulation Language Compiler

在线阅读下载全文

作  者:周文[1] 迟鹏[2] 李伯虎[2] 宋晓[1] 

机构地区:[1]北京航空航天大学,北京100191 [2]北京仿真中心,北京100854

出  处:《系统仿真学报》2016年第7期1528-1537,1546,共11页Journal of System Simulation

基  金:国家自然科学基金(61473013)

摘  要:仿真语言是实现一体化仿真设计环境的关键技术之一。仿真语言实现的难点是实现其编译器,即自动识别仿真语言语义并将其转换为C++等编程语言。介绍了复杂系统仿真语言(CMSL)的构成及其特性,研究了编译器的结构、工作机理,实现了一个面向CMSL文本的编译器。重点针对离散事件仿真的多层复合模型,提出并实现了一种内嵌于编译器的扁平化方法。利用一个离散系统案例对CMSL的描述能力及编译器的编译功能进行验证,结果表明,CMSL语言具有面向对象和面向组件的特性,其编译器能够编译基于CMSL的仿真文本,并将复合模型扁平化。Simulation language is a key technology of integrated simulation based design software environment. A difficulty of developing simulation language is the compiler that automatically transfers simulation language Semantics to programming language such as C++. The contents and features of CMSL were introduced. And a compiler which could analyze simulation text written in CMSL was implemented. A decouple method for Discrete System was proposed and integrated in the compiler. The features object-oriented and components oriented of CMSL were verified by an example with its ability to describe discrete system.

关 键 词:编译器 仿真语言 词法 语法 扁平化 

分 类 号:TP391.1[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象