设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3744|回复: 2

[求助] 如何使得前进中的小球突然停止?

[复制链接]
发表于 2010-5-29 15:58:58 | 显示全部楼层 |阅读模式
本帖最后由 EPFL_GO111 于 2010-6-2 10:45 编辑
- _5 [: Z1 S  M9 ^; u$ x3 m' g' ], i( B1 ]/ A
在实现生活中,在一个十字路口,第二排的小球正在移动,所以第一排的小球要让第二排的小球先走完。而我想实现的效果是如何使得前进中的小球突然停止,请问在transport block 中如何设置,谢谢# p; n5 f% a& m8 l
. M# s$ z/ i3 j1 s" M7 u8 w$ o6 ~' @
As can be seen from the picture, this is the simulation reflecting the intersection. To be specific, when the green circles of array two are moving, the green circles of array one must stop to avoid collision. My point is that how can I make the forwarding green circle stop based on some conditions? Thank you for your tips. . U& N4 f! Z6 q% B
2 f0 Z$ f3 R5 t( {: A
http://hi.csdn.net/attachment/201006/2/2324687_1275446617zIZp.jpg   N6 k. I/ a. b! U. t6 u4 [% k

4 v; U4 c9 e8 R. H* L0 k+ N4 F, h! s" v5 f
发表于 2010-5-30 00:18:31 | 显示全部楼层
如果你希望有二路来源的队列可能有交叉的行进,应该采用 select item in 模块,通过 select 端口控制应该让哪路人前进,当允许行进时,在通过 transport 模块进行 行走的模拟。
 楼主| 发表于 2010-6-2 10:45:56 | 显示全部楼层
2# iesim 1 d% A8 g5 M+ }/ _- K) F

7 X* P; N4 W; u# D3 S" X$ M* @我重新把图上传了,我先试一下,谢谢你的提示
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-4-29 06:31 , Processed in 0.014100 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表