reservoir_module Module


Used by

  • module~~reservoir_module~~UsedByGraph module~reservoir_module reservoir_module proc~actions actions proc~actions->module~reservoir_module proc~basin_reservoir_output basin_reservoir_output proc~basin_reservoir_output->module~reservoir_module proc~cal_parm_select cal_parm_select proc~cal_parm_select->module~reservoir_module proc~calsoft_hyd calsoft_hyd proc~calsoft_hyd->module~reservoir_module proc~calsoft_hyd_bfr calsoft_hyd_bfr proc~calsoft_hyd_bfr->module~reservoir_module proc~calsoft_hyd_bfr_et calsoft_hyd_bfr_et proc~calsoft_hyd_bfr_et->module~reservoir_module proc~calsoft_hyd_bfr_latq calsoft_hyd_bfr_latq proc~calsoft_hyd_bfr_latq->module~reservoir_module proc~calsoft_hyd_bfr_perc calsoft_hyd_bfr_perc proc~calsoft_hyd_bfr_perc->module~reservoir_module proc~calsoft_hyd_bfr_pet calsoft_hyd_bfr_pet proc~calsoft_hyd_bfr_pet->module~reservoir_module proc~calsoft_hyd_bfr_surq calsoft_hyd_bfr_surq proc~calsoft_hyd_bfr_surq->module~reservoir_module proc~calsoft_plant calsoft_plant proc~calsoft_plant->module~reservoir_module proc~calsoft_sed calsoft_sed proc~calsoft_sed->module~reservoir_module proc~caltsoft_hyd caltsoft_hyd proc~caltsoft_hyd->module~reservoir_module proc~ch_rtday ch_rtday proc~ch_rtday->module~reservoir_module proc~command command proc~command->module~reservoir_module proc~conditions conditions proc~conditions->module~reservoir_module proc~header_const header_const proc~header_const->module~reservoir_module proc~header_path header_path proc~header_path->module~reservoir_module proc~header_pest header_pest proc~header_pest->module~reservoir_module proc~header_reservoir header_reservoir proc~header_reservoir->module~reservoir_module proc~header_salt header_salt proc~header_salt->module~reservoir_module proc~header_wetland header_wetland proc~header_wetland->module~reservoir_module proc~header_write header_write proc~header_write->module~reservoir_module proc~hru_allo hru_allo proc~hru_allo->module~reservoir_module proc~hru_control hru_control proc~hru_control->module~reservoir_module proc~hru_fr_change hru_fr_change proc~hru_fr_change->module~reservoir_module proc~mgt_newtillmix_wet mgt_newtillmix_wet proc~mgt_newtillmix_wet->module~reservoir_module proc~mgt_sched mgt_sched proc~mgt_sched->module~reservoir_module proc~res_allo res_allo proc~res_allo->module~reservoir_module proc~res_control res_control proc~res_control->module~reservoir_module proc~res_cs res_cs proc~res_cs->module~reservoir_module proc~res_hydro res_hydro proc~res_hydro->module~reservoir_module proc~res_initial res_initial proc~res_initial->module~reservoir_module proc~res_nutrient res_nutrient proc~res_nutrient->module~reservoir_module proc~res_objects res_objects proc~res_objects->module~reservoir_module proc~res_pest res_pest proc~res_pest->module~reservoir_module proc~res_read res_read proc~res_read->module~reservoir_module proc~res_read_elements res_read_elements proc~res_read_elements->module~reservoir_module proc~res_read_salt_cs res_read_salt_cs proc~res_read_salt_cs->module~reservoir_module proc~res_salt res_salt proc~res_salt->module~reservoir_module proc~res_sediment res_sediment proc~res_sediment->module~reservoir_module proc~res_weir_release res_weir_release proc~res_weir_release->module~reservoir_module proc~reservoir_output reservoir_output proc~reservoir_output->module~reservoir_module proc~sd_channel_sediment3 sd_channel_sediment3 proc~sd_channel_sediment3->module~reservoir_module proc~sim_initday sim_initday proc~sim_initday->module~reservoir_module proc~swr_drains swr_drains proc~swr_drains->module~reservoir_module proc~swr_satexcess swr_satexcess proc~swr_satexcess->module~reservoir_module proc~wallo_demand wallo_demand proc~wallo_demand->module~reservoir_module proc~wallo_transfer wallo_transfer proc~wallo_transfer->module~reservoir_module proc~wallo_withdraw wallo_withdraw proc~wallo_withdraw->module~reservoir_module proc~wet_cs wet_cs proc~wet_cs->module~reservoir_module proc~wet_initial wet_initial proc~wet_initial->module~reservoir_module proc~wet_irrp wet_irrp proc~wet_irrp->module~reservoir_module proc~wet_read wet_read proc~wet_read->module~reservoir_module proc~wet_read_salt_cs wet_read_salt_cs proc~wet_read_salt_cs->module~reservoir_module proc~wet_salt wet_salt proc~wet_salt->module~reservoir_module proc~wetland_control wetland_control proc~wetland_control->module~reservoir_module proc~wetland_output wetland_output proc~wetland_output->module~reservoir_module

