Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "fbp"

Request W.I.S.E. Builder to calculate FBP values from the given inputs.

Example

//cache the FBP fuel type defaults
let fuelCache = await FbpCalculations.getFuelsWithDefaultsPromise();

//populate the calculator with example values
let calculator = new FbpCalculations();
calculator.fuelType = "C-1";
calculator.elevation = 500;
calculator.useSlope = false;
calculator.slopeValue = 0;
calculator.aspect = 0;
calculator.useLine = false;
calculator.startTime = "2019-01-01T12:00:00";
calculator.elapsedTime = 60;
calculator.ffmc = 85;
calculator.bui = 40;
calculator.useBui = true;
calculator.windSpeed = 10;
calculator.windDirection = 0;
calculator.latitude = 62.454;
calculator.longitude = -114.3718;
await calculator.calculatePromise();
//******* calculator is now populated with FBP values **********

Index