耦合建模是近年来地学研究使用的重要方法。建模框架是应用较多的一类地学耦合建模环境。由于要求研究者完成耦合模型的程序编码,在一定程度上降低了它的可用性,同时也带给使用者更多的负担。本文以建模框架ESMF作为基础,对构建完全图形化的地学耦合建模环境中的问题和解决方法进行探讨。主要包括:根据确定的耦合模式及其隐含的模型调用和数据依赖关系,建立耦合模型代码的自动生成机制;以模型元数据为基础,提出表达模型变量语义相似性的OCF方法,进而给出校验耦合模型之间的时空一致性和变量匹配与否的方法。根据以上研究,设计图形化的地学耦合建模环境原型系统,并开发测试场景对其进行检验。结果表明,系统能够检测出测试场景中所有的错误耦合操作,而对于正确的耦合行为,耦合模型被顺利地创建并在ESMF中完全运行。
Model coupling has been a prevalent research method in geoscience recently. Modeling framework is of the same category among various modeling environments by coupling, which gains many applications at present time. But the requirement of the frameworks decreases their usability, and also throws a heavy burden to users, which is researchers have to perform the coding and compiling tasks for coupling models. Taking ESMF as the foundation that is a representative modeling framework, this paper gives a detailed discussion on the problems presented in the research of building an icon-based modeling environment by coupling and their solutions. A methodology of generating codes of coupled models automatically is first proposed according to the coupling modes refined, as well as the relationships implicated by them which are the orders of calling models and the dependency of the input and output variables of coupled models. Then an approach of Open Concept Framework is developed with the purpose of expressing and confirming the semantic similarity between model variables. Based on the OCF and its building foundations, model metadata, a method is designed to verify the spatial and temporal consistency between the coupling models, and the matching between the input and output variables. Lastly, a prototype of icon-based modeling environment by coupling is developed, which implements the methodologies given above. Furthermore, two testing scenes are devised to examine the characters of the prototype. The results indicate that the entire error coupling operations existing in the scenes are refused by the system, and oppositely the correct couplings are accepted completely. Also, valid codes for the accepted coupling models are generated by the system and run in ESMF successfully.
[1] Argent R M. An Overview of Model Integration for Environmental Applications: Components, Frameworks and Semantics
[J]. Environmental Modelling & Software, 2004, 19(3): 219-234.
[2] 黎夏,刘小平,何晋强,等. 基于耦合的地理模拟优化系统
[J]. 地理学报, 2009, 64(8): 1009-1018.
[3] Graniero P A, Robinson V B. A Probe Mechanism to Couple Spatially Explicit Agents and Landscape Models in an Integrated Modelling Framework
[J]. International Journal of Geographical Information Science, 2006, 20(9): 965-990.
[4] Villa F, Costanza R. Design of Multi-paradigm Integrating Modelling Tools for Ecological Research
[J]. Environmental Modelling and Software, 2000, 15(2): 169-177.
[5] Villa F. Integrating Modelling Architecture: A Declarative Framework for Multi-paradigm, Multi-scale Ecological Modelling
[J]. Ecological Modelling, 2001, 137(1): 23-42.
[6] Benz J, Hoch R, Legovic ' T. ECOBAS: Modelling and Documentation
[J]. Ecological Modelling, 2001, 138(1-3): 3-15.
[7] Hill C, DeLuca C, Balaji V, et al. The Architecture of the Earth System Modeling Framework
[J]. Computing in Science & Engineering, 2004, 6(1): 18-28.
[8] Valcke S, Guilyardi E, Larsson C. PRISM and ENES: A European Approach to Earth System Modelling
[J]. Concurrency and Computation: Practice and Experience, 2006, 18(2): 247-262.
[9] Gregersen J B, Gijsbers P J, Westen S J. OpenMI: Open Modelling Interface
[J]. Journal of Hydroinformatics, 2007, 9(3): 175-191.
[10] Toth G, Sokolov I V, Gombosi T I, et al. Space Weather Modeling Framework: A New Tool for the Space Science Community
[J]. Journal of Geophysical Research (Space Physics), 2005, 110(12): 226-246.
[11] Schmitz O, Karssenberg D, van Deursen W P A, et al. Linking External Components to a Spatio-temporal Modelling Framework: Coupling MODFLOW and PCRaster
[J]. Environmental Modelling & Software, 2009, 24(9): 1088-1099.
[12] Karssenberg D, Burrough P A, Sluiter R, et al. The PCRaster Software and Course Materials for Teaching Numerical Modelling in the Environmental Sciences
[J]. Transactions in GIS, 2001, 5(2): 99-110.
[13] 温永宁,闾国年,杨慧,等. 面向服务的分布式地学模型集成框架研究
[J]. 遥感学报, 2006, 10(2): 160-168.
[14] 于海龙,邬伦,刘瑜,等. 基于Web Services的GIS与应用模型集成研究
[J]. 测绘学报, 2006, 35(2): 153-159,165.
[15] Max Suarez. GEOS-5: An ESMF-Based Modeling and Assimilation System . 5th ESMF Community Meeting, Baltimore, USA, May 23, 2006.
[16] ESMF Joint Specification Team. ESMF User Guide V4.0 . 2010, http://www.earthsystemmodeling.org/esmf_releases/public/last/ESMF_usrdoc.pdf.
[17] 黄宏胜,岳天祥. 基于Web的资源环境模型元数据管理
[J]. 地球信息科学, 2006, 8(3): 94-97,103.
[18] 杨慧,盛业华,温永宁,等. Web环境下异构地理分析模型的标准化和形式化研究
[J]. 地球信息科学, 2008, 10(3): 382-389.
[19] 邓志鸿,唐世渭,张铭,等. Ontology研究综述
[J]. 北京大学学报(自然科学版), 2002, 38(5): 730-737.
[20] Lutz M. Ontology-Based Descriptions for Semantic Discovery and Composition of Geoprocessing Services
[J]. GeoInformatica, 2007, 11(1): 1-36.
[21] 地球系统科学数据共享平台项目组. 地理分析模型地球系统科学分类标准 . http://nnu.geodata.cn.