SlideShare a Scribd company logo
1 of 40
Download to read offline
Hydrological Modelling in 2016
Concepts and deployment hints
Rigon R.
Arpae, Parma, 17 Maggio 2017
MarzioTamer
!2
R. Rigon
Introduction
MODELS
MademoiselleRose,ca.1820.EugèneDelacroix.
!3
DataParametersEquations
Mass, momentum and
energy conservation.
Chemical
transformations
Forcings and
observables
Equation’s constant. In
time!
In space they are
usually heterogeneous
Models we are talking about are computer applications
In the past they were built as monolithic programs
R. Rigon
Which kind of models
!4
I - Once a model, design and implemented as a monolithic
software entity, has been deployed, its evolution is totally in the
hands of the original developers. While this is a good thing for
intellectual property rights and in a commercial environment, this
is absolutely a bad thing for science and the way it is
supposed to progress.
RobbedfromaCCApresentation
R. Rigon
The old way
!5
II - Independent revisions and third-party contributions are
nearly impossible and especially when the code is not available.
Models falsification (in Popper sense) is usually impossible by
other scientists than the original authors.
III- Thus, model inter-comparison projects give usually unsatisfying
results. Once complex models do not reproduce data it is
usually very difficult to determine which process or
parameterization was incorrectly implemented.
R. Rigon
The old way
!6
Q: HOW CAN WE BE MORE “GALILEIAN” ?
A:YES, PRODUCING AND PROMOTING OPEN
SOURCE MODELS. THIS HOWEVER IS NOT
ENOUGH SINCE MODELS SHOULD BE
STRUCTURALLY EASY TO UNDERSTAND,
DOCUMENT, MODIFY, MAINTAIN,AND FAVOR
PROCESSES ANALYSIS.
R. Rigon
The new way
!7
MODELLING, FOR WHO ?
Which end user do you have in mind ?
Baboon,PapiusAnubis
R. Rigon
No models for everyone
!8
• Prime users: take or prepare decisions at a
political level
• Technical users: prepare projects or maps for
the primary users
• Other end-users: national agencies,
representative groups, etc.They may take or
prepare decisions at national or regional level, or
represent stakeholder groups.
• Model and application developers/modellers:
build models and targeted applications
ModifiedfromRizzolietal.,2005
R. Rigon
Users/Actors
!9
• Coders: implement models, applications and
tools.
• Linkers: link existing models and applications.
• Runners: execute existing models, but they
create and define scenarios.
• Players: play simulations and experiments
comparing scenarios and making analyses.
• Viewers: view the players’ results, have a low
level of interaction with the framework.
• Providers: provide inputs and data to all other
user roles.
Roles
ModifiedfromRizzolietal.,2005
R. Rigon
Roles
!10
Modified from Rizzoli et al., ,2005
Roles
Users
Hard
Coders
Soft
Coders
Linkers Runners Player Viewers Providers
Prime
Other End
Users
Technical
Researchers
R. Rigon
Users/Roles
!11
Thus there exists a “zoo” of users, each one with different abilities.
Bundling data, algorithms and the graphical user interface of a
model in an application with the old techniques makes the models
very hard to re-use out of its original context.
R. Rigon
Reuse
!12
SO WHAT ?
R. Rigon
Solutions
!13
Object-oriented software development. O-O programming is
nothing new, but it has proven to be a successful key to the design
and implementation of modelling frameworks.
Models and data can be seen as objects and therefore they can
exploit properties such as encapsulation, polymorphism, data
abstraction and inheritance.
NEW (well relatively) MODELING PARADIGMS
ModifiedfromRizzolietal.,2005
R. Rigon
Software Engineering Solutions
!14
Component-oriented software development. Objects (models
and data) should be packaged in components, exposing for re-use
only their most important functions. Libraries of components can
then be re-used and efficiently integrated across modelling
frameworks.Yet, a certain degree of dependency of the model
component from the framework can actually hinder reuse.
NEW (well relatively) MODELING PARADIGMS
ModifiedfromRizzolietal.,2005
R. Rigon
Software Engineering Solutions
!15
R. Rigon
Components
!16
Discrete units of software which are re-usable even outside the
framework, both for model components and for tools components.
Seamless and transparent access to data, which are
made independent of the database layer.
A number of tools (simulation, calibration, etc.) that the
modeller will be free to use (including a visual modelling
environment).
A model repository to store your model (and simulations)
and to share it with others.
BENEFITS
R. Rigon
Benefits
!17
Tools for studying feedbacks among different processes.
BENEFITS FOR SCIENTISTS
Encapsulation of single processes or submodels
MUCH MORE in the field of possibilities
New educational tools and a “storage” of hydrological
knowledge using appropriate onthologies
R. Rigon
Benefits
!18
BENEFITS FOR PROJECTS’ MANAGEMENT
Easily tracking of software authorship. Developers
concentrate on components and not on the overall
Components are maintained. Not models.This can make
easier to update modelling solutions
Components are updated. Not models.
Components are debugged and tested. Not models.
Encapsulation helps.
Well, model solutions integrity must also be preserved.
R. Rigon
Benefits
!19
T H E R E E X I S T S U C H M O D E L I N G
INFRASTRUCTURE ?
Economic modelling frameworks^. GAMS (general
algebraic modelling system, http://www.gams.com) and GTAP
(global trade analysis program, http://
www.gtap.agecon.purdue.edu ) are some of the most used
modelling systems in the agro-economic domain.They can also
account for social variables, such as unemployment.
^from Rizzoli et al., (Modeling Framework (SeamFrame)
Requirements 2005
R. Rigon
Existing Examples: not updated but useful
!20
T H E R E E X I S T S U C H M O D E L I N G
INFRASTRUCTURE ?
Environmental modelling frameworks. If we limit to the
agricultural domain, the list is quite limited.There is no ‘real’
framework according to the definition, but APSIM, STICS
and CropSyst provide some of the functionalities. In this area
SEAMFRAME is an emerging technology.When we consider
the water management sector, we find many examples, such
as TIME (the invisible modelling environment), IMT, OpenMI,
and OMS, and, to a certain respect, JUPITER-API.
^ extended from Rizzoli et al., (Modeling Framework
(SeamFrame) Requirements 2005
R. Rigon
Existing Examples: not updated but useful
!21
T H E R E E X I S T S U C H M O D E L I N G
INFRASTRUCTURE ?
Other modelling software environments of notable
interest are SME, MMS, ICMS, Tarsier, Modcom,
Simile, but they are integrated modelling environments, not
frameworks.This means that they can be used to perform
assessments, analyses, decision support, but they do not provide
programming structures such as classes, components, objects,
design patterns to be used to create end-user applications.
^from Rizzoli et al., Modeling Framework (SeamFrame)
Requirements, 2005
R. Rigon
Existing Examples: not updated but useful
!22
T H E R E E X I S T S U C H M O D E L I N G
INFRASTRUCTURE ?
Atmospheric Sciences: Earth Sciences Modeling Framework
(ESMF) (including Earth System Curator)
High Performance Computing: Common Component
Architecture (CCA)
R. Rigon
Existing Examples: not updated but useful
!23
A F T E R 1 0 Y E A R S , W H Y T H E S E
I N F R A S T RU C T U R E S D I D N OT
EMERGE ?
R. Rigon
TOO INVASIVE !
TOO MANY COMPUTER
SCIENTISTS,TOO FEW
HYDROLOGISTS ?
Existing Examples: here they are useful
!24
A BLUEPRINT ?
Escher-Drawingshands,1948
R. Rigon
Infrastructure design
!25
DataParametersEquations
Mass, momentum
and energy
conservation.
Chemical
transformations
Forcings and
observables
Equation’s
constant. In time!
In space they are
heteorgeneous
Numerics,
boundary and
initial conditions
Data Assimilation.
Data Models. Tools
for Analysis.
Calibration,
derivation from
proxies
To Sum up
R. Rigon
Infrastructure design
!26
Decision making
EVALUATION OF STRATEGIES THROUGH
MODELS
STRATEGIES FOR POLICY MAKERSDATA INTERPRETATION
EVALUATION OF STRATEGIES THROUGH
MODELSEVALUATION OF STRATEGIES THROUGH
MODELS
DATA INTERPRETATION
DATA INTERPRETATION
STRATEGIES FOR POLICY MAKERS
STRATEGIES FOR POLICY MAKERS
R. Rigon
Infrastructure design
!27
PREREQUISITES General
Programming LANGUAGE NEUTRAL
PLATFORM NEUTRAL: Windows, Linux and Mac
OPEN SOURCE
TARGETED AT PERSONAL PRODUCTIVITY OF
DIFFERENT USERS
People come before program efficiency.
BUSINNES NEUTRAL: GPL would be fine if encapsulated in
components
R. Rigon
Infrastructure design
!28
PREREQUISITES Technologies
ALLOWS WRAPPING OF EXISTING CODES BUT
PROMOTES BETTER PROGRAMMING STRATEGIES
DATA BASE AWARE
DEPLOYABLE THROUGH THE WEB or as a web-server
USES MULTICORES
COMPLIANT OF STANDARDS (OGC, CUAHSI,
OTHERS)
R. Rigon
Infrastructure design
!29
PREREQUISITES Documentation/Replicability
WITH TOOLS THAT HELPS DOCUMENTATION
COMPLIANT TO STANDARDS FOR DEFINING VARIABLES
(e.g.VARIABLES AND PARAMETERS)
MANAGED IN A PUBLIC REVISION CONTROL
SYSTEM (e.g. GIT)
HAVING A STANDARD WAY AND PLACES TO
EXPOSE DOCUMENTATION
R. Rigon
Infrastructure design
!30
JAVA
OMS
GEOTools
JGrassTools
C/C++
Languages and infrastructures/libraries
Rigon et al.
!31
JAVA
OMS
GEOTools
JGrassTools
C/C++
Python
FORTRAN
ESMF
A competing solution
Rigon et al.
!32
JAVA
OMS
GEOTools
JGrassTools
C/C++
OPENMI
C#
Another competing solution
Rigon et al.
!33
tion. As with any EMF, fully embracing the OMS3 architecture
requires a commitment to a structured model development process
which may include the use of a version control system for model
source code management or databases to store audit trails. Such
features are important for institutionalized adoption of OMS3 but
less critical for adherence by a single modeler.
techniques such as parameterized types, higher level data struc-
tures and/or object composition. The use of object-oriented design
principles for modeling can be productive for a specific modeling
project that has limited need for external reuse and extensibility.
Extensive use of object-oriented design principles can be difficult
for scientists to adopt in that adoption often entails a steep learning
Fig. 1. OMS3 principle framework architecture.
Please cite this article in press as: David, O., et al., A software engineering perspective on environmental modeling framework design: The Object
Modeling System, Environmental Modelling & Software (2012), doi:10.1016/j.envsoft.2012.03.006David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design:
The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006
OMS
Rigon et al.
!34
deling components
nction and continue
ve characteristics of
a modeling object
interfaces to imple-
methods to override,
es to use. OMS3 uses
specify and describe
s and class methods
ode quality of using
rsus traditional API
tudy comparing the
hydrology models
pplied several code
ics of the different
non-invasive frame-
ncise model imple-
ode and lower code
ment. For example,
ite model required
quired between 450
mplementations had
e modeling results.
S model in OMS3
exchange items), and management of various execution states
within components including “Initialize/Run/Finalize” as described
by Peckham (2008).
While object-oriented methods focus on abstraction, encapsula-
tion, and localization of data and methods, their use can also lead to
simulation systems where objects are highly co-dependent. To
Fig. 2. OMS3 component architecture including data flow, execution phases, and
encapsulation.
A software engineering perspective on environmental modeling framework design: The Object
Software (2012), doi:10.1016/j.envsoft.2012.03.006
David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design:
The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006
Components again
Rigon et al.
!35
(Duriancik et al., 2008). RUSLE2 has historically been used as
a WindowsÔ-based desktop application to guide conservation
planning and inventory erosion rates over large areas. The model
provides a reusable computational engine that can be used without
a user interface for model runs in other applications. RUSLE2’s
water supply forecasts with sh
of distributed-parameter, phy
an Ensemble Streamflow P
primary ESP model base (Leave
and the PRMS hydrological wa
be used to address a wide var
information on the volume an
improve water supply forecas
ology is a modified version of
National Weather Service (D
synthesized meteorological da
timeseries data used as model
A visualization tool runn
visual display of user-selec
performs a frequency analys
the simulated hydrograph tr
historic years used with thei
ance. Different options are
analysis. One assumes that all
an equal likelihood of occ
weighting user-defined perio
a priori information, are also b
and Pacific Decadal Oscillatio
fied in the ESP procedure, and
separately for analysis. The P
will provide timely foreca
community in the western
a major source of water supp
Another modeling applicati
the OMS3 framework is the c
Ecosystem-Watershed) modeFig. 4. Cloud Services Innovation Platform (CSIP) software architecture.
Please cite this article in press as: David, O., et al., A software engineering perspective on environmental mo
Modeling System, Environmental Modelling & Software (2012), doi:10.1016/j.envsoft.2012.03.006
David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design:
The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006
CSIP
Rigon et al.
!36
ulation of water quantity and quality in large watersheds
ough et al., 2010). AgES-W consists of Java-based simulation
modeling frameworks are currently under development wor
with the primary purpose of integrating existing and futur
Fig. 5. CSIP/OMS3-based mobile RUSLE2 erosion model application.
O. David et al. / Environmental Modelling & Software xxx (2012) 1e13
David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design:
The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006
CSIP
Rigon et al.
!37
Other companions
Rigon et al.
!38
http://geoframe.blogspot.com
Rigon et al.
!39
INTEGRATION
One very diffuse platform in the operational environments
is Deltares’ Fews.
It is, unfortunately, not open source*: but free.
However, it seems, that the chain of tools that derives
from GEOframe can be seamlessly integrated in it.
This is certainly a perspective to explore further
Rigon et al.
https://oss.deltares.nl/web/delft-fews/
*It is not available for MAC too
!40
Find this presentation at
http://abouthydrology.blogspot.com
Ulrici,2000?
Other material at
Questions ?
R. Rigon
http://abouthydrology.blogspot.it/2016/05/geoframe-system-for-doing-hydrology-by.html

More Related Content

Viewers also liked

JGrass and uDig, chronicles of a lovestory
JGrass and uDig, chronicles of a lovestoryJGrass and uDig, chronicles of a lovestory
JGrass and uDig, chronicles of a lovestoryAndrea Antonello
 
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGEImplementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGERiccardo Rigon
 
Return period from a stochastic point of view
Return period from a stochastic point of viewReturn period from a stochastic point of view
Return period from a stochastic point of viewRiccardo Rigon
 
Francesco Serafin Second year admission
Francesco Serafin Second year admissionFrancesco Serafin Second year admission
Francesco Serafin Second year admissionRiccardo Rigon
 
17 percezione & Realtà
17 percezione & Realtà17 percezione & Realtà
17 percezione & RealtàRiccardo Rigon
 
Reservoirology#4 or the representation of PDEs with TC Petri nets
Reservoirology#4 or the representation of PDEs with TC Petri netsReservoirology#4 or the representation of PDEs with TC Petri nets
Reservoirology#4 or the representation of PDEs with TC Petri netsRiccardo Rigon
 
GEOtop 2.0 - The snow and freezing soil modelling
GEOtop 2.0 - The snow and freezing soil modellingGEOtop 2.0 - The snow and freezing soil modelling
GEOtop 2.0 - The snow and freezing soil modellingRiccardo Rigon
 
Young and old forest impacts on the hydrological cycle
Young and old forest impacts on the hydrological cycleYoung and old forest impacts on the hydrological cycle
Young and old forest impacts on the hydrological cycleRiccardo Rigon
 
Which is the best model ?
Which is the best model ?Which is the best model ?
Which is the best model ?Riccardo Rigon
 
Metastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsMetastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsRiccardo Rigon
 
Trento june2015 slides
Trento june2015 slidesTrento june2015 slides
Trento june2015 slidesRiccardo Rigon
 
Birr - Identifying Critical Portions of the Landscape
Birr - Identifying Critical Portions of the LandscapeBirr - Identifying Critical Portions of the Landscape
Birr - Identifying Critical Portions of the LandscapeJose A. Hernandez
 

Viewers also liked (20)

JGrass and uDig, chronicles of a lovestory
JGrass and uDig, chronicles of a lovestoryJGrass and uDig, chronicles of a lovestory
JGrass and uDig, chronicles of a lovestory
 
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGEImplementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
 
Return period from a stochastic point of view
Return period from a stochastic point of viewReturn period from a stochastic point of view
Return period from a stochastic point of view
 
Francesco Serafin Second year admission
Francesco Serafin Second year admissionFrancesco Serafin Second year admission
Francesco Serafin Second year admission
 
17 percezione & Realtà
17 percezione & Realtà17 percezione & Realtà
17 percezione & Realtà
 
Reservoirology#4 or the representation of PDEs with TC Petri nets
Reservoirology#4 or the representation of PDEs with TC Petri netsReservoirology#4 or the representation of PDEs with TC Petri nets
Reservoirology#4 or the representation of PDEs with TC Petri nets
 
Rr reflections
Rr reflectionsRr reflections
Rr reflections
 
6 reservoirs&Graphs
6 reservoirs&Graphs6 reservoirs&Graphs
6 reservoirs&Graphs
 
Reservoirs & Graphs
Reservoirs & GraphsReservoirs & Graphs
Reservoirs & Graphs
 
GEOtop 2.0 - The snow and freezing soil modelling
GEOtop 2.0 - The snow and freezing soil modellingGEOtop 2.0 - The snow and freezing soil modelling
GEOtop 2.0 - The snow and freezing soil modelling
 
Young and old forest impacts on the hydrological cycle
Young and old forest impacts on the hydrological cycleYoung and old forest impacts on the hydrological cycle
Young and old forest impacts on the hydrological cycle
 
Come scrivere un CV
Come scrivere un CVCome scrivere un CV
Come scrivere un CV
 
P horton machine
P horton machineP horton machine
P horton machine
 
Which is the best model ?
Which is the best model ?Which is the best model ?
Which is the best model ?
 
Metastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsMetastatistical Extreme Value distributions
Metastatistical Extreme Value distributions
 
P j grass-tools
P j grass-toolsP j grass-tools
P j grass-tools
 
Trento june2015 slides
Trento june2015 slidesTrento june2015 slides
Trento june2015 slides
 
P jgrass-jgrastools
P jgrass-jgrastoolsP jgrass-jgrastools
P jgrass-jgrastools
 
Birr - Identifying Critical Portions of the Landscape
Birr - Identifying Critical Portions of the LandscapeBirr - Identifying Critical Portions of the Landscape
Birr - Identifying Critical Portions of the Landscape
 
4 introduction to uDig
4   introduction to uDig4   introduction to uDig
4 introduction to uDig
 

Similar to Cuashi2008revisited

LIFT: A Legacy InFormation retrieval Tool
LIFT: A Legacy InFormation retrieval ToolLIFT: A Legacy InFormation retrieval Tool
LIFT: A Legacy InFormation retrieval ToolKellyton Brito
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 
Software Preservation: challenges and opportunities for reproductibility (Sci...
Software Preservation: challenges and opportunities for reproductibility (Sci...Software Preservation: challenges and opportunities for reproductibility (Sci...
Software Preservation: challenges and opportunities for reproductibility (Sci...Roberto Di Cosmo
 
ScilabTEC 2015 - Irill
ScilabTEC 2015 - IrillScilabTEC 2015 - Irill
ScilabTEC 2015 - IrillScilab
 
Breathe Life Into Your IDE
Breathe Life Into Your IDEBreathe Life Into Your IDE
Breathe Life Into Your IDEBenoit Combemale
 
How to sustain a tool building community-driven effort
How to sustain a tool building community-driven effortHow to sustain a tool building community-driven effort
How to sustain a tool building community-driven effortJordi Cabot
 
Advantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic RepositoryAdvantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic Repositorymustafa sarac
 
Diary of a Wimpy Model Manager
Diary of a Wimpy Model ManagerDiary of a Wimpy Model Manager
Diary of a Wimpy Model ManagerEric Stephan
 
GEOFRAME: a system for doing hydrology by computer
GEOFRAME: a system for doing hydrology by computerGEOFRAME: a system for doing hydrology by computer
GEOFRAME: a system for doing hydrology by computerRiccardo Rigon
 
A study of variability models and languages in the systems software domain
A study of variability models and languages in the systems software domainA study of variability models and languages in the systems software domain
A study of variability models and languages in the systems software domaingagnertechnologies
 
Ectel nods v2
Ectel nods v2Ectel nods v2
Ectel nods v2nodenot
 
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)Radu Marinescu
 
Seminar VU Amsterdam 2015
Seminar VU Amsterdam 2015Seminar VU Amsterdam 2015
Seminar VU Amsterdam 2015Philipp Leitner
 
SE CHAPTER 1 SOFTWARE ENGINEERING
SE CHAPTER 1 SOFTWARE ENGINEERINGSE CHAPTER 1 SOFTWARE ENGINEERING
SE CHAPTER 1 SOFTWARE ENGINEERINGAbrar ali
 
Towards application development for the internet of things updated
Towards application development for the internet of things  updatedTowards application development for the internet of things  updated
Towards application development for the internet of things updatedPankesh Patel
 
Software Development for the Cloud - Trends, Opportunities, and Challenges
Software Development for the Cloud - Trends, Opportunities, and ChallengesSoftware Development for the Cloud - Trends, Opportunities, and Challenges
Software Development for the Cloud - Trends, Opportunities, and ChallengesPhilipp Leitner
 
Preserving CAD: A briefing - Emerging trends - Architecture
Preserving CAD: A briefing - Emerging trends - Architecture Preserving CAD: A briefing - Emerging trends - Architecture
Preserving CAD: A briefing - Emerging trends - Architecture Ruggero Lancia
 

Similar to Cuashi2008revisited (20)

Msr2021 tutorial-di penta
Msr2021 tutorial-di pentaMsr2021 tutorial-di penta
Msr2021 tutorial-di penta
 
LIFT: A Legacy InFormation retrieval Tool
LIFT: A Legacy InFormation retrieval ToolLIFT: A Legacy InFormation retrieval Tool
LIFT: A Legacy InFormation retrieval Tool
 
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
Software Preservation: challenges and opportunities for reproductibility (Sci...
Software Preservation: challenges and opportunities for reproductibility (Sci...Software Preservation: challenges and opportunities for reproductibility (Sci...
Software Preservation: challenges and opportunities for reproductibility (Sci...
 
ScilabTEC 2015 - Irill
ScilabTEC 2015 - IrillScilabTEC 2015 - Irill
ScilabTEC 2015 - Irill
 
Breathe Life Into Your IDE
Breathe Life Into Your IDEBreathe Life Into Your IDE
Breathe Life Into Your IDE
 
How to sustain a tool building community-driven effort
How to sustain a tool building community-driven effortHow to sustain a tool building community-driven effort
How to sustain a tool building community-driven effort
 
Advantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic RepositoryAdvantages and Disadvantages of a Monolithic Repository
Advantages and Disadvantages of a Monolithic Repository
 
Diary of a Wimpy Model Manager
Diary of a Wimpy Model ManagerDiary of a Wimpy Model Manager
Diary of a Wimpy Model Manager
 
GEOFRAME: a system for doing hydrology by computer
GEOFRAME: a system for doing hydrology by computerGEOFRAME: a system for doing hydrology by computer
GEOFRAME: a system for doing hydrology by computer
 
A study of variability models and languages in the systems software domain
A study of variability models and languages in the systems software domainA study of variability models and languages in the systems software domain
A study of variability models and languages in the systems software domain
 
Ectel nods v2
Ectel nods v2Ectel nods v2
Ectel nods v2
 
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)
The Good the Bad and the Ugly of Dealing with Smelly Code (ITAKE Unconference)
 
Seminar VU Amsterdam 2015
Seminar VU Amsterdam 2015Seminar VU Amsterdam 2015
Seminar VU Amsterdam 2015
 
SE CHAPTER 1 SOFTWARE ENGINEERING
SE CHAPTER 1 SOFTWARE ENGINEERINGSE CHAPTER 1 SOFTWARE ENGINEERING
SE CHAPTER 1 SOFTWARE ENGINEERING
 
Towards application development for the internet of things updated
Towards application development for the internet of things  updatedTowards application development for the internet of things  updated
Towards application development for the internet of things updated
 
Software Development for the Cloud - Trends, Opportunities, and Challenges
Software Development for the Cloud - Trends, Opportunities, and ChallengesSoftware Development for the Cloud - Trends, Opportunities, and Challenges
Software Development for the Cloud - Trends, Opportunities, and Challenges
 
Preserving CAD: A briefing - Emerging trends - Architecture
Preserving CAD: A briefing - Emerging trends - Architecture Preserving CAD: A briefing - Emerging trends - Architecture
Preserving CAD: A briefing - Emerging trends - Architecture
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 

More from Riccardo Rigon

Models for hazards mapping
Models for hazards mappingModels for hazards mapping
Models for hazards mappingRiccardo Rigon
 
A short introduction to some hydrological extreme phenomena
A short introduction to some hydrological extreme phenomenaA short introduction to some hydrological extreme phenomena
A short introduction to some hydrological extreme phenomenaRiccardo Rigon
 
Lisbon talk for SteepStreams
Lisbon talk  for SteepStreamsLisbon talk  for SteepStreams
Lisbon talk for SteepStreamsRiccardo Rigon
 
Some photos from the field
Some photos from the fieldSome photos from the field
Some photos from the fieldRiccardo Rigon
 
Virtual water fem 07032017
Virtual water fem 07032017Virtual water fem 07032017
Virtual water fem 07032017Riccardo Rigon
 
Dalton Prize Lecture 2017 by Dani Or
Dalton Prize Lecture 2017 by Dani OrDalton Prize Lecture 2017 by Dani Or
Dalton Prize Lecture 2017 by Dani OrRiccardo Rigon
 
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...Projecting Climate Change Impacts on Water Resources in Regions of Complex To...
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...Riccardo Rigon
 
The modern flood forecasting
The modern flood forecastingThe modern flood forecasting
The modern flood forecastingRiccardo Rigon
 
La moderna previsione delle piene
La moderna previsione delle pieneLa moderna previsione delle piene
La moderna previsione delle pieneRiccardo Rigon
 
Hydrological Extremes and Human societies
Hydrological Extremes and Human societies Hydrological Extremes and Human societies
Hydrological Extremes and Human societies Riccardo Rigon
 
The Science of Water Transport and Floods from Theory to Relevant Application...
The Science of Water Transport and Floods from Theory to Relevant Application...The Science of Water Transport and Floods from Theory to Relevant Application...
The Science of Water Transport and Floods from Theory to Relevant Application...Riccardo Rigon
 
The Science of Water Transport and Floods from Theory to Relevant Applications
The Science of Water Transport and Floods from Theory to Relevant ApplicationsThe Science of Water Transport and Floods from Theory to Relevant Applications
The Science of Water Transport and Floods from Theory to Relevant ApplicationsRiccardo Rigon
 
Hymod model for catchments
Hymod model for catchmentsHymod model for catchments
Hymod model for catchmentsRiccardo Rigon
 

More from Riccardo Rigon (20)

Models for hazards mapping
Models for hazards mappingModels for hazards mapping
Models for hazards mapping
 
A short introduction to some hydrological extreme phenomena
A short introduction to some hydrological extreme phenomenaA short introduction to some hydrological extreme phenomena
A short introduction to some hydrological extreme phenomena
 
EvaporAzione
EvaporAzioneEvaporAzione
EvaporAzione
 
Francesco Serafin
Francesco Serafin Francesco Serafin
Francesco Serafin
 
Meledrio
MeledrioMeledrio
Meledrio
 
Lisbon talk for SteepStreams
Lisbon talk  for SteepStreamsLisbon talk  for SteepStreams
Lisbon talk for SteepStreams
 
Grids implementation
Grids implementationGrids implementation
Grids implementation
 
Grids
GridsGrids
Grids
 
Some photos from the field
Some photos from the fieldSome photos from the field
Some photos from the field
 
Virtual water fem 07032017
Virtual water fem 07032017Virtual water fem 07032017
Virtual water fem 07032017
 
Dalton Prize Lecture 2017 by Dani Or
Dalton Prize Lecture 2017 by Dani OrDalton Prize Lecture 2017 by Dani Or
Dalton Prize Lecture 2017 by Dani Or
 
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...Projecting Climate Change Impacts on Water Resources in Regions of Complex To...
Projecting Climate Change Impacts on Water Resources in Regions of Complex To...
 
The modern flood forecasting
The modern flood forecastingThe modern flood forecasting
The modern flood forecasting
 
La moderna previsione delle piene
La moderna previsione delle pieneLa moderna previsione delle piene
La moderna previsione delle piene
 
Hydrological Extremes and Human societies
Hydrological Extremes and Human societies Hydrological Extremes and Human societies
Hydrological Extremes and Human societies
 
The Science of Water Transport and Floods from Theory to Relevant Application...
The Science of Water Transport and Floods from Theory to Relevant Application...The Science of Water Transport and Floods from Theory to Relevant Application...
The Science of Water Transport and Floods from Theory to Relevant Application...
 
The Science of Water Transport and Floods from Theory to Relevant Applications
The Science of Water Transport and Floods from Theory to Relevant ApplicationsThe Science of Water Transport and Floods from Theory to Relevant Applications
The Science of Water Transport and Floods from Theory to Relevant Applications
 
Climaware at the end
Climaware at the endClimaware at the end
Climaware at the end
 
Hymod model for catchments
Hymod model for catchmentsHymod model for catchments
Hymod model for catchments
 
Egu2017 pico
Egu2017 picoEgu2017 pico
Egu2017 pico
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

Cuashi2008revisited

  • 1. Hydrological Modelling in 2016 Concepts and deployment hints Rigon R. Arpae, Parma, 17 Maggio 2017 MarzioTamer
  • 3. !3 DataParametersEquations Mass, momentum and energy conservation. Chemical transformations Forcings and observables Equation’s constant. In time! In space they are usually heterogeneous Models we are talking about are computer applications In the past they were built as monolithic programs R. Rigon Which kind of models
  • 4. !4 I - Once a model, design and implemented as a monolithic software entity, has been deployed, its evolution is totally in the hands of the original developers. While this is a good thing for intellectual property rights and in a commercial environment, this is absolutely a bad thing for science and the way it is supposed to progress. RobbedfromaCCApresentation R. Rigon The old way
  • 5. !5 II - Independent revisions and third-party contributions are nearly impossible and especially when the code is not available. Models falsification (in Popper sense) is usually impossible by other scientists than the original authors. III- Thus, model inter-comparison projects give usually unsatisfying results. Once complex models do not reproduce data it is usually very difficult to determine which process or parameterization was incorrectly implemented. R. Rigon The old way
  • 6. !6 Q: HOW CAN WE BE MORE “GALILEIAN” ? A:YES, PRODUCING AND PROMOTING OPEN SOURCE MODELS. THIS HOWEVER IS NOT ENOUGH SINCE MODELS SHOULD BE STRUCTURALLY EASY TO UNDERSTAND, DOCUMENT, MODIFY, MAINTAIN,AND FAVOR PROCESSES ANALYSIS. R. Rigon The new way
  • 7. !7 MODELLING, FOR WHO ? Which end user do you have in mind ? Baboon,PapiusAnubis R. Rigon No models for everyone
  • 8. !8 • Prime users: take or prepare decisions at a political level • Technical users: prepare projects or maps for the primary users • Other end-users: national agencies, representative groups, etc.They may take or prepare decisions at national or regional level, or represent stakeholder groups. • Model and application developers/modellers: build models and targeted applications ModifiedfromRizzolietal.,2005 R. Rigon Users/Actors
  • 9. !9 • Coders: implement models, applications and tools. • Linkers: link existing models and applications. • Runners: execute existing models, but they create and define scenarios. • Players: play simulations and experiments comparing scenarios and making analyses. • Viewers: view the players’ results, have a low level of interaction with the framework. • Providers: provide inputs and data to all other user roles. Roles ModifiedfromRizzolietal.,2005 R. Rigon Roles
  • 10. !10 Modified from Rizzoli et al., ,2005 Roles Users Hard Coders Soft Coders Linkers Runners Player Viewers Providers Prime Other End Users Technical Researchers R. Rigon Users/Roles
  • 11. !11 Thus there exists a “zoo” of users, each one with different abilities. Bundling data, algorithms and the graphical user interface of a model in an application with the old techniques makes the models very hard to re-use out of its original context. R. Rigon Reuse
  • 12. !12 SO WHAT ? R. Rigon Solutions
  • 13. !13 Object-oriented software development. O-O programming is nothing new, but it has proven to be a successful key to the design and implementation of modelling frameworks. Models and data can be seen as objects and therefore they can exploit properties such as encapsulation, polymorphism, data abstraction and inheritance. NEW (well relatively) MODELING PARADIGMS ModifiedfromRizzolietal.,2005 R. Rigon Software Engineering Solutions
  • 14. !14 Component-oriented software development. Objects (models and data) should be packaged in components, exposing for re-use only their most important functions. Libraries of components can then be re-used and efficiently integrated across modelling frameworks.Yet, a certain degree of dependency of the model component from the framework can actually hinder reuse. NEW (well relatively) MODELING PARADIGMS ModifiedfromRizzolietal.,2005 R. Rigon Software Engineering Solutions
  • 16. !16 Discrete units of software which are re-usable even outside the framework, both for model components and for tools components. Seamless and transparent access to data, which are made independent of the database layer. A number of tools (simulation, calibration, etc.) that the modeller will be free to use (including a visual modelling environment). A model repository to store your model (and simulations) and to share it with others. BENEFITS R. Rigon Benefits
  • 17. !17 Tools for studying feedbacks among different processes. BENEFITS FOR SCIENTISTS Encapsulation of single processes or submodels MUCH MORE in the field of possibilities New educational tools and a “storage” of hydrological knowledge using appropriate onthologies R. Rigon Benefits
  • 18. !18 BENEFITS FOR PROJECTS’ MANAGEMENT Easily tracking of software authorship. Developers concentrate on components and not on the overall Components are maintained. Not models.This can make easier to update modelling solutions Components are updated. Not models. Components are debugged and tested. Not models. Encapsulation helps. Well, model solutions integrity must also be preserved. R. Rigon Benefits
  • 19. !19 T H E R E E X I S T S U C H M O D E L I N G INFRASTRUCTURE ? Economic modelling frameworks^. GAMS (general algebraic modelling system, http://www.gams.com) and GTAP (global trade analysis program, http:// www.gtap.agecon.purdue.edu ) are some of the most used modelling systems in the agro-economic domain.They can also account for social variables, such as unemployment. ^from Rizzoli et al., (Modeling Framework (SeamFrame) Requirements 2005 R. Rigon Existing Examples: not updated but useful
  • 20. !20 T H E R E E X I S T S U C H M O D E L I N G INFRASTRUCTURE ? Environmental modelling frameworks. If we limit to the agricultural domain, the list is quite limited.There is no ‘real’ framework according to the definition, but APSIM, STICS and CropSyst provide some of the functionalities. In this area SEAMFRAME is an emerging technology.When we consider the water management sector, we find many examples, such as TIME (the invisible modelling environment), IMT, OpenMI, and OMS, and, to a certain respect, JUPITER-API. ^ extended from Rizzoli et al., (Modeling Framework (SeamFrame) Requirements 2005 R. Rigon Existing Examples: not updated but useful
  • 21. !21 T H E R E E X I S T S U C H M O D E L I N G INFRASTRUCTURE ? Other modelling software environments of notable interest are SME, MMS, ICMS, Tarsier, Modcom, Simile, but they are integrated modelling environments, not frameworks.This means that they can be used to perform assessments, analyses, decision support, but they do not provide programming structures such as classes, components, objects, design patterns to be used to create end-user applications. ^from Rizzoli et al., Modeling Framework (SeamFrame) Requirements, 2005 R. Rigon Existing Examples: not updated but useful
  • 22. !22 T H E R E E X I S T S U C H M O D E L I N G INFRASTRUCTURE ? Atmospheric Sciences: Earth Sciences Modeling Framework (ESMF) (including Earth System Curator) High Performance Computing: Common Component Architecture (CCA) R. Rigon Existing Examples: not updated but useful
  • 23. !23 A F T E R 1 0 Y E A R S , W H Y T H E S E I N F R A S T RU C T U R E S D I D N OT EMERGE ? R. Rigon TOO INVASIVE ! TOO MANY COMPUTER SCIENTISTS,TOO FEW HYDROLOGISTS ? Existing Examples: here they are useful
  • 24. !24 A BLUEPRINT ? Escher-Drawingshands,1948 R. Rigon Infrastructure design
  • 25. !25 DataParametersEquations Mass, momentum and energy conservation. Chemical transformations Forcings and observables Equation’s constant. In time! In space they are heteorgeneous Numerics, boundary and initial conditions Data Assimilation. Data Models. Tools for Analysis. Calibration, derivation from proxies To Sum up R. Rigon Infrastructure design
  • 26. !26 Decision making EVALUATION OF STRATEGIES THROUGH MODELS STRATEGIES FOR POLICY MAKERSDATA INTERPRETATION EVALUATION OF STRATEGIES THROUGH MODELSEVALUATION OF STRATEGIES THROUGH MODELS DATA INTERPRETATION DATA INTERPRETATION STRATEGIES FOR POLICY MAKERS STRATEGIES FOR POLICY MAKERS R. Rigon Infrastructure design
  • 27. !27 PREREQUISITES General Programming LANGUAGE NEUTRAL PLATFORM NEUTRAL: Windows, Linux and Mac OPEN SOURCE TARGETED AT PERSONAL PRODUCTIVITY OF DIFFERENT USERS People come before program efficiency. BUSINNES NEUTRAL: GPL would be fine if encapsulated in components R. Rigon Infrastructure design
  • 28. !28 PREREQUISITES Technologies ALLOWS WRAPPING OF EXISTING CODES BUT PROMOTES BETTER PROGRAMMING STRATEGIES DATA BASE AWARE DEPLOYABLE THROUGH THE WEB or as a web-server USES MULTICORES COMPLIANT OF STANDARDS (OGC, CUAHSI, OTHERS) R. Rigon Infrastructure design
  • 29. !29 PREREQUISITES Documentation/Replicability WITH TOOLS THAT HELPS DOCUMENTATION COMPLIANT TO STANDARDS FOR DEFINING VARIABLES (e.g.VARIABLES AND PARAMETERS) MANAGED IN A PUBLIC REVISION CONTROL SYSTEM (e.g. GIT) HAVING A STANDARD WAY AND PLACES TO EXPOSE DOCUMENTATION R. Rigon Infrastructure design
  • 33. !33 tion. As with any EMF, fully embracing the OMS3 architecture requires a commitment to a structured model development process which may include the use of a version control system for model source code management or databases to store audit trails. Such features are important for institutionalized adoption of OMS3 but less critical for adherence by a single modeler. techniques such as parameterized types, higher level data struc- tures and/or object composition. The use of object-oriented design principles for modeling can be productive for a specific modeling project that has limited need for external reuse and extensibility. Extensive use of object-oriented design principles can be difficult for scientists to adopt in that adoption often entails a steep learning Fig. 1. OMS3 principle framework architecture. Please cite this article in press as: David, O., et al., A software engineering perspective on environmental modeling framework design: The Object Modeling System, Environmental Modelling & Software (2012), doi:10.1016/j.envsoft.2012.03.006David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design: The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006 OMS Rigon et al.
  • 34. !34 deling components nction and continue ve characteristics of a modeling object interfaces to imple- methods to override, es to use. OMS3 uses specify and describe s and class methods ode quality of using rsus traditional API tudy comparing the hydrology models pplied several code ics of the different non-invasive frame- ncise model imple- ode and lower code ment. For example, ite model required quired between 450 mplementations had e modeling results. S model in OMS3 exchange items), and management of various execution states within components including “Initialize/Run/Finalize” as described by Peckham (2008). While object-oriented methods focus on abstraction, encapsula- tion, and localization of data and methods, their use can also lead to simulation systems where objects are highly co-dependent. To Fig. 2. OMS3 component architecture including data flow, execution phases, and encapsulation. A software engineering perspective on environmental modeling framework design: The Object Software (2012), doi:10.1016/j.envsoft.2012.03.006 David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design: The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006 Components again Rigon et al.
  • 35. !35 (Duriancik et al., 2008). RUSLE2 has historically been used as a WindowsÔ-based desktop application to guide conservation planning and inventory erosion rates over large areas. The model provides a reusable computational engine that can be used without a user interface for model runs in other applications. RUSLE2’s water supply forecasts with sh of distributed-parameter, phy an Ensemble Streamflow P primary ESP model base (Leave and the PRMS hydrological wa be used to address a wide var information on the volume an improve water supply forecas ology is a modified version of National Weather Service (D synthesized meteorological da timeseries data used as model A visualization tool runn visual display of user-selec performs a frequency analys the simulated hydrograph tr historic years used with thei ance. Different options are analysis. One assumes that all an equal likelihood of occ weighting user-defined perio a priori information, are also b and Pacific Decadal Oscillatio fied in the ESP procedure, and separately for analysis. The P will provide timely foreca community in the western a major source of water supp Another modeling applicati the OMS3 framework is the c Ecosystem-Watershed) modeFig. 4. Cloud Services Innovation Platform (CSIP) software architecture. Please cite this article in press as: David, O., et al., A software engineering perspective on environmental mo Modeling System, Environmental Modelling & Software (2012), doi:10.1016/j.envsoft.2012.03.006 David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design: The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006 CSIP Rigon et al.
  • 36. !36 ulation of water quantity and quality in large watersheds ough et al., 2010). AgES-W consists of Java-based simulation modeling frameworks are currently under development wor with the primary purpose of integrating existing and futur Fig. 5. CSIP/OMS3-based mobile RUSLE2 erosion model application. O. David et al. / Environmental Modelling & Software xxx (2012) 1e13 David, O., Ascough, J. C., II, Lloyd, W., Green, T. R., Rojas, K. W., Leavesley, G. H., & Ahuja, L. R. (2012). A software engineering perspective on environmental modeling framework design: The Object Modeling System. Environmental Modelling and Software, 1–13. http://doi.org/10.1016/j.envsoft.2012.03.006 CSIP Rigon et al.
  • 39. !39 INTEGRATION One very diffuse platform in the operational environments is Deltares’ Fews. It is, unfortunately, not open source*: but free. However, it seems, that the chain of tools that derives from GEOframe can be seamlessly integrated in it. This is certainly a perspective to explore further Rigon et al. https://oss.deltares.nl/web/delft-fews/ *It is not available for MAC too
  • 40. !40 Find this presentation at http://abouthydrology.blogspot.com Ulrici,2000? Other material at Questions ? R. Rigon http://abouthydrology.blogspot.it/2016/05/geoframe-system-for-doing-hydrology-by.html