-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check lake balance #330
Check lake balance #330
Conversation
Based on total available volume (storage, inflow and precipitation).
Based on total available volume (storage, inflow and precipitation).
Limit lake outflow by lake storage, and check if solution term of quadratic equations is above zero.
Lake and reservoir module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Just some small comments to clarify the parameter descriptions
@@ -147,7 +148,8 @@ between parentheses. | |||
| `outflow` | outflow lake | m``^3`` s``^{-1}`` | - | | |||
| `totaloutflow` | total outflow lake | m``^3`` | - | | |||
| `precipitation` | average precipitation for lake area | mm Δt⁻¹ | - | | |||
| `evaporation` | average precipitation for lake area | mm Δt⁻¹ | - | | |||
| `evaporation` | average evaporation for lake area | mm Δt⁻¹ | - | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `evaporation` | average evaporation for lake area | mm Δt⁻¹ | - | | |
| `evaporation` | average potential evaporation for lake area | mm Δt⁻¹ | - | |
src/reservoir_lake.jl
Outdated
@@ -14,6 +14,7 @@ | |||
demandrelease::Vector{T} | "m3 s-1" # minimum (environmental) flow released from reservoir [m³ s⁻¹] | |||
precipitation::Vector{T} # average precipitation for reservoir area [mm Δt⁻¹] | |||
evaporation::Vector{T} # average evaporation for reservoir area [mm Δt⁻¹] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
evaporation::Vector{T} # average evaporation for reservoir area [mm Δt⁻¹] | |
evaporation::Vector{T} # average potential evaporation for reservoir area [mm Δt⁻¹] |
src/reservoir_lake.jl
Outdated
@@ -222,6 +224,7 @@ end | |||
totaloutflow::Vector{T} | "m3" # total outflow lake [m³] | |||
precipitation::Vector{T} # average precipitation for lake area [mm Δt⁻¹] | |||
evaporation::Vector{T} # average evaporation for lake area [mm Δt⁻¹] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
evaporation::Vector{T} # average evaporation for lake area [mm Δt⁻¹] | |
evaporation::Vector{T} # average potential evaporation for lake area [mm Δt⁻¹] |
To clarify parameter descriptions.
Issue addressed
Fixes #329
Explanation
See the updated changelog.
Checklist
master