Skip to content

V506_lake_upgrade#2

Merged
mschnorb merged 12 commits intov506_pcicfrom
v488_pcic
May 2, 2025
Merged

V506_lake_upgrade#2
mschnorb merged 12 commits intov506_pcicfrom
v488_pcic

Conversation

@mschnorb
Copy link
Collaborator

@mschnorb mschnorb commented May 2, 2025

Pull Request Checklist:

What kind of change does this PR introduce?

  • Includes new code for modified lake thermal model

Other information:

mschnorb and others added 12 commits September 19, 2024 17:04
…p and Reservoir.h to introduce two lake layers to lake enthalpy model.
…orrect coefficient [A], constant [B], and Jacobian matrices. Also initialized value for _mixing_depth in CReservoir::BaseConstructor.
…ng procedure from Community Land Model v5. Added advective heat transfer (i.e. initializing Q_up_new and Q_dn_new). Some code clean-up.
…recting error in calculation of Richardson number (replaced von Karman with k*) and adding upper limit on value of kdiff. Also added a function to get the mixing depth of the lake/reservoir. Some formatting changes to the code.
… fetch, Fe, is estimated as the square root of maximum reservoir surface area (varies by reservoir) and the coefficient, a (mix_depth_coef), and exponent, b (mix_depth_expn), are provided as global parameters (MIX_DEPTH_COEF and MIX_DEPTH_EXPN, respectivley).
…wo options to estimate kdiff, added tracking of previous vertical flow rate, corrected solution for use of proper previous energy storage in epilimnion and hypolimnion, added estimate of dE and dEs in case numerical algoriyhm fails to converge, modified calaculation of lake energy balances for output.
@mschnorb mschnorb merged commit 96e327b into v506_pcic May 2, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant