Skip to content
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

Shuttleworth-Wallace: Inconsistent behavior in wet to dry leaves transition #37

Closed
philippkraft opened this issue May 9, 2018 · 2 comments
Assignees
Labels
bug C++ Need to change C++ files (.h, .cpp)
Milestone

Comments

@philippkraft
Copy link
Owner

The potential transpiration rate PTR is reduced by the actual interception rate AIR- this is copied from BROOK90. However, AIR is derived from PIR with an own mechanism. This leads to a raise of ground evaporation GER if PIR>AIR>PTR. GER has the roughly same value for AIR=PIR>PTR and PIR>PTR>=AIR.

@philippkraft
Copy link
Owner Author

Effect can be seen with demo/surface-sw-et.py and was revealed by #35.

Problematic code:

AIR = piecewise_linear(VOL_IN_CANOPY,0,MAX_VOL_IN_CANOPY,0,PIR);
PTR -= AIR;
if (PTR>0.001) {
TBYLAYER(1,PTR,DISPC,ALPHA,KK,RROOTI,RXYLEM,PSITI,lc, RHOWG * pF_to_waterhead(4.2),1,ATR_sum,ATR);
if (ATR_sum < PTR)
SWGE(RN,RNground,w.e_s-w.e_a,RAA,RAS,RSS,DELTA,ATR_sum + AIR,GER);
} else {
PTR = 0.0;
ATR = 0.0;
ATR_sum=0.0;
ATR = 0.0;
SWGE(RN,RNground,w.e_s-w.e_a,RAA,RAS,RSS,DELTA,ATR_sum + AIR,GER);
}

@philippkraft philippkraft self-assigned this May 9, 2018
@philippkraft philippkraft added bug C++ Need to change C++ files (.h, .cpp) labels May 9, 2018
@philippkraft philippkraft added this to the 1.4 milestone May 9, 2018
@philippkraft
Copy link
Owner Author

In BROOK90 "the canopy is considered to be either completely wetted or completely dry" (SUBROUTINE INTER), which is not the case for cmf / ShuttleworthWallace, where the canopy is only completely wet, when the canopy storage is completely filled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug C++ Need to change C++ files (.h, .cpp)
Projects
None yet
Development

No branches or pull requests

1 participant