wallo_start_day Subroutine

subroutine wallo_start_day()

Uses

  • proc~~wallo_start_day~~UsesGraph proc~wallo_start_day wallo_start_day module~conditional_module conditional_module proc~wallo_start_day->module~conditional_module module~hru_module hru_module proc~wallo_start_day->module~hru_module module~hydrograph_module hydrograph_module proc~wallo_start_day->module~hydrograph_module module~maximum_data_module maximum_data_module proc~wallo_start_day->module~maximum_data_module module~recall_module recall_module proc~wallo_start_day->module~recall_module module~water_allocation_module water_allocation_module proc~wallo_start_day->module~water_allocation_module module~basin_module basin_module module~hydrograph_module->module~basin_module module~time_module time_module module~hydrograph_module->module~time_module

~ ~ ~ PURPOSE ~ ~ ~ this subroutine starts the day for water allocation sets the out of basin source (OSRC) availability, withdrawal for OSRC and canals, and set water allocation duty (right) and fractions from each POD and to each POR

zero daily POD and POR organic-mineral Outside Source Objects - POD Objects - typically measured flow or SWAT+ output use use constant, decision table, or recall object for to set the om conc for outside source water decision table - outside source concentrations vary with flow conditions, seasons, etc actions return the organic mineral number for outside source concentrations use recall object for outside source concentrations allocate and deliver water at start of day if the POU does not have any PODs (inflow is from a return) - just treat/use and return the water compute outflow and concentrations compute outflow and concentrations return water to PORs allocate and deliver water at start of day for water tower storage allocate and deliver water at start of day for unlimited source PODs zero water allocation objects and set reset POU finishes to no

set water allocation duty (right) and fractions from each POD and to each POR zero water allocation objects and set reset POU finishes to "n" need irrig(j) when irrigating for condition and setting POU demand in dtbl irrig(j)%demand, applied, runoff (from decision table) for each hru reset demand or duty for transfer object - convert from mm to m3 if no dtbl, use the maximum rate every day if decision table, use to set demand reset demand or duty for transfer object set max rate for the day - convert to m3/s compute POD (source) fractions if decision table is used for POD fractions reset source fractions for transfer object use input POD (source) fractions compute source fractions if decision table is used for POR fractions reset source fractions for transfer object

Arguments

None

Calls

proc~~wallo_start_day~~CallsGraph proc~wallo_start_day wallo_start_day actions actions proc~wallo_start_day->actions conditions conditions proc~wallo_start_day->conditions wallo_control wallo_control proc~wallo_start_day->wallo_control wallo_return wallo_return proc~wallo_start_day->wallo_return wallo_treatment wallo_treatment proc~wallo_start_day->wallo_treatment wallo_use wallo_use proc~wallo_start_day->wallo_use