drivers: Models fire behaviour across ranged variables

View source: R/Ensembles.R

driversR Documentation

Models fire behaviour across ranged variables

Description

Models fire behaviour across ranged variables

Usage

drivers(
  base.params,
  db.path = "out_mc.db",
  jitters,
  windMin,
  windReps,
  windStep,
  moistureMultiplier,
  moistureSD,
  moistureRange,
  heightSD,
  heightRange,
  leafVar,
  updateProgress = NULL
)

Arguments

base.params

Input parameter file

db.path

Name of the exported database

jitters

Number of repetitions for each row in the weather table

windMin

Lowest wind velocity tested (km/h)

windReps

Number of wind speeds tested

windStep

Gap (km/h) between wind steps

moistureMultiplier

Multiplies all LFMC values by this number

moistureSD

Standard deviation of moisture

moistureRange

Truncates variability by +/- mean * range

heightSD

Standard deviation of plant height

heightRange

Truncates variability by +/- mean * range

leafVar

Variation around input leaf dimensions, equivalent to l

updateProgress

Progress bar for use in the dashboard

Examples


SPECIFY INPUTS
record <- 1
data(site)
data(structure)
data(flora)
data(traits)
base.params <- paramBuilder(site, structure, flora, traits, record)

MODEL PROBABILISTIC FIRE BEHAVIOUR
drivers(base.params, db.path = "out.db", jitters = REPLICATES, windMin = 0, windReps = 30,
windStep = 2, moistureMultiplier = 1, moistureSD = 0.01, moistureRange = 1.001, 
heightSD = 0.2, heightRange = 1.41, leafVar = 0.1, updateProgress = NULL)

LOAD AND ORGANISE RESULTS
res<-ffm_db_load("out.db")

pzylstra/frame_r documentation built on Nov. 12, 2023, 1:55 a.m.