updated Ausgleichbecken_steady_state test to run longer and

run empty at the end on purpose
This commit is contained in:
Brantegger Georg
2023-02-09 14:15:35 +01:00
parent 45bcca9e63
commit f3983cc007
2 changed files with 38 additions and 39 deletions

View File

@@ -225,8 +225,8 @@ class Ausgleichsbecken_class:
delta_level = net_flux*timestep/self.area
level_new = (self.level+delta_level)
# raise exception error if level in reservoir falls below 0.01 ######################### has to be commented out if used in loop
# if level_new < 0.01:
# raise Exception('Reservoir ran emtpy')
if level_new < 0.01:
raise Exception('Reservoir ran emtpy')
# set flag is necessary because update_level() is used to get a halfstep value in the time evoultion
if set_flag == True:
self.set_level(level_new,display_warning=False)