HAL Id: hal-03010156
https://hal.inrae.fr/hal-03010156
Submitted on 17 Nov 2020
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
Distributed under a Creative CommonsAttribution - NonCommercial - NoDerivatives| 4.0 International License
OpenFLUID : an open-source software environment for modelling fluxes in landscapes
Jean-Christophe Fabre, Michael Rabotin, David Crevoisier, Aline Libres, Cécile Dagès, Roger Moussa, Xavier Louchart, Philippe Lagacherie, Damien
Raclot, Marc Voltz
To cite this version:
Jean-Christophe Fabre, Michael Rabotin, David Crevoisier, Aline Libres, Cécile Dagès, et al.. Open- FLUID : an open-source software environment for modelling fluxes in landscapes. EGU General As- sembly, Apr 2013, Vienna, Austria. 2013. �hal-03010156�
An open-source software environment for modelling fluxes in landscapes OpenFLUID
Jean-Christophe Fabre
1*, Michaël Rabotin
1, David Crevoisier
1Aline Libres
1, Cécile Dagès
1, Roger Moussa
1, Xavier Louchart
1,3Philippe Lagacherie
1, Damien Raclot
2and Marc Voltz
1UMR LISAH, INRA1, IRD2, SupAgro
Laboratory of Interactions Soil - Agrosystem - Hydrosystem 2 place Pierre Viala, F-34060 MONTPELLIER CEDEX 1, France Tel: + 33 (0)4 99 61 22 61
www.umr-lisah.fr
*Corresponding author: [email protected]
Context, concepts and simulations Modelling application examples using OpenFLUID
An open-source layer cake with candies
www.openfluid-project.org
simulation function
libopenfluid-machine
Boost GLibmm libXML2
GTKmm
Linux Windows Other Unices operating
system support libraries
OpenFLUID applications (openfluid command line, openfluid-builder GUI, ...) observer simulation
function
simulation
function observer
OpenFLUID applications
pluggable simulation functions for integration of models
libopenfluid-core
libopenfluid-buddies libopenfluid-landr
libopenfluid-base
OpenFLUID framework
Mac OSX
GEOS libopenfluid-market
libopenfluid-tools
libCURL GDAL
OGR
libopenfluid-fluidx libopenfluid-ware
pluggable observers for simulation monitoring
OpenFLUID framework
ROpenFLUID package
PyOpenFLUID module
KML observer
VTK observer
Other observers for exporting
data
Landscapes are complex systems where many processes interact in time and space. In agro-ecosystems, these processes are mainly physical processes, including hydrological-processes, biological processes and human activities. Modelling such systems requires an interdisciplinary approach, coupling models coming from different disciplines, developed by different teams.
In order to support collaborative works, involving many models coupled in time and space for integrative simulations, an open software modelling platform is a relevant answer.
OpenFLUID is a software framework and an operational platform for integrative modelling and simulation of landscapes functionning. It allows to build spatial simulations based on i) pluggable models which are coupled, ii) a digital representation of the landscapes.
contact@openfluid-project.org
@OpenFLUID
Input dataset
control
simulation values export
simulation data
model for process A
model for processes
B and C
model for process D
digital landscape representation,
coupled model configuration,
monitoring definition, ...
simulation scheduler spatial graph
manager
command line interface
graphical interface
OpenFLUID framework
OpenFLUID simulations can be run either using the command line interface or the graphical user interface.
During simulations, the plugged models compute and exchange variables and events attached to every spatial graph node. The plugged observers can monitor the simulation continuously, for exporting data, controlling values, or for performing any non intrusive operation. The data storage and exchanges over the spatial graph for the model coupling is managed by the platform engine.
Simulation results
atmospheric processes
Landscapes are represented as a hierarchical graph where nodes represent the spatial units (fields, ditches, roads, rivers, ...) and can embed rich information (geometry, physical properties, simulation variables,...). Edges represent the connections (from-to, child-parent) between these spatial units.
Objectives: 1) studying the effect of intra- field variability on the runoff generation and flow pathways, 2) comparing different implementations of the same hydrological process.
Methods: A 1200 m² vineyard field (Roujan, France) is divided into more than 1000 surface units. The coupled model is made of a rainfall-runoff model and three surface transfer models which are interchanged for
implementations comparison. LegendDitch units Intra-plot units
Row Inter-row
Aerial photgraphy 5 0 5 10 meters
Runoff pathways at field scale
Objectives: Studying the impact of agricultural practices changes and buffer zone implanting on pesticide transfer to surface water.
Risk analysis of water contamination by pesticides
Hydrological network topology effects Simplified modelling of traffic on Manhattan streets
OpenFLUID relies on many open-source libraries for the core architecture and functioning (Boost, GLib, libXML2, libCURL), the management of GIS data (GDAL, OGR), the spatial algorithms (GEOS) and the GUI features (GTK).
All of these libraries licenses allow a non-restrictive reuse.
OpenFLUID is licensed under the terms of the GPLv3 license, with a special exception.
This special exception allows to plug and distribute models which are not compliant with the standard GPL license.
OpenFLUID uses a collaborative approach either for its development and the scientific applications. OpenFLUID make the sharing of knowledge and source codes easier.
OpenFLUID software, documentation and collaborative support are available on the web site: http://www.openfluid-project.org OpenFLUID source code is available on the GitHub open-source hosting platform: http://github.com/OpenFLUID/
Objectives: Studying the impact of hydrological network density on erosion and surface water accumulation.
Methods: 8000 simulations using a rainfall-runoff-transfer coupled model, with differents hydrological networks densities and topologies (Levavasseur et al. 2012).
low density high density balanced density
Spatial processes are represented as one or many models.
These models simulate the dynamics of processes by computing data attached to every node of the graph, and can rely on rich information embedded by nodes and edges.
The spatial coupling of models is based on controlled data exchanges over the spatial graph.
OpenFLUID modelling Real landscape
Objectives: Using OpenFLUID in a very different context of usual applications, demonstrating its abilities in modelling various types of spatial fluxes.
Methods: A simplified coupled model of road traffic transfer and traffic lights switching, applied to a spatial representation of streets in a urban context.
Model Model
Model
Methods: Puissalicon
catchment (100ha, France) is divided into 190 surface
units (fields, roads, banks, buffers) and 40 reach segments (ditches, pipes, rivers). The coupled model is made of hydrological models and fate-and-transfer pesticide models.
ENVILYS3
Domaine du Chapitre
170 boulevard du Chapitre
F-34750 Villeneuve-lès-Maguelone, France Tel: + 33 (0)4 99 92 24 50
www.envilys.com
subsurface pr
ocesses subsurface pr
ocesses surface processes
surface processes
surface processes surface processes
surface processes surface processes
The OpenFLUID framework can be embedded into the Python language using the PyOpenFLUID module, or into the GNU R statistical environment using the ROpenFLUID package.
The pluggable models can be easily developed de novo or encapsulate existing models using the dedicaded development environment. They are written in C++ or compatible language (C, Fortran, ...)
models repositories
store for personal or shared reuse
reuse of existing models direct use
of models
Models development and sharing
coupled model
simulation monitoring
The input dataset can be built by hand using text editors or
GIS environments,
or using specifc tools such as GeoMHYDAS
(Lagacherie et al, 2010)
Simulation execution
Spatial graph
This poster is licensed under a Creative Commons license