Skip to content

Commit

Permalink
Fixes #952
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Jan 15, 2024
1 parent 96737b0 commit 9203811
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/bmi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ function BMI.initialize(T::Type{Model}, config::Config)::Model
end
storages
end
# Synchronize level with storage
set_current_basin_properties!(parameters.basin, storage)

@assert length(storage) == n "Basin / state length differs from number of Basins"
# Integrals for PID control
integral = zeros(length(parameters.pid_control.node_id))
Expand Down

0 comments on commit 9203811

Please sign in to comment.