route_regional.Rd
Determines if juveniles stay in the region (Sections of Mainstem Sacramento River or San Joaquin River) or out migrate during a simulated month
route_regional(
month,
year,
migrants,
inchannel_habitat,
floodplain_habitat,
prop_pulse_flows,
migration_survival_rate,
proportion_flow_bypass,
filling_fn = fallRunDSM::fill_regional,
filling_args = NULL,
movement_fn = NULL,
movement_months = NULL,
movement_args = NULL,
detour = NULL,
territory_size,
freeport_flows,
vernalis_flows,
stochastic
)
IP-117068
The current simulation month, 1-8
The current simulation year, 1-20
An n by 4 matrix of juvenile fish by watershed and size class
A vector of available habitat in square meters
A vector of available floodplain habitat in square meters
The proportion of pulse flows
The outmigration survival rate
Variable describing the proportion of flows routed through the bypasses, more details at proportion_flow_bypasses
optional filling function to use in routing procedure, by default it uses fallRunDSM::fill_regional
when passing custom filling function, pass function specific arguments as a list here
optional movement function to use in routing procedure
when passing custom movement function, pass movement months here
when passing custom movement function, pass function specific arguments as a list here
Values can be 'sutter' or 'yolo' if some juveniles are detoured on to that bypass, otherwise NULL
Array of juvenile fish territory requirements for fill_regional
TRUE
FALSE
value indicating if model is being run stochastically
Monthly mean flow at freeport in cubic feet per second
Monthly mean flow at vernalis in cubic feet per second