Professional Documents
Culture Documents
Meryem Alaoui Article 1
Meryem Alaoui Article 1
modeling
Meriyam Mhammdi Alaoui Ilias Kacimi Driss Ouazar
L. Geosciences Water & Environment L. Geosciences Water & Environment Hydro Systems Analysis Laboratory
Mohammed V University of Rabat Mohammed V University of Rabat Mohammed V University of Rabat
Rabat, Morocco Rabat, Morocco Rabat, Morocco
ma.meriyam@gmail.com iliaskacimi2018@gmail.com ouazard@gmail.com
Abstract— One of the major problems of hydrogeology case of lack of adequate hydrodynamical data (as it is the
modeling is the basic data preparation namely those related to case of several aquifers in Morocco), the behavior’s
the geology, hydrogeology, hydrometeorology, delimitation of investigation of overexploited aquifers becomes even more
the study area, and the appropriate choice of model complex and difficult.
parameters. The experienced user or a newcomer of various
existing powerful models (such as MODFLOW, FEFLOW …) The present study targets one of the major challenges in
is often lost during the data preparation phase highly required numerical groundwater model development: Input data
for running a model. Hence, the motivation of this work to preparation for aquifer system studied, namely data related to
develop an intelligent system able to reproduce heuristics the geology, hydrometeorology, piezometry, delimitation of
mechanisms of hydrogeologists’ experts to assist any engineer / the study area and the appropriate choice of model
researcher in all stages prior to any hydrogeological modeling parameters. The user (whether he is a beginner or already
of the groundwater system studied. A knowledge-based has an experience in groundwater modeling) of various
framework, dedicated to this purpose, was built adopting existing powerful models such as MODFLOW [10],
object-oriented approach, and using an Expert System shell. FEFLOW [11], MT3DMS [12], SUTRA [13], etc. is often
This paper presents the main steps of the framework confused during the data preparation phase required for
development, its top-level object hierarchy, and corresponding running a model. Hence, one of the main motivations for
heuristics rules. Most of the advice given by the intelligent
this work is to develop an intelligent system able to
working system was evaluated and validated in the Moroccan
reproduce heuristics mechanisms of hydrogeologists experts:
Rhis-Nekor aquifer case study to prepare the necessary inputs
data for Hydrodynamic model and to guide the user during the
(i) to assist any engineer/researcher in all stages prior to any
modeling process. hydrogeological modeling of the groundwater system studied
and (ii) to compensate the lack of model input data by
Keywords— Intelligent System, Heuristic knowledge, incorporating private engineering knowledge (Knowledge
Hydrogeology modeling, Data preparation, Groundwater based rules representing the approach and the methodology
overexploitation problem, Rhis-Nekor aquifer. followed by the hydrogeologists experts to prepare Input
Data for Hydrogeological Models). Aspects related to
I. INTRODUCTION numerical modeling were also integrated into the expert
system to facilitate the tasks of the modeler.
In the recent decades, the groundwater sector has been
subject to several major problems. The latest mainly relate to In recent years, applications of Artificial Intelligence (AI)
the depletion of reserves because of the development and the approaches demonstrated their contribution in solving such
extension of various human activities, e.g. industrial, complicated problems. Different AI models (e.g. expert
commercial and agricultural activities... In order to meet the systems, artificial neural networks , adaptive neuro-fuzzy
increasing water demands, the excessive exploitation of inference system and genetic programming) have been
groundwater reserves and consequently the decline of successfully applied in surface and groundwater resources
groundwater levels are generated [1,2,3]. This situation has systems modeling [14,15,16,17,18]. AI techniques are able to
inevitably serious consequences on the environment, the compensate for incomplete or contradictory datasets when
ecology and the economy of the concerned regions [4]. studying groundwater problems. Reference [19] introduced a
wavelet-neuro-fuzzy model for predicting short term
Under this stressful environmental conditions groundwater table depth fluctuations. Genetic programming
characterized by the depletion of the groundwater resources, has also been applied in predicting short term groundwater
groundwater flow modeling is now indispensable for depth fluctuations [20]. Reference [21] investigated the
sustainable and integrated groundwater resources expert knowledge based modeling in the integrated water
management. Groundwater flow models provide answers to resources planning and management in the Zayandehrud
questions that constitute the purpose of hydrogeological River Basin. Reference [22] applied conjunction of radial
studies [5,6,7,8,9]: calculating the water balance, the basis function interpolator and artificial intelligence models
sustainable water resources definition, and the optimal water for time-space modeling of contaminant transport in porous
management scenario development. Therefore, these models media. Reference [23] introduced groundwater vulnerability
help determine the exploitable water-resource for a number indices conditioned by Supervised Intelligence Committee
of simulations and to avoid the overexploitation-risk and Machine. Reference [24] investigated the fuzzy optimization
depletion of groundwater reserves. model and fuzzy inference system in the conjunctive use of
However, groundwater flow modeling is a complex surface and groundwater resources. Reference [25] used
process. It depends on the effect of various factors (e.g. multi-model ensemble of machine learning algorithms for
geological setting, hydrodynamic proprieties, recharge and mapping groundwater contamination risk of multiple
discharge conditions, water level measurements …). In the aquifers. Reference [26] evaluated the intelligent
B. Expert System
Expert System (ES) is a computer-aided problem solving
system which is generally based on several artificial
intelligence methods. ES contains the knowledge of a special
problem domain. It helps in analyzing and solving large as
well as complex problems considering the problem solving
process of a human expert. ES can also be defined as a
program that attempts to mimic human expertise by applying
inference methods to a knowledge specific field [28]. The
key component of these systems relies on the independence
between the knowledge base and the inference engine which
allows for an upgrade of the system without altering the
mechanism.
Fig. 1. Knowledge transfer approach used in ALAES’s development and
ES are particularly recommended in situations where the the main intervening-experts in the knowledge acquisition phase.
problem is complex and difficult to formalize, and poorly
structured and does not fit into traditional programming The knowledge acquisition model adopted for ALAES
methods. Therefore, this technology is applicable to the development is the guided model associated with the
fields of hydrogeological modeling and groundwater Knowledge Oriented Design (KOD) methodology [31]. The
resource management, especially to the data preparation life cycle of the KOD covered the knowledge base. The
process which is laborious, difficult to formalize and cognitive analysis stage was then used to implement the first
requiring a lot of expertise. level design, based on structured objects, of ALAES
knowledge-based platform. The computerization stage Exploitation of the parameters and results of preexisting
consisted in developing the ES itself based on the cognitive models; Call to program of parameters evaluation;
analysis results. Figure 1 summarizes the knowledge transfer Recommendation of the future pumping tests location;
approach adopted for ALAES development as well as the Comparison and validation of the results obtained through
main intervening-experts during Knowledge Acquisition the different methods.
phase.
B. ALAES’s Rule-Based Knowledge Base (ALAES-RBKB)
III. SYSTEM ARCHITECTURE AND IMPLEMENTATION Throughout ALAES’s knowledge acquisition phase, the
In the Kappa-PC ES-shell, the components of the heuristics presented by the experts were in the form of rules
problem are represented by objects that are organized in a and actions (IF ... THEN ...). The transcription and coding of
hierarchy. Running under windows environment, Kappa-PC knowledge provided by the experts was subsequently done
provides the developer with the flexibility and power using the KAL language. KAL is the programming language
required in supporting complex applications. Kappa-PC used in KAPPA-PC, and it can be also compiled into C using
provides, also, a resources editor for developing interactive the KAL compiler. In the KAL language, the rule syntax is
graphical user interfaces to applications. The development as: IF (premises) THEN (conclusion), thus providing a
process is managed by development window which contains helpful format for referring to objects and slots. As an
all essential tools for expert system implementation, such as: example, two rules of ALAES-RBKB are presented in the
Object Browser, Edit Ktools and KAL Interpreter. following section.
Rule 1: For the selection of the hydrogeological model
A. ALAES’s Object Oriented Data Base (ALAES-OODB) corresponding to the characteristics of the aquifer system
The conceptualization of an ES for the groundwater- studied:
overexploitation problem management (using groundwater If {(Aquifer_System_ID:Aquifer_Medium #= Porous) And
flow modeling) relies on an efficient database structure. In (Aquifer_System_ID:Reservoir_Lithology #= Homogeneous
this configuration of ALAES knowledge-based platform, the Or Heterogeneous) And (Aquifer_ System_ID:
database role is essential. Data (of each case study of aquifer Aquifer_Phase #= Monophasic Or Multiphasic) And
system) can be stored, accessed, and modified easily. Aquifer_System_ID:Model_Dimension #= Quasi_
ALAES's DB design, based on structured objects, is shown Three_Dimension And Aquifer_System_ID:Model_Type #=
in Figure 2. It includes: "Aquifer system" superclass, User- Finite_Difference_Model And Aquifer_System_ID:
Interface and Developer-interface, and four packages of Modeling_Type #= Hydrodynamic_Modeling ) } Then
classes: "Geometry", "Hydrodynamic Parameters", {SetValue( VIII_CHOOSE_MODEL = MODFLOW ) }.
"Piezometry" and "Water Balance". ALAES's classes
encapsulates hundreds attributes and methods that Rule 2: To validate the hydraulic parameters calculated
manipulate, for each aquifer-system case-study, all the by the pumping tests interpretation:
necessary information -input data- for groundwater flow If { Pumping_Tests:PT_Hydro_Conduct_Result ~=Reservoir
modeling. _Lithology:Hydro_Conductivity_Interval} Then {SetValue
(Pumping_Tests:I_CALCUL_PARA_PUMPING_TESTS)=
True And Hydro_Conductivity_Transmissivity: Hydro_
Conductivity_DB = Pumping_Tests:PT_Hydro_ Conduct_
Result }.
The Rule-Based Knowledge Base of ALAES is
composed of 192 rules. The rules can be classified into two
categories: (i) Rules deduced from formal and agreed
knowledge, that represent 139 rules of ALAES-RBKB;
(ii) Rules built from heuristics and conflictual knowledge
that constitute 53 rules of ALAES-RBKB.
Fig. 3. Screenshot showing ALAES’s user session and its main Fig. 4. A: Location and Geological setting of the study area (ABR:
commands/objectives. Alboran ridge; AIF, NF and YF: faults; [33]). B: Boundaries of Rhis-
Nekor aquifer and location of boreholes.
A. Rhis-Nekor Case study
The study area is characterized by a significant
The hydrological basin of Rhis-Nekor is located in the degradation of its groundwater resources and a net deficit in
northeast part of the Mediterranean coast in Morocco. It the aquifer water balance. In fact, during the past three
constitutes the prime agricultural plain of the Province of Al decades, the excessive pumping of groundwater for irrigation
Hoceima. The catchment covers about 100 km² with a mean and the net deficit in the aquifer water balance due to
soil slope of 1%. This basin drains towards the construction of Mohammed Ben Abdelkrim El Khattabi
MBAK dam (in 1981) have caused the decline of data for the hydrodynamic model (especially MODFLOW).
groundwater levels. Adding another model codes to the system is a complex and
laborious task. To build the Knowledge Base of ALAES's
Given the problems mentioned here above (namely second module, as an example, 37 experts in multiple fields
overexploitation problem/groundwater excessive drawdown) interacting in hydrogeological modeling process (e.g.
and in order to improve the scientific basis for the Rhis- hydrogeologists, geologists, environmental hydrogeologists,
Nekor groundwater management, a data collection program hydraulic engineers, geophysicists, climatologists and
was undertaken in the last decades. Indeed, geological, geometricians ...) were consulted. Subsequently, the
hydro-meteorological, hydrological, hydrogeological and knowledge, as collected from interviews with the here above
geochemical analysis were conducted; and groundwater experts and from specialized literature, must be analyzed,
flow and transport models were developed. In this project, coded and implemented in the expert system (Fig. 1). In
extensive hydraulic and geologic data was collected from terms of time, more of two years of work have been spent on
new multiple-well monitoring sites. Based on the input data the knowledge acquisition phase and on the first level
of existing models of the Rhis-Nekor area and data collected implementation of ALAES's second module.
from new wells/boreholes, the Rhis-Nekor's hydrogeological
synthesis and groundwater flow modeling were undertaken That is how Knowledge Acquisition is certainly the most
using the rule-based expert system ALAES. complex task but also the most interesting in the
development of the knowledge base of the ES. If the
B. ALAES’s working system steps Knowledge Base (KB) is limited, the results uncertainties
The first step in ALAES’s working system consisted of would be very important. The approach does not consist in
the selection of an appropriate hydrogeological model which simplifying the process of developing a model by
can help in providing an answer to a groundwater resource automatically choose parameters, but rather, the process
problem. The module interface HYDROGEOLOGICAL consists in enlarging as much as possible the KB through
MODEL CHOICE is used for the selection of the appropriate expertise extracted from literature and professionals. The
hydrogeological code (e.g. MODFLOW, FEFLOW, objective of the approach is to estimate the parameters with
MT3DMS, SUTRA...) to address a specific aquifer problem all possible methods, ways and experts manners in order to
(e.g. overexploitation, seawater intrusion, contamination ...). minimize the model results uncertainties. ALAES's
In the Rhis-Nekor case study, the main characteristics are as Parameters Package interface is presented in Fig. 5 as an
follows: Monolayer unconfined aquifer subject to an illustration. The purpose of ALAES's Parameters Package is
overexploitation problem; Porous aquifer medium; Reservoir to estimate Hydrodynamic Parameters (porosity, hydraulic
lithology considered homogeneous; Three-dimensional conductivity, transmissivity, and storage coefficient) using
model based on finite differences method. ALAES response different methods, such as pumping test, slug tests, well logs,
to this request is to use MODFLOW or an equivalent model. and reservoir lithology table.
V. CONCLUSIONS
In this research, a prototype rule based expert system for Fig. 6. Rhis Nekor groundwater flow simulation model results: A- Model-
groundwater flow modeling, called ALAES, has been grid, boundary conditions, measured- and simulated water levels of
1968; B- Simulated water levels of 2016 and calibrated hydraulic
designed and developed. ALAES was built adopting object- conductivities; C- cross section X-Y showing hydraulic conductivities
oriented approach and using Kappa-PC 2.4. and base aquifer elevations.
It includes both formal and heuristics knowledge, 114 class, [12] C. Zheng, P.P. Wang, “MT3DMS: A modular three dimensional
1136 instances, 179 functions, 192 rules and two types of multispecies transport model for simulation and advection, dispersion,
and chemical reaction of contaminants in groundwater systems:
GUI. ALAES provides the users with a decision support tool documentation and user guide,” Contract report SERD-99-1, U.S.
for groundwater problem management, by implementing Army Corps of Engineers, Washington, DC, 1999.
three main modules. The first module was used for the [13] C.L. Voss, A.M. Provost, “SUTRA: A model for saturated-
selection of an appropriate hydrogeological model to address unsaturated variable density groundwater flow with energy or solute
a precise aquifer problem and for evaluating the modeling transport,” US Geol Surv, Open-File Rep 02-4231, 2002.
feasibility depending on available data. The second one [14] H.M. Nagy et al. “Estimation of sediment load concentration in rivers
presents 140 rules to try to mimic the approach and the using artificial neural network model,” ASCE Journal of Hydraulique
Engeneering, Vol. 128(6), pp. 588–595, 2002.
methodology followed by the hydrogeologists’ experts to
[15] O. Kisi, “Suspended sediment estimation using neuro-fuzzy and
prepare Input Data for Hydrodynamic Model. The third neural network approaches.Hydrological Sciences Journal, Vol. 50(4),
module provides advices in the main stages of the pp. 683–696, 2005.
groundwater flow modeling of the aquifer system studied. [16] A. Guven, M. Gunal, “A Genetic Programming Approach for
Prediction of Local Scour Downstream Hydraulic Structures,” ASCE
There are multiple AI applications in the hydrogeology J. Irrigation Drainage Engineering, Vol. 132(4), pp. 241–249, 2008.
field (as described in Section I). When comparing these
[17] V. Nourani, R. Goli Ejlali, M.T. Aalami, “Spatiotemporal
applications, it appears that the majority of them contribute groundwater level forecasting in coastal aquifers by hybrid artificial
during the modeling phase. However, the singularity of neural network-geostatistics model: a case study,” Environmental
ALAES lies in the fact is that it acts in addition in the first Engineering Sciences, Vol. 28(3), pp. 217–228, 2011.
and difficult phase by guiding any engineer/researcher in all [18] S. Karimi, O. Kisi, J. Shiri,O. Makarynskyy, “Neuro-fuzzy and neural
stages prior to any hydrogeological modeling of the network techniques for forecasting sea level in Darwin Harbor,
Australia,” Computer Geosciences, Vol. 52, pp. 50–59, 2013.
groundwater system being studied. Main advices generated
by ALAES working system were evaluated and validated in [19] O. Kisi, J. Shiri, “Wavelet and neuro-fuzzy conjunction model for
predicting water table depth fluctuations,” Hydrological Research,
the Rhis-Nekor groundwater case study. ALAES rule based Vol. 43(3), pp. 286–300, 2012.
advisory system contributes to compensate for the lack of [20] J. Shiri, O. Kisi, “Comparison of genetic programming with neuro-
Hydrodynamic Parameters needed for Rhis-Nekor model fuzzy systems for predicting short-term water table depth
calibration by incorporating heuristics and private fluctuations,” Comp. Geosciences, Vol. 37(10), pp. 1692–1701, 2011.
engineering knowledge. Also, using the module "Modeling [21] R. Hamid Safavi et al. “Expert knowledge based modeling for
Adviser", Rhis-Nekor groundwater simulation model was integrated water resources planning and management in the
again developed, which allowed to synthesize the Zayandehrud River Basin,” Hydrology, Vol. 528, pp. 773–789, 2015.
understanding of the Rhis-Nekor three-dimensional [22] V. Nourani et al. “Conjunction of radial basis function interpolator
and artificial intelligence models for time-space modeling of
hydrogeological system and to serve as a tool to evaluate contaminant transport in porous media,” Journal of Hydrology, Vol.
alternative groundwater management strategies. 548, pp. 569–587, 2017.
[23] A. A. Nadiri et al. “Groundwater vulnerability indices conditioned by
REFERENCES Supervised Intelligence Committee Machine (SICM),” Science of the
Total Environment, Vol. 574, pp. 691–706, 2017.
[1] B. Datta et al. “Modeling and control saltwater intrusion in a coastal
[24] S. Ghordoyee Milan, “Fuzzy optimization model and fuzzy inference
aquifer of Andhra Pradesh, India,” Journal of Hydro-environment
Research, vol. 3, pp. 148-159, 2009. system for conjunctive use of surface and groundwater resources,”
Journal of Hydrology, Vol. 566, pp. 421–434, 2018.
[2] A. H. D. Cheng, D. Ouazar, Coastal Aquifer Management:
Monitoring, Modeling, and Case Studies, CRC Press, USA, 2004. [25] R. Barzegaret al. “Mapping groundwater contamination risk of
multiple aquifers using multi-model ensemble of machine learning
[3] Werner et al. “Seawater intrusion processes, investigation and algorithms,” Science of the Total Environment, Vol. 621, pp. 697–
management: recent advances and future challenges,” Journal of 712, 2018.
Advances Water Resources, vol. 51, pp. 3–26, 2013.
[26] A. Forghani, R. C. Peralta, “Intelligent performance evaluation of
[4] I. Siarkos, P. Latinopulos, “Delineation of wellhead protection zones aquifer storage and recovery systems in freshwater aquifers,” Journal
for the control of point pollution sources in the aquifer of N. of Hydrology, Vol. 563, pp. 599–608, 2018.
Moudania, Grece, ” Eur Water, vol. 40, pp. 3-17, 2012.
[27] Kappa-PC 2.4. Intellicorp Attn. Kappa-PC Technical Support. 1975
[5] E. Gilli, C. Mongan, J. Mudry, Hydrogéologie : objets, méthodes et West EL Camino Real Mountain View, CA 94040-2216 USA, 1997.
applications, Dunod, 2004.
[28] J.E. Aronson, Decision Support Systems and Intelligent Systems.
[6] P. Stâlnacke, G.D. Gooch, “Integrated Water Resources Seventh Edition, 2005.
Management,” Irrigation and drainage systems, vol. 24(3-4), pp. 155-
159, 2010. [29] P. Polach, J. Valenta, V. Jirsik, “Hybrid expert system shell,” 4th
European Computing Conference, pp. 148-153, 2010.
[7] M. Lubell, J. Edelenbos, “Integrated Water Resources Management:
[30] R.M. Sonar, “An enterprise intelligent system development and
A Comparative Laboratory for Water Governance,” International
Journal of Water Governance, vol. 1, pp. 177-196, 2013. solution framework,” World Academy of Science, Engineering and
Technology, vol. 25, pp. 34-39, 2007P.
[8] A. Singh, “Groundwater resources management through the
[31] Albert and C. Vogel, “KOD-STATION: un environnement intégré
applications of simulation modeling: A review,” Science of the Total
Environment, vol. 499, pp. 414-423, 2014. pour le génie cognitif, ” Génie Logiciel et Systèmes Experts, vol. 19,
pp. 28-30, 1990.
[9] J. V. Aparicio, “Evaluating Groundwater Management Sustainability
[32] A. Khouakhi, S. Niazi, O. Raji, A.N. El Fahchouch, “Vulnerability
under Limited Data Availability in Semiarid Zones,” Water Journal,
Vol. 7, pp. 4305-4322, 2015. assessment of seawater intrusion using hydro-geological indices in
Moroccan Mediterranean aquifers,” International Journal of
[10] A.W. Harbaug, E.R. Banta, M.C. Hill, M.G. McDonald, Hydrology Science and Technology, vol. 5(2), pp. 133–148, 2015.
MODFLOW-2000, The U.S. Geological Survey modular
groundwater model: user guide to modularization concepts and the P. Marinez-Garcia, J.I. Soto, M. Comas, “Recent structures in the
groundwater flow process,US Geol Surv, Open-File Rep 00-92, 2000. Alboran ridge and Yusef fault zones based on swath bathymetry and
sub-bottom profiling: evidence of active tectonics,” Geo-Mar, vol. 31,
[11] H.J.G. Diersch, WASY Software-FEFLOW Finite Element pp. 19-36, 2011.
Subsurface Flow and Transport Simulation System, Reference
manual, WASY, Berlin, 2002.