##### Page tree
Go to start of banner

# Problem with discharge computation in RIVeR v2.4.2?

I am having some issues when computing discharge in the latest version of RIVeR (v2.4.2) and I'm wondering whether anyone else has experienced the same.

These issues can be summarized as follows:

• I am unable to export the ...StationDischarge.txt (when I do there is no data under "Station,Discharge", see Figure 1 below). I am able to export the ...StationVelocity.txt (see Figure 2 below)
• The discharge and velocity plots don't look correct: the % of total discharges looks too high, and the number of points/bars does not match the number of stations for the cross section, which I think is the main source of the discharge computation problem. (See Figure 3 below).
• In this example, RIVeR gives a total Q of 5.8 m^3/s, but the comparison FlowTracker measurement was 22.9 m^3/s)
• If I manually calculate the total discharge, using the StationVelocity.txt data from RIVeR and the same depths and station distances imported into RIVeR, then I compute a total Q of 24.8 m^3/s, which is much closer to the expected value. (See Table 1 below).

Figure 1: no data in ...StationDischarge.txt Figure 2: ...StationVelocity.txt data Figure 3. Note the number of data points for discharge and velocity in the plot on the right hand side does not match the number of stations in the cross section (should be 25). the correct number of stations and velocity points do appear in the table and the exported ...StationVelocity.txt file). Table 1: Manual check of total discharge, using StationVelocity.txt data from RIVeR (Area and Q manually computed using station dis and velocity respectively.

 St Depth Station Velocity () (m) dis (m) (m/s) Area Q 0 0 (m^2) (m^3/s) 1 0.09 0 0.10146 0.226898 0.023021 2 0.16 2.52109 0.0456 0.806747 0.036788 3 0.26 5.04217 0.32173 1.310964 0.421777 4 0.28 7.56326 0.29035 1.411808 0.409918 5 0.36 10.08434 0.12186 1.815181 0.221198 6 0.43 12.60543 0.27802 2.168133 0.602784 7 0.49 15.12651 0.31261 2.470663 0.772354 8 0.55 17.6476 0.42397 2.773194 1.175751 9 0.65 20.16868 0.59303 3.277411 1.943603 10 0.66 22.68977 0.53915 3.327832 1.794201 11 0.79 25.21085 0.45416 3.983314 1.809062 12 0.82 27.73194 0.39608 4.134579 1.637624 13 0.91 30.25302 0.37496 4.588375 1.720457 14 0.91 32.77411 0.35366 4.588375 1.622725 15 0.94 35.29519 0.38185 4.73964 1.809831 16 0.86 37.81628 0.30974 4.336266 1.343115 17 0.9 40.33736 0.29996 4.537953 1.361204 18 1.03 42.85845 0.24306 5.193435 1.262316 19 1.08 45.37953 0.22464 5.445544 1.223287 20 1.1 47.90062 0.21747 5.546387 1.206173 21 1.02 50.4217 0.24086 5.143013 1.238746 22 0.69 52.94279 0.14573 3.479104 0.50701 23 0.66 55.46388 0.14778 3.327832 0.491787 24 0.39 57.98496 0.10553 1.966446 0.207519 25 0 60.50605 0.0973 0 0 Total Q = 24.84225
• No labels

1. Hi Liz–curious if this was a problem you had in previous versions of RIVeR?  Or just 2.4.2?  I haven't used 2.4.2 for a full computation of discharge yet, but should be doing so soon.

2. Hi Heather, I haven't tried other versions yet. Since I was on leave for a year (from March 2018-2019) I jumped quite a few versions in one go.

3. Hi Liz !

• I am unable to export the ...StationDischarge.txt (when I do there is no data under "Station,Discharge", see Figure 1 below). I am able to export the ...StationVelocity.txt (see Figure 2 below)

Interesting... I will have a look thanks for the warning

• The discharge and velocity plots don't look correct: the % of total discharges looks too high, and the number of points/bars does not match the number of stations for the cross section, which I think is the main source of the discharge computation problem. (See Figure 3 below).

So on the discharge plot, the y axis on the left side is for the cumulative curve (the black line with dots). It might not be your question but if not I guess that my following comment will.

About the the number of points/bars and also the next two issues you summarised I think the problem might come from your Stage Vs. Station plot. In the column station I can see numbers (integers) and I can't see all of them but I guess there are 25 of them. In this column you should have the actual distance (in m or ft) from the left bank. I might be wrong but it looks that those numbers are not distances but the station number. I see that the length of your velocity profile goes up to 60.5 but you bathymetry goes only to 25. So if you compute a discharge value over your current bathymetry that is 25 width instead of 60.5 your results will be lower than expected.

Can you please double check and let me know if my hypothesis is correct ?

Best !

4. Thanks Antoine,

You're right, I had the station numbers and not the distances in the "Station and Stage Table". I've corrected this and you will see the discharge plot makes a lot more sense (at least to me). See Figure below. However, I didn't think this would be a problem because there were distances in my "Station and Velocity Table". I guess I didn't realize in the discharge computation that the distances in both the velocity and stage table are used?

Unfortunately, the exported StationDischarge CSV file is still missing the Station and Discharge data. Also, the estimated discharge, while slightly higher than before, is still well below what I am expecting.

Any other ideas? Liz

[Note: I think it would help if the labels were more descriptive, both for the tables and for the plots. "Station" should really be "Station Dist." or just "Dist". Also for the x-axis in the stage, velocity and discharge plots: it would be less confusing to call this Distance from Left bank. I suppose you want to avoid the use of units in any of your labels, to avoid the need to accommodate metric and imperial? (Not having units does make it more confusing though).

5. Hi Liz

You're right, I had the station numbers and not the distances in the "Station and Stage Table". I've corrected this and you will see the discharge plot makes a lot more sense (at least to me).

Good !

However, I didn't think this would be a problem because there were distances in my "Station and Velocity Table". I guess I didn't realize in the discharge computation that the distances in both the velocity and stage table are used?

Yes it does because the stations from your bathymetry are not necessary  the same as your velocity profile. Both have to be on the same grid so the discharge can be computed.

Unfortunately, the exported StationDischarge CSV file is still missing the Station and Discharge data.

Yes I am going to check this.

Also, the estimated discharge, while slightly higher than before, is still well below what I am expecting.

Yo mean lower that the value you calculated in Table 1 ? Is it possible that you have an error of calculation in the column Area ? It looks that you are calculating the area of a rectangle and not a trapezoid. FYI,  RIVeR calculates the area of the trapezoids and multiplicates them respectively by the mean velocity betwenn two stages.

[Note: I think it would help if the labels were more descriptive, both for the tables and for the plots. "Station" should really be "Station Dist." or just "Dist". Also for the x-axis in the stage, velocity and discharge plots: it would be less confusing to call this Distance from Left bank. I suppose you want to avoid the use of units in any of your labels, to avoid the need to accommodate metric and imperial? (Not having units does make it more confusing though).

Good idea thanks !

Best

Antoine

6. Problem solved! We discovered that I had an earlier (and problematic) version of the v2.4.2 executable (.exe),  complied on 2019-07-15. So as long as you have the RIVeR_GUI.exe dated 2019-07-18 then these issues go away in v2.4.2.

Liz