Enhancing the modularity and interoperability of hydrologic models: A demonstration with the Structure for Unifying Multiple Modeling Alternatives (SUMMA)
IF 4.6 2区 环境科学与生态学Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Sean J. Trim , Martyn P. Clark , Ashley E. Van Beusekom , Kyle Klenk , Wouter J.M. Knoben , Raymond J. Spiteri
{"title":"Enhancing the modularity and interoperability of hydrologic models: A demonstration with the Structure for Unifying Multiple Modeling Alternatives (SUMMA)","authors":"Sean J. Trim , Martyn P. Clark , Ashley E. Van Beusekom , Kyle Klenk , Wouter J.M. Knoben , Raymond J. Spiteri","doi":"10.1016/j.envsoft.2025.106668","DOIUrl":null,"url":null,"abstract":"<div><div>We present a general approach to improve the modularity and interoperability of hydrologic and land models, demonstrated through refactoring the Structure for Unifying Multiple Modeling Alternatives (SUMMA) model. We first present a general hierarchical structure to organize the model source code, representing the horizontal variability across the domain (i.e., the “hydrofabric” of sub-basins) as well as the vertical architecture where each sub-basin is represented by vertical columns that extend from the top of the vegetation canopy to the depth of active groundwater. We then present a flexible strategy to solve the coupled conservation equations for water and energy in each vertical column, refactoring SUMMA’s operator-splitting methods, non-linear solvers, and flux calculators. Modularity was improved using internal subroutines and classes, and interoperability was improved using the initialize–update–finalize sequence at fine granularity. These refactoring developments support the use of Basic Model Interface (BMI) functions, improving component reusability, extensibility, and maintainability.</div></div>","PeriodicalId":310,"journal":{"name":"Environmental Modelling & Software","volume":"194 ","pages":"Article 106668"},"PeriodicalIF":4.6000,"publicationDate":"2025-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Modelling & Software","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1364815225003524","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
We present a general approach to improve the modularity and interoperability of hydrologic and land models, demonstrated through refactoring the Structure for Unifying Multiple Modeling Alternatives (SUMMA) model. We first present a general hierarchical structure to organize the model source code, representing the horizontal variability across the domain (i.e., the “hydrofabric” of sub-basins) as well as the vertical architecture where each sub-basin is represented by vertical columns that extend from the top of the vegetation canopy to the depth of active groundwater. We then present a flexible strategy to solve the coupled conservation equations for water and energy in each vertical column, refactoring SUMMA’s operator-splitting methods, non-linear solvers, and flux calculators. Modularity was improved using internal subroutines and classes, and interoperability was improved using the initialize–update–finalize sequence at fine granularity. These refactoring developments support the use of Basic Model Interface (BMI) functions, improving component reusability, extensibility, and maintainability.
期刊介绍:
Environmental Modelling & Software publishes contributions, in the form of research articles, reviews and short communications, on recent advances in environmental modelling and/or software. The aim is to improve our capacity to represent, understand, predict or manage the behaviour of environmental systems at all practical scales, and to communicate those improvements to a wide scientific and professional audience.