|
发表于 2009-8-6 15:00:05
|
显示全部楼层
本帖最后由 focuscon 于 2009-8-6 15:01 编辑 9 Z2 d$ O( w. d$ P1 [0 B" K Z: X
5 v" p3 N+ v% E; Y4 B. p来晚了,好问题啊!
" P- ^# J+ G5 n- R4 h, m谢谢林伟的经验分享,很好的技巧。在手册 P254 Tips and Techniques一章里面有介绍这个问题。
9 m v$ S$ u$ \5 J6 C9 C技术支持论坛里面有个这样的帖子,“出现同时事件(时间死结) Extendsim如何处理”
5 v+ A7 N" V) U! @. l0 H) s( lExtendSim puts the blocks on the event calendar in simulation order. Blocks with a lower simulation order will receive their event message first. You can change the simulation order with the following steps:
) \# k0 g" Z) \: J O8 y! A0 k+ i" L3 u" e' x% b* h
Go to Run > Simulation Setup > Continuous tab.$ X$ h0 L( W1 N( `8 D" `
. E; A, N" U* e1 u/ K. bTurn on Show Simulation Order from the Model menu.
. g6 | K# W. v! T7 Y& {/ ?2 _
, E1 h! E; y" y7 jSelect an event scheduling block and choose Set Simulation Order from the Model menu.# b% H w+ i4 v
9 |9 d- F9 i0 l; S
Note that the simulation order will only make a difference if two or more events occur at exactly the same time. If the events are not exactly at the same time, the events will occur in chronological order.1 x- P. H: k( Q) n" u
我试了一下按照这个办法调整仿真顺序没办法解决这个问题,是不是这个模型本身就存在逻辑错误,林伟的方法正好可以屏蔽掉那个错误?0 p, Z( t# J5 c+ y: c
Queue, Resource Pool 是在释放小球时再占用资源,Gate放在了Queue和Activity之间,资源低于安全值时发生了冲突?有点不太明白。 |
|