📄 watuse.f
字号:
subroutine watuse
!! ~ ~ ~ PURPOSE ~ ~ ~
!! this subroutine removes water from appropriate source (pond,
!! shallow aquifer, and/or deep aquifer) for consumptive water use
!! ~ ~ ~ INCOMING VARIABLES ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! deepst(:) |mm H2O |depth of water in deep aquifer
!! ihru |none |HRU number
!! pnd_vol(:) |m^3 H2O |volume of water in pond
!! shallst(:) |mm H2O |depth of water in shallow aquifer
!! wudeep(:,:) |10^4 m^3/day |average daily water removal from the deep
!! |aquifer for the month for the HRU within the
!! |subbasin
!! wupnd(:,:) |10^4 m^3/day |average daily water removal from the pond
!! |for the month for the HRU within the subbasin
!! wushal(:,:) |10^4 m^3/day |average daily water removal from the shallow
!! |aquifer for the month for the HRU within the
!! |subbasin
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! ~ ~ ~ OUTGOING VARIABLES ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! deepst(:) |mm H2O |depth of water in deep aquifer
!! pnd_vol(:) |m^3 H2O |volume of water in pond
!! shallst(:) |mm H2O |depth of water in shallow aquifer
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! ~ ~ ~ LOCAL DEFINITIONS ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! cnv |none |conversion factor (mm/ha => m^3)
!! j |none |HRU number
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! ~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
use parm
integer :: j
real :: cnv
j = 0
j = ihru
cnv = 0.
cnv = hru_ha(j) * 10.
pnd_vol(j) = pnd_vol(j) - wupnd(i_mo,j) * 10000.
if (pnd_vol(j) < 0.) pnd_vol(j) = 0.
shallst(j) = shallst(j) - wushal(i_mo,j) * 10000. / cnv
if (shallst(j) < 0.) shallst(j) = 0.
deepst(j) = deepst(j) - wudeep(i_mo,j) * 10000. / cnv
if (deepst(j) < 0.) deepst(j) = 0.
return
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -