Migration status

Although the new site is live, work is still in progress to improve it.

Known issues:

  1. Forums: The organization of (sub-)categories and threads is disrupted. Please use the search box inside the "Message boards" to navigate.

Message Boards

Tutorial 6 compute water balance

NV
Nadine Vogel, modified 4 Years ago.

Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hello,
I wonder if there might be a problem with computing the water balances?
If I try to use the compute waterbalance tool and choose the bdg* files, there is always the message "Found NO correct files, lacking layer OR time" (see attached file)
In the tutorial it is mentioned that it is important to choose the right output variable during the model simulation ("Important is that you select the appropriate output variables prior to your
simulation"). I didn't think that I have chosen the wrong one. But anyway I tried it with every other output variable in the end. But nothing changed. The message remained the same.
I looked in the manual for the "compute waterbalances" tool to read a bit about it and saw that normally iMod says how many correct files are found ("Displays the number of files (28) that are correct (i.e. they fulfill the naming convention as described above and contain model layer information (_L*) and a date string (YYYYMMDD) or STEADY-STATE keyword, e.g. bdgflf_steady-state_l1.idf or bdgflf_20111231_l8.idf"). I checked my files and they are named this way, so this can't be the problem.
Does anyone have an idea what the problem is?
Kind regards,
Nadine

Attachments:

PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance (Answer)

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi Nadine,

Unfortunately this is compatibility issue between iMOD and iMODFLOW. We will fix this in the next release, scheduled june. For now, a work-around is as follows:

The current budget filenames are all in lowcase:

bdgriv_sys1_steady-state_l1.idf

but these need to be in uppercase and the syntax of the filenames need to be:

BDGRIV_STEADY-STATE_SYS1_L1.IDF

Sorry, for the inconvenience, with Total Commander it is very easy to apply these filename conversions. But this work-around should work for now.

Don't forget to switch the option Use System Files on the second tab. Alternatively, you could use the IMODBatch function WBALANCE instead, sometime the usage of an IMODBatch function is more convenient.

Kind regards,
Peter Vermeulen
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hello Peter,
thank you for your answer. I would have never thought of that.
Kind regards,
Nadine
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hello Peter,
there is one thing left for the water balances.
My output textfile is missing all the information on drainage, rivers and overland flow. They are not appearing at all. Although the BDG files are existing and renamed.
Did I miss anything there?
Kind regards,
Nadine
PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi,

I've just finished a new version of iMOD that handles the different name-conventions correctly, so whenever the new release is coming out, your problems should be solved. However, for now, could you send me a list of the files that should be in the water balance but are not appearing?

Kind regards,
Peter
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hello Peter,
I have 8 different folders (BDGBND, BDGDRN, BDGFFF, BDGFLF, BDGFRF, BDGRCH, BDGRIV and BDGWEL).
The BDGDRN and the BDGRIV folder contain 16 files (8 for SYS1 and 8 for SYS2) and all the other folders contain 8 files. Makes 80 files in total.
When I choose those folders in the compute waterbalance window, iMod says that it found 80 correct files. So it finds all of them but in my texteditor values for Drainage, Rivers and Overland Flow are missing (see below).
I can attach a zip file of one of my modelfolders. I just recognized, that in none of my models a BDGOLF folder was created. I don't know, if iMod needs that for the overland flow. Maybe this is the problem. But when you have a look in the folder all files should be named in the right way (e.g. BDGRIV_SYS1_STEADY-STATE_L1, BDGDRN_SYS2_STEADY-STATE_L8).
Kind regards,
Nadine

Period : STEADY-STATE
Layer : 1
==========================================================================================================================

Waterbalance budget Q_in Q_out Q_in Q_out Q_in Q_out Area
% % m3/d or mm/d m3/d or mm/d mm/d or - mm/d or - km2

Zone: 1 -----------------------------------------------------------------------------------------------

CONSTANT_HEAD(m3/d) 0.500 1.815 0.4395455E+03 -0.6987451E+03 0.3714581E-02 -0.5905066E-02 0.1183298E+03 "BDGBND_STEADY-STATE_L1.IDF"
FLUX_LOWER_FACE(m3/d) 9.279 98.142 0.8163389E+04 -0.3779118E+05 0.6898847E-01 -0.3193717E+00 0.1183298E+03 "BDGFLF_STEADY-STATE_L1.IDF"
FLUX_RIGHT_FACE(m3/d) --- --- --- --- 0.0000000E+00 "BDGFRF_STEADY-STATE_L1.IDF"
FLUX_FRONT_FACE(m3/d) --- --- --- --- 0.0000000E+00 "BDGFFF_STEADY-STATE_L1.IDF"
WELLS(m3/d) 0.000 0.043 0.0000000E+00 -0.1670000E+02 0.0000000E+00 -0.1411310E-03 0.1183298E+03 "BDGWEL_STEADY-STATE_L1.IDF"
RECHARGE(m3/d) 90.222 0.000 0.7937705E+05 0.0000000E+00 0.6708122E+00 0.0000000E+00 0.1183298E+03 "BDGRCH_STEADY-STATE_L1.IDF"
--------------------------------------------------------------------------------------------------------------------------
TOTALS 0.8797998E+05 -0.3850662E+05 Error : 0.4947336E+05 (-)
PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi,

Okay, your files look alright.

Did you select the option:

Use SYS-files on the second tab? You need to do that otherwise iMOD is not looking for those SYS -files. In the coming release there is no need to select this manually as iMOD is looking for SYS- and non-SYS files automatically.

Kind regards,
Peter Vermeulen
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hi Peter,
I actually did that once, because in your first answer you said "Don't forget to switch the option Use System Files on the second tab.".
When I check "use system files" my textfile is nearly empty, except for the first three lines. I will attach a picture.
So I rather preferred the textfiles that were created, when I unchecked "use system files" again. But of course there are missing parameters, so it is not a good deal.
Do you know, why I have a nearly empty file when I check the "use system files"?
Kind regards,
Nadine

Attachments:

PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi,

I just computed the waterbalance with our newest iMOD version and it worked nicely with the sys-files. But for now, I've to figure out what we need to change to get this working for you. I need some time for this, I'll come back to you.

Kind regards,
Peter

Waterbalance file created at 04/05/2016

Waterbalance for entire size of model.

Bear in mind that disclosure of the waterbalance might be caused by absent budget
terms or different unit of the terms (m3/d or mm/d)!

==========================================================================================================================
Period : STEADY-STATE
Layer : 1
==========================================================================================================================

Waterbalance budget Q_in Q_out Q_in Q_out Q_in Q_out Area
% % m3/d or mm/d m3/d or mm/d mm/d or - mm/d or - km2

Zone: 1 -----------------------------------------------------------------------------------------------

CONSTANT_HEAD (m3/d) 0.423 0.673 0.4395455E+03 -0.6987451E+03 0.3714581E-02 -0.5905066E-02 0.1183298E+03 "BDGBND_STEADY-STATE_L1.IDF"
FLUX_LOWER_FACE (m3/d) 7.858 36.376 0.8163389E+04 -0.3779118E+05 0.6898847E-01 -0.3193717E+00 0.1183298E+03 "BDGFLF_STEADY-STATE_L1.IDF"
FLUX_RIGHT_FACE (m3/d) --- --- --- --- 0.0000000E+00 "BDGFRF_STEADY-STATE_L1.IDF"
FLUX_FRONT_FACE (m3/d) --- --- --- --- 0.0000000E+00 "BDGFFF_STEADY-STATE_L1.IDF"
WELLS (m3/d) 0.000 0.016 0.0000000E+00 -0.1670000E+02 0.0000000E+00 -0.1411310E-03 0.1183298E+03 "BDGWEL_STEADY-STATE_L1.IDF"
DRAINAGE (m3/d) 0.000 3.955 0.0000000E+00 -0.4108619E+04 0.0000000E+00 -0.3472177E-01 0.1183298E+03 "BDGDRN_sys1_STEADY-STATE_L1.IDF"
DRAINAGE (m3/d) 0.000 13.887 0.0000000E+00 -0.1442715E+05 0.0000000E+00 -0.1219233E+00 0.1183298E+03 "BDGDRN_sys2_STEADY-STATE_L1.IDF"
RIVERS (m3/d) 15.312 45.094 0.1590685E+05 -0.4684937E+05 0.1344282E+00 -0.3959221E+00 0.1183298E+03 "BDGRIV_sys1_STEADY-STATE_L1.IDF"
RIVERS (m3/d) 0.000 0.000 0.0000000E+00 0.0000000E+00 0.0000000E+00 0.0000000E+00 0.1183298E+03 "BDGRIV_sys2_STEADY-STATE_L1.IDF"
RECHARGE (m3/d) 76.407 0.000 0.7937705E+05 0.0000000E+00 0.6708122E+00 0.0000000E+00 0.1183298E+03 "BDGRCH_STEADY-STATE_L1.IDF"
--------------------------------------------------------------------------------------------------------------------------
TOTALS 0.1038868E+06 -0.1038918E+06 Error : -0.4937500E+01 (m3/d)

==========================================================================================================================
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hi,
thank you very much for your effort, Peter! I hope you find a solution.
Kind regards,
Nadine
PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance (Answer)

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi Nadine,

The version V3_3 doesn't apply the position of the SYS keywords consequently throughout the code, unfortunately. Also the combination with- and without SYS keywords isn't working as it should. However, in the coming V3_4 is has been solved. So, I cannot give you a workaround other than renaming your files from

BDGDRN_SYS1_STEADY-STATE_L1.IDF

to

BDGDRN_STEADY-STATE_L1.IDF

and thus leaving the keyword SYS out. Problem is that you have two systems. So you have to choose what system you want to include in your waterbalance. As you're experimenting with the tutorial data set it might be not a problem for now.

Kind regards,
Peter Vermeulen
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hi Peter,
thank you, I just tried it and it worked out.
I will have to see if that might be a problem for my project then but if not, it is at least a work around until the next version comes.
Thanks again,
kind regards,
Nadine
PV
Peter Vermeulen, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Jedi Knight Posts: 135 Join Date: 11/11/13 Recent Posts
Hi,

Okay, sorry for the inconvenience but the positive thing is that iMOD is improved thanks to you !

Kind regards,
Peter
NV
Nadine Vogel, modified 4 Years ago.

RE: Tutorial 6 compute water balance

Padawan Posts: 47 Join Date: 4/26/16 Recent Posts
Hi,
no problem. After all you find solutions to work around those little problems.
It is good if you think like that, because I am about to post another question. This time it is Tutorial 7...
Kind regards,
Nadine
IM
ios man, modified 1 Year ago.

RE: Tutorial 6 compute water balance

Youngling Posts: 8 Join Date: 2/25/19 Recent Posts

When I choose those folders in the compute waterbalance window, iMod says that it found 80 correct files. So it finds all of them but in my texteditor values for Drainage, Rivers and Overland Flow are missing (see below).
I can attach a zip file of one of my modelfolders. I just recognized, that in none of my models a BDGOLF folder was created. I don't know, if iMod needs that for the overland flow.  hey fulfill the naming convention as described above and contain model layer information (_L*) and a date string (YYYYMMDD) or STEADY-STATE keyword