simulation: Simulation for a zoning solution

View source: R/simulation.R

simulationR Documentation

Simulation for a zoning solution

Description

Simulation for a zoning solution

Usage

simulation(
  solution,
  seed = 1,
  n_replications = 1,
  flight = c("zoned", "free"),
  queue = T,
  max_dist = 1e+06,
  LOS = 14400,
  warmup = 0,
  speed_agent = 0.25,
  verbose = F,
  dist_haversine = F
)

Arguments

solution

A list returned from one of the solution approaches

seed

Passed to the set.seed function for reproducibility of results

n_replications

Number of times to repeat the simulation

flight

Whether to use hard zoning or soft zoning (free-flight)

queue

Whether or not to have a FCFS infinite length queue

max_dist

The maximum distance a demand point can be of a base to be serviced by that base

LOS

Length of simulation in seconds

warmup

Fraction of LOS to discard as warmup period

speed_agent

Movement per time unit for an agent

verbose

Whether or not to print the information on the simulation

dist_haversine

Whether or not to use Haversine distance (for use with the york dataset)

Value

None at the moment

Examples

# WIP

Rosenkrands/zav documentation built on March 31, 2022, 2:16 p.m.