摘要
概率储量方法能很好地描述储量的不确定性.基于多线程技术对储量分析系统进行构建,讨论了多线程间的通信和同步机制,采用命名事件同步方式解决了在利用多个随机种子进行多次储量计算,求取概率储量时储量分析模块与随机模拟模块对模拟生成结果的争用等问题.最后给出了基于多线程架构的储量分析系统中各个线程间的协作关系及具体实现方法.该系统已成功应用于榆林某气田层的储量分析中,并取得满意的应用效果.
Probability reserves analysis method can well describe the uncertainty of reserves.The reserves analysis system based on multi-threading architecture effectively solves the contention of the data occurred between stochastic simulation module and reserves calculation module in large-scale reserves calculations by using the named event synchronization mode.The communication and the synchronization mechanism among multiple threads are discussed,and the resource sharing and the access conflict of the stochastic simulation results in the reserves analysis system are solved.Finally,the collaborative relationships among all the threads and their specific implementation methods in the system are prevented.This system is successfully applied to the reserves analysis of a gas reservoir in Yulin,and a satisfactied result is gained.
出处
《西安石油大学学报(自然科学版)》
CAS
北大核心
2009年第6期91-94,共4页
Journal of Xi’an Shiyou University(Natural Science Edition)
基金
国家自然科学基金项目"曲流河储层建模的自回避随机游走方法研究"(编号:50874091)
关键词
多线程
储量分析系统
随机模拟
VC++
multi-threading
reserves analysis system
stochastic simulation
VC++