Migration status

  • Home Page: Activity map.

intro story DELWAQ

DELWAQ

DELWAQ is the engine of the D-Water Quality and D-Ecology programmes of the Delft3D suite. It is based on a rich library from which relevant substances and processes can be selected to quickly put water and sediment quality models together.

The processes library covers many aspects of water quality and ecology, from basic tracers, dissolved oxygen, nutrients, organic matter, inorganic suspended matter, heavy metals, bacteria and organic micro-pollutants, to complex algae and macrophyte dynamics. High performance solvers enable the simulation of long periods, often required to capture the full cycles of the processes being modelled.

The finite volume approach underlying DELWAQ allows it to be coupled to both the structured grid hydrodynamics of the current Delft3D-FLOW engine and the upcoming D-Flow Flexible Mesh engine (1D-2D-3D) of the Delft3D Flexible Mesh Suite (or even other models such as TELEMAC).

'DELWAQ in open source' is our invitation to all leading experts to collaborate in further development and research in the field of water quality, ecology and morphology using Delft3D. Feel free to post your DELWAQ related questions or comments in this dedicated forum space. If you are new to DELWAQ, the tutorial (in the user manual) is a good place to start. A list of DELWAQ related publications is available here.

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ

Cohesive sediments & muddy systems

 


Message Boards

Format of time series file for import

RS
Martin Schueder, modified 5 Years ago.

Format of time series file for import

Padawan Posts: 52 Join Date: 10/8/13 Recent Posts
Hello,

I apologize for the recent barrage of questions, but I am having issues with time series files in WAQ. Even using the information in pages 357-358 of the D-Water Quality manual and following the sample script template provided by Mathieu Chatelain here I am unable to import my .tim file into Delft3D-WAQ. Instead I repeatedly get the error:

"Error importing the data file: syntax error near or at line 0 [t]"

here is the content of my .tim file:

table-name 'discharge 1'
contents 'waste load data'
location 'discharge1'
grid indices 63 113
layer -4
time-unit 'days'
reference-time 20141609 0
time-function 'non-equidistant'
interpolation 'linear'
parameter 'time' unit 'days'
parameter 'Flow' unit '[-]'
parameter 'Continuity' unit '[-]'
parameter 'ModTemp' unit '[-]'
parameter 'OXY' unit '[-]'
parameter 'CBOD5' unit '[-]'
parameter 'NH4' unit '[-]'
parameter 'NO3' unit '[-]'
parameter 'PO4' unit '[-]'
parameter 'TIC' unit '[-]'
parameter 'Alka' unit '[-]'
parameter 'Diat' unit '[-]'
parameter 'Green' unit '[-]'
3.75E-01 3.30E-02 1.00E+00 1.86E+01 5.82E+00 5.00E+00 5.90E-02 3.00E+01 1.37E+00 1.35E+02 1.16E+02 0.00E+00 0.00E+00
1.38E+00 3.26E-02 1.00E+00 1.83E+01 5.27E+00 5.00E+00 4.90E-02 3.35E+01 1.59E+00 1.53E+02 1.35E+02 0.00E+00 0.00E+00
2.38E+00 3.29E-02 1.00E+00 1.82E+01 4.11E+00 5.00E+00 1.05E-01 3.63E+01 2.24E+00 1.44E+02 1.26E+02 0.00E+00 0.00E+00
.....
....
....
2.84E+01 3.09E-02 1.00E+00 1.77E+01 3.04E+00 5.00E+00 9.60E-02 3.63E+01 1.41E+00 1.34E+02 1.18E+02 0.00E+00 0.00E+00

Is there a clear indication of where I am going wrong? I have also tried to edit the input file at the sixth block in order to incorporate this discharge but it does not appear to register in the GUI.

My thanks again,

Martin
AA
Anonymous Anonymous, modified 5 Years ago.

RE: Format of time series file for import (Answer)