Variables

Type Visibility Attributes Name Initial
real, public :: reactw = 0.
real, public :: volatpst = 0.
real, public :: setlpst = 0.
real, public :: resuspst = 0.
real, public :: difus = 0.
real, public :: reactb = 0.
real, public :: bury = 0.
type(reservoir), public, dimension(:), allocatable :: res_ob
type(wetland), public, dimension(:), allocatable :: wet_ob
type(reservoir_pest_processes), public, dimension(:), allocatable :: res_pest_d
type(reservoir_pest_processes), public, dimension(:), allocatable :: res_pest_m
type(reservoir_pest_processes), public, dimension(:), allocatable :: res_pest_y
type(reservoir_pest_processes), public, dimension(:), allocatable :: res_pest_a
type(reservoir_pest_processes), public, dimension(:), allocatable :: wet_pest_d
type(reservoir_pest_processes), public, dimension(:), allocatable :: wet_pest_m
type(reservoir_pest_processes), public, dimension(:), allocatable :: wet_pest_y
type(reservoir_pest_processes), public, dimension(:), allocatable :: wet_pest_a
type(res_header), public :: res_hdr
type(res_header1), public :: res_hdr1
type(reservoir_hdr), public :: res_hdr2
type(res_headerbsn), public :: res_hdrbsn
type(res_header_unit), public :: res_hdr_unt
type(res_header_unit1), public :: res_hdr_unt1
type(res_header_unit2), public :: res_hdr_unt2
type(res_header_unitbsn), public :: res_hdr_untbsn

Derived Types

type, public ::  reservoir

Components

Type Visibility Attributes Name Initial
character(len=13), public :: name = "default"
integer, public :: ob = 0
integer, public :: props = 0
integer, public :: iweir = 0
character(len=1), public :: rel_tbl = "d"
real, public :: psa = 0.
real, public :: pvol = 0.
real, public :: esa = 0.
real, public :: evol = 0.
real, public :: br1 = 0.
real, public :: br2 = 0.
real, public :: depth = 0
real, public :: weir_hgt = 0
real, public :: weir_wid = 0
real, public :: seci = 0
real, public :: prev_flo = 0
real, public :: lag_up = 0
real, public :: lag_down = 0
real, public, dimension (:), allocatable :: kd
real, public, dimension (:), allocatable :: aq_mix

type, public ::  wetland

Components

Type Visibility Attributes Name Initial
integer, public :: iweir = 0
real, public :: psa = 0.
real, public :: pvol = 0.
real, public :: esa = 0.
real, public :: evol = 0.
real, public :: area_ha = 0
real, public :: depth = 0
real, public :: weir_hgt = 0
real, public :: weir_wid = 0
real, public :: seci = 0

type, public ::  reservoir_pest_processes

Components

Type Visibility Attributes Name Initial
real, public :: react = 0.
real, public :: volat = 0.
real, public :: settle = 0.
real, public :: resus = 0.
real, public :: difus = 0.
real, public :: react_ben = 0.
real, public :: bury = 0.

type, public ::  res_header

Components

Type Visibility Attributes Name Initial
character(len=5), public :: day = " jday"
character(len=6), public :: mo = "   mon"
character(len=6), public :: day_mo = "   day"
character(len=6), public :: yrc = "    yr"
character(len=9), public :: j = "  resnum "
character(len=9), public :: id = "  gis_id "
character(len=16), public :: name = " name           "
character(len=13), public :: flo = "        flo"

ha-m |volume of water

character(len=12), public :: sed = "       sed"

metric tons |sediment

character(len=10), public :: orgn = "    orgn"

kg N |organic N

character(len=10), public :: sedp = "    sedp"

kg P |organic P

character(len=10), public :: no3 = "     no3"

kg N |NO3-N

character(len=10), public :: solp = "    solp"

kg P |mineral (soluble P)

character(len=10), public :: chla = "    chla"

kg |chlorophyll-a

character(len=10), public :: nh3 = "     nh3"

kg N |NH3

character(len=10), public :: no2 = "     no2"

kg N |NO2

character(len=10), public :: cbod = "    cbod"

kg |carbonaceous biological oxygen demand

