SUEWS API Site
Documentation of SUEWS source code
|
Functions/Subroutines | |
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_cal_anthropogenicemission (AH_MIN, AHProf_24hr, AH_SLOPE_Cooling, AH_SLOPE_Heating, CO2PointSource, dayofWeek_id, DLS, EF_umolCO2perJ, EmissionsMethod, EnEF_v_Jkm, FcEF_v_kgkm, FrFossilFuel_Heat, FrFossilFuel_NonHeat, HDD_id, HumActivity_24hr, imin, it, MaxFCMetab, MaxQFMetab, MinFCMetab, MinQFMetab, PopDensDaytime, PopDensNighttime, PopProf_24hr, QF, QF0_BEU, Qf_A, Qf_B, Qf_C, QF_obs, QF_SAHP, SurfaceArea, BaseT_Cooling, BaseT_Heating, Temp_C, TrafficRate, TrafficUnits, TraffProf_24hr, Fc_anthro, Fc_build, Fc_metab, Fc_point, Fc_traff) |
subroutine | suews_cal_biogenco2 (alpha_bioCO2, alpha_enh_bioCO2, avkdn, avRh, beta_bioCO2, beta_enh_bioCO2, dectime, Diagnose, EmissionsMethod, Fc_anthro, G1, G2, G3, G4, G5, G6, gfunc, gsmodel, id, it, Kmax, LAI_id, LAIMin, LAIMax, MaxConductance, min_res_bioCO2, Press_hPa, resp_a, resp_b, S1, S2, sfr_surf, SMDMethod, SnowFrac, t2_C, Temp_C, theta_bioCO2, TH, TL, vsmd, xsmd, Fc, Fc_biogen, Fc_photo, Fc_respi) |
subroutine | suews_cal_qn (storageheatmethod, NetRadiationMethod, SnowUse, tstep, nlayer, SnowPack_prev, tau_a, tau_f, SnowAlbMax, SnowAlbMin, Diagnose, ldown_obs, fcld_obs, dectime, ZENITH_deg, Tsurf_0, kdown, Tair_C, avRH, ea_hPa, qn1_obs, SnowAlb_prev, snowFrac_prev, DiagQN, NARP_TRANS_SITE, NARP_EMIS_SNOW, IceFrac, sfr_surf, sfr_roof, sfr_wall, tsfc_surf, tsfc_roof, tsfc_wall, emis, alb_prev, albDecTr_id, albEveTr_id, albGrass_id, LAI_id, 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, alb_next, ldown, fcld, qn_surf, qn_roof, qn_wall, qn, qn_snowfree, qn_snow, kclear, kup, lup, tsurf, qn_ind_snow, kup_ind_snow, Tsurf_ind_snow, Tsurf_ind, albedo_snow, SnowAlb_next, dataOutLineSPARTACUS) |
subroutine | suews_cal_qs (StorageHeatMethod, qs_obs, OHMIncQF, Gridiv, id, tstep, dt_since_start, Diagnose, nlayer, QG_surf, QG_roof, QG_wall, tsfc_roof, tin_roof, temp_in_roof, k_roof, cp_roof, dz_roof, sfr_roof, tsfc_wall, tin_wall, temp_in_wall, k_wall, cp_wall, dz_wall, sfr_wall, tsfc_surf, tin_surf, temp_in_surf, k_surf, cp_surf, dz_surf, sfr_surf, OHM_coef, OHM_threshSW, OHM_threshWD, soilstore_id, SoilStoreCap, state_id, SnowUse, SnowFrac, DiagQS, HDD_id, MetForcingData_grid, Ts5mindata_ir, qf, qn, avkdn, avu1, temp_c, zenith_deg, avrh, press_hpa, ldown, bldgh, alb, emis, cpAnOHM, kkAnOHM, chAnOHM, EmissionsMethod, Tair_av, qn_av_prev, dqndt_prev, qn_s_av_prev, dqnsdt_prev, StoreDrainPrm, qn_S, dataOutLineESTM, qs, qn_av_next, dqndt_next, qn_s_av_next, dqnsdt_next, deltaQi, a1, a2, a3, temp_out_roof, QS_roof, temp_out_wall, QS_wall, temp_out_surf, QS_surf) |
subroutine | suews_cal_water (Diagnose, SnowUse, NonWaterFraction, addPipes, addImpervious, addVeg, addWaterBody, state_id, sfr_surf, StoreDrainPrm, WaterDist, nsh_real, drain_per_tstep, drain, frac_water2runoff, AdditionalWater, runoffPipes, runoff_per_interval, AddWater) |
subroutine | suews_init_qh (avdens, avcp, h_mod, qn1, dectime, H_init) |
subroutine | suews_cal_snow (Diagnose, nlayer, tstep, imin, it, EvapMethod, dayofWeek_id, CRWmin, CRWmax, dectime, avdens, avcp, lv_J_kg, lvS_J_kg, avRh, Press_hPa, Temp_C, RAsnow, psyc_hPa, sIce_hPa, tau_r, RadMeltFact, TempMeltFact, SnowAlbMax, PrecipLimit, PrecipLimitAlb, qn_ind_snow, kup_ind_snow, deltaQi, Tsurf_ind_snow, SnowAlb_in, PervFraction, vegfraction, addimpervious, qn_snowfree, qf, qs, vpd_hPa, s_hPa, RS, RA, RB, SnowDensMax, SnowDensMin, precip, PipeCapacity, RunoffToWater, addVeg, SnowLimPaved, SnowLimBldg, FlowChange, drain, WetThresh_surf, SoilStoreCap, Tsurf_ind, sfr_surf, AddWater, addwaterrunoff, StoreDrainPrm, SnowPackLimit, SnowProf_24hr, SnowPack_in, SnowFrac_in, SnowWater_in, iceFrac_in, SnowDens_in, SnowfallCum_in, state_id_in, soilstore_id_in, qn_surf, qs_surf, SnowRemoval, SnowPack_out, SnowFrac_out, SnowWater_out, iceFrac_out, SnowDens_out, SnowfallCum_out, state_id_out, soilstore_id_out, state_per_tstep, NWstate_per_tstep, qe, qe_surf, qe_roof, qe_wall, SnowAlb_out, swe, chSnow_per_tstep, ev_per_tstep, runoff_per_tstep, surf_chang_per_tstep, runoffPipes, mwstore, runoffwaterbody, runoffAGveg, runoffAGimpervious, rss_surf, dataOutLineSnow) |
subroutine | suews_cal_qe (Diagnose, storageheatmethod, nlayer, tstep, EvapMethod, avdens, avcp, lv_J_kg, psyc_hPa, PervFraction, addimpervious, qf, vpd_hPa, s_hPa, RS, RA_h, RB, precip, PipeCapacity, RunoffToWater, NonWaterFraction, WU_surf, addVeg, addWaterBody, AddWater_surf, FlowChange, drain_surf, frac_water2runoff_surf, StoreDrainPrm, sfr_surf, StateLimit_surf, SoilStoreCap_surf, WetThresh_surf, state_surf_in, soilstore_surf_in, qn_surf, qs_surf, sfr_roof, StateLimit_roof, SoilStoreCap_roof, WetThresh_roof, state_roof_in, soilstore_roof_in, qn_roof, qs_roof, sfr_wall, StateLimit_wall, SoilStoreCap_wall, WetThresh_wall, state_wall_in, soilstore_wall_in, qn_wall, qs_wall, state_surf_out, soilstore_surf_out, ev_surf, state_roof_out, soilstore_roof_out, ev_roof, state_wall_out, soilstore_wall_out, ev_wall, state_grid, NWstate_grid, ev0_surf, qe0_surf, qe, qe_surf, qe_roof, qe_wall, ev_grid, runoff_grid, surf_chang_grid, runoffPipes_grid, runoffWaterBody_grid, runoffAGveg_grid, runoffAGimpervious_grid, rss_surf) |
subroutine | suews_cal_qh (QHMethod, nlayer, storageheatmethod, qn, qf, QmRain, qe, qs, QmFreez, qm, avdens, avcp, sfr_surf, sfr_roof, sfr_wall, tsfc_surf, tsfc_roof, tsfc_wall, Temp_C, RA, qh, qh_residual, qh_resist, qh_resist_surf, qh_resist_roof, qh_resist_wall) |
subroutine | suews_cal_resistance (StabilityMethod, Diagnose, AerodynamicResistanceMethod, RoughLenHeatMethod, SnowUse, id, it, gsModel, SMDMethod, avdens, avcp, QH_init, zzd, z0m, zdm, avU1, Temp_C, VegFraction, avkdn, Kmax, G1, G2, G3, G4, G5, G6, S1, S2, TH, TL, dq, xsmd, vsmd, MaxConductance, LAIMax, LAI_id, SnowFrac, sfr_surf, UStar, TStar, L_mod, zL, gsc, RS, RA, RASnow, RB, z0v, z0vSnow) |
subroutine | suews_update_outputline (AdditionalWater, alb, avkdn, avU10_ms, azimuth, chSnow_per_interval, dectime, drain_per_tstep, E_mod, ev_per_tstep, ext_wu, Fc, Fc_build, fcld, Fc_metab, Fc_photo, Fc_respi, Fc_point, Fc_traff, FlowChange, h_mod, id, imin, int_wu, it, iy, kup, LAI_id, ldown, l_mod, lup, mwh, MwStore, nsh_real, NWstate_per_tstep, Precip, q2_gkg, qeOut, qf, qh, qh_resist, Qm, QmFreez, QmRain, qn, qn_snow, qn_snowfree, qs, RA, resistsurf, RH2, runoffAGimpervious, runoffAGveg, runoff_per_tstep, runoffPipes, runoffSoil_per_tstep, runoffWaterBody, sfr_surf, smd, smd_nsurf, SnowAlb, SnowRemoval, state_id, state_per_tstep, surf_chang_per_tstep, swe, t2_C, tskin_C, tot_chang_per_tstep, tsurf, UStar, wu_nsurf, z0m, zdm, zenith_deg, datetimeLine, dataOutLineSUEWS) |
subroutine | estmext_update_outputline (iy, id, it, imin, dectime, nlayer, tsfc_out_surf, qs_surf, tsfc_out_roof, Qn_roof, QS_roof, QE_roof, QH_roof, state_roof, soilstore_roof, tsfc_out_wall, Qn_wall, QS_wall, QE_wall, QH_wall, state_wall, soilstore_wall, datetimeLine, dataOutLineESTMExt) |
real(kind(1d0)) function, dimension(n_fill) | fill_result (res_valid, n_fill) |
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_surf (StorageHeatMethod, NetRadiationMethod, nlayer, sfr_surf, building_frac, building_scale, height, vegfraction, ImpervFraction, PervFraction, NonWaterFraction, sfr_roof, sfr_wall) |
elemental real(kind(1d0)) function | set_nan (x) |
real(kind(1d0)) function | square (x) |
real function | square_real (x) |
subroutine | output_name_n (i, name, group, aggreg, outlevel) |
subroutine | output_size (nVar) |
subroutine | suews_cal_multitsteps (MetForcingBlock, len_sim, 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, 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, FlowChange, FrFossilFuel_Heat, FrFossilFuel_NonHeat, G1, G2, G3, G4, G5, G6, GDD_id, GDDFull, Gridiv, gsModel, H_maintain, HDD_id, HumActivity_24hr, IceFrac, Ie_a, Ie_end, Ie_m, Ie_start, InternalWaterUse_h, IrrFracPaved, IrrFracBldgs, IrrFracEveTr, IrrFracDecTr, IrrFracGrass, IrrFracBSoil, IrrFracWater, EvapMethod, kkAnOHM, Kmax, LAI_id, LAICalcYes, LAIMax, LAIMin, LAIPower, LAIType, lat, lng, MaxConductance, MaxFCMetab, MaxQFMetab, SnowWater, MinFCMetab, MinQFMetab, min_res_bioCO2, NARP_EMIS_SNOW, NARP_TRANS_SITE, NetRadiationMethod, OHM_coef, OHMIncQF, OHM_threshSW, OHM_threshWD, PipeCapacity, PopDensDaytime, PopDensNighttime, PopProf_24hr, PorMax_dec, PorMin_dec, PrecipLimit, PrecipLimitAlb, QF0_BEU, Qf_A, Qf_B, Qf_C, 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, 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, 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, BaseT_Cooling, BaseT_Heating, 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_wall, k_roof, k_surf, cp_wall, cp_roof, cp_surf, dz_wall, dz_roof, dz_surf, Tmin_id, Tmax_id, lenday_id, TraffProf_24hr, Ts5mindata_ir, tstep, tstep_prev, veg_type, WaterDist, WaterUseMethod, WUDay_id, DecidCap_id, albDecTr_id, albEveTr_id, albGrass_id, porosity_id, WUProfA_24hr, WUProfM_24hr, Z, z0m_in, zdm_in, dataOutBlockSUEWS, dataOutBlockSnow, dataOutBlockESTM, dataOutBlockRSL, dataOutBlockBEERS, dataOutBlockDebug, dataOutBlockSPARTACUS, dataOutBlockESTMExt, DailyStateBlock) |
subroutine | suews_cal_sunposition (year, idectime, UTC, locationlatitude, locationlongitude, locationaltitude, sunazimuth, sunzenith) |
real(kind(1d0)) function | cal_tair_av (tair_av_prev, dt_since_start, tstep, temp_c) |
real(kind(1d0)) function | cal_tsfc (qh, avdens, avcp, RA, temp_c) |
real(kind(1d0)) function suews_driver::cal_tair_av | ( | real(kind(1d0)), intent(in) | tair_av_prev, |
integer, intent(in) | dt_since_start, | ||
integer, intent(in) | tstep, | ||
real(kind(1d0)), intent(in) | temp_c | ||
) |
Definition at line 4922 of file suews_ctrl_driver.f95.
Referenced by suews_cal_main().
real(kind(1d0)) function suews_driver::cal_tsfc | ( | real(kind(1d0)), intent(in) | qh, |
real(kind(1d0)), intent(in) | avdens, | ||
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), intent(in) | RA, | ||
real(kind(1d0)), intent(in) | temp_c | ||
) |
Definition at line 4950 of file suews_ctrl_driver.f95.
References moist::avcp, and moist::avdens.
Referenced by suews_cal_main().
subroutine suews_driver::estmext_update_outputline | ( | integer, intent(in) | iy, |
integer, intent(in) | id, | ||
integer, intent(in) | it, | ||
integer, intent(in) | imin, | ||
real(kind(1d0)), intent(in) | dectime, | ||
integer, intent(in) | nlayer, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tsfc_out_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qs_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_out_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | Qn_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QS_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QE_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QH_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | state_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | soilstore_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_out_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | Qn_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QS_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QE_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QH_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | state_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | soilstore_wall, | ||
real(kind(1d0)), dimension(5), intent(out) | datetimeLine, | ||
real(kind(1d0)), dimension(ncolumnsdataoutestmext - 5), intent(out) | dataOutLineESTMExt | ||
) |
Definition at line 3563 of file suews_ctrl_driver.f95.
References fill_result().
Referenced by suews_cal_main().
real(kind(1d0)) function, dimension(n_fill) suews_driver::fill_result | ( | real(kind(1d0)), dimension(:), intent(in) | res_valid, |
integer, intent(in) | n_fill | ||
) |
Definition at line 3660 of file suews_ctrl_driver.f95.
Referenced by estmext_update_outputline().
subroutine suews_driver::output_name_n | ( | integer, intent(in) | i, |
character(len=15), intent(out) | name, | ||
character(len=15), intent(out) | group, | ||
character(len=15), intent(out) | aggreg, | ||
integer, intent(out) | outlevel | ||
) |
Definition at line 4047 of file suews_ctrl_driver.f95.
References ctrl_output::varlistall.
subroutine suews_driver::output_size | ( | integer, intent(out) | nVar | ) |
Definition at line 4072 of file suews_ctrl_driver.f95.
References ctrl_output::varlistall.
elemental real(kind(1d0)) function suews_driver::set_nan | ( | real(kind(1d0)), intent(in) | x | ) |
Definition at line 4003 of file suews_ctrl_driver.f95.
Referenced by suews_cal_main(), and suews_update_output().
real(kind(1d0)) function suews_driver::square | ( | real(kind(1d0)), intent(in) | x | ) |
Definition at line 4023 of file suews_ctrl_driver.f95.
real function suews_driver::square_real | ( | real, intent(in) | x | ) |
Definition at line 4035 of file suews_ctrl_driver.f95.
subroutine suews_driver::suews_cal_anthropogenicemission | ( | real(kind(1d0)), dimension(2), intent(in) | AH_MIN, |
real(kind(1d0)), dimension(0:23, 2), intent(in) | AHProf_24hr, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Heating, | ||
real(kind(1d0)), intent(in) | CO2PointSource, | ||
integer, dimension(3), intent(in) | dayofWeek_id, | ||
integer, intent(in) | DLS, | ||
real(kind(1d0)), intent(in) | EF_umolCO2perJ, | ||
integer, intent(in) | EmissionsMethod, | ||
real(kind(1d0)), intent(in) | EnEF_v_Jkm, | ||
real(kind(1d0)), dimension(2), intent(in) | FcEF_v_kgkm, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_Heat, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_NonHeat, | ||
real(kind(1d0)), dimension(6, 2), intent(in) | HDD_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | HumActivity_24hr, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | it, | ||
real(kind(1d0)), intent(in) | MaxFCMetab, | ||
real(kind(1d0)), intent(in) | MaxQFMetab, | ||
real(kind(1d0)), intent(in) | MinFCMetab, | ||
real(kind(1d0)), intent(in) | MinQFMetab, | ||
real(kind(1d0)), dimension(2), intent(in) | PopDensDaytime, | ||
real(kind(1d0)), intent(in) | PopDensNighttime, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | PopProf_24hr, | ||
real(kind(1d0)), intent(out) | QF, | ||
real(kind(1d0)), dimension(2), intent(in) | QF0_BEU, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_A, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_B, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_C, | ||
real(kind(1d0)), intent(in) | QF_obs, | ||
real(kind(1d0)), intent(out) | QF_SAHP, | ||
real(kind(1d0)), intent(in) | SurfaceArea, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Heating, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), dimension(2), intent(in) | TrafficRate, | ||
real(kind(1d0)), intent(in) | TrafficUnits, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | TraffProf_24hr, | ||
real(kind(1d0)), intent(out) | Fc_anthro, | ||
real(kind(1d0)), intent(out) | Fc_build, | ||
real(kind(1d0)), intent(out) | Fc_metab, | ||
real(kind(1d0)), intent(out) | Fc_point, | ||
real(kind(1d0)), intent(out) | Fc_traff | ||
) |
Definition at line 1573 of file suews_ctrl_driver.f95.
References anemsn_module::anthropogenicemissions(), and errorhint().
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_biogenco2 | ( | real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_bioCO2, |
real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | avkdn, | ||
real(kind(1d0)), intent(in) | avRh, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_bioCO2, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | dectime, | ||
integer, intent(in) | Diagnose, | ||
integer, intent(in) | EmissionsMethod, | ||
real(kind(1d0)), intent(in) | Fc_anthro, | ||
real(kind(1d0)), intent(in) | G1, | ||
real(kind(1d0)), intent(in) | G2, | ||
real(kind(1d0)), intent(in) | G3, | ||
real(kind(1d0)), intent(in) | G4, | ||
real(kind(1d0)), intent(in) | G5, | ||
real(kind(1d0)), intent(in) | G6, | ||
real(kind(1d0)), intent(in) | gfunc, | ||
integer, intent(in) | gsmodel, | ||
integer, intent(in) | id, | ||
integer, intent(in) | it, | ||
real(kind(1d0)), intent(in) | Kmax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(3), intent(in) | MaxConductance, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | min_res_bioCO2, | ||
real(kind(1d0)), intent(in) | Press_hPa, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_a, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_b, | ||
real(kind(1d0)), intent(in) | S1, | ||
real(kind(1d0)), intent(in) | S2, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
integer, intent(in) | SMDMethod, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowFrac, | ||
real(kind(1d0)), intent(in) | t2_C, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | theta_bioCO2, | ||
real(kind(1d0)), intent(in) | TH, | ||
real(kind(1d0)), intent(in) | TL, | ||
real(kind(1d0)), intent(in) | vsmd, | ||
real(kind(1d0)), intent(in) | xsmd, | ||
real(kind(1d0)), intent(out) | Fc, | ||
real(kind(1d0)), intent(out) | Fc_biogen, | ||
real(kind(1d0)), intent(out) | Fc_photo, | ||
real(kind(1d0)), intent(out) | Fc_respi | ||
) |
Definition at line 1680 of file suews_ctrl_driver.f95.
References allocatearray::bsoilsurf, atmmoiststab_module::cal_atmmoist(), co2_module::co2_biogen(), allocatearray::conifsurf, allocatearray::decidsurf, allocatearray::grasssurf, allocatearray::ivconif, allocatearray::ivdecid, allocatearray::ivgrass, allocatearray::nsurf, allocatearray::nvegsurf, and resist_module::surfaceresistance().
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_main | ( | integer, intent(in) | AerodynamicResistanceMethod, |
real(kind(1d0)), dimension(2), intent(in) | AH_MIN, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | AHProf_24hr, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Heating, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | alb, | ||
real(kind(1d0)), intent(in) | AlbMax_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMax_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMax_Grass, | ||
real(kind(1d0)), intent(in) | AlbMin_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMin_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMin_Grass, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_bioCO2, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | alt, | ||
real(kind(1d0)), intent(in) | kdown, | ||
real(kind(1d0)), intent(in) | avRh, | ||
real(kind(1d0)), intent(in) | avU1, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
integer, intent(in) | BaseTMethod, | ||
real(kind(1d0)), intent(in) | BaseT_HC, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_bioCO2, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | bldgH, | ||
real(kind(1d0)), intent(in) | CapMax_dec, | ||
real(kind(1d0)), intent(in) | CapMin_dec, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | chAnOHM, | ||
real(kind(1d0)), intent(in) | CO2PointSource, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | cpAnOHM, | ||
real(kind(1d0)), intent(in) | CRWmax, | ||
real(kind(1d0)), intent(in) | CRWmin, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWat, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWatPer, | ||
real(kind(1d0)), intent(in) | DecTreeH, | ||
integer, intent(in) | DiagMethod, | ||
integer, intent(in) | Diagnose, | ||
integer, intent(in) | DiagQN, | ||
integer, intent(in) | DiagQS, | ||
real(kind(1d0)), intent(in) | DRAINRT, | ||
integer, intent(in) | dt_since_start, | ||
real(kind(1d0)), intent(inout) | dqndt, | ||
real(kind(1d0)), intent(inout) | qn_av, | ||
real(kind(1d0)), intent(inout) | dqnsdt, | ||
real(kind(1d0)), intent(inout) | qn_s_av, | ||
real(kind(1d0)), intent(in) | EF_umolCO2perJ, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | emis, | ||
integer, intent(in) | EmissionsMethod, | ||
real(kind(1d0)), intent(in) | EnEF_v_Jkm, | ||
integer, intent(in) | endDLS, | ||
real(kind(1d0)), intent(in) | EveTreeH, | ||
real(kind(1d0)), intent(in) | FAIBldg, | ||
real(kind(1d0)), intent(in) | FAIDecTree, | ||
real(kind(1d0)), intent(in) | FAIEveTree, | ||
real(kind(1d0)), intent(in) | Faut, | ||
real(kind(1d0)), dimension(2), intent(in) | FcEF_v_kgkm, | ||
real(kind(1d0)), intent(in) | fcld_obs, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_Heat, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_NonHeat, | ||
real(kind(1d0)), intent(in) | G1, | ||
real(kind(1d0)), intent(in) | G2, | ||
real(kind(1d0)), intent(in) | G3, | ||
real(kind(1d0)), intent(in) | G4, | ||
real(kind(1d0)), intent(in) | G5, | ||
real(kind(1d0)), intent(in) | G6, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | GDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
integer, intent(in) | Gridiv, | ||
integer, intent(in) | gsModel, | ||
real(kind(1d0)), intent(in) | H_maintain, | ||
real(kind(1d0)), dimension(12), intent(inout) | HDD_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | HumActivity_24hr, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | IceFrac, | ||
integer, intent(in) | id, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_a, | ||
integer, intent(in) | Ie_end, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_m, | ||
integer, intent(in) | Ie_start, | ||
integer, intent(in) | imin, | ||
real(kind(1d0)), intent(in) | InternalWaterUse_h, | ||
real(kind(1d0)), intent(in) | IrrFracPaved, | ||
real(kind(1d0)), intent(in) | IrrFracBldgs, | ||
real(kind(1d0)), intent(in) | IrrFracEveTr, | ||
real(kind(1d0)), intent(in) | IrrFracDecTr, | ||
real(kind(1d0)), intent(in) | IrrFracGrass, | ||
real(kind(1d0)), intent(in) | IrrFracBSoil, | ||
real(kind(1d0)), intent(in) | IrrFracWater, | ||
integer, intent(in) | isec, | ||
integer, intent(in) | it, | ||
integer, intent(in) | EvapMethod, | ||
integer, intent(in) | iy, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | kkAnOHM, | ||
real(kind(1d0)), intent(in) | Kmax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | LAI_id, | ||
integer, intent(in) | LAICalcYes, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), intent(in) | LAI_obs, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(inout) | lenDay_id, | ||
real(kind(1d0)), intent(in) | ldown_obs, | ||
real(kind(1d0)), intent(in) | lng, | ||
real(kind(1d0)), dimension(3), intent(in) | MaxConductance, | ||
real(kind(1d0)), intent(in) | MaxFCMetab, | ||
real(kind(1d0)), intent(in) | MaxQFMetab, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowWater, | ||
real(kind(1d0)), dimension(:, :), intent(in) | MetForcingData_grid, | ||
real(kind(1d0)), intent(in) | MinFCMetab, | ||
real(kind(1d0)), intent(in) | MinQFMetab, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | min_res_bioCO2, | ||
real(kind(1d0)), intent(in) | NARP_EMIS_SNOW, | ||
real(kind(1d0)), intent(in) | NARP_TRANS_SITE, | ||
integer, intent(in) | NetRadiationMethod, | ||
integer, intent(in) | nlayer, | ||
integer, intent(in) | n_vegetation_region_urban, | ||
integer, intent(in) | n_stream_sw_urban, | ||
integer, intent(in) | n_stream_lw_urban, | ||
real(kind(1d0)), intent(in) | sw_dn_direct_frac, | ||
real(kind(1d0)), intent(in) | air_ext_sw, | ||
real(kind(1d0)), intent(in) | air_ssa_sw, | ||
real(kind(1d0)), intent(in) | veg_ssa_sw, | ||
real(kind(1d0)), intent(in) | air_ext_lw, | ||
real(kind(1d0)), intent(in) | air_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_fsd_const, | ||
real(kind(1d0)), intent(in) | veg_contact_fraction_const, | ||
real(kind(1d0)), intent(in) | ground_albedo_dir_mult_fact, | ||
logical, intent(in) | use_sw_direct_albedo, | ||
real(kind(1d0)), dimension(nlayer + 1), intent(in) | height, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_wall, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | roof_albedo_dir_mult_fact, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | wall_specular_frac, | ||
real(kind(1d0)), dimension(nsurf + 1, 4, 3), intent(in) | OHM_coef, | ||
integer, intent(in) | OHMIncQF, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshSW, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshWD, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), dimension(2), intent(in) | PopDensDaytime, | ||
real(kind(1d0)), intent(in) | PopDensNighttime, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | PopProf_24hr, | ||
real(kind(1d0)), intent(in) | PorMax_dec, | ||
real(kind(1d0)), intent(in) | PorMin_dec, | ||
real(kind(1d0)), intent(in) | Precip, | ||
real(kind(1d0)), intent(in) | PrecipLimit, | ||
real(kind(1d0)), intent(in) | PrecipLimitAlb, | ||
real(kind(1d0)), intent(in) | Press_hPa, | ||
real(kind(1d0)), dimension(2), intent(in) | QF0_BEU, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_A, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_B, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_C, | ||
real(kind(1d0)), intent(in) | qn1_obs, | ||
real(kind(1d0)), intent(in) | qs_obs, | ||
real(kind(1d0)), intent(in) | qf_obs, | ||
real(kind(1d0)), intent(in) | RadMeltFact, | ||
real(kind(1d0)), intent(in) | RAINCOVER, | ||
real(kind(1d0)), intent(in) | RainMaxRes, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_a, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_b, | ||
integer, intent(in) | RoughLenHeatMethod, | ||
integer, intent(in) | RoughLenMomMethod, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(in) | S1, | ||
real(kind(1d0)), intent(in) | S2, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SatHydraulicConduct, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | SDD_id, | ||
integer, intent(in) | SMDMethod, | ||
real(kind(1d0)), intent(inout) | SnowAlb, | ||
real(kind(1d0)), intent(in) | SnowAlbMax, | ||
real(kind(1d0)), intent(in) | SnowAlbMin, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowPackLimit, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowDens, | ||
real(kind(1d0)), intent(in) | SnowDensMax, | ||
real(kind(1d0)), intent(in) | SnowDensMin, | ||
real(kind(1d0)), intent(inout) | SnowfallCum, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowFrac, | ||
real(kind(1d0)), intent(in) | SnowLimBldg, | ||
real(kind(1d0)), intent(in) | SnowLimPaved, | ||
real(kind(1d0)), intent(in) | snowFrac_obs, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowPack, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | SnowProf_24hr, | ||
integer, intent(in) | SnowUse, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilDepth, | ||
integer, intent(in) | StabilityMethod, | ||
integer, intent(in) | startDLS, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | soilstore_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | state_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | StateLimit_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | WetThresh_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | soilstore_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | state_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | soilstore_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | state_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_wall, | ||
integer, intent(in) | StorageHeatMethod, | ||
real(kind(1d0)), dimension(6, nsurf), intent(inout) | StoreDrainPrm, | ||
real(kind(1d0)), intent(in) | SurfaceArea, | ||
real(kind(1d0)), intent(inout) | Tair_av, | ||
real(kind(1d0)), intent(in) | tau_a, | ||
real(kind(1d0)), intent(in) | tau_f, | ||
real(kind(1d0)), intent(in) | tau_r, | ||
real(kind(1d0)), intent(inout) | Tmax_id, | ||
real(kind(1d0)), intent(inout) | Tmin_id, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Heating, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | TempMeltFact, | ||
real(kind(1d0)), intent(in) | TH, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | theta_bioCO2, | ||
real(kind(1d0)), intent(in) | timezone, | ||
real(kind(1d0)), intent(in) | TL, | ||
real(kind(1d0)), dimension(2), intent(in) | TrafficRate, | ||
real(kind(1d0)), intent(in) | TrafficUnits, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | tsfc_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | tsfc_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | tsfc_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(inout) | temp_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(inout) | temp_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(inout) | temp_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tin_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | k_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | cp_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | dz_surf, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | TraffProf_24hr, | ||
real(kind(1d0)), dimension(:), intent(in) | Ts5mindata_ir, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | tstep_prev, | ||
integer, intent(in) | veg_type, | ||
real(kind(1d0)), dimension(nsurf + 1, nsurf - 1), intent(in) | WaterDist, | ||
integer, intent(in) | WaterUseMethod, | ||
real(kind(1d0)), intent(in) | wu_m3, | ||
real(kind(1d0)), dimension(9), intent(inout) | WUDay_id, | ||
real(kind(1d0)), intent(inout) | DecidCap_id, | ||
real(kind(1d0)), intent(inout) | albDecTr_id, | ||
real(kind(1d0)), intent(inout) | albEveTr_id, | ||
real(kind(1d0)), intent(inout) | albGrass_id, | ||
real(kind(1d0)), intent(inout) | porosity_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | WUProfA_24hr, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | WUProfM_24hr, | ||
real(kind(1d0)), intent(in) | xsmd, | ||
real(kind(1d0)), intent(in) | Z, | ||
real(kind(1d0)), intent(in) | z0m_in, | ||
real(kind(1d0)), intent(in) | zdm_in, | ||
real(kind(1d0)), dimension(5), intent(out) | datetimeLine, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsuews - 5), intent(out) | dataOutLineSUEWS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsnow - 5), intent(out) | dataOutLineSnow, | ||
real(kind(1d0)), dimension(ncolumnsdataoutestm - 5), intent(out) | dataOutLineESTM, | ||
real(kind(1d0)), dimension(ncolumnsdataoutrsl - 5), intent(out) | dataoutLineRSL, | ||
real(kind(1d0)), dimension(ncolumnsdataoutbeers - 5), intent(out) | dataOutLineBEERS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutdebug - 5), intent(out) | dataOutLineDebug, | ||
real(kind(1d0)), dimension(ncolumnsdataoutspartacus - 5), intent(out) | dataOutLineSPARTACUS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutestmext - 5), intent(out) | dataOutLineESTMExt, | ||
real(kind(1d0)), dimension(ncolumnsdataoutdailystate - 5), intent(out) | DailyStateLine | ||
) |
Definition at line 51 of file suews_ctrl_driver.f95.
References moist::avcp, moist::avdens, beers_module::beers_cal_main(), allocatearray::bldgsurf, atmmoiststab_module::cal_atmmoist(), cal_tair_av(), cal_tsfc(), estmext_update_outputline(), lumps_module::lumps_cal_qhqe(), moist::lv_j_kg, narp_module::narp_cal_sunposition(), allocatearray::nsurf, rsl_module::rslprofile(), set_nan(), suews_cal_anthropogenicemission(), suews_cal_biogenco2(), dailystate_module::suews_cal_dailystate(), beers_module::suews_cal_dectime(), beers_module::suews_cal_dls(), waterdist_module::suews_cal_horizontalsoilwater(), suews_cal_qe(), suews_cal_qh(), suews_cal_qn(), suews_cal_qs(), suews_cal_resistance(), resist_module::suews_cal_roughnessparameters(), suews_cal_snow(), waterdist_module::suews_cal_soilstate(), suews_cal_surf(), beers_module::suews_cal_tstep(), suews_cal_water(), waterdist_module::suews_cal_wateruse(), beers_module::suews_cal_weekday(), suews_update_outputline(), waterdist_module::suews_update_soilmoist(), and dailystate_module::update_dailystateline().
Referenced by suews_cal_multitsteps(), suews_calculations(), and sumin_module::sumin().
subroutine suews_driver::suews_cal_multitsteps | ( | real(kind(1d0)), dimension(len_sim, 24), intent(in) | MetForcingBlock, |
integer, intent(in) | len_sim, | ||
integer, intent(in) | AerodynamicResistanceMethod, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_MIN, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | AHProf_24hr, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | AH_SLOPE_Heating, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | alb, | ||
real(kind(1d0)), intent(in) | AlbMax_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMax_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMax_Grass, | ||
real(kind(1d0)), intent(in) | AlbMin_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMin_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMin_Grass, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_bioCO2, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | alpha_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | alt, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
integer, intent(in) | BaseTMethod, | ||
real(kind(1d0)), intent(in) | BaseT_HC, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_bioCO2, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | beta_enh_bioCO2, | ||
real(kind(1d0)), intent(in) | bldgH, | ||
real(kind(1d0)), intent(in) | CapMax_dec, | ||
real(kind(1d0)), intent(in) | CapMin_dec, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | chAnOHM, | ||
real(kind(1d0)), intent(in) | CO2PointSource, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | cpAnOHM, | ||
real(kind(1d0)), intent(in) | CRWmax, | ||
real(kind(1d0)), intent(in) | CRWmin, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWat, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWatPer, | ||
real(kind(1d0)), intent(in) | DecTreeH, | ||
integer, intent(in) | DiagMethod, | ||
integer, intent(in) | Diagnose, | ||
integer, intent(in) | DiagQN, | ||
integer, intent(in) | DiagQS, | ||
real(kind(1d0)), intent(in) | DRAINRT, | ||
integer, intent(inout) | dt_since_start, | ||
real(kind(1d0)), intent(inout) | dqndt, | ||
real(kind(1d0)), intent(inout) | qn_av, | ||
real(kind(1d0)), intent(inout) | dqnsdt, | ||
real(kind(1d0)), intent(inout) | qn_s_av, | ||
real(kind(1d0)), intent(in) | EF_umolCO2perJ, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | emis, | ||
integer, intent(in) | EmissionsMethod, | ||
real(kind(1d0)), intent(in) | EnEF_v_Jkm, | ||
integer, intent(in) | endDLS, | ||
real(kind(1d0)), intent(in) | EveTreeH, | ||
real(kind(1d0)), intent(in) | FAIBldg, | ||
real(kind(1d0)), intent(in) | FAIDecTree, | ||
real(kind(1d0)), intent(in) | FAIEveTree, | ||
real(kind(1d0)), intent(in) | Faut, | ||
real(kind(1d0)), dimension(2), intent(in) | FcEF_v_kgkm, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_Heat, | ||
real(kind(1d0)), intent(in) | FrFossilFuel_NonHeat, | ||
real(kind(1d0)), intent(in) | G1, | ||
real(kind(1d0)), intent(in) | G2, | ||
real(kind(1d0)), intent(in) | G3, | ||
real(kind(1d0)), intent(in) | G4, | ||
real(kind(1d0)), intent(in) | G5, | ||
real(kind(1d0)), intent(in) | G6, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | GDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
integer, intent(in) | Gridiv, | ||
integer, intent(in) | gsModel, | ||
real(kind(1d0)), intent(in) | H_maintain, | ||
real(kind(1d0)), dimension(12), intent(inout) | HDD_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | HumActivity_24hr, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | IceFrac, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_a, | ||
integer, intent(in) | Ie_end, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_m, | ||
integer, intent(in) | Ie_start, | ||
real(kind(1d0)), intent(in) | InternalWaterUse_h, | ||
real(kind(1d0)), intent(in) | IrrFracPaved, | ||
real(kind(1d0)), intent(in) | IrrFracBldgs, | ||
real(kind(1d0)), intent(in) | IrrFracEveTr, | ||
real(kind(1d0)), intent(in) | IrrFracDecTr, | ||
real(kind(1d0)), intent(in) | IrrFracGrass, | ||
real(kind(1d0)), intent(in) | IrrFracBSoil, | ||
real(kind(1d0)), intent(in) | IrrFracWater, | ||
integer, intent(in) | EvapMethod, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | kkAnOHM, | ||
real(kind(1d0)), intent(in) | Kmax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | LAI_id, | ||
integer, intent(in) | LAICalcYes, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | lng, | ||
real(kind(1d0)), dimension(3), intent(in) | MaxConductance, | ||
real(kind(1d0)), intent(in) | MaxFCMetab, | ||
real(kind(1d0)), intent(in) | MaxQFMetab, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowWater, | ||
real(kind(1d0)), intent(in) | MinFCMetab, | ||
real(kind(1d0)), intent(in) | MinQFMetab, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | min_res_bioCO2, | ||
real(kind(1d0)), intent(in) | NARP_EMIS_SNOW, | ||
real(kind(1d0)), intent(in) | NARP_TRANS_SITE, | ||
integer, intent(in) | NetRadiationMethod, | ||
real(kind(1d0)), dimension(nsurf + 1, 4, 3), intent(in) | OHM_coef, | ||
integer, intent(in) | OHMIncQF, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshSW, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshWD, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), dimension(2), intent(in) | PopDensDaytime, | ||
real(kind(1d0)), intent(in) | PopDensNighttime, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | PopProf_24hr, | ||
real(kind(1d0)), intent(in) | PorMax_dec, | ||
real(kind(1d0)), intent(in) | PorMin_dec, | ||
real(kind(1d0)), intent(in) | PrecipLimit, | ||
real(kind(1d0)), intent(in) | PrecipLimitAlb, | ||
real(kind(1d0)), dimension(2), intent(in) | QF0_BEU, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_A, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_B, | ||
real(kind(1d0)), dimension(2), intent(in) | Qf_C, | ||
integer, intent(in) | nlayer, | ||
integer, intent(in) | n_vegetation_region_urban, | ||
integer, intent(in) | n_stream_sw_urban, | ||
integer, intent(in) | n_stream_lw_urban, | ||
real(kind(1d0)), intent(in) | sw_dn_direct_frac, | ||
real(kind(1d0)), intent(in) | air_ext_sw, | ||
real(kind(1d0)), intent(in) | air_ssa_sw, | ||
real(kind(1d0)), intent(in) | veg_ssa_sw, | ||
real(kind(1d0)), intent(in) | air_ext_lw, | ||
real(kind(1d0)), intent(in) | air_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_fsd_const, | ||
real(kind(1d0)), intent(in) | veg_contact_fraction_const, | ||
real(kind(1d0)), intent(in) | ground_albedo_dir_mult_fact, | ||
logical, intent(in) | use_sw_direct_albedo, | ||
real(kind(1d0)), dimension(nlayer + 1), intent(in) | height, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_wall, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | roof_albedo_dir_mult_fact, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | wall_specular_frac, | ||
real(kind(1d0)), intent(in) | RadMeltFact, | ||
real(kind(1d0)), intent(in) | RAINCOVER, | ||
real(kind(1d0)), intent(in) | RainMaxRes, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_a, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | resp_b, | ||
integer, intent(in) | RoughLenHeatMethod, | ||
integer, intent(in) | RoughLenMomMethod, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(in) | S1, | ||
real(kind(1d0)), intent(in) | S2, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SatHydraulicConduct, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | SDD_id, | ||
integer, intent(in) | SMDMethod, | ||
real(kind(1d0)), intent(inout) | SnowAlb, | ||
real(kind(1d0)), intent(in) | SnowAlbMax, | ||
real(kind(1d0)), intent(in) | SnowAlbMin, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowPackLimit, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowDens, | ||
real(kind(1d0)), intent(in) | SnowDensMax, | ||
real(kind(1d0)), intent(in) | SnowDensMin, | ||
real(kind(1d0)), intent(inout) | SnowfallCum, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowFrac, | ||
real(kind(1d0)), intent(in) | SnowLimBldg, | ||
real(kind(1d0)), intent(in) | SnowLimPaved, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | SnowPack, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | SnowProf_24hr, | ||
integer, intent(in) | SnowUse, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilDepth, | ||
integer, intent(in) | StabilityMethod, | ||
integer, intent(in) | startDLS, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | soilstore_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | state_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | StateLimit_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | WetThresh_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | soilstore_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | state_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | soilstore_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | state_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_wall, | ||
integer, intent(in) | StorageHeatMethod, | ||
real(kind(1d0)), dimension(6, nsurf), intent(inout) | StoreDrainPrm, | ||
real(kind(1d0)), intent(in) | SurfaceArea, | ||
real(kind(1d0)), intent(inout) | Tair_av, | ||
real(kind(1d0)), intent(in) | tau_a, | ||
real(kind(1d0)), intent(in) | tau_f, | ||
real(kind(1d0)), intent(in) | tau_r, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Cooling, | ||
real(kind(1d0)), dimension(2), intent(in) | BaseT_Heating, | ||
real(kind(1d0)), intent(in) | TempMeltFact, | ||
real(kind(1d0)), intent(in) | TH, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | theta_bioCO2, | ||
real(kind(1d0)), intent(in) | timezone, | ||
real(kind(1d0)), intent(in) | TL, | ||
real(kind(1d0)), dimension(2), intent(in) | TrafficRate, | ||
real(kind(1d0)), intent(in) | TrafficUnits, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | tsfc_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(inout) | tsfc_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | tsfc_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(inout) | temp_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(inout) | temp_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(inout) | temp_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tin_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_roof, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | k_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_roof, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | cp_surf, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_roof, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | dz_surf, | ||
real(kind(1d0)), intent(inout) | Tmin_id, | ||
real(kind(1d0)), intent(inout) | Tmax_id, | ||
real(kind(1d0)), intent(inout) | lenday_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | TraffProf_24hr, | ||
real(kind(1d0)), dimension(:), intent(in) | Ts5mindata_ir, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | tstep_prev, | ||
integer, intent(in) | veg_type, | ||
real(kind(1d0)), dimension(nsurf + 1, nsurf - 1), intent(in) | WaterDist, | ||
integer, intent(in) | WaterUseMethod, | ||
real(kind(1d0)), dimension(9), intent(inout) | WUDay_id, | ||
real(kind(1d0)), intent(inout) | DecidCap_id, | ||
real(kind(1d0)), intent(inout) | albDecTr_id, | ||
real(kind(1d0)), intent(inout) | albEveTr_id, | ||
real(kind(1d0)), intent(inout) | albGrass_id, | ||
real(kind(1d0)), intent(inout) | porosity_id, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | WUProfA_24hr, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | WUProfM_24hr, | ||
real(kind(1d0)), intent(in) | Z, | ||
real(kind(1d0)), intent(in) | z0m_in, | ||
real(kind(1d0)), intent(in) | zdm_in, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutsuews), intent(out) | dataOutBlockSUEWS, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutsnow), intent(out) | dataOutBlockSnow, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutestm), intent(out) | dataOutBlockESTM, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutrsl), intent(out) | dataOutBlockRSL, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutbeers), intent(out) | dataOutBlockBEERS, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutdebug), intent(out) | dataOutBlockDebug, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutspartacus), intent(out) | dataOutBlockSPARTACUS, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutestmext), intent(out) | dataOutBlockESTMExt, | ||
real(kind(1d0)), dimension(len_sim, ncolumnsdataoutdailystate), intent(out) | DailyStateBlock | ||
) |
Definition at line 4083 of file suews_ctrl_driver.f95.
References suews_cal_main(), and suews_update_output().
subroutine suews_driver::suews_cal_qe | ( | integer, intent(in) | Diagnose, |
integer, intent(in) | storageheatmethod, | ||
integer, intent(in) | nlayer, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | EvapMethod, | ||
real(kind(1d0)), intent(in) | avdens, | ||
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), intent(in) | lv_J_kg, | ||
real(kind(1d0)), intent(in) | psyc_hPa, | ||
real(kind(1d0)), intent(in) | PervFraction, | ||
real(kind(1d0)), intent(in) | addimpervious, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(in) | vpd_hPa, | ||
real(kind(1d0)), intent(in) | s_hPa, | ||
real(kind(1d0)), intent(in) | RS, | ||
real(kind(1d0)), intent(in) | RA_h, | ||
real(kind(1d0)), intent(in) | RB, | ||
real(kind(1d0)), intent(in) | precip, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(in) | NonWaterFraction, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | WU_surf, | ||
real(kind(1d0)), intent(in) | addVeg, | ||
real(kind(1d0)), intent(in) | addWaterBody, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | AddWater_surf, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | drain_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | frac_water2runoff_surf, | ||
real(kind(1d0)), dimension(6, nsurf), intent(in) | StoreDrainPrm, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | StateLimit_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | WetThresh_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | state_surf_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstore_surf_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qn_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qs_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | state_roof_in, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | soilstore_roof_in, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | qn_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | qs_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | StateLimit_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | SoilStoreCap_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | WetThresh_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | state_wall_in, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | soilstore_wall_in, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | qn_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | qs_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | state_surf_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | soilstore_surf_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | ev_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | state_roof_out, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | soilstore_roof_out, | ||
real(kind(1d0)), dimension(nlayer) | ev_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | state_wall_out, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | soilstore_wall_out, | ||
real(kind(1d0)), dimension(nlayer) | ev_wall, | ||
real(kind(1d0)), intent(out) | state_grid, | ||
real(kind(1d0)), intent(out) | NWstate_grid, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | ev0_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qe0_surf, | ||
real(kind(1d0)), intent(out) | qe, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qe_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qe_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qe_wall, | ||
real(kind(1d0)), intent(out) | ev_grid, | ||
real(kind(1d0)), intent(out) | runoff_grid, | ||
real(kind(1d0)), intent(out) | surf_chang_grid, | ||
real(kind(1d0)), intent(out) | runoffPipes_grid, | ||
real(kind(1d0)), intent(out) | runoffWaterBody_grid, | ||
real(kind(1d0)), intent(out) | runoffAGveg_grid, | ||
real(kind(1d0)), intent(out) | runoffAGimpervious_grid, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | rss_surf | ||
) |
Definition at line 2812 of file suews_ctrl_driver.f95.
References allocatearray::bldgsurf, evap_module::cal_evap_multi(), waterdist_module::cal_water_storage_building(), waterdist_module::cal_water_storage_surf(), and allocatearray::nsurf.
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_qh | ( | integer, intent(in) | QHMethod, |
integer, intent(in) | nlayer, | ||
integer, intent(in) | storageheatmethod, | ||
real(kind(1d0)), intent(in) | qn, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(in) | QmRain, | ||
real(kind(1d0)), intent(in) | qe, | ||
real(kind(1d0)), intent(in) | qs, | ||
real(kind(1d0)), intent(in) | QmFreez, | ||
real(kind(1d0)), intent(in) | qm, | ||
real(kind(1d0)), intent(in) | avdens, | ||
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tsfc_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_wall, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | RA, | ||
real(kind(1d0)), intent(out) | qh, | ||
real(kind(1d0)), intent(out) | qh_residual, | ||
real(kind(1d0)), intent(out) | qh_resist, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qh_resist_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qh_resist_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qh_resist_wall | ||
) |
Definition at line 3144 of file suews_ctrl_driver.f95.
References allocatearray::bldgsurf, and allocatearray::nsurf.
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_qn | ( | integer, intent(in) | storageheatmethod, |
integer, intent(in) | NetRadiationMethod, | ||
integer, intent(in) | SnowUse, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | nlayer, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowPack_prev, | ||
real(kind(1d0)), intent(in) | tau_a, | ||
real(kind(1d0)), intent(in) | tau_f, | ||
real(kind(1d0)), intent(in) | SnowAlbMax, | ||
real(kind(1d0)), intent(in) | SnowAlbMin, | ||
integer, intent(in) | Diagnose, | ||
real(kind(1d0)), intent(in) | ldown_obs, | ||
real(kind(1d0)), intent(in) | fcld_obs, | ||
real(kind(1d0)), intent(in) | dectime, | ||
real(kind(1d0)), intent(in) | ZENITH_deg, | ||
real(kind(1d0)), intent(in) | Tsurf_0, | ||
real(kind(1d0)), intent(in) | kdown, | ||
real(kind(1d0)), intent(in) | Tair_C, | ||
real(kind(1d0)), intent(in) | avRH, | ||
real(kind(1d0)), intent(in) | ea_hPa, | ||
real(kind(1d0)), intent(in) | qn1_obs, | ||
real(kind(1d0)), intent(in) | SnowAlb_prev, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | snowFrac_prev, | ||
integer, intent(in) | DiagQN, | ||
real(kind(1d0)), intent(in) | NARP_TRANS_SITE, | ||
real(kind(1d0)), intent(in) | NARP_EMIS_SNOW, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | IceFrac, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tsfc_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | emis, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | alb_prev, | ||
real(kind(1d0)), intent(in) | albDecTr_id, | ||
real(kind(1d0)), intent(in) | albEveTr_id, | ||
real(kind(1d0)), intent(in) | albGrass_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id, | ||
integer, intent(in) | n_vegetation_region_urban, | ||
integer, intent(in) | n_stream_sw_urban, | ||
integer, intent(in) | n_stream_lw_urban, | ||
real(kind(1d0)), intent(in) | sw_dn_direct_frac, | ||
real(kind(1d0)), intent(in) | air_ext_sw, | ||
real(kind(1d0)), intent(in) | air_ssa_sw, | ||
real(kind(1d0)), intent(in) | veg_ssa_sw, | ||
real(kind(1d0)), intent(in) | air_ext_lw, | ||
real(kind(1d0)), intent(in) | air_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_ssa_lw, | ||
real(kind(1d0)), intent(in) | veg_fsd_const, | ||
real(kind(1d0)), intent(in) | veg_contact_fraction_const, | ||
real(kind(1d0)), intent(in) | ground_albedo_dir_mult_fact, | ||
logical, intent(in) | use_sw_direct_albedo, | ||
real(kind(1d0)), dimension(nlayer + 1), intent(in) | height, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | veg_scale, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | alb_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | emis_wall, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | roof_albedo_dir_mult_fact, | ||
real(kind(1d0)), dimension(nspec, nlayer), intent(in) | wall_specular_frac, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | alb_next, | ||
real(kind(1d0)), intent(out) | ldown, | ||
real(kind(1d0)), intent(out) | fcld, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qn_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qn_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qn_wall, | ||
real(kind(1d0)), intent(out) | qn, | ||
real(kind(1d0)), intent(out) | qn_snowfree, | ||
real(kind(1d0)), intent(out) | qn_snow, | ||
real(kind(1d0)), intent(out) | kclear, | ||
real(kind(1d0)), intent(out) | kup, | ||
real(kind(1d0)), intent(out) | lup, | ||
real(kind(1d0)), intent(out) | tsurf, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qn_ind_snow, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | kup_ind_snow, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | Tsurf_ind_snow, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | Tsurf_ind, | ||
real(kind(1d0)), intent(out) | albedo_snow, | ||
real(kind(1d0)), intent(out) | SnowAlb_next, | ||
real(kind(1d0)), dimension(ncolumnsdataoutspartacus - 5), intent(out) | dataOutLineSPARTACUS | ||
) |
Definition at line 1812 of file suews_ctrl_driver.f95.
References allocatearray::bldgsurf, allocatearray::conifsurf, allocatearray::decidsurf, allocatearray::grasssurf, narp_module::narp(), allocatearray::nsurf, narp_module::radmethod(), spartacus_module::spartacus(), and snow_module::update_snow_albedo().
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_qs | ( | integer, intent(in) | StorageHeatMethod, |
real(kind(1d0)), intent(in) | qs_obs, | ||
integer, intent(in) | OHMIncQF, | ||
integer, intent(in) | Gridiv, | ||
integer, intent(in) | id, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | dt_since_start, | ||
integer, intent(in) | Diagnose, | ||
integer, intent(in) | nlayer, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | QG_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QG_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | QG_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | temp_in_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tsfc_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | tin_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | temp_in_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | k_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | cp_wall, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(in) | dz_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | sfr_wall, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tsfc_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | tin_surf, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | temp_in_surf, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | k_surf, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | cp_surf, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(in) | dz_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nsurf + 1, 4, 3), intent(in) | OHM_coef, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshSW, | ||
real(kind(1d0)), dimension(nsurf + 1), intent(in) | OHM_threshWD, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstore_id, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | state_id, | ||
integer, intent(in) | SnowUse, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowFrac, | ||
integer, intent(in) | DiagQS, | ||
real(kind(1d0)), dimension(12), intent(in) | HDD_id, | ||
real(kind(1d0)), dimension(:, :), intent(in) | MetForcingData_grid, | ||
real(kind(1d0)), dimension(:), intent(in) | Ts5mindata_ir, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(in) | qn, | ||
real(kind(1d0)), intent(in) | avkdn, | ||
real(kind(1d0)), intent(in) | avu1, | ||
real(kind(1d0)), intent(in) | temp_c, | ||
real(kind(1d0)), intent(in) | zenith_deg, | ||
real(kind(1d0)), intent(in) | avrh, | ||
real(kind(1d0)), intent(in) | press_hpa, | ||
real(kind(1d0)), intent(in) | ldown, | ||
real(kind(1d0)), intent(in) | bldgh, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | alb, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | emis, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | cpAnOHM, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | kkAnOHM, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | chAnOHM, | ||
integer, intent(in) | EmissionsMethod, | ||
real(kind(1d0)), intent(in) | Tair_av, | ||
real(kind(1d0)), intent(in) | qn_av_prev, | ||
real(kind(1d0)), intent(in) | dqndt_prev, | ||
real(kind(1d0)), intent(in) | qn_s_av_prev, | ||
real(kind(1d0)), intent(in) | dqnsdt_prev, | ||
real(kind(1d0)), dimension(6, nsurf), intent(in) | StoreDrainPrm, | ||
real(kind(1d0)), intent(out) | qn_S, | ||
real(kind(1d0)), dimension(27), intent(out) | dataOutLineESTM, | ||
real(kind(1d0)), intent(out) | qs, | ||
real(kind(1d0)), intent(out) | qn_av_next, | ||
real(kind(1d0)), intent(out) | dqndt_next, | ||
real(kind(1d0)), intent(out) | qn_s_av_next, | ||
real(kind(1d0)), intent(out) | dqnsdt_next, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | deltaQi, | ||
real(kind(1d0)), intent(out) | a1, | ||
real(kind(1d0)), intent(out) | a2, | ||
real(kind(1d0)), intent(out) | a3, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(out) | temp_out_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | QS_roof, | ||
real(kind(1d0)), dimension(nlayer, ndepth), intent(out) | temp_out_wall, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | QS_wall, | ||
real(kind(1d0)), dimension(nsurf, ndepth), intent(out) | temp_out_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | QS_surf | ||
) |
[in] | metforcingdata_grid | met forcing array of grid |
[out] | a1 | AnOHM coefficients of grid [-] |
[out] | a2 | AnOHM coefficients of grid [h] |
[out] | a3 | AnOHM coefficients of grid [W m-2] |
Definition at line 2066 of file suews_ctrl_driver.f95.
References anohm_module::anohm(), allocatearray::bldgsurf, estm_module::estm(), estm_module::estm_ext(), ohm(), and allocatearray::watersurf.
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_resistance | ( | integer, intent(in) | StabilityMethod, |
integer, intent(in) | Diagnose, | ||
integer, intent(in) | AerodynamicResistanceMethod, | ||
integer, intent(in) | RoughLenHeatMethod, | ||
integer, intent(in) | SnowUse, | ||
integer, intent(in) | id, | ||
integer, intent(in) | it, | ||
integer, intent(in) | gsModel, | ||
integer, intent(in) | SMDMethod, | ||
real(kind(1d0)), intent(in) | avdens, | ||
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), intent(in) | QH_init, | ||
real(kind(1d0)), intent(in) | zzd, | ||
real(kind(1d0)), intent(in) | z0m, | ||
real(kind(1d0)), intent(in) | zdm, | ||
real(kind(1d0)), intent(in) | avU1, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | VegFraction, | ||
real(kind(1d0)), intent(in) | avkdn, | ||
real(kind(1d0)), intent(in) | Kmax, | ||
real(kind(1d0)), intent(in) | G1, | ||
real(kind(1d0)), intent(in) | G2, | ||
real(kind(1d0)), intent(in) | G3, | ||
real(kind(1d0)), intent(in) | G4, | ||
real(kind(1d0)), intent(in) | G5, | ||
real(kind(1d0)), intent(in) | G6, | ||
real(kind(1d0)), intent(in) | S1, | ||
real(kind(1d0)), intent(in) | S2, | ||
real(kind(1d0)), intent(in) | TH, | ||
real(kind(1d0)), intent(in) | TL, | ||
real(kind(1d0)), intent(in) | dq, | ||
real(kind(1d0)), intent(in) | xsmd, | ||
real(kind(1d0)), intent(in) | vsmd, | ||
real(kind(1d0)), dimension(3), intent(in) | MaxConductance, | ||
real(kind(1d0)), dimension(3), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(3), intent(in) | LAI_id, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowFrac, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), intent(out) | UStar, | ||
real(kind(1d0)), intent(out) | TStar, | ||
real(kind(1d0)), intent(out) | L_mod, | ||
real(kind(1d0)), intent(out) | zL, | ||
real(kind(1d0)), intent(out) | gsc, | ||
real(kind(1d0)), intent(out) | RS, | ||
real(kind(1d0)), intent(out) | RA, | ||
real(kind(1d0)), intent(out) | RASnow, | ||
real(kind(1d0)), intent(out) | RB, | ||
real(kind(1d0)), intent(out) | z0v, | ||
real(kind(1d0)), intent(out) | z0vSnow | ||
) |
Definition at line 3233 of file suews_ctrl_driver.f95.
References resist_module::aerodynamicresistance(), resist_module::boundarylayerresistance(), atmmoiststab_module::cal_stab(), and resist_module::surfaceresistance().
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_snow | ( | integer, intent(in) | Diagnose, |
integer, intent(in) | nlayer, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | it, | ||
integer, intent(in) | EvapMethod, | ||
integer, dimension(3), intent(in) | dayofWeek_id, | ||
real(kind(1d0)), intent(in) | CRWmin, | ||
real(kind(1d0)), intent(in) | CRWmax, | ||
real(kind(1d0)), intent(in) | dectime, | ||
real(kind(1d0)), intent(in) | avdens, | ||
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), intent(in) | lv_J_kg, | ||
real(kind(1d0)), intent(in) | lvS_J_kg, | ||
real(kind(1d0)), intent(in) | avRh, | ||
real(kind(1d0)), intent(in) | Press_hPa, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | RAsnow, | ||
real(kind(1d0)), intent(in) | psyc_hPa, | ||
real(kind(1d0)), intent(in) | sIce_hPa, | ||
real(kind(1d0)), intent(in) | tau_r, | ||
real(kind(1d0)), intent(in) | RadMeltFact, | ||
real(kind(1d0)), intent(in) | TempMeltFact, | ||
real(kind(1d0)), intent(in) | SnowAlbMax, | ||
real(kind(1d0)), intent(in) | PrecipLimit, | ||
real(kind(1d0)), intent(in) | PrecipLimitAlb, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qn_ind_snow, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | kup_ind_snow, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | deltaQi, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | Tsurf_ind_snow, | ||
real(kind(1d0)), intent(in) | SnowAlb_in, | ||
real(kind(1d0)), intent(in) | PervFraction, | ||
real(kind(1d0)), intent(in) | vegfraction, | ||
real(kind(1d0)), intent(in) | addimpervious, | ||
real(kind(1d0)), intent(in) | qn_snowfree, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(in) | qs, | ||
real(kind(1d0)), intent(in) | vpd_hPa, | ||
real(kind(1d0)), intent(in) | s_hPa, | ||
real(kind(1d0)), intent(in) | RS, | ||
real(kind(1d0)), intent(in) | RA, | ||
real(kind(1d0)), intent(in) | RB, | ||
real(kind(1d0)), intent(in) | SnowDensMax, | ||
real(kind(1d0)), intent(in) | SnowDensMin, | ||
real(kind(1d0)), intent(in) | precip, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(in) | addVeg, | ||
real(kind(1d0)), intent(in) | SnowLimPaved, | ||
real(kind(1d0)), intent(in) | SnowLimBldg, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | drain, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | WetThresh_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | Tsurf_ind, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | AddWater, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | addwaterrunoff, | ||
real(kind(1d0)), dimension(6, nsurf), intent(in) | StoreDrainPrm, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowPackLimit, | ||
real(kind(1d0)), dimension(0:23, 2), intent(in) | SnowProf_24hr, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowPack_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowFrac_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowWater_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | iceFrac_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SnowDens_in, | ||
real(kind(1d0)), intent(in) | SnowfallCum_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | state_id_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstore_id_in, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qn_surf, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | qs_surf, | ||
real(kind(1d0)), dimension(2), intent(out) | SnowRemoval, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | SnowPack_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | SnowFrac_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | SnowWater_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | iceFrac_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | SnowDens_out, | ||
real(kind(1d0)), intent(out) | SnowfallCum_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | state_id_out, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | soilstore_id_out, | ||
real(kind(1d0)), intent(out) | state_per_tstep, | ||
real(kind(1d0)), intent(out) | NWstate_per_tstep, | ||
real(kind(1d0)), intent(out) | qe, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | qe_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qe_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | qe_wall, | ||
real(kind(1d0)), intent(out) | SnowAlb_out, | ||
real(kind(1d0)), intent(out) | swe, | ||
real(kind(1d0)), intent(out) | chSnow_per_tstep, | ||
real(kind(1d0)), intent(out) | ev_per_tstep, | ||
real(kind(1d0)), intent(out) | runoff_per_tstep, | ||
real(kind(1d0)), intent(out) | surf_chang_per_tstep, | ||
real(kind(1d0)), intent(out) | runoffPipes, | ||
real(kind(1d0)), intent(out) | mwstore, | ||
real(kind(1d0)), intent(out) | runoffwaterbody, | ||
real(kind(1d0)), intent(out) | runoffAGveg, | ||
real(kind(1d0)), intent(out) | runoffAGimpervious, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | rss_surf, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsnow - 5), intent(out) | dataOutLineSnow | ||
) |
Definition at line 2435 of file suews_ctrl_driver.f95.
References snow_module::meltheat(), allocatearray::nsurf, snow_module::snowcalc(), and snow_module::update_snow_dens().
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_sunposition | ( | real(kind(1d0)), intent(in) | year, |
real(kind(1d0)), intent(in) | idectime, | ||
real(kind(1d0)), intent(in) | UTC, | ||
real(kind(1d0)), intent(in) | locationlatitude, | ||
real(kind(1d0)), intent(in) | locationlongitude, | ||
real(kind(1d0)), intent(in) | locationaltitude, | ||
real(kind(1d0)), intent(out) | sunazimuth, | ||
real(kind(1d0)), intent(out) | sunzenith | ||
) |
Definition at line 4900 of file suews_ctrl_driver.f95.
subroutine suews_driver::suews_cal_surf | ( | integer, intent(in) | StorageHeatMethod, |
integer, intent(in) | NetRadiationMethod, | ||
integer, intent(in) | nlayer, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_frac, | ||
real(kind(1d0)), dimension(nlayer), intent(in) | building_scale, | ||
real(kind(1d0)), dimension(nlayer + 1), intent(in) | height, | ||
real(kind(1d0)), intent(out) | vegfraction, | ||
real(kind(1d0)), intent(out) | ImpervFraction, | ||
real(kind(1d0)), intent(out) | PervFraction, | ||
real(kind(1d0)), intent(out) | NonWaterFraction, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | sfr_roof, | ||
real(kind(1d0)), dimension(nlayer), intent(out) | sfr_wall | ||
) |
Definition at line 3807 of file suews_ctrl_driver.f95.
References allocatearray::bldgsurf, allocatearray::conifsurf, allocatearray::decidsurf, allocatearray::grasssurf, allocatearray::pavsurf, and allocatearray::watersurf.
Referenced by suews_cal_main().
subroutine suews_driver::suews_cal_water | ( | integer, intent(in) | Diagnose, |
integer, intent(in) | SnowUse, | ||
real(kind(1d0)), intent(in) | NonWaterFraction, | ||
real(kind(1d0)), intent(in) | addPipes, | ||
real(kind(1d0)), intent(in) | addImpervious, | ||
real(kind(1d0)), intent(in) | addVeg, | ||
real(kind(1d0)), intent(in) | addWaterBody, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | state_id, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), dimension(6, nsurf), intent(in) | StoreDrainPrm, | ||
real(kind(1d0)), dimension(nsurf + 1, nsurf - 1), intent(in) | WaterDist, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), intent(out) | drain_per_tstep, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | drain, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | frac_water2runoff, | ||
real(kind(1d0)), intent(out) | AdditionalWater, | ||
real(kind(1d0)), intent(out) | runoffPipes, | ||
real(kind(1d0)), intent(out) | runoff_per_interval, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | AddWater | ||
) |
Definition at line 2308 of file suews_ctrl_driver.f95.
References waterdist_module::drainage(), allocatearray::nsurf, waterdist_module::redistributewater(), and allocatearray::watersurf.
Referenced by suews_cal_main().
subroutine suews_driver::suews_init_qh | ( | real(kind(1d0)), intent(in) | avdens, |
real(kind(1d0)), intent(in) | avcp, | ||
real(kind(1d0)), intent(in) | h_mod, | ||
real(kind(1d0)), intent(in) | qn1, | ||
real(kind(1d0)), intent(in) | dectime, | ||
real(kind(1d0)), intent(out) | H_init | ||
) |
Definition at line 2405 of file suews_ctrl_driver.f95.
References errorhint().
subroutine suews_driver::suews_update_output | ( | integer, intent(in) | SnowUse, |
integer, intent(in) | storageheatmethod, | ||
integer, intent(in) | ReadLinesMetdata, | ||
integer, intent(in) | NumberOfGrids, | ||
integer, intent(in) | ir, | ||
integer, intent(in) | gridiv, | ||
real(kind(1d0)), dimension(5), intent(in) | datetimeLine, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsuews - 5), intent(in) | dataOutLineSUEWS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsnow - 5), intent(in) | dataOutLineSnow, | ||
real(kind(1d0)), dimension(ncolumnsdataoutestm - 5), intent(in) | dataOutLineESTM, | ||
real(kind(1d0)), dimension(ncolumnsdataoutrsl - 5), intent(in) | dataoutLineRSL, | ||
real(kind(1d0)), dimension(ncolumnsdataoutbeers - 5), intent(in) | dataOutLineBEERS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutdebug - 5), intent(in) | dataoutlineDebug, | ||
real(kind(1d0)), dimension(ncolumnsdataoutspartacus - 5), intent(in) | dataoutlineSPARTACUS, | ||
real(kind(1d0)), dimension(ncolumnsdataoutestmext - 5), intent(in) | dataOutLineESTMExt, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutsuews, numberofgrids), intent(inout) | dataOutSUEWS, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutsnow, numberofgrids), intent(inout) | dataOutSnow, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutestm, numberofgrids), intent(inout) | dataOutESTM, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutrsl, numberofgrids), intent(inout) | dataOutRSL, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutbeers, numberofgrids), intent(inout) | dataOutBEERS, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutdebug, numberofgrids), intent(inout) | dataOutDebug, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutspartacus, numberofgrids), intent(inout) | dataOutSPARTACUS, | ||
real(kind(1d0)), dimension(readlinesmetdata, ncolumnsdataoutestmext, numberofgrids), intent(inout) | dataOutESTMExt | ||
) |
Definition at line 3672 of file suews_ctrl_driver.f95.
References set_nan().
Referenced by suews_cal_multitsteps(), and suews_calculations().
subroutine suews_driver::suews_update_outputline | ( | real(kind(1d0)), intent(in) | AdditionalWater, |
real(kind(1d0)), dimension(nsurf), intent(in) | alb, | ||
real(kind(1d0)), intent(in) | avkdn, | ||
real(kind(1d0)), intent(in) | avU10_ms, | ||
real(kind(1d0)), intent(in) | azimuth, | ||
real(kind(1d0)), intent(in) | chSnow_per_interval, | ||
real(kind(1d0)), intent(in) | dectime, | ||
real(kind(1d0)), intent(in) | drain_per_tstep, | ||
real(kind(1d0)), intent(in) | E_mod, | ||
real(kind(1d0)), intent(in) | ev_per_tstep, | ||
real(kind(1d0)), intent(in) | ext_wu, | ||
real(kind(1d0)), intent(in) | Fc, | ||
real(kind(1d0)), intent(in) | Fc_build, | ||
real(kind(1d0)), intent(in) | fcld, | ||
real(kind(1d0)), intent(in) | Fc_metab, | ||
real(kind(1d0)), intent(in) | Fc_photo, | ||
real(kind(1d0)), intent(in) | Fc_respi, | ||
real(kind(1d0)), intent(in) | Fc_point, | ||
real(kind(1d0)), intent(in) | Fc_traff, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), intent(in) | h_mod, | ||
integer, intent(in) | id, | ||
integer, intent(in) | imin, | ||
real(kind(1d0)), intent(in) | int_wu, | ||
integer, intent(in) | it, | ||
integer, intent(in) | iy, | ||
real(kind(1d0)), intent(in) | kup, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id, | ||
real(kind(1d0)), intent(in) | ldown, | ||
real(kind(1d0)), intent(in) | l_mod, | ||
real(kind(1d0)), intent(in) | lup, | ||
real(kind(1d0)), intent(in) | mwh, | ||
real(kind(1d0)), intent(in) | MwStore, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), intent(in) | NWstate_per_tstep, | ||
real(kind(1d0)), intent(in) | Precip, | ||
real(kind(1d0)), intent(in) | q2_gkg, | ||
real(kind(1d0)), intent(in) | qeOut, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(in) | qh, | ||
real(kind(1d0)), intent(in) | qh_resist, | ||
real(kind(1d0)), intent(in) | Qm, | ||
real(kind(1d0)), intent(in) | QmFreez, | ||
real(kind(1d0)), intent(in) | QmRain, | ||
real(kind(1d0)), intent(in) | qn, | ||
real(kind(1d0)), intent(in) | qn_snow, | ||
real(kind(1d0)), intent(in) | qn_snowfree, | ||
real(kind(1d0)), intent(in) | qs, | ||
real(kind(1d0)), intent(in) | RA, | ||
real(kind(1d0)), intent(in) | resistsurf, | ||
real(kind(1d0)), intent(in) | RH2, | ||
real(kind(1d0)), intent(in) | runoffAGimpervious, | ||
real(kind(1d0)), intent(in) | runoffAGveg, | ||
real(kind(1d0)), intent(in) | runoff_per_tstep, | ||
real(kind(1d0)), intent(in) | runoffPipes, | ||
real(kind(1d0)), intent(in) | runoffSoil_per_tstep, | ||
real(kind(1d0)), intent(in) | runoffWaterBody, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
real(kind(1d0)), intent(in) | smd, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | smd_nsurf, | ||
real(kind(1d0)), intent(in) | SnowAlb, | ||
real(kind(1d0)), dimension(2), intent(in) | SnowRemoval, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | state_id, | ||
real(kind(1d0)), intent(in) | state_per_tstep, | ||
real(kind(1d0)), intent(in) | surf_chang_per_tstep, | ||
real(kind(1d0)), intent(in) | swe, | ||
real(kind(1d0)), intent(in) | t2_C, | ||
real(kind(1d0)), intent(in) | tskin_C, | ||
real(kind(1d0)), intent(in) | tot_chang_per_tstep, | ||
real(kind(1d0)), intent(in) | tsurf, | ||
real(kind(1d0)), intent(in) | UStar, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | wu_nsurf, | ||
real(kind(1d0)), intent(in) | z0m, | ||
real(kind(1d0)), intent(in) | zdm, | ||
real(kind(1d0)), intent(in) | zenith_deg, | ||
real(kind(1d0)), dimension(5), intent(out) | datetimeLine, | ||
real(kind(1d0)), dimension(ncolumnsdataoutsuews - 5), intent(out) | dataOutLineSUEWS | ||
) |
Definition at line 3375 of file suews_ctrl_driver.f95.
Referenced by suews_cal_main().