dsd-int 2015 - developments of delwaq engine new d-water quality of delft3d flexible mesh - jos van...

20
9 november 2015 Developments of DELWAQ engine & new D-Water Quality of Delft3D Flexible Mesh Jos van Gils Symposium Water Quality and Ecological modelling Delft Software Days International 2015

Upload: delftsoftwaredays

Post on 11-Apr-2017

453 views

Category:

Software


0 download

TRANSCRIPT

Page 1: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

9 november 2015

Developments of DELWAQ engine &

new D-Water Quality of Delft3D Flexible Mesh

Jos van Gils

Symposium Water Quality and Ecological modelling

Delft Software Days International 2015

Page 2: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The DELWAQ engine

9 november 2015

Page 3: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The DELWAQ engine

• Computer program that performs water quality simulations

• Linked to hydrological, hydrodynamic and water allocation models

• Created in early 1980s after USA examples (WASP)

• Centrally maintained source code since 1989

• Open source since 2013

>100 licensees world-wide

>1000 model applications

• rivers, lakes

• seas, lagoons, deltas

• canal systems (polders, irrigation systems)

• urban water systems

9 november 2015

Page 4: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The Open Source DELWAQ engine

www.oss.deltares.nl :

-> Source code can be downloaded as part of the Delft3D repository

-> Discussion forum dedicated to DELWAQ

-> Webinars available on-line:

• compiling and running D-Water Quality on Windows

• water quality modelling with DELWAQ - Principles and notable

applications

28 november 2012

Page 5: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The Open Source DELWAQ engine

• One standard version maintained by Deltares

• “project” versions by various developers, inside and outside

Deltares

• Periodic upgrades of the standard version:

• Bug fixes

• Added functionality

• general applicability

• proven quality

agreed by maintenance team and key developers

(use the OSS forum or contact us directly!)

9 november 2015

Page 6: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The Open Source DELWAQ engine

Most recent functionality added

• Carbon limitation of phytoplankton

• Integration of PART(icle modelling) code in DELWAQ

with option to combine both

approaches

• floating oil in PART

dispersed oil in DELWAQ

• Integration of IBM’s

(individual based models) and

classic water quality models

9 november 2015

Page 7: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The Open Source DELWAQ engine

Updates under discussion / development

• NetCDF output (external standard)

• Phytoplankton light conditions with strong horizontal gradients

• Processes Library

• Improved pH modelling

• DEB model for grazers

• Spectral light modelling

• Integration with Delft3D-MOR layered bottom module

• Enhanced functionality of vegetation modelling

• New transport scheme “24”

9 november 2015

Page 8: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

New transport scheme 24

• Variable time step (in space and time)

• Unconditionally stable

• 2nd order accurate

• Also suitable for diffusion dominated systems

• Avoids use of “flowcheck” tool

• Test applications show good results and good performance

• We are testing and resolving small problems

• We think this scheme can replace most of the existing ones and

make the DELWAQ user’s life much easier

9 november 2015

Page 9: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

D-Water Quality of Delft3D Flexible Mesh

9 november 2015

Page 10: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

D-Water Quality of Delft3D Flexible Mesh

• Developed in 2015, as a plugin in the Deltashell framework

• Based on the existing Sobek 3.0 1D WAQ plugin

We did not want a new 2D/3D plugin next to the existing 1D plugin

but

a versatile 1D-2D-3D D-Water Quality plugin that does not obstruct in

any way the versatility of the DELWAQ engine DELWAQ

• 1D workflow is 95% the same as 2D-3D workflow

• we want the plugin to be as flexible as DELWAQ

Page 11: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

the versatility of the DELWAQ engine

9 november 2015

Sobek 1D-2D Sobek-Delft3D WFD Explorer WFLOW

Delft3D SIMONA D-FM POM

Telemac Shyfem Untrim Ribasim

Page 12: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

The building process

NOT a copy of the existing Sobek and Delft3D GUI’s

but:

• Keep what is good

• Use new technology

• New approaches for what does not work in practice

• ambition

&

• risk

9 november 2015

Page 13: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

Highlights

• Same look-and-feel for 1D / 2D-3D

• Keep the “hyd-file”: geometry & water flows,

BUT GENERIC: Sobek 3; Delft3; Delft3D flexible mesh; …….

• Keep the “sub-file”: definition of states, processes, input, output

(Processes Library),

start working on standard files,

better access to “openPB” files (user defined processes)

• Completely different approach for input of loads and boundary

conditions

• Input file always accessible, and archived as part of a model:

• Quality Assurance, work around bugs, no GUI functionality

limitations

• Face-lift!

9 november 2015

Page 14: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

9 november 2015

Page 15: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

9 november 2015

Page 16: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

Soon available ..

9 november 2015

Page 17: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

Boundaries and loads

(Nobody ever edits more than 4 numbers)

• Mirror flexibility of DELWAQ block 5/6

• Focus on Import and management of DataTables:

> Data of similar structure for 1 or more boundaries or loads

as available in practice

> Limited manipulation required

> GUI translates to tables for individual boundary/load in

correct format

> INCLUDE file is added for substance aliases (USEFOR)

> Multiple location aliases supported

• Boundaries / loads can be derived from different data tables

(one for flow data, one for quality, one for ecology,…)

9 november 2015

Page 18: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

Scripting

• Expert users can create scripts

• sequence of repeated operations

• e.g. fraction simulations

• scenario simulations / sensitivity analysis

• spatial operations not (yet) supported

• moving monitoring point

• spatial input data with old formats, other grids, etc.

• Scripts can be exchanged between users and even be added to

the official “Toolbox”

9 november 2015

Page 19: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

Where are we?

We are satisfied about what we achieved!

We realize that not all is finished yet (we had limited time):

• Some changes were ambitious and the first implementation lead to

better insight and the need to improve

• Some features could not be implemented yet

Yet we are ready to start using the new software in our projects

We invite you to do the same and share your experiences with us!

9 november 2015

Page 20: DSD-INT 2015 - Developments of Delwaq engine new D-water quality of Delft3D Flexible Mesh - jos van gils

… for your attention!

9 november 2015