Skip to content

Commit

Permalink
Merge pull request #106 from LabSid-USP/fix/105-fix-error-in-the-impl…
Browse files Browse the repository at this point in the history
…ementation-of-the-total-discharge-equation

Fix error in the implementation of the Total Discharge equation
  • Loading branch information
soaressgabriel authored Jan 24, 2024
2 parents 1c17bb0 + 165975a commit fd2c8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rubem/_dynamic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,9 @@ def dynamic(self):
self.Qt = pcrfw.accuflux(self.ldd, self.Qtotvol)

self.runoff = (
self.config.getfloat("INITIAL_SOIL_CONDITIONS", "T_ini")
self.config.getfloat("CALIBRATION", "x")
* self.Qprev
+ (1 - self.config.getfloat("INITIAL_SOIL_CONDITIONS", "T_ini"))
+ (1 - self.config.getfloat("CALIBRATION", "x"))
* self.Qt
)
self.Qprev = self.runoff
Expand Down

0 comments on commit fd2c8ae

Please sign in to comment.