摘要
Stateflow是m atlab环境下与simu link整合在一起的专门用来对复杂响应系统和事件驱动系统进行仿真的工具箱。应用其对Petri网模型进行仿真,提出了一种对Petri中资源的分类方法,根据petri网中资源的流通方式将资源分为循环资源、非循环资源及隐性资源,并结合变迁的个数和激活方式给出了从一个已知的Petri网构造其相应的Stateflow的具体规则及详细步骤,最后结合某汽车冲压单元的建模进行举例说明,构造过程显示出文中提出的仿真方法具有使用简单、通用性强、扩展性好的特点。
Integrated with Simulink in Matlab environment, Stateflow is a toolbox used to simulate complex systems and event - driven systems. In the paper, it is employed to simulate Petri Nets. A classification scheme about Petri Nets resources is presented, in which resources are classified into circulatory ones, noncirculatory ones and recessive ones in terms of their circulation modes, and according to the number and firing modes of transitions, the basic rules and steps are developed to construct a corresponding stateflow chart from a given Petri Net model. An example about modeling a pressing workstation for automobile components is given, and the results show that the presented method is easily used, all - purpose and can be extended.
出处
《计算机仿真》
CSCD
2006年第12期96-99,113,共5页
Computer Simulation
关键词
佩特里网
状态流
资源
库所
变迁
状态
Petri nets
Stateflow
Resources
Places
Transitions
States