38 alt,
avkdn,
avrh,
avu1,
baset_hc,
diagqn,
diagqs,
drainrt,
co2pointsource,
cbluse, &
127 USE resist,
ONLY:
g1,
g2,
g3,
g4,
g5,
g6,
gsmodel,
kmax,
s1,
s2,
th,
tl
143 IF (
diagnose == 1)
WRITE (*, *)
'Calling SUEWS_Translate...'
151 IF (
diagnose == 1) print *,
'Calling SUEWS_cal_Main...'
262 IF (
diagnose == 1)
WRITE (*, *)
'Calling CBL...'
294 IF (
diagnose == 1)
WRITE (*, *)
'Calling SUEWS_TranslateBack...'
integer n_stream_sw_urban
real(kind(1d0)), dimension(:), allocatable statelimit_wall
real(kind(1d0)) pormax_dec
real(kind(1d0)), dimension(nsurf) snowpack
real(kind(1d0)), dimension(:, :, :), allocatable dataoutspartacus
real(kind(1d0)), dimension(:, :), allocatable dz_wall
real(kind(1d0)), dimension(nsurf) chanohm
real(kind(1d0)), dimension(nsurf) soilstorecap_surf
real(kind(1d0)), dimension(0:23, 2) humactivity_24hr
real(kind(1d0)) albmin_grass
real(kind(1d0)), dimension(ncolumnsdataoutdebug) dataoutlinedebug
real(kind(1d0)), dimension(nsurf) statelimit_surf
real(kind(1d0)), dimension(:, :), allocatable metforcingdata_grid
real(kind(1d0)) ground_albedo_dir_mult_fact
real(kind(1d0)), dimension(nsurf) state_surf
real(kind(1d0)), dimension(nsurf) soildepth
real(kind(1d0)), dimension(nsurf) cpanohm
real(kind(1d0)), dimension(:), allocatable soilstorecap_wall
real(kind(1d0)) porosity_id
real(kind(1d0)), dimension(nvegsurf) basete
real(kind(1d0)), dimension(:), allocatable tsfc_roof
real(kind(1d0)), dimension(:), allocatable alb_roof
real(kind(1d0)), dimension(:), allocatable state_wall
real(kind(1d0)), dimension(0:23, 2) traffprof_24hr
integer n_vegetation_region_urban
real(kind(1d0)), dimension(nsurf+1) ohm_threshwd
real(kind(1d0)), dimension(0:23, 2) ahprof_24hr
real(kind(1d0)), dimension(nvegsurf) beta_enh_bioco2
real(kind(1d0)), dimension(nsurf+1, 4, 3) ohm_coef
real(kind(1d0)), dimension(:, :), allocatable temp_roof
real(kind(1d0)), dimension(nvegsurf) min_res_bioco2
real(kind(1d0)), dimension(:), allocatable wetthresh_wall
real(kind(1d0)), dimension(nvegsurf) lai_id
real(kind(1d0)) veg_ssa_lw
real(kind(1d0)), dimension(:, :, :), allocatable dataoutestmext
real(kind(1d0)), dimension(:), allocatable state_roof
real(kind(1d0)) air_ext_sw
real(kind(1d0)), dimension(ncolumnsdataoutsnow - 5) dataoutlinesnow
real(kind(1d0)), dimension(nvegsurf) baset
real(kind(1d0)), dimension(:, :), allocatable dz_surf
real(kind(1d0)), dimension(nvegsurf) resp_b
real(kind(1d0)), dimension(nsurf) sfr_surf
real(kind(1d0)), dimension(4, nvegsurf) laipower
real(kind(1d0)), dimension(nvegsurf) resp_a
real(kind(1d0)), dimension(ncolumnsdataoutsuews - 5) dataoutlinesuews
real(kind(1d0)), dimension(nvegsurf) laimax
real(kind(1d0)), dimension(0:23, 2) wuprofm_24hr
real(kind(1d0)), dimension(:, :, :), allocatable dataoutsnow
real(kind(1d0)), dimension(nsurf) emis
real(kind(1d0)), dimension(nvegsurf) gdd_id
real(kind(1d0)), dimension(ncolumnsdataoutestm - 5) dataoutlineestm
real(kind(1d0)) capmin_dec
real(kind(1d0)) decidcap_id
real(kind(1d0)), dimension(:), allocatable building_scale
real(kind(1d0)) air_ssa_sw
real(kind(1d0)), dimension(:), allocatable soilstore_roof
real(kind(1d0)), dimension(:, :, :), allocatable dataoutdebug
real(kind(1d0)), dimension(nsurf) soilstore_surf
integer, dimension(nvegsurf) laitype
logical use_sw_direct_albedo
real(kind(1d0)), dimension(:), allocatable height
real(kind(1d0)) veg_ssa_sw
real(kind(1d0)), dimension(:, :), allocatable cp_wall
real(kind(1d0)), dimension(nsurf) sathydraulicconduct
real(kind(1d0)) lenday_id
real(kind(1d0)), dimension(6, nsurf) storedrainprm
real(kind(1d0)) air_ssa_lw
real(kind(1d0)), dimension(nsurf) kkanohm
real(kind(1d0)), dimension(nvegsurf) theta_bioco2
real(kind(1d0)), dimension(nsurf+1, nsurf - 1) waterdist
real(kind(1d0)), dimension(:), allocatable emis_roof
real(kind(1d0)), dimension(:), allocatable tsfc_surf
real(kind(1d0)) narp_emis_snow
real(kind(1d0)), dimension(:, :), allocatable cp_surf
real(kind(1d0)), dimension(nsurf+1) ohm_threshsw
real(kind(1d0)), dimension(:, :), allocatable k_roof
real(kind(1d0)), dimension(:), allocatable wetthresh_roof
real(kind(1d0)), dimension(:), allocatable soilstorecap_roof
real(kind(1d0)), dimension(:), allocatable veg_frac
real(kind(1d0)), dimension(:, :), allocatable k_surf
real(kind(1d0)) capmax_dec
real(kind(1d0)), dimension(nvegsurf) beta_bioco2
real(kind(1d0)), dimension(5) datetimeline
real(kind(1d0)), dimension(ncolumnsdataoutrsl - 5+12) dataoutlinersl
real(kind(1d0)), dimension(ncolumnsdataoutestmext - 5) dataoutlineestmext
real(kind(1d0)) albevetr_id
real(kind(1d0)), dimension(nsurf) snowwater
real(kind(1d0)) narp_trans_site
integer n_stream_lw_urban
real(kind(1d0)), dimension(0:23, 2) wuprofa_24hr
real(kind(1d0)), dimension(ncolumnsdataoutspartacus) dataoutlinespartacus
real(kind(1d0)), dimension(:, :), allocatable roof_albedo_dir_mult_fact
real(kind(1d0)) albmax_dectr
real(kind(1d0)), dimension(nvegsurf) sdd_id
real(kind(1d0)), dimension(nvegsurf) sddfull
real(kind(1d0)), dimension(nvegsurf) laimin
real(kind(1d0)) albmin_dectr
real(kind(1d0)), dimension(:), allocatable tin_surf
real(kind(1d0)), dimension(:), allocatable tin_wall
real(kind(1d0)), dimension(nvegsurf) alpha_enh_bioco2
real(kind(1d0)), dimension(:), allocatable statelimit_roof
real(kind(1d0)), dimension(:), allocatable alb_wall
real(kind(1d0)), dimension(9) wuday_id
real(kind(1d0)) albdectr_id
real(kind(1d0)), dimension(:, :, :), allocatable dataoutrsl
real(kind(1d0)), dimension(:, :, :), allocatable dataoutsuews
real(kind(1d0)), dimension(:, :), allocatable wall_specular_frac
real(kind(1d0)) veg_fsd_const
real(kind(1d0)), dimension(:, :), allocatable dz_roof
real(kind(1d0)) albmax_grass
real(kind(1d0)) pormin_dec
real(kind(1d0)), dimension(:, :), allocatable temp_surf
real(kind(1d0)), dimension(nsurf) snowdens
real(kind(1d0)), dimension(:), allocatable emis_wall
real(kind(1d0)), dimension(:), allocatable ts5mindata_ir
real(kind(1d0)), dimension(ncolumnsdataoutbeers - 5) dataoutlinebeers
real(kind(1d0)) albmax_evetr
real(kind(1d0)), dimension(:, :, :), allocatable dataoutbl
real(kind(1d0)), dimension(nsurf) wetthresh_surf
real(kind(1d0)), dimension(:, :), allocatable cp_roof
real(kind(1d0)), dimension(nsurf) alb
real(kind(1d0)), dimension(:), allocatable building_frac
real(kind(1d0)), dimension(nvegsurf) maxconductance
real(kind(1d0)), dimension(0:23, 2) popprof_24hr
real(kind(1d0)), dimension(nvegsurf) gddfull
real(kind(1d0)), dimension(:, :), allocatable temp_wall
real(kind(1d0)), dimension(:, :, :), allocatable dataoutdailystate
real(kind(1d0)), dimension(:, :, :), allocatable dataoutestm
real(kind(1d0)) air_ext_lw
real(kind(1d0)), dimension(ncolumnsdataoutdailystate - 5) dailystateline
real(kind(1d0)), dimension(:, :), allocatable k_wall
real(kind(1d0)), dimension(:, :, :), allocatable dataoutbeers
real(kind(1d0)), dimension(nsurf) snowpacklimit
real(kind(1d0)), dimension(:), allocatable veg_scale
real(kind(1d0)), dimension(12) hdd_id
real(kind(1d0)), dimension(:), allocatable tin_roof
real(kind(1d0)), dimension(:), allocatable soilstore_wall
real(kind(1d0)) sw_dn_direct_frac
real(kind(1d0)) albgrass_id
real(kind(1d0)), dimension(nsurf) icefrac
real(kind(1d0)) albmin_evetr
real(kind(1d0)), dimension(:), allocatable tsfc_wall
real(kind(1d0)), dimension(nvegsurf) alpha_bioco2
real(kind(1d0)), dimension(nsurf) snowfrac
real(kind(1d0)) veg_contact_fraction_const
subroutine cbl(iy, id, it, imin, ir, Gridiv, qh_choice, dectime, Temp_C, Press_hPa, avkdn, avu1, avrh, avcp, avdens, es_hPa, lv_J_kg, nsh_real, tstep, UStar, psih, is, NumberOfGrids, qhforCBL, qeforCBL, ReadLinesMetdata, dataOutBL)
subroutine suews_update_dailystate(id, datetimeline, Gridiv, NumberOfGrids, DailyStateLine, dataOutDailyState)
integer netradiationmethod
real(kind(1d0)) minqfmetab
real(kind(1d0)) trafficunits
real(kind(1d0)) rainmaxres
real(kind(1d0)) frfossilfuel_heat
real(kind(1d0)) co2pointsource
real(kind(1d0)), dimension(2) fcef_v_kgkm
real(kind(1d0)), dimension(2) qf0_beu
real(kind(1d0)), dimension(2) qf_a
real(kind(1d0)) ef_umolco2perj
real(kind(1d0)) maxqfmetab
real(kind(1d0)) ldown_obs
real(kind(1d0)), dimension(2) ah_slope_heating
real(kind(1d0)) snowfrac_obs
real(kind(1d0)), dimension(2) ah_min
real(kind(1d0)), dimension(2) baset_heating
real(kind(1d0)), dimension(2) ah_slope_cooling
real(kind(1d0)) press_hpa
real(kind(1d0)), dimension(2) qf_c
real(kind(1d0)) maxfcmetab
integer storageheatmethod
real(kind(1d0)), dimension(2) trafficrate
real(kind(1d0)) enef_v_jkm
real(kind(1d0)), dimension(2) qf_b
real(kind(1d0)) raincover
integer roughlenmommethod
real(kind(1d0)), dimension(2) popdensdaytime
real(kind(1d0)) minfcmetab
real(kind(1d0)), dimension(2) baset_cooling
real(kind(1d0)) popdensnighttime
real(kind(1d0)) frfossilfuel_nonheat
real(kind(1d0)) faievetree
real(kind(1d0)) faidectree
real(kind(1d0)) snowfallcum
real(kind(1d0)), dimension(0:23, 2) snowprof_24hr
real(kind(1d0)) snowlimpaved
real(kind(1d0)) snowalbmax
real(kind(1d0)) radmeltfact
real(kind(1d0)) tempmeltfact
real(kind(1d0)) snowdensmin
real(kind(1d0)) snowlimbldg
real(kind(1d0)) snowalbmin
real(kind(1d0)) preciplimitalb
real(kind(1d0)) snowdensmax
real(kind(1d0)) preciplimit
real(kind(1d0)), dimension(:), allocatable qeforcbl
real(kind(1d0)) irrfracgrass
real(kind(1d0)) irrfracbldgs
integer aerodynamicresistancemethod
real(kind(1d0)) runofftowater
real(kind(1d0)), dimension(7) daywat
real(kind(1d0)) flowchange
real(kind(1d0)) irrfracevetr
real(kind(1d0)), dimension(:), allocatable qhforcbl
real(kind(1d0)), dimension(3) ie_a
real(kind(1d0)) irrfracdectr
real(kind(1d0)) irrfracbsoil
real(kind(1d0)) pipecapacity
integer roughlenheatmethod
real(kind(1d0)) irrfracwater
real(kind(1d0)), dimension(7) daywatper
real(kind(1d0)) irrfracpaved
real(kind(1d0)) surfacearea
real(kind(1d0)), dimension(3) ie_m
real(kind(1d0)) internalwateruse_h
real(kind(1d0)) h_maintain
subroutine suews_update_output(SnowUse, storageheatmethod, ReadLinesMetdata, NumberOfGrids, ir, gridiv, datetimeLine, dataOutLineSUEWS, dataOutLineSnow, dataOutLineESTM, dataoutLineRSL, dataOutLineBEERS, dataoutlineDebug, dataoutlineSPARTACUS, dataOutLineESTMExt, dataOutSUEWS, dataOutSnow, dataOutESTM, dataOutRSL, dataOutBEERS, dataOutDebug, dataOutSPARTACUS, dataOutESTMExt)
subroutine suews_cal_main(AerodynamicResistanceMethod, AH_MIN, AHProf_24hr, AH_SLOPE_Cooling, AH_SLOPE_Heating, alb, AlbMax_DecTr, AlbMax_EveTr, AlbMax_Grass, AlbMin_DecTr, AlbMin_EveTr, AlbMin_Grass, alpha_bioCO2, alpha_enh_bioCO2, alt, kdown, avRh, avU1, BaseT, BaseTe, BaseTMethod, BaseT_HC, beta_bioCO2, beta_enh_bioCO2, bldgH, CapMax_dec, CapMin_dec, chAnOHM, CO2PointSource, cpAnOHM, CRWmax, CRWmin, DayWat, DayWatPer, DecTreeH, DiagMethod, Diagnose, DiagQN, DiagQS, DRAINRT, dt_since_start, dqndt, qn_av, dqnsdt, qn_s_av, EF_umolCO2perJ, emis, EmissionsMethod, EnEF_v_Jkm, endDLS, EveTreeH, FAIBldg, FAIDecTree, FAIEveTree, Faut, FcEF_v_kgkm, fcld_obs, FlowChange, FrFossilFuel_Heat, FrFossilFuel_NonHeat, G1, G2, G3, G4, G5, G6, GDD_id, GDDFull, Gridiv, gsModel, H_maintain, HDD_id, HumActivity_24hr, IceFrac, id, Ie_a, Ie_end, Ie_m, Ie_start, imin, InternalWaterUse_h, IrrFracPaved, IrrFracBldgs, IrrFracEveTr, IrrFracDecTr, IrrFracGrass, IrrFracBSoil, IrrFracWater, isec, it, EvapMethod, iy, kkAnOHM, Kmax, LAI_id, LAICalcYes, LAIMax, LAIMin, LAI_obs, LAIPower, LAIType, lat, lenDay_id, ldown_obs, lng, MaxConductance, MaxFCMetab, MaxQFMetab, SnowWater, MetForcingData_grid, MinFCMetab, MinQFMetab, min_res_bioCO2, NARP_EMIS_SNOW, NARP_TRANS_SITE, NetRadiationMethod, nlayer, n_vegetation_region_urban, n_stream_sw_urban, n_stream_lw_urban, sw_dn_direct_frac, air_ext_sw, air_ssa_sw, veg_ssa_sw, air_ext_lw, air_ssa_lw, veg_ssa_lw, veg_fsd_const, veg_contact_fraction_const, ground_albedo_dir_mult_fact, use_sw_direct_albedo, height, building_frac, veg_frac, building_scale, veg_scale, alb_roof, emis_roof, alb_wall, emis_wall, roof_albedo_dir_mult_fact, wall_specular_frac, OHM_coef, OHMIncQF, OHM_threshSW, OHM_threshWD, PipeCapacity, PopDensDaytime, PopDensNighttime, PopProf_24hr, PorMax_dec, PorMin_dec, Precip, PrecipLimit, PrecipLimitAlb, Press_hPa, QF0_BEU, Qf_A, Qf_B, Qf_C, qn1_obs, qs_obs, qf_obs, RadMeltFact, RAINCOVER, RainMaxRes, resp_a, resp_b, RoughLenHeatMethod, RoughLenMomMethod, RunoffToWater, S1, S2, SatHydraulicConduct, SDDFull, SDD_id, SMDMethod, SnowAlb, SnowAlbMax, SnowAlbMin, SnowPackLimit, SnowDens, SnowDensMax, SnowDensMin, SnowfallCum, SnowFrac, SnowLimBldg, SnowLimPaved, snowFrac_obs, SnowPack, SnowProf_24hr, SnowUse, SoilDepth, StabilityMethod, startDLS, soilstore_surf, SoilStoreCap_surf, state_surf, StateLimit_surf, WetThresh_surf, soilstore_roof, SoilStoreCap_roof, state_roof, StateLimit_roof, WetThresh_roof, soilstore_wall, SoilStoreCap_wall, state_wall, StateLimit_wall, WetThresh_wall, StorageHeatMethod, StoreDrainPrm, SurfaceArea, Tair_av, tau_a, tau_f, tau_r, Tmax_id, Tmin_id, BaseT_Cooling, BaseT_Heating, Temp_C, TempMeltFact, TH, theta_bioCO2, timezone, TL, TrafficRate, TrafficUnits, sfr_surf, tsfc_roof, tsfc_wall, tsfc_surf, temp_roof, temp_wall, temp_surf, tin_roof, tin_wall, tin_surf, k_roof, k_wall, k_surf, cp_roof, cp_wall, cp_surf, dz_roof, dz_wall, dz_surf, TraffProf_24hr, Ts5mindata_ir, tstep, tstep_prev, veg_type, WaterDist, WaterUseMethod, wu_m3, WUDay_id, DecidCap_id, albDecTr_id, albEveTr_id, albGrass_id, porosity_id, WUProfA_24hr, WUProfM_24hr, xsmd, Z, z0m_in, zdm_in, datetimeLine, dataOutLineSUEWS, dataOutLineSnow, dataOutLineESTM, dataoutLineRSL, dataOutLineBEERS, dataOutLineDebug, dataOutLineSPARTACUS, dataOutLineESTMExt, DailyStateLine)
subroutine suews_calculations(Gridiv, ir, iMB, irMax)
subroutine errorhint(errh, ProblemFile, VALUE, value2, valueI)
subroutine suews_translateback(Gridiv, ir, irMax)
subroutine suews_translate(Gridiv, ir, iMB)