travel_time: Travel time

Description Usage Arguments Examples

View source: R/travel_time.R

Description

Draw random value for travel time through a reach on a given day.

Usage

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

Arguments

reach

GeoDCC, Sac1, Sac2, Sac3, Sac4, SS, Verona_to_Sac, Yolo, 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
travel_time("Sac1", "EXG", 2, list("Sac1" = list("EXG" = c(1000, 5000, 10000), "ALT" = c(2000, 10000, 20000))))
travel_time("Yolo", "EXG", 2, list("Sac1" = list("EXG" = c(1000, 5000, 10000), "ALT" = c(2000, 10000, 20000))))

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