An object-oriented framework for modeling watershed flow and sediment process based on fine-grained components

  • Chuan cai ZhangEmail author
  • Fen Qin
  • Xi wang Zhang
  • Jun Zhu
  • Yong xin Zhang
  • Hang Wang
Original Paper


Computer-based simulation models are frequently used in hydrological research and water environment decision-making. New case studies often require existing models to be adapted. Extensions may be necessary due to the peculiarities of the studied natural system. This paper introduces the object-oriented framework called FSFM designed to cope with abovementioned challenges. The modeling framework provides an easy-to-use and flexible infrastructure for the rapid development of new, reusable simulation tools by introducing dependency injection and reflection mechanism. So, it is very suitable for building new models only by substituting a few components. In addition, the CASC2D-SED-Govers model engine is developed based on the modeling framework, and it was tested on the arsenic area based on two rainfall events. It is concluded that the modeling framework in this paper is efficient for building new models in the level of fine-grained component. This paper focuses on decomposition of the model and design methods of the plug and play of the component in the modeling framework.


Modeling framework Dependency injection Fine-grained FSFM Flow and sediment Plug and play 



Part data used in this paper are acquired from the National Science and Technology Infrastructure of China, Data Sharing Infrastructure of Earth System Science, Data Center of Lower Yellow River Regions (

Funding information

The present work is funded by the National Science and Technology Support Plan Projects of China (2013BAC05B01), the National Natural Science Foundation of China (No. 61502219), the Henan Province Basic and Cutting-Edge Technology Research Project of China (No. 17HASTIT024), the Postdoctoral Science Foundation of China (No. 2015M582697), and the International Science and Technology Cooperation Program of China (No. 2016YFE0104600).


  1. Argent, R. M. , Perraud, J. M. , Rahman, J. M. , Grayson, R. B. , & Podger, G. M. . (2009). A new approach to water quality modelling and environmental decision support systems. Environ Model Softw 24(7):809-818.CrossRefGoogle Scholar
  2. Beven K (2012) Rainfall-runoff modelling: the primer, Second Edition. Wiley-BlackwellGoogle Scholar
  3. Bhatt G, Kumar M, Duffy CJ (2014) A tightly coupled GIS and distributed hydrologic modeling framework. Environ Model Softwa 62:70–84CrossRefGoogle Scholar
  4. Branger F, Braud I, Debionne S, Viallet P, Dehotin J, Henine H, Nedelec Y, Anquetin S (2010) Towards multi-scale integrated hydrological models using the LIQUID (R) framework. Overview of the concepts and first application examples. Environ Model Softw 25(12):1672–1681CrossRefGoogle Scholar
  5. Cetin, L., Stenson, M., Gilfedder, M., Perraud, J., Jordan, P., & Argent, R. (2008). Linking surface water and groundwater models within the watercast catchment modelling framework. Proceedings of Water Down Under.Google Scholar
  6. Chen XJ, Li XY, Zhan YS (2012) Component based WebGIS development framework. Adv Mater Res 542–543:1286–1289Google Scholar
  7. David O (2010) Rethinking modeling framework design: object modeling system 3.0[J]. In: Swayne DA, Yang W, Voinov AA, Rizzoli A, Filatova T (eds) International Environmental Modelling and Software Society (iEMSs). International Congress on Environmental Modelling and Software Modelling for Environment’s Sake, Fifth Biennial Meeting, OttawaGoogle Scholar
  8. David O, Schneider I W, Leavesley G H (2004) Metadata and modeling frameworks: the object modeling system example.Google Scholar
  9. David O, Ii JCA, Lloyd W, Green TR, Rojas KW, Leavesley GH et al (2013) A software engineering perspective on environmental modeling framework design: the object modeling system. Environ Model Softw 39(1):201–213CrossRefGoogle Scholar
  10. Formetta G, Antonello A, Franceschi S, David O, Rigon R (2014) Hydrological modelling with components: a GIS-based open-source framework. Environ Model Softw 55(4):190–200CrossRefGoogle Scholar
  11. Ghashghaei M, Bagheri A, Morid S (2013) Rainfall-runoff modeling in a watershed scale using an object oriented approach based on the concepts of system dynamics. Water Resour Manag 27(15):5119–5141Google Scholar
  12. Gregersen JB, Gijsbers PJA, Westen SJP (2007) OpenMI: open modeling interface. J Hydroinf 9(3):175–191CrossRefGoogle Scholar
  13. Hinkel J (2005) OpenMI: the essential concepts and their implications for legacy software. Adv Geosci 4(4):37–44Google Scholar
  14. Johnson BE, Julien PY, Molnar DK, Watson CC (2000) The two-dimensional upland erosion model CASC2D-SED. J AM WATER RESOUR AS 36(1):31–42CrossRefGoogle Scholar
  15. Kneis D (2007) A water quality model for shallow river-lake systems and its application in river basin management. Ph.D. thesis. University of Potsdam, Institute of Geoecology. URL.
  16. Kneis D (2012) Eco-Hydrological Simulation Environment (ECHSE)—documentation of model engines. University of Potsdam, Institute of Earth and Environmental Sciences. URL.
  17. Kneis D (2015) A lightweight framework for rapid development of object-based hydrological model engines. Environ Modell Softw 68(C):110–121CrossRefGoogle Scholar
  18. Kourgialas NN, Karatzas GP, Nikolaidis NP (2010) An integrated framework for the hydrologic simulation of a complex geomorphological river basin. J Hydrol 381(3):308–321CrossRefGoogle Scholar
  19. Kralisch S, Krause P (2006) JAMS—a framework for natural resource model development and application. iEMSs Third Bi MeetingGoogle Scholar
  20. Kumar M, Bhatt G, Duffy CJ (2010) An object-oriented shared data model for GIS and distributed hydrologic models. Int J Geogr Inf Sci 24(7):1061–1079CrossRefGoogle Scholar
  21. Laflen JM, Lane LJ, Foster GR (1991) WEPP: a new generation of erosion prediction technology. J Soil Water Conserv 46(1):34–38Google Scholar
  22. Leavesley GH, Markstrom SL, Restrepo PJ, Viger RJ (2002) A modular approach to addressing model design, scale, and parameter estimation issues in distributed hydrological modelling. Hydrol Process 16(2):173–187CrossRefGoogle Scholar
  23. Lee G, Kim S, Jung K, Tachikawa Y (2011) Development of a large basin rainfall-runoff modeling system using the object-oriented hydrologic modeling system (OHyMoS). KSCE J Civ Eng 15(3):595–606CrossRefGoogle Scholar
  24. Maidment DR (2002) ArcHydro GIS for water resources. ESRI, RedlandsGoogle Scholar
  25. Morgan RPC, Quinton JN, Smith RE, Govers G, Poesen JWA, Chisci G, et al. (1998) The EUROSEM model. Modelling soil erosion by water. Springer Berlin HeidelbergCrossRefGoogle Scholar
  26. Perraud JM, Seaton SP, Rahman JM, Davis GP, Argent RM, Podger GM (2005) The architecture of the E2 catchment modelling framework. MODSIM 05 International Congress on Modelling and Simulation (Vol. 10, pp. 690–696)Google Scholar
  27. Rahman JM, Seaton SP, Perraud JM, Hotham H, Verrelli DI, Coleman JR (2014) It’s time for a new environmental modelling framework. Paediatrics 7(12):152–155Google Scholar
  28. Tague CL, Band LE (2009) RHESSys: Regional Hydro-Ecologic Simulation System—an object-oriented approach to spatially distributed modeling of carbon, water, and nutrient cycling. Earth Interact 8(22):145–147Google Scholar
  29. Teutsch G, Krüger EH (eds) (2011) Water Science Alliance e Priorit€are For- schungsbereiche (White Paper on Priority Fields of Water Research). Helmholtz Zentrum für Umweltforschung (UFZ) (in German)Google Scholar
  30. Trabelsi F, Tarhouni J, Mammou AB, Ranieri G (2013) GIS-based subsurface databases and 3-D geological modeling as a tool for the set up of hydrogeological framework: Nabeul–Hammamet coastal aquifer case study (Northeast Tunisia). Environ Earth Sci 70(5):2087–2105CrossRefGoogle Scholar
  31. Tucker GE, Lancaster ST, Gasparini NM, Bras RL, Rybarczyk SM (2001) An object-oriented framework for distributed hydrologic and geomorphic modeling using triangulated irregular networks. Comput Geosci 27(8):959–973CrossRefGoogle Scholar
  32. Wagener T, Boyle DP, Lees MJ, Wheater HS (2005) Using the object modeling system for hydrological model development and application. Adv Geosci ADGEO 4(3):5–75Google Scholar
  33. Wang Z, Zheng H, Liu C (2005) A modular framework of distributed hydrological modeling system: hydroinformatic modeling system|HIMS. Prog Geogr 24(6):109–115Google Scholar
  34. Washizaki H, Fukazawa Y (2002) Dynamic hierarchical undo facility in a fine-grained component environment. Proceedings of the Fortieth International Conference on Tools Pacific, 44(1), 191–199Google Scholar
  35. Washizaki H, Yamamoto H, Fukazawa Y (2003) A metrics suite for measuring reusability of software components. 211–223Google Scholar
  36. Werts JD, Mikhailova EA, Post CJ, Sharp JL (2012) An integrated WebGIS framework for volunteered geographic information and social media in soil and water conservation. Environ Manag 49(4):816–832CrossRefGoogle Scholar
  37. Zhang CC, Qin F, & Xiao PQ (2016). Scale effects of dem resolution on the casc2d-sed. Geography and Geo-Information Science (china)32(2):6-10Google Scholar
  38. Zhang C et al (2018) Mechanism of dem scale effect based on runoff and sediment model casc2d-sed. Journal of China Hydrology (china) 38(2):15–24Google Scholar

Copyright information

© Saudi Society for Geosciences 2019

Authors and Affiliations

  1. 1.College of Territory and TourismLuoyang Normal UniversityLuoyangChina
  2. 2.College of Environment and PlanningHenan UniversityKaifengChina
  3. 3.Key Laboratory of Geospatial Technology for the Middle and Lower Yellow River Regions, Ministry of EducationHenan UniversityKaifengChina

Personalised recommendations