SUEWS API Site
Documentation of SUEWS source code
|
Functions/Subroutines | |
subroutine | drainage (is, state_is, StorCap, DrainEq, DrainCoef1, DrainCoef2, nsh_real, drain_is) |
subroutine | soilstore (is, sfr, PipeCapacity, RunoffToWater, pin, wu_EveTr, wu_DecTr, wu_Grass, drain, AddWater, addImpervious, nsh_real, stateOld, AddWaterRunoff, PervFraction, addVeg, SoilStoreCap, addWaterBody, FlowChange, StateLimit, runoffAGimpervious, surplusWaterBody, runoffAGveg, runoffPipes, ev, soilstore_id, SurplusEvap, runoffWaterBody, p_mm, chang, runoff, state_id) |
subroutine | updateflood (is, runoff, sfr, PipeCapacity, RunoffToWater, runoffAGimpervious, surplusWaterBody, runoffAGveg, runoffPipes) |
subroutine | redistributewater (snowUse, WaterDist, sfr, Drain, AddWaterRunoff, AddWater) |
subroutine | suews_update_soilmoist (NonWaterFraction, SoilStoreCap, sfr, soilstore_id, SoilMoistCap, SoilState, vsmd, smd) |
subroutine | suews_cal_soilstate (SMDMethod, xsmd, NonWaterFraction, SoilMoistCap, SoilStoreCap, surf_chang_per_tstep, soilstore_id, soilstoreOld, sfr, smd, smd_nsurf, tot_chang_per_tstep, SoilState) |
subroutine | suews_cal_horizontalsoilwater (sfr, SoilStoreCap, SoilDepth, SatHydraulicConduct, SurfaceArea, NonWaterFraction, tstep_real, soilstore_id, runoffSoil, runoffSoil_per_tstep) |
subroutine | suews_cal_wateruse (nsh_real, wu_m3, SurfaceArea, sfr, IrrFracConif, IrrFracDecid, IrrFracGrass, DayofWeek_id, WUProfA_24hr, WUProfM_24hr, InternalWaterUse_h, HDD_id, WUDay_id, WaterUseMethod, NSH, it, imin, DLS, wu_EveTr, wu_DecTr, wu_Grass, int_wu, ext_wu) |
subroutine waterdist_module::drainage | ( | integer, intent(in) | is, |
real(kind(1d0)), intent(in) | state_is, | ||
real(kind(1d0)), intent(in) | StorCap, | ||
real(kind(1d0)), intent(in) | DrainEq, | ||
real(kind(1d0)), intent(in) | DrainCoef1, | ||
real(kind(1d0)), intent(in) | DrainCoef2, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), intent(out) | drain_is | ||
) |
Definition at line 29 of file suews_phys_waterdist.f95.
References errorhint().
Referenced by suews_driver::suews_cal_water().
subroutine waterdist_module::redistributewater | ( | integer, intent(in) | snowUse, |
real(kind(1d0)), dimension(nsurf + 1, nsurf - 1), intent(in) | WaterDist, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | Drain, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | AddWaterRunoff, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | AddWater | ||
) |
Definition at line 449 of file suews_phys_waterdist.f95.
References allocatearray::nsurf, and allocatearray::watersurf.
Referenced by suews_driver::suews_cal_water().
subroutine waterdist_module::soilstore | ( | integer, intent(in) | is, |
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(in) | pin, | ||
real(kind(1d0)), intent(in) | wu_EveTr, | ||
real(kind(1d0)), intent(in) | wu_DecTr, | ||
real(kind(1d0)), intent(in) | wu_Grass, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | drain, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | AddWater, | ||
real(kind(1d0)), intent(in) | addImpervious, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | stateOld, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | AddWaterRunoff, | ||
real(kind(1d0)), intent(in) | PervFraction, | ||
real(kind(1d0)), intent(in) | addVeg, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), intent(in) | addWaterBody, | ||
real(kind(1d0)), intent(in) | FlowChange, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | StateLimit, | ||
real(kind(1d0)), intent(inout) | runoffAGimpervious, | ||
real(kind(1d0)), intent(inout) | surplusWaterBody, | ||
real(kind(1d0)), intent(inout) | runoffAGveg, | ||
real(kind(1d0)), intent(inout) | runoffPipes, | ||
real(kind(1d0)), intent(inout) | ev, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | soilstore_id, | ||
real(kind(1d0)), dimension(2), intent(inout) | SurplusEvap, | ||
real(kind(1d0)), intent(inout) | runoffWaterBody, | ||
real(kind(1d0)), intent(out) | p_mm, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | chang, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | runoff, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | state_id | ||
) |
Definition at line 99 of file suews_phys_waterdist.f95.
References allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::conifsurf, allocatearray::decidsurf, errorhint(), allocatearray::grasssurf, allocatearray::pavsurf, updateflood(), and allocatearray::watersurf.
Referenced by suews_driver::suews_cal_qe().
subroutine waterdist_module::suews_cal_horizontalsoilwater | ( | real(kind(1d0)), dimension(nsurf), intent(in) | sfr, |
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilDepth, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SatHydraulicConduct, | ||
real(kind(1d0)), intent(in) | SurfaceArea, | ||
real(kind(1d0)), intent(in) | NonWaterFraction, | ||
real(kind(1d0)), intent(in) | tstep_real, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | soilstore_id, | ||
real(kind(1d0)), dimension(nsurf), intent(inout) | runoffSoil, | ||
real(kind(1d0)), intent(out) | runoffSoil_per_tstep | ||
) |
Definition at line 626 of file suews_phys_waterdist.f95.
References allocatearray::nsurf.
Referenced by suews_driver::suews_cal_main().
subroutine waterdist_module::suews_cal_soilstate | ( | integer, intent(in) | SMDMethod, |
real(kind(1d0)), intent(in) | xsmd, | ||
real(kind(1d0)), intent(in) | NonWaterFraction, | ||
real(kind(1d0)), intent(in) | SoilMoistCap, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), intent(in) | surf_chang_per_tstep, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstore_id, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstoreOld, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), intent(out) | smd, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | smd_nsurf, | ||
real(kind(1d0)), intent(out) | tot_chang_per_tstep, | ||
real(kind(1d0)), intent(out) | SoilState | ||
) |
Definition at line 550 of file suews_phys_waterdist.f95.
References errorhint().
Referenced by suews_driver::suews_cal_main().
subroutine waterdist_module::suews_cal_wateruse | ( | real(kind(1d0)), intent(in) | nsh_real, |
real(kind(1d0)), intent(in) | wu_m3, | ||
real(kind(1d0)), intent(in) | SurfaceArea, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), intent(in) | IrrFracConif, | ||
real(kind(1d0)), intent(in) | IrrFracDecid, | ||
real(kind(1d0)), intent(in) | IrrFracGrass, | ||
integer, dimension(3), intent(in) | DayofWeek_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) | InternalWaterUse_h, | ||
real(kind(1d0)), dimension(12), intent(in) | HDD_id, | ||
real(kind(1d0)), dimension(9), intent(in) | WUDay_id, | ||
integer, intent(in) | WaterUseMethod, | ||
integer, intent(in) | NSH, | ||
integer, intent(in) | it, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | DLS, | ||
real(kind(1d0)), intent(out) | wu_EveTr, | ||
real(kind(1d0)), intent(out) | wu_DecTr, | ||
real(kind(1d0)), intent(out) | wu_Grass, | ||
real(kind(1d0)), intent(out) | int_wu, | ||
real(kind(1d0)), intent(out) | ext_wu | ||
) |
Definition at line 858 of file suews_phys_waterdist.f95.
References allocatearray::conifsurf, allocatearray::decidsurf, and allocatearray::grasssurf.
Referenced by suews_driver::suews_cal_main().
subroutine waterdist_module::suews_update_soilmoist | ( | real(kind(1d0)), intent(in) | NonWaterFraction, |
real(kind(1d0)), dimension(nsurf), intent(in) | SoilStoreCap, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | soilstore_id, | ||
real(kind(1d0)), intent(out) | SoilMoistCap, | ||
real(kind(1d0)), intent(out) | SoilState, | ||
real(kind(1d0)), intent(out) | vsmd, | ||
real(kind(1d0)), intent(out) | smd | ||
) |
Definition at line 504 of file suews_phys_waterdist.f95.
References allocatearray::conifsurf, allocatearray::decidsurf, allocatearray::grasssurf, and allocatearray::nsurf.
Referenced by suews_driver::suews_cal_main().
subroutine waterdist_module::updateflood | ( | integer, intent(in) | is, |
real(kind(1d0)), dimension(nsurf), intent(in) | runoff, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr, | ||
real(kind(1d0)), intent(in) | PipeCapacity, | ||
real(kind(1d0)), intent(in) | RunoffToWater, | ||
real(kind(1d0)), intent(inout) | runoffAGimpervious, | ||
real(kind(1d0)), intent(inout) | surplusWaterBody, | ||
real(kind(1d0)), intent(inout) | runoffAGveg, | ||
real(kind(1d0)), intent(inout) | runoffPipes | ||
) |
Definition at line 401 of file suews_phys_waterdist.f95.
References allocatearray::bldgsurf, allocatearray::bsoilsurf, allocatearray::conifsurf, allocatearray::pavsurf, and allocatearray::watersurf.
Referenced by snow_module::snowcalc(), and soilstore().