Skip to content

Commit

Permalink
Add tab
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Apr 28, 2020
1 parent 23f4fce commit c203994
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/Hydrological_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ To define the VanGenuchten parameter boundaries we use a normal distribution.
return self.cmfmodel.observations

def objectivefunction(self,simulation,evaluation):
if self._used_algorithm == 'sceua': # The SCE-UA algorithm minimizes the objectivefunction
like = spotpy.objectivefunctions.rmse(evaluation,simulation)
else: # All other implemented algorithm maximize the objectivefunction
objectivefunction= -spotpy.objectivefunctions.rmse(evaluation,simulation)
return objectivefunction
if self._used_algorithm == 'sceua': # The SCE-UA algorithm minimizes the objectivefunction
like = spotpy.objectivefunctions.rmse(evaluation,simulation)
else: # All other implemented algorithm maximize the objectivefunction
objectivefunction= -spotpy.objectivefunctions.rmse(evaluation,simulation)
return objectivefunction


## Sampling
Expand Down

0 comments on commit c203994

Please sign in to comment.