基于MassMotion SDK的地铁线路多站点快速仿真系统研究
  • ISSN:3080-4272
  • DOI:https://doi.org/10.64090/3105-0972.202611627
  • 出版频率:月刊
  • 语言:中文
  • 收录数据库:Crossref

基于MassMotion SDK的地铁线路多站点快速仿真系统研究

邹济锴1; 王吉光2; 张子华1; 康立鹏2; 赖 淳1

1.中国铁路设计集团有限公司,天津 300308 2.深圳市地铁集团有限公司,广东 深圳 518000

摘要:针对 MassMotion SDK 在地铁线路多站点仿真中的单点认证瓶颈、多用户协同效率低、批量配置繁琐与三维渲染占用服务器资源等问题,设计并实现了一套云端多站点客流仿真系统。后端以 Python + FastAPI 封装 MassMotion SDK 11.5,通过服务器集中许可解除单点认证限制,并以 Semaphore 槽位控制与 BackgroundTasks 后台执行实现多用户任务的异步分发与隔离;前端以 WebGL 在浏览器端完成三维渲染,将渲染负载由服务器迁移至本地,降低服务器 CPU 占用。针对批量配置繁琐的问题,将参数划分为站点固有、模板通用与仿真控制三类,按“用户自定义>模板参数>默认值”合并,并预置 8 种覆盖 5 岁以上各年龄段的 Profile 模板。测试表明:系统支持多项目并行加载与独立访问,并发下 API 响应正常;两个任务并行总耗时约 94 秒,长于同一任务串行执行两次的 70 秒,损耗源于 CPU 与内存带宽竞争,但仿真不阻塞前端且未出现死锁;并初步验证了 SDK 支持多进程仿真。

关键词:城市轨道交通;MassMotion SDK;云端仿真平台;多站点配置;并发控制

参考文献:

[1] 中国城市轨道交通协会. 城市轨道交通2025年度统计和分析报告[R/OL]. 北京: 中国城市轨道交通协会, 2026[2026-10-20]. https://infosharingp2-oss.camet.org.cn/resources/manual/2026/03/31/789660015317061.pdf

[2] Duives D C, Daamen W, Hoogendoorn S P. State-of-the-art crowd motion simulation models[J]. Transportation Research Part C: Emerging Technologies, 2013, 37: 193-209.

[3] Oasys Software. MassMotion 11 SDK Help Guide[M]. London: Oasys Software Ltd, 2021.

[4] Oasys Software. MassMotion: pedestrian simulation and crowd modelling software[EB/OL]. [2026-10-20]. https://www.oasys-software.com/products/pedestrian-simulation-software/massmotion/.

[5] 中国勘察设计协会. 城市轨道交通车站行人仿真评估技术标准: T/CECAS 20010-2026[S]. 北京: 中国勘察设计协会, 2026.

[6] Helbing D, Molnár P. Social force model for pedestrian dynamics[J]. Physical Review E, 1995, 51(5): 4282-4286. 

[7] Helbing D, Farkas I, Vicsek T. Simulating dynamical features of escape panic[J]. Nature, 2000, 407(6803): 487-490. 

[8] Yamada T, Utaka M. Evaluating ticket gate directional restrictions using simulations of pedestrian flow considering stationary people in a railroad station concourse[J]. Journal of Asian Architecture and Building Engineering, 2023, 22(4): 2058-2073.

[9] European Commission. GETAWAY: Generating simulations to enable testing of alternative routes to improve wayfinding in evacuation of over-ground and underground terminals, FP7 Project No. 265717[R/OL]. London: University of Greenwich, Fire Safety Engineering Group, 2014[2026-10-20]. https://fseg.gre.ac.uk/fire/GETAWAY.html.

[10] 沈光亮. 以云平台为底座的城轨云架构研究[J]. 都市快轨交通, 2020, 33(5): 1-6.

[11] 中华人民共和国住房和城乡建设部. 地铁设计规范: GB 50157-2013[S]. 北京: 中国建筑工业出版社, 2013.