Fix error in the implementation of the Total Discharge equation
Closed this issue · 0 comments
soaressgabriel commented
Describe the bug
There is an error in the implementation of the total discharge equation ("INITIAL_SOIL_CONDITIONS", "T_ini")
was used instead of the parameter ("CALIBRATION", "x")
.
The current implementation looks like this:
Lines 603 to 608 in 1c17bb0
But it should be like this, according to the equation available in Overview - Model Formulation - Total Discharge:
self.runoff = (
self.config.getfloat("CALIBRATION", "x")
* self.Qprev
+ (1 - self.config.getfloat("CALIBRATION", "x"))
* self.Qt
)
To Reproduce
- N/A
Expected behavior
- N/A
Screenshots
- N/A
System information
- N/A
Additional context
- N/A