routing: Routing

Description Usage Arguments Examples

View source: R/routing.R

Description

Determine next reach(es) for a cohort based on current reach.

Usage

1
2
3
4
5
6
7
routing(
  reach = c("GeoDCC", "Sac1", "Sac2", "Sac3", "Sac4", "SS", "Verona_to_Sac",
    "Fremont Weir", "Interior Delta", "Yolo"),
  scenario,
  model_day,
  flow_list
)

Arguments

reach

GeoDCC, Sac1, Sac2, Sac3, Sac4, SS, Verona_to_Sac, Yolo, Fremont Weir, or Interior Delta

scenario

Scenario describing water project operations

model_day

Integer day in 82-yr model period

flow_list

List that contains flow values for all reaches, scenarios, and days in 82-yr model period

Examples

1
2
routing("Sac1", "EXG", 2, list("SS" = list("EXG" = c(1000, 5000, 10000)), "Sac2" = list("EXG" = c(2000, 10000, 20000))))
routing("SS", "EXG", 2, list("SS" = list("EXG" = c(1000, 5000, 10000)), "Sac2" = list("EXG" = c(2000, 10000, 20000))))

fishsciences/DeltaPassageModel documentation built on March 4, 2020, 5:03 p.m.