salt_chem_hru Subroutine

subroutine salt_chem_hru()

Uses

  • proc~~salt_chem_hru~~UsesGraph proc~salt_chem_hru salt_chem_hru module~basin_module basin_module proc~salt_chem_hru->module~basin_module module~constituent_mass_module constituent_mass_module proc~salt_chem_hru->module~constituent_mass_module module~hru_module hru_module proc~salt_chem_hru->module~hru_module module~salt_data_module salt_data_module proc~salt_chem_hru->module~salt_data_module module~salt_module salt_module proc~salt_chem_hru->module~salt_module module~soil_module soil_module proc~salt_chem_hru->module~soil_module module~time_module time_module proc~salt_chem_hru->module~time_module module~carbon_module carbon_module module~soil_module->module~carbon_module
~ ~ ~ PURPOSE ~ ~ ~
this subroutine calculates salt ion concentrations based on equilibrium chemical reactions, for an HRU
(precipitation-dissolution, complexation, cation exchange)

~ ~ ~ INCOMING VARIABLES ~ ~ ~
name          |units         |definition  
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
ihru          |none          |HRU number
sol_csalt     |mg Salt/L     |concentration of salt ions in solution in each soil layer
saltgw_conc   !mg Salt/L     |concentration of salt ions in groundwater
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name          |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
sol_csalt     |mg Salt/L     |concentration of salt ions in solution in each soil layer
saltgw_conc   !mg Salt/L     |concentration of salt ions in groundwater
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

*** End Precipitation-Dissolution Package *****

** tu Wunused-label: 101 format(i8,i8,i8,i8,50(e13.4))

Arguments

None

Calls

proc~~salt_chem_hru~~CallsGraph proc~salt_chem_hru salt_chem_hru activity_coefficient activity_coefficient proc~salt_chem_hru->activity_coefficient caco3 caco3 proc~salt_chem_hru->caco3 caso4 caso4 proc~salt_chem_hru->caso4 cationexchange cationexchange proc~salt_chem_hru->cationexchange ionic_strength ionic_strength proc~salt_chem_hru->ionic_strength mgco3 mgco3 proc~salt_chem_hru->mgco3 mgso4 mgso4 proc~salt_chem_hru->mgso4 nacl nacl proc~salt_chem_hru->nacl