character(len=10), public :: dox = "     dox"

kg |dissolved oxygen

character(len=10), public :: san = "     san"

tons |detached sand

character(len=10), public :: sil = "     sil"

tons |detached silt

character(len=10), public :: cla = "     cla"

tons |detached clay

character(len=10), public :: sag = "     sag"

tons |detached small ag

character(len=10), public :: lag = "     lag"

tons |detached large ag

character(len=10), public :: grv = "     grv"

tons |gravel

character(len=10), public :: temp = "    temp"

deg c |temperature

type, public ::  res_header1

this one for res_out

Components

Type Visibility Attributes Name Initial
character(len=8), public :: flo = "     flo"

ha-m |volume of water

character(len=10), public :: sed = "       sed"

metric tons |sediment

character(len=10), public :: orgn = "      orgn"

kg N |organic N

character(len=10), public :: sedp = "      sedp"

kg P |organic P

character(len=10), public :: no3 = "       no3"

kg N |NO3-N

character(len=10), public :: solp = "      solp"

kg P |mineral (soluble P)

character(len=10), public :: chla = "      chla"

kg |chlorophyll-a

character(len=10), public :: nh3 = "       nh3"

kg N |NH3

character(len=10), public :: no2 = "       no2"

kg N |NO2

character(len=10), public :: cbod = "      cbod"

kg |carbonaceous biological oxygen demand

character(len=10), public :: dox = "       dox"

kg |dissolved oxygen

character(len=10), public :: san = "       san"

tons |detached sand

character(len=10), public :: sil = "       sil"

tons |detached silt

character(len=10), public :: cla = "       cla"

tons |detached clay

character(len=10), public :: sag = "       sag"

tons |detached small ag

character(len=10), public :: lag = "       lag"

tons |detached large ag

character(len=10), public :: grv = "       grv"

tons |gravel

character(len=10), public :: temp = "      temp"

deg c |temperature

type, public ::  reservoir_hdr

last part of header for res_om

Components

Type Visibility Attributes Name Initial
character(len=10), public :: area_ha = "   area_ha"
character(len=10), public :: evap = "      evap"
character(len=10), public :: seep = "      seep"
character(len=10), public :: sed_setl = " sed_setlp"
character(len=10), public :: seci = "      seci"
character(len=10), public :: solp_loss = " solp_loss"
character(len=10), public :: sedp_loss = " sedp_loss"
character(len=10), public :: orgn_loss = " orgn_loss"
character(len=10), public :: no3_loss = "  no3_loss"
character(len=10), public :: nh3_loss = "  nh3_loss"
character(len=10), public :: no2_loss = "  no2_loss"

type, public ::  res_headerbsn

Components

Type Visibility Attributes Name Initial
character(len=8), public :: flo = "     flo"

ha-m |volume of water

character(len=12), public :: sed = "         sed"

metric tons |sediment

character(len=12), public :: orgn = "        orgn"

kg N |organic N

character(len=12), public :: sedp = "        sedp"

kg P |organic P

character(len=12), public :: no3 = "         no3"

kg N |NO3-N

character(len=12), public :: solp = "        solp"

kg P |mineral (soluble P)

character(len=12), public :: chla = "        chla"

kg |chlorophyll-a

character(len=12), public :: nh3 = "         nh3"

kg N |NH3

character(len=12), public :: no2 = "         no2"

kg N |NO2

character(len=12), public :: cbod = "        cbod"

kg |carbonaceous biological oxygen demand

character(len=12), public :: dox = "         dox"

kg |dissolved oxygen

character(len=12), public :: san = "         san"

tons |detached sand

character(len=12), public :: sil = "         sil"

tons |detached silt

character(len=12), public :: cla = "         cla"

tons |detached clay

character(len=12), public :: sag = "         sag"

tons |detached small ag

character(len=12), public :: lag = "         lag"

tons |detached large ag

character(len=12), public :: grv = "         grv"

tons |gravel

character(len=12), public :: temp = "        temp"

deg c |temperature

type, public ::  res_header_unit

is this correct for res_out ??? also uses hy_output ??? gsm 9/2018

Components

Type Visibility Attributes Name Initial
character(len=5), public :: day = "     "
character(len=6), public :: mo = "      "
character(len=6), public :: day_mo = "      "
character(len=6), public :: yrc = "      "
character(len=9), public :: j = "         "
character(len=9), public :: id = "         "
character(len=16), public :: name = "               "
character(len=13), public :: flo = "        ha-m"

ha-m |volume of water

character(len=12), public :: sed = "   met_tons"

metric tons |sediment

character(len=10), public :: orgn = "    kg N"

kg N |organic N

character(len=10), public :: sedp = "    kg P"

