Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | j | ||||
integer | :: | je | ||||
integer | :: | k | ||||
real(kind=dp), | intent(in), | dimension(:) | :: | bd | ||
real(kind=dp), | intent(in) | :: | qd |
subroutine nutrient_phosphorus_loss(j, je, k, bd, qd)
!**** PURPOSE: COMPUTES soluble P loss with surface runoff
!**** CALLED IN: HYDROTOP
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
! PARAMETERS & VARIABLES
!
! >>>>> COMMON PARAMETERS & VARIABLES
! bd(k) = bulk density of the upper soil layer, g/cm3
! plab(j, je, 1) = P labile in the I soil layer, kg/ha
! plab(j, je, 1) * (10. / bd(k)), g/t
! qd = surface runoff, mm
! ysp = soluble P leaching, kg/ha
! >>>>>
! >>>>> STATIC PARAMETERS
! dkd = P conc in sediment divided by that of water in m3/t
! xx = local par
! >>>>>
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!**** Include common parameters
real(dp), dimension(:), intent(in) :: bd
real(dp), intent(in) :: qd
integer j, je, k
real(dp) xx
ysp = .01 * plab(j, je, 1) * (10. / bd(k)) * qd / dkd
xx = plab(j, je, 1) - ysp
if (xx .le. 0.) then
ysp = 0.
endif
plab(j, je, 1) = plab(j, je, 1) - ysp
return
end subroutine nutrient_phosphorus_loss