BaRatin-tools / BaRatinAGE

BaRatin Advanced Graphical Environment
https://baratin-tools.github.io/en/
GNU General Public License v3.0
4 stars 0 forks source link

Equation for segments including several controls is bugged #67

Closed benRenard closed 6 months ago

benRenard commented 6 months ago

For instance in a segment (main channel + flood plain), the equation shown in tab "equation" is of the form a(h-b)^c, instead of the expected a1(h-b1)^c1 + a2(h-b2)^c2

IvanHeriver commented 6 months ago

this issue should now be fixed, can you confirm @benRenard ?

benRenard commented 6 months ago

Yep, on the example "Aisnes@Verrieres", the RC equation is now correctly displayed as : h < 0.390614: Q = 0 0.390614 < h < 1.08622: Q = 18.1872 (h - 0.390614) ^ 1.50995 1.08622 < h < 2.39964: Q = 4.58679 (h + 0.555347) ^ 1.6735 h > 2.39964: Q = 4.58679 (h + 0.555347) ^ 1.6735 + 67.1222 (h - 2.39964) ^ 1.66437

I'm closing.