kg P |organic P

character(len=10), public :: no3 = "    kg N"

kg N |NO3-N

character(len=10), public :: solp = "    kg P"

kg P |mineral (soluble P)

character(len=10), public :: chla = "      kg"

kg |chlorophyll-a

character(len=10), public :: nh3 = "    kg N"

kg N |NH3

character(len=10), public :: no2 = "    kg N"

kg N |NO2

character(len=10), public :: cbod = "      kg"

kg |carbonaceous biological oxygen demand

character(len=10), public :: dox = "      kg"

kg |dissolved oxygen

character(len=10), public :: san = "    tons"

tons |detached sand

character(len=10), public :: sil = "    tons"

tons |detached silt

character(len=10), public :: cla = "    tons"

tons |detached clay

character(len=10), public :: sag = "    tons"

tons |detached small ag

character(len=10), public :: lag = "    tons"

tons |detached large ag

character(len=10), public :: grv = "    tons"

tons |gravel

character(len=10), public :: temp = "   deg c"

deg c |temperature

type, public ::  res_header_unit1

is this correct for Units res_out ??? also uses hy_output ??? gsm 9/2018

Components

Type Visibility Attributes Name Initial
character(len=10), public :: flo = "     ha-m"

ha-m |volume of water

character(len=8), public :: sed = "met_tons"

metric tons |sediment

character(len=10), public :: orgn = "      kg_N"

kg N |organic N

character(len=10), public :: sedp = "      kg_P"

kg P |organic P

character(len=10), public :: no3 = "      kg_N"

kg N |NO3-N

character(len=10), public :: solp = "      kg_P"

kg P |mineral (soluble P)

character(len=10), public :: chla = "        kg"

kg |chlorophyll-a

character(len=10), public :: nh3 = "      kg N"

kg N |NH3

character(len=10), public :: no2 = "      kg N"

kg N |NO2

character(len=10), public :: cbod = "        kg"

kg |carbonaceous biological oxygen demand

character(len=10), public :: dox = "        kg"

kg |dissolved oxygen

character(len=10), public :: san = "      tons"

tons |detached sand

character(len=10), public :: sil = "      tons"

tons |detached silt

character(len=10), public :: cla = "      tons"

tons |detached clay

character(len=10), public :: sag = "      tons"

tons |detached small ag

character(len=10), public :: lag = "      tons"

tons |detached large ag

character(len=10), public :: grv = "      tons"

tons |gravel

character(len=10), public :: temp = "     deg_c"

deg c |temperature

type, public ::  res_header_unit2

last part of units

Components

Type Visibility Attributes Name Initial
character(len=10), public :: area_ha = "        ha"
character(len=10), public :: evap = "        mm"
character(len=10), public :: seep = "        mm"
character(len=10), public :: sed_setl = "         t"
character(len=10), public :: seci = "         m"
character(len=10), public :: solp_loss = "        kg"
character(len=10), public :: sedp_loss = "        kg"
character(len=10), public :: orgn_loss = "        kg"
character(len=10), public :: no3_loss = "        kg"
character(len=10), public :: nh3_loss = "        kg"
character(len=10), public :: no2_loss = "        kg"

type, public ::  res_header_unitbsn

is this correct for Units res_out ??? also uses hy_output ??? gsm 9/2018

Components

Type Visibility Attributes Name Initial
character(len=10), public :: flo = "     m^3"

m^3 |volume of water

character(len=12), public :: sed = "  met_tons"

metric tons |sediment

character(len=10), public :: orgn = "      kg_N"

kg N |organic N

character(len=12), public :: sedp = "        kg_P"

kg P |organic P

character(len=12), public :: no3 = "        kg_N"

kg N |NO3-N

character(len=12), public :: solp = "        kg_P"

kg P |mineral (soluble P)

character(len=12), public :: chla = "          kg"

kg |chlorophyll-a

character(len=12), public :: nh3 = "        kg_N"

kg N |NH3

character(len=12), public :: no2 = "        kg_N"

kg N |NO2

character(len=12), public :: cbod = "          kg"

kg |carbonaceous biological oxygen demand

character(len=12), public :: dox = "          kg"

kg |dissolved oxygen

character(len=12), public :: san = "        tons"

tons |detached sand

character(len=12), public :: sil = "        tons"

tons |detached silt

character(len=12), public :: cla = "        tons"

tons |detached clay

character(len=12), public :: sag = "        tons"

tons |detached small ag

character(len=12), public :: lag = "        tons"

tons |detached large ag

character(len=12), public :: grv = "        tons"

tons |gravel

character(len=12), public :: temp = "       deg_c"

deg c |temperature