Skip to content

Commit

Permalink
Update ReservoirInitialFill
Browse files Browse the repository at this point in the history
  • Loading branch information
casadoj committed Nov 18, 2024
1 parent a6e594e commit 86391f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lisflood/hydrological_modules/reservoir.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Reservoir(HydroModule):
'ReservoirSites', 'ReservoirTotalStorage', # reservoir characteristics
'ReservoirMinOutflow', 'ReservoirNormalOutflow', 'ReservoirFloodOutflow', # release attributes
'ReservoirFloodStorage', 'ReservoirFloodOutflowFactor', # calibration parameters
'ReservoirInitialFillValue', # initial conditions
'ReservoirInitialFill', # initial conditions
]}

module_name = 'Reservoir'
Expand Down Expand Up @@ -191,7 +191,7 @@ def initial(self):

# initial reservoir fill (fraction of total storage, [-])
# -9999: assume reservoirs are filled to 80% of the flood storage limit
initial_fill = loadmap('ReservoirInitialFillValue')
initial_fill = loadmap('ReservoirInitialFill')
if np.max(initial_fill) == -9999:
initial_fill = 0.8 * self.var.FloodStorageLimit,
else:
Expand Down
4 changes: 2 additions & 2 deletions src/lisfloodSettings_reference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1471,10 +1471,10 @@ You can use builtin path variables in this template and reference to other paths
</comment>
</textvar>

<textvar name="ReservoirInitialFillValue" value="$(PathInit)/rsfil">
<textvar name="ReservoirInitialFill" value="$(PathInit)/rsfil">
<comment>
Initial reservoir fill fraction [-]
-9999 sets initial fill to normal storage limit
-9999 sets initial fill to 80% of the flood limit
if you're not using the reservoir option, enter some bogus value
</comment>
</textvar>
Expand Down

0 comments on commit 86391f5

Please sign in to comment.