|
|
发表于 2009-8-6 15:00:05
|
显示全部楼层
本帖最后由 focuscon 于 2009-8-6 15:01 编辑
7 G# L9 V0 ]6 x: p3 d8 Q
; I! \% Y0 `' \来晚了,好问题啊!8 ?% ?% u2 g0 _& C& b& E: ?, J7 ^4 n
谢谢林伟的经验分享,很好的技巧。在手册 P254 Tips and Techniques一章里面有介绍这个问题。
& B7 D- o- r( D5 P$ z1 ]( Y技术支持论坛里面有个这样的帖子,“出现同时事件(时间死结) Extendsim如何处理”1 G, S* ]9 W! ~" ~$ C1 ~
ExtendSim 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:
" I* o5 s8 C9 v$ C6 i
7 E6 k" i( _, mGo to Run > Simulation Setup > Continuous tab.: o6 {2 F& V0 Z% N$ y3 l" S2 B% w
. d0 e( |8 |& ? \
Turn on Show Simulation Order from the Model menu.: s5 E6 z0 g- Z- m( K, I+ N3 d9 G9 q
8 r. [, z* ?, c5 b; l
Select an event scheduling block and choose Set Simulation Order from the Model menu.
1 K$ x+ ^8 p2 f. L1 Z
3 t* i2 H: D1 m8 U, iNote 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.4 d' X% }' m% v
我试了一下按照这个办法调整仿真顺序没办法解决这个问题,是不是这个模型本身就存在逻辑错误,林伟的方法正好可以屏蔽掉那个错误?4 [9 J- Q$ R# C& x- O
Queue, Resource Pool 是在释放小球时再占用资源,Gate放在了Queue和Activity之间,资源低于安全值时发生了冲突?有点不太明白。 |
|