CCPP Scidoc for SRW v2.1.0  SRW v2.1.0
Common Community Physics Package Developed at DTC

◆ energy()

subroutine, private module_sf_noahmplsm::energy ( type (noahmp_parameters), intent(in)  parameters,
integer, intent(in)  ice,
integer, intent(in)  vegtyp,
integer, intent(in)  ist,
integer, intent(in)  nsnow,
integer, intent(in)  nsoil,
integer, intent(in)  isnow,
real (kind=kind_phys), intent(in)  dt,
real (kind=kind_phys), intent(in)  rhoair,
real (kind=kind_phys), intent(in)  sfcprs,
real (kind=kind_phys), intent(in)  qair,
real (kind=kind_phys), intent(in)  sfctmp,
real (kind=kind_phys), intent(in)  thair,
real (kind=kind_phys), intent(in)  lwdn,
real (kind=kind_phys), intent(in)  uu,
real (kind=kind_phys), intent(in)  vv,
real (kind=kind_phys), intent(in)  zref,
real (kind=kind_phys), intent(in)  co2air,
real (kind=kind_phys), intent(in)  o2air,
real (kind=kind_phys), dimension( 1: 2), intent(in)  solad,
real (kind=kind_phys), dimension( 1: 2), intent(in)  solai,
real (kind=kind_phys), intent(in)  cosz,
real (kind=kind_phys), intent(in)  igs,
real (kind=kind_phys), intent(in)  eair,
real (kind=kind_phys), intent(in)  tbot,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  zsnso,
real (kind=kind_phys), dimension( 1:nsoil), intent(in)  zsoil,
real (kind=kind_phys), intent(in)  elai,
real (kind=kind_phys), intent(in)  esai,
real (kind=kind_phys), intent(in)  fwet,
real (kind=kind_phys), intent(in)  foln,
real (kind=kind_phys), intent(in)  fveg,
real (kind=kind_phys), intent(in)  shdfac,
real (kind=kind_phys), intent(in)  pahv,
real (kind=kind_phys), intent(in)  pahg,
real (kind=kind_phys), intent(in)  pahb,
real (kind=kind_phys), intent(in)  qsnow,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  dzsnso,
real (kind=kind_phys), intent(in)  lat,
real (kind=kind_phys), intent(in)  canliq,
real (kind=kind_phys), intent(in)  canice,
integer, intent(in)  iloc,
integer, intent(in)  jloc,
logical, intent(in)  thsfc_loc,
real (kind=kind_phys), intent(in)  prslkix,
real (kind=kind_phys), intent(in)  prsik1x,
real (kind=kind_phys), intent(in)  prslk1x,
real (kind=kind_phys), intent(in)  garea1,
real (kind=kind_phys), intent(in)  pblhx,
integer, intent(in)  iz0tlnd,
integer, intent(in)  itime,
integer, intent(in)  psi_opt,
real (kind=kind_phys), intent(in)  ep_1,
real (kind=kind_phys), intent(in)  ep_2,
real (kind=kind_phys), intent(in)  cp,
real (kind=kind_phys), intent(out)  z0wrf,
real (kind=kind_phys), intent(out)  z0hwrf,
integer, dimension(-nsnow+1:nsoil), intent(out)  imelt,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(out)  snicev,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(out)  snliqv,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(out)  epore,
real (kind=kind_phys), intent(out)  t2m,
real (kind=kind_phys), intent(out)  fsno,
real (kind=kind_phys), intent(out)  sav,
real (kind=kind_phys), intent(out)  sag,
real (kind=kind_phys), intent(out)  qmelt,
real (kind=kind_phys), intent(out)  fsa,
real (kind=kind_phys), intent(out)  fsr,
real (kind=kind_phys), intent(out)  taux,
real (kind=kind_phys), intent(out)  tauy,
real (kind=kind_phys), intent(out)  fira,
real (kind=kind_phys), intent(out)  fsh,
real (kind=kind_phys), intent(out)  fcev,
real (kind=kind_phys), intent(out)  fgev,
real (kind=kind_phys), intent(out)  fctr,
real (kind=kind_phys), intent(out)  trad,
real (kind=kind_phys), intent(out)  psn,
real (kind=kind_phys), intent(out)  apar,
real (kind=kind_phys), intent(out)  ssoil,
real (kind=kind_phys), dimension( 1:nsoil), intent(out)  btrani,
real (kind=kind_phys), intent(out)  btran,
real (kind=kind_phys), intent(out)  ponding,
real (kind=kind_phys), intent(out)  ts,
real (kind=kind_phys), intent(out)  latheav,
real (kind=kind_phys), intent(out)  latheag,
logical, intent(out)  frozen_canopy,
logical, intent(out)  frozen_ground,
real (kind=kind_phys), intent(inout)  tv,
real (kind=kind_phys), intent(inout)  tg,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout)  stc,
real (kind=kind_phys), intent(inout)  snowh,
real (kind=kind_phys), intent(inout)  eah,
real (kind=kind_phys), intent(inout)  tah,
real (kind=kind_phys), intent(inout)  sneqvo,
real (kind=kind_phys), intent(inout)  sneqv,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout)  sh2o,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout)  smc,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(inout)  snice,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(inout)  snliq,
real (kind=kind_phys), intent(inout)  albold,
real (kind=kind_phys), intent(inout)  cm,
real (kind=kind_phys), intent(inout)  ch,
real (kind=kind_phys), intent(in)  dx,
real (kind=kind_phys), intent(in)  dz8w,
real (kind=kind_phys), intent(in)  q2,
real (kind=kind_phys), intent(inout)  ustarx,
  ifdef,
  CCPP 
)
private
Parameters
[in]iceice (ice = 1)
[in]vegtypvegetation physiology type
[in]istsurface type: 1->soil; 2->lake
[in]nsnowmaximum no. of snow layers
[in]nsoilnumber of soil layers
[in]isnowactual no. of snow layers
[in]dttime step [sec]
[in]qsnowsnowfall on the ground (mm/s)
[in]rhoairdensity air (kg/m3)
[in]eairvapor pressure air (pa)
[in]sfcprspressure (pa)
[in]prslkixin exner function
[in]prsik1xin exner function
[in]prslk1xin exner function
[in]pblhxpbl height
[in]qairspecific humidity (kg/kg)
[in]sfctmpair temperature (k)
[in]thairpotential temperature (k)
[in]lwdndownward longwave radiation (w/m2)
[in]uuwind speed in e-w dir (m/s)
[in]vvwind speed in n-s dir (m/s)
[in]soladincoming direct solar rad. (w/m2)
[in]solaiincoming diffuse solar rad. (w/m2)
[in]coszcosine solar zenith angle (0-1)
[in]elailai adjusted for burying by snow
[in]esailai adjusted for burying by snow
[in]fwetfraction of canopy that is wet [-]
[in]fveggreeness vegetation fraction (-)
[in]shdfacgreen vegetation fraction [0.0-1.0]
[in]latlatitude (radians)
[in]canliqcanopy-intercepted liquid water (mm)
[in]canicecanopy-intercepted ice mass (mm)
[in]folnfoliage nitrogen (%)
[in]co2airatmospheric co2 concentration (pa)
[in]o2airatmospheric o2 concentration (pa)
[in]igsgrowing season index (0=off, 1=on)
[in]zrefreference height (m)
[in]tbotbottom condition for soil temp. (k)
[in]zsnsolayer-bottom depth from snow surf [m]
[in]zsoillayer-bottom depth from soil surf [m]
[in]dzsnsodepth of snow & soil layer-bottom [m]
[in]pahvprecipitation advected heat - vegetation net (w/m2)
[in]pahgprecipitation advected heat - under canopy net (w/m2)
[in]pahbprecipitation advected heat - bare ground net (w/m2)
[in]dxhorisontal resolution
[in]dz8wthickness of lowest layer
[in]q2mixing ratio (kg/kg)
[out]z0wrfcombined z0 sent to coupled model
[out]z0hwrfcombined z0h sent to coupled model
[out]imeltphase change index [1-melt; 2-freeze]
[out]snicevpartial volume ice [m3/m3]
[out]snliqvpartial volume liq. water [m3/m3]
[out]eporeeffective porosity [m3/m3]
[out]fsnosnow cover fraction (-)
[out]qmeltsnowmelt [mm/s]
[out]pondingpounding at ground [mm]
[out]savsolar rad. absorbed by veg. (w/m2)
[out]sagsolar rad. absorbed by ground (w/m2)
[out]fsatot. absorbed solar radiation (w/m2)
[out]fsrtot. reflected solar radiation (w/m2)
[out]tauxwind stress: e-w (n/m2)
[out]tauywind stress: n-s (n/m2)
[out]firatotal net lw. rad (w/m2) [+ to atm]
[out]fshtotal sensible heat (w/m2) [+ to atm]
[out]fcevcanopy evaporation (w/m2) [+ to atm]
[out]fgevground evaporation (w/m2) [+ to atm]
[out]fctrtranspiration (w/m2) [+ to atm]
[out]tradradiative temperature (k)
[out]t2m2 m height air temperature (k)
[out]psntotal photosyn. (umolco2/m2/s) [+]
[out]apartotal photosyn. active energy (w/m2)
[out]ssoilground heat flux (w/m2) [+ to soil]
[out]btranisoil water transpiration factor (0-1)
[out]btransoil water transpiration factor (0-1)
[out]latheavlatent heat vap./sublimation (j/kg)
[out]latheaglatent heat vap./sublimation (j/kg)
[out]tssurface temperature (k)
[out]frozen_groundused to define latent heat pathway
[out]frozen_canopyused to define latent heat pathway
[in,out]tvvegetation temperature (k)
[in,out]tgground temperature (k)
[in,out]stcsnow/soil temperature [k]
[in,out]snowhsnow height [m]
[in,out]sneqvsnow mass (mm)
[in,out]sneqvosnow mass at last time step (mm)
[in,out]sh2oliquid soil moisture [m3/m3]
[in,out]smcsoil moisture (ice + liq.) [m3/m3]
[in,out]snicesnow ice mass (kg/m2)
[in,out]snliqsnow liq mass (kg/m2)
[in,out]eahcanopy air vapor pressure (pa)
[in,out]tahcanopy air temperature (k)
[in,out]alboldsnow albedo at last time step(class type)
[in,out]cmmomentum drag coefficient
[in,out]chsensible heat exchange coefficient
[in,out]ustarxfriction velocity

References bare_flux(), phasechange(), radiation(), thermalz0(), thermoprop(), tsnosoi(), and vege_flux().

Referenced by noahmp_sflx().

Here is the call graph for this function:
Here is the caller graph for this function: