|
发表于 2009-8-6 15:00:05
|
显示全部楼层
本帖最后由 focuscon 于 2009-8-6 15:01 编辑
3 d' q0 K, u3 ^6 t- a* J7 P# O, ^+ o* |; r4 Q
来晚了,好问题啊!
, \9 E8 p7 }9 K5 o1 x$ u% F8 B谢谢林伟的经验分享,很好的技巧。在手册 P254 Tips and Techniques一章里面有介绍这个问题。
s# t D7 m4 V4 o5 g% ]技术支持论坛里面有个这样的帖子,“出现同时事件(时间死结) Extendsim如何处理”
9 j8 m, G$ E2 o) V* |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:
4 G6 ]5 m0 V5 G E6 O; s$ r- S$ \
Go to Run > Simulation Setup > Continuous tab.5 C/ m1 u; `* i. I1 }; x7 p
1 s% @8 B7 o- P+ ?5 x5 u1 ?* N7 z
Turn on Show Simulation Order from the Model menu.
: Y: ]# v- D) @* u8 C: E% r7 Z5 ~- C# ~; |0 G6 i! [
Select an event scheduling block and choose Set Simulation Order from the Model menu.; f! o. d4 |: h3 g4 q
8 U5 j1 B7 {; q' w: T5 {3 x9 H/ tNote 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.
8 r4 m+ z: y& h9 g我试了一下按照这个办法调整仿真顺序没办法解决这个问题,是不是这个模型本身就存在逻辑错误,林伟的方法正好可以屏蔽掉那个错误?* z( Q, \# X% l: l
Queue, Resource Pool 是在释放小球时再占用资源,Gate放在了Queue和Activity之间,资源低于安全值时发生了冲突?有点不太明白。 |
|