摘要
三峡船闸建成投入运行以来,已成为长江航道上重要的航运枢纽。通过仿真研究其运行状况,对提高其运行效率意义重大。该文首先利用“整体-部分”结构对三峡船闸运行过程进行客观及合理的描述;针对三峡船闸复杂的运行条件和工况,在仿真系统中采用基于消息驱动的仿真机制,克服了传统仿真机制用于三峡船闸仿真时的缺陷;然后该文讨论了如何通过多线程的方式实现这种机制,并且专门讨论了仿真系统中各线程之间实现同步和协调的技术。这些技术的应用使得三峡船闸运行调度仿真系统取得了良好的效果。
After the ship gates of Yangtse Gorges has been built, it has became an important shipping pivot on the Changjiang River lane. Researching the ship gates' working state, by simulation is meaningful for improving its operational efficiency. Firstly, we apply "whole - portion" model for the purpose of objectively and reasonably describing the operation of the ship gates. Considering the ship gates' complex working condition and operating mode, we apply a simulation mode based on message - driving approach, which can overcome the deficiency of traditional simulation approach in ship gates' simulation. In the paper, we introduce how to realize this mode through multiply threads. We also discuss how to realize synchronization and coordination among threads. Application of these approach makes the Yangtse Gorges ship gates' running and scheduling simulation system obtain fine effectiveness.
出处
《计算机仿真》
CSCD
2005年第8期186-189,共4页
Computer Simulation
关键词
三峡船闸
仿真
消息驱动机制
多线程
Yangtse Gorges ship gates
Simulation
Message - driving approach
Multiply threads