Closed MostafaGomaa93 closed 2 weeks ago
Hi, Mostafa, the calculation of soil water potential is based on Bayat's work published in RSE. The multiplication by 100 is a unit conversion from 'cm' to 'm'. The unit is 'cm' in STEMMUS and it usually uses 'm' in the SPAC equation. The Soilvariable.hh means the water potential at the soil nodes rather than the average soil water potential of each soil layer. So, I recalculate the soil water potential of each soil layer.
Hi @Yunfei-Wang1993
Okay, I indeed suspect that the 100 is a unit conversion from cm to m but why is that? what is the SPAC equation?
I noticed you later had to convert it back to "cm" in the equation
Srt1 = RWU * 100 ./ ModelSettings.DeltZ'
here.
But I still have some more questions:
Soilvariable.hh
of the two nodes of each soil layer? something like
hh_avg = [ Soilvariable.hh(i) + Soilvariable.hh(i+1) ] / 2
ModelSettings.DeltZ
division in the equation above?I am asking because when we add the groundwater coupling, for the saturated soil layers, the Soilvariable.hh
converts to a +ve value, but I am not sure if the PSIs
will have +ve values for saturated layers. Moreover, the Soilvariable.hh
in my opinion is more accurate than the PSIs
because the Soilvariable.hh
is calculated from the main equations of the code (i.e. Milly equation)
I discussed with @yijianzeng and @Yunfei-Wang1993 and made changes in the PSIs
to correct the matric potential calculations if groundwater coupling is activated. The changes are implemented in the SSM_v.0.3.2 branch here
Calculations of the root water uptake (
RWU
) in theebal
function (line 545) are based on the difference between the soil water potentialPSIs
and the leave water potentialPSI
. ThePSIs
(calculated in line 177) is from thecalc_rsoil
. Going inside thecalc_rsoil
function here, thePSIs
equation seems a bit strange to me.ebal
function is a SCOPE function, where there is no soil model and the PSIs equation is a simple way to get the soil matric potential using only the Van-Genechten equation. But I think since we work with STEMMUS_SCOPE, we don't need to re-calculate the soil water potential and it is better to replace thePSIs
withSoilvariable.hh
PSIs
andSoilvariable.hh
. The difference is almost two orders of magnitude.PSIs
is in range (-30 to -2) cm/sec, while theSoilvariable.hh
is in range (-1500 to -300). Consequently, there are almost two orders of magnitude difference between the RWU if it is calculated usingPSIs
and if it is calculated usingSoilvariable.hh
.PSIs
calculations in line 9 has a multiplication of 100 in the term ((Alpha * 100)
. I wonder if that multiplication by the 100 causes that difference between thePSIs
andSoilvariable.hh
, if so, maybe I am missing something here, what is the use of this 100 multiplication? Probably @Yunfei-Wang1993 Could clarify this