Skip to content

[BHP1-1622] Fix Total Live and Dead Fuel Load returning NaN - #268

Merged
rjsheperd merged 1 commit into
mainfrom
rj-BHP1-1622-fix-fuel-load
Jul 20, 2026
Merged

[BHP1-1622] Fix Total Live and Dead Fuel Load returning NaN#268
rjsheperd merged 1 commit into
mainfrom
rj-BHP1-1622-fix-fuel-load

Conversation

@rjsheperd

@rjsheperd rjsheperd commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Purpose

Total Live/Dead Fuel Load outputs were NaN for every run. Root cause is an uninitialized accumulator in behave-mirror (firelab/behave#68). Pulls in the fixed submodule and rebuilds the WASM bundle.

Related Issues

Closes BHP1-1622

Submission Checklist

  • Included Jira issue in the PR title (e.g. BHP1-### <title>)
  • Code passes linter rules (clj-kondo --lint components/**/src bases/**/src projects/**/src)
  • Feature(s) work when compiled (clojure -M:compile-cljs)

Testing

  1. Create a Surface worksheet with fuel model 163, wind speed 5 mi/h, slope 30%
  2. Enable the Total Live Fuel Load and Total Dead Fuel Load outputs
  3. Solve and verify the results table shows 1.1/2.15 ton/ac instead of NaN

Screenshots

@Kcheung42

Copy link
Copy Markdown
Collaborator

Looks good, approved
image

@rjsheperd
rjsheperd merged commit 15be4ed into main Jul 20, 2026
1 of 2 checks passed
@rjsheperd
rjsheperd deleted the rj-BHP1-1622-fix-fuel-load branch July 20, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants