Coupling External Modules into Delft-FEWS

17
COUPLING EXTERNAL MODULES INTO Delft-FEWS Antonio Morales System Architect @ Adasa April 27 th Delft-FEWS Users Days 2016

Transcript of Coupling External Modules into Delft-FEWS

Page 1: Coupling External Modules into Delft-FEWS

COUPLING EXTERNAL MODULES INTO Delft-FEWS

Antonio Morales System Architect @ Adasa

April 27th Delft-FEWS Users Days 2016

Page 2: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Content

Java developments

.NET developments

R developments

Coupling external modules into Delft-FEWS

Page 3: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Java developments

Benefits:

Java is easy to learn

Write once, run anywhere

Java is object-oriented

Java is platform-independent

Client/server architecture, network capabilities

Performance

Dynamic, extensible

Page 4: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

.NET developments

Benefits:

Simple to use, broadly available

Windows-based applications

Robust, stable, secure applications

Easy deployment and maintenance

Recommended for apps with graphical user interfaces

Handles connectivity with user

Page 5: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

R developments

Benefits:

R is the leading statistical analysis language available

Free and open source

Platform independent

Highly extensible

Available packages for managing spatial data (shp, rasters)

Easy to integrates with other languages like C, C++ or Python

Page 6: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

But wait…

Page 7: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Coupling external modules into FEWS

Capability to expand FEWS functionalities by coupling external modules

Flexibility to chose the right coding language to each specific development

Easy external module coupling

Java

.NET

R

Page 8: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

How is data integrated?

Delft-FEWS accepts the integration of various input formatsBut what happen when your data is not on these formats?And how do you bring the data into the Delft-FEWS import folders?

Adapters and parsers can be built to import any kind of data

Real-time non-stop integration and display of data

Java was used to implement the adapters for these sources

PI XML

NETCDF

ASCIIG r i d

DBFTP

HTTP.JSON.XML.CSV.XLS

Page 9: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Hydrological models in FEWS?

FEWS can integrate models from a large list of vendorsBut what happen when you look for an enhanced adapter?

Our hydrological model adapter includes an irrigation module that estimate farmers’ irrigation based on historical trends

Adapter and irrigation module have been implemented in Java

PI XML

PI XML

DFS0RR11

Irrigation module

RES11

SIM11

Input files Initial conditions

Execution

Output files

Page 10: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Hydraulic models in FEWS?

FEWS can integrate models from a large list of vendorsBut what happen when you look for an enhanced adapter?

Our hydraulic model adapter includes external modules to apply data assimilation processes

The hydraulic models adapter has been implemented in Java

PI XML

PI XML

DFS0HD11

RES11

Input files Initial conditions

Execution

Output files

NWK11

BND11SIM11

Data assimilation Data assimilation

Page 11: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Corporate and business rules can also be used into Delft-FEWS

Water entitlements trading assessment toolTake the best of Delft-FEWS: visualisation, modifiers, general adapter

…but don’t be limited by it.

Tool and adapter were implemented in Java

PI XML

PI XML

Modifiers Visualisation

External data

External modules

Using corporate data into FEWS?

Page 12: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Can external tools also be developed?

Delft-FEWS provides great features: visualisation, integration, modelling, etc.

But what happen if you need more?

Irrigation Scheme Modifications toolTake the best of Delft-FEWS... and add what you required

The tool interface was developed using .NET

PI XML

PI XML

DFS0HD11

RES11

Input files Initial conditions

Execution

Output files

NWK11

BND11SIM11

Page 13: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Can we work with spatial data?

FEWS is able to manage and represent spatial data, both vectorial and raster

But what happen if you are working with really big data sets?Or if you are applying complex spatial data analysis?

Satellite images processing and kc data calculation

We used R to develop the satellite image data analysis

PI XML

ASCIIG r i d

TAR GZ

1.8 GB

DBF

Page 14: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Complex statistical analysis in FEWS?

Delft-FEWS provides some good transformations to apply statistical analysisBut what if you want to apply complex statistical analysis like fitting Linear Models or applying Dynamic Linear Models?

Data Assimilation

R has been coupled with Delft-FEWS for the complex statistical analysis

PI XML

PI XML

DFS0HD11

RES11

Input files Initial conditions

Execution

Output files

NWK11

BND11SIM11

Page 15: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Which is the missing ingredient?

Page 16: Coupling External Modules into Delft-FEWS

www.adasasistemas.com

Project management

IT Solutions

… the TEAM

Hydrology & Modelling

PabloCocko

FerranSallan

AntonioMorales

BricelisUrbina

MikelMorales

MartaHedo

SergioTorok

JavierTorralba

AlirezaVahidi

XaviValls

AlbertFarré

LaiaCarmona

XavierBonache

ElenaBorrell

JosepSelles

JordiAyats

Page 17: Coupling External Modules into Delft-FEWS

www.adasasistemas.com www.mirrigation.com.au

rwi.adasasistemas.com