Youngling Posts: 0 Join Date: 7/30/20 Recent Posts
Hi Martin,
could it be the 'grid indices' token that is not recognized? I've never seen it, and couldn't find any mention of it in the user manual. Rest of the TIM-file looks good!
Idea behind TIM-file is that they are not grid-specific. D-WAQ does the conversion to the grid indices for you, meaning that you can use the same TIM-file for different grid schematizations. Hence, I would define the waste load position by using its 'metric coordinate', which is a pre-defined token.

Also, you can directly edit the INP-file. As you mentioned correctly, edits are not registered in the GUI. However, they are taken into account when running your model. Nonetheless, be careful, since any subsequent modification via the GUI will erase the changes you made in the INP-file (solution is to make a copy of the INP-file, e.g. "mywaqrun_edit.inp")

To check that INP-file edits of the loadings are correctly read by D-WAQ, two steps:
- after delwaq1.exe, look at block 6 in the LST-file. It should explicitly list your loading data with all its details.
- after/during your run, look at the MON-file. Loadings should lead to mass changes at the discharge location (btw, it may be wise to define a monitoring point there to allow that rapid check).

Hope that helps,
Cheers
AM
Arjen Markus, modified 5 Years ago.

RE: Format of time series file for import (Answer)

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
Well, even after replacing "grid indices" by "metric coordinates" it does not work. Something is going wrong in the GUI. This will have to be looked into, because even if the syntax is wrong, the GUI should not get stuck. I have created a new issue for this: DELFT3D-33719: Delft3D-WAQ-GUI: Importing a particular tim-file causes the GUI to get stuck
RS
Martin Schueder, modified 5 Years ago.

RE: Format of time series file for import

Padawan Posts: 52 Join Date: 10/8/13 Recent Posts
Hello,

Thank you both for your replies. Until I am able to import .tim files in WAQ, I will edit the .inp file in order to produce time-series discharge inputs and time-series process parameters. So far I think this approach has been effective for discharges and I will also try editing process parameters in this way soon.

My thanks,

Martin
AM
Arjen Markus, modified 5 Years ago.

RE: Format of time series file for import (Answer)

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
Well, I found the error: the reference date was given as "20141609" - so year-day-month, instead of year-month-day. This led to an invalid Julian date and then to an overwriting of a local variable in the routine that builds the list of times.

So, the solution for now is to use a correct reference date and time - 20140916 in the above case.

And I need to catch this error in the reading routines.

Regards,

Arjen
TT
telobi3311 telobi3311, modified 1 Month ago.

RE: Format of time series file for import

Padawan Posts: 35 Join Date: 8/11/20 Recent Posts
Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. https://royalcbd.com/cbd-oil-cost/
Treat Assignment Help, modified 10 Days ago.

RE: Format of time series file for import

Youngling Posts: 2 Join Date: 6/22/20 Recent Posts
Get History Assignment Help in the UK by expert academic writers. Our assignment helpers aim to provide 100% plagiarism free assignment help. Our approach to the core values helped us from being the most promising online assignment help to the student’s favorite assignment help in the UK. Contact us today & get a Reasonable pricing quotation. Contact us by email at help@treatassignmenthelp.co.uk and our experts will contact us as soon as possible. Call us at Toll-Free Number Or Whatsapp at +44 7520644027 ..!!For More Services: Management Assignment Help | Law Essay Help | Marketing Dissertation Help | Programming Language Assignment Help
JB
Jaime Bradley, modified 10 Days ago.

RE: Format of time series file for import

Youngling Posts: 1 Join Date: 9/11/20 Recent Posts
Hello, I would like to thank you for sharing this material you have shared here will be useful for my https://qualitycustomessays.com task.
TT
telobi3311 telobi3311, modified 6 Days ago.

RE: Format of time series file for import

Padawan Posts: 35 Join Date: 8/11/20 Recent Posts
Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. pet boarding facility singapore