|
|
发表于 2009-8-6 15:00:05
|
显示全部楼层
本帖最后由 focuscon 于 2009-8-6 15:01 编辑 u! t1 u5 S% a8 [
7 Q& v' I7 _. x8 p
来晚了,好问题啊!
7 `, d9 D' a! F' |7 E谢谢林伟的经验分享,很好的技巧。在手册 P254 Tips and Techniques一章里面有介绍这个问题。4 w4 A1 G( \6 a/ C6 b
技术支持论坛里面有个这样的帖子,“出现同时事件(时间死结) Extendsim如何处理”
# h* J# i- L; y, ^, @' QExtendSim 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:
- Z0 t3 z0 F# ?* w M+ n- S' u; g
% d# Z/ \( M& C9 G/ V1 f. QGo to Run > Simulation Setup > Continuous tab.
: a* b6 k% h9 {; G! G
* q Y( ^3 j: C: s5 T j/ G: iTurn on Show Simulation Order from the Model menu.0 ?6 a. C: D" c0 c
5 x) G* d4 { @$ _3 R; }+ p0 C
Select an event scheduling block and choose Set Simulation Order from the Model menu.1 [+ _3 {0 o. Y6 u
: ]# l, O! k1 \, Z! ^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.
& [& |2 ~% ]( b% t, l2 H5 [我试了一下按照这个办法调整仿真顺序没办法解决这个问题,是不是这个模型本身就存在逻辑错误,林伟的方法正好可以屏蔽掉那个错误?- C O3 @7 c. l$ p% J* K
Queue, Resource Pool 是在释放小球时再占用资源,Gate放在了Queue和Activity之间,资源低于安全值时发生了冲突?有点不太明白。 |
|