Fuel Models¶
This module defines the fuel model classes used throughout EMBRS. Each fuel model encapsulates the physical properties (loading, surface-area-to-volume ratios, moisture of extinction, fuel bed depth) required by the Rothermel spread equations. EMBRS supports both the Anderson 13 and Scott-Burgan 40 classification systems, loaded from bundled JSON data files. The FuelConstants class provides lookup tables for mapping fuel model numbers to human-readable names and visualization colors.
Fuel model definitions for fire spread simulation.
Define fuel model classes used in Rothermel fire behavior calculations. Each fuel model encapsulates physical properties (loading, surface-area-to-volume ratios, moisture of extinction, fuel depth) and precomputes derived constants needed by the Rothermel equations.
Supports Anderson 13 and Scott-Burgan 40 fuel model classification systems.
Classes:
| Name | Description |
|---|---|
- Fuel |
Base class representing a generic fuel model with physical properties. |
- Anderson13 |
Anderson 13 standard fire behavior fuel models. |
- ScottBurgan40 |
Scott and Burgan 40 fuel models with dynamic herbaceous transfer. |
- FuelConstants |
Lookup tables mapping fuel model numbers to names and colors. |
References
Anderson, H. E. (1982). Aids to Determining Fuel Models for Estimating Fire Behavior. USDA Forest Service General Technical Report INT-122.
Scott, J. H. & Burgan, R. E. (2005). Standard Fire Behavior Fuel Models. USDA Forest Service General Technical Report RMRS-GTR-153.
Anderson13
¶
Bases: Fuel
Anderson 13 standard fire behavior fuel models.
Load fuel properties from the bundled Anderson13.json data file.
Model numbers 1-13 are burnable; higher numbers (91, 92, 93, 98, 99)
represent non-burnable types.
The JSON data is cached at the class level and loaded only once.
Source code in embrs/models/fuel_models.py
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | |
__init__(model_number, live_h_mf=0)
¶
Initialize an Anderson 13 fuel model by model number.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model_number
|
int
|
Anderson fuel model number (1-13 for burnable, 91/92/93/98/99 for non-burnable). |
required |
live_h_mf
|
float
|
Live herbaceous fuel moisture (fraction). Unused for Anderson 13 (not dynamic). Defaults to 0. |
0
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in embrs/models/fuel_models.py
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | |
load_fuel_models()
classmethod
¶
Load Anderson 13 fuel model data from the bundled JSON file.
Data is cached at the class level after the first call.
Source code in embrs/models/fuel_models.py
298 299 300 301 302 303 304 305 306 307 | |
update_curing(live_h_mf)
¶
Anderson 13 models have no dynamic curing — no-op.
Source code in embrs/models/fuel_models.py
349 350 351 | |
Fuel
¶
Base fuel model for Rothermel fire spread calculations.
Encapsulate the physical properties of a fuel type and precompute derived constants used in the Rothermel (1972) equations. Non-burnable fuel types (e.g., water, urban) store only name and model number.
All internal units follow the Rothermel convention: loading in lb/ft², surface-area-to-volume ratio in 1/ft, fuel depth in ft, heat content in BTU/lb.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Human-readable fuel model name. |
model_num |
int
|
Numeric fuel model identifier. |
burnable |
bool
|
Whether this fuel can sustain fire. |
dynamic |
bool
|
Whether herbaceous fuel transfer is applied. |
load |
ndarray
|
Fuel loading per class (tons/acre), shape (6,). Order: [1h, 10h, 100h, dead herb, live herb, live woody]. |
s |
ndarray
|
Surface-area-to-volume ratio per class (1/ft), shape (6,). |
sav_ratio |
int
|
Characteristic SAV ratio (1/ft). |
dead_mx |
float
|
Dead fuel moisture of extinction (fraction). |
fuel_depth_ft |
float
|
Fuel bed depth (feet). |
heat_content |
float
|
Heat content (BTU/lb), default 8000. |
rho_p |
float
|
Particle density (lb/ft³), default 32. |
Source code in embrs/models/fuel_models.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | |
__init__(name, model_num, burnable, dynamic, w_0, s, s_total, dead_mx, fuel_depth)
¶
Initialize a fuel model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Human-readable fuel model name. |
required |
model_num
|
int
|
Numeric identifier for the fuel model. |
required |
burnable
|
bool
|
Whether this fuel can sustain fire. |
required |
dynamic
|
bool
|
Whether herbaceous transfer applies. |
required |
w_0
|
ndarray
|
Fuel loading per class (tons/acre), shape (6,). None for non-burnable models. |
required |
s
|
ndarray
|
SAV ratio per class (1/ft), shape (6,). None for non-burnable models. |
required |
s_total
|
int
|
Characteristic SAV ratio (1/ft). |
required |
dead_mx
|
float
|
Dead fuel moisture of extinction (fraction). |
required |
fuel_depth
|
float
|
Fuel bed depth (feet). |
required |
Source code in embrs/models/fuel_models.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
calc_E_B_C()
¶
Compute wind factor coefficients E, B, and C.
These coefficients parameterize the wind factor equation in the Rothermel model as a function of the characteristic SAV ratio.
Returns:
| Type | Description |
|---|---|
tuple
|
Tuple[float, float, float]: |
Source code in embrs/models/fuel_models.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |
calc_W(w_0_tpa)
¶
Compute dead-to-live fuel loading ratio W.
W is used to determine live fuel moisture of extinction. Returns
np.inf when there is no live fuel loading (denominator is zero).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
w_0_tpa
|
ndarray
|
Fuel loading per class (tons/acre), shape (6,). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Dead-to-live loading ratio (dimensionless), or |
Source code in embrs/models/fuel_models.py
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | |
calc_flux_ratio()
¶
Compute propagating flux ratio for the Rothermel equation.
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Propagating flux ratio (dimensionless). |
Source code in embrs/models/fuel_models.py
132 133 134 135 136 137 138 139 140 141 | |
compute_f_and_g_weights()
¶
Compute fuel class weighting factors f_ij, g_ij, and category fractions f_i.
Derive weighting arrays from fuel loading and SAV ratios. f_ij
gives fractional area weights within dead/live categories. g_ij
gives SAV-bin-based moisture weighting factors. f_i gives the
dead vs. live category fractions.
Side Effects
Sets self.f_ij (2×6), self.g_ij (2×6), and
self.f_i (2,) arrays.
Source code in embrs/models/fuel_models.py
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | |
set_fuel_loading(w_n)
¶
Set net fuel loading and recompute weighted dead/live net loadings.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
w_n
|
ndarray
|
Net fuel loading per class (lb/ft²), shape (6,). |
required |
Side Effects
Updates self.w_n, self.w_n_dead, and self.w_n_live.
Source code in embrs/models/fuel_models.py
237 238 239 240 241 242 243 244 245 246 247 248 | |
FuelConstants
¶
Lookup tables mapping fuel model numbers to names and display colors.
Attributes:
| Name | Type | Description |
|---|---|---|
fuel_names |
dict
|
Maps fuel model number (int) to human-readable name. |
fuel_type_reverse_lookup |
dict
|
Maps fuel model name to number. |
fuel_color_mapping |
dict
|
Maps fuel model number to hex color string for visualization. |
Source code in embrs/models/fuel_models.py
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 | |
ScottBurgan40
¶
Bases: Fuel
Scott-Burgan 40 fire behavior fuel models.
Load fuel properties from the bundled ScottBurgan40.json data file.
Model numbers >= 101 are burnable. Dynamic models transfer herbaceous
fuel loading between live and dead categories based on a curing level
computed from live herbaceous moisture content.
The JSON data is cached at the class level and loaded only once.
Source code in embrs/models/fuel_models.py
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | |
__init__(model_number, live_h_mf=0)
¶
Initialize a Scott-Burgan 40 fuel model by model number.
For dynamic models, the herbaceous fuel loading is transferred
between live and dead categories based on the curing level derived
from live_h_mf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model_number
|
int
|
Scott-Burgan fuel model number (e.g., 101 for GR1, 201 for SB1). |
required |
live_h_mf
|
float
|
Live herbaceous fuel moisture (fraction). Used to compute curing level for dynamic models. Defaults to 0. |
0
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in embrs/models/fuel_models.py
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | |
calc_curing_level(live_h_mf)
¶
Compute herbaceous curing level from live herbaceous moisture.
The curing level T determines the fraction of live herbaceous loading transferred to the dead herbaceous class. Clamped to [0, 1].
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
live_h_mf
|
float
|
Live herbaceous fuel moisture (fraction). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Curing level in [0, 1] where 1 = fully cured (all herbaceous loading treated as dead). |
Source code in embrs/models/fuel_models.py
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | |
load_fuel_models()
classmethod
¶
Load Scott-Burgan 40 fuel model data from the bundled JSON file.
Data is cached at the class level after the first call.
Source code in embrs/models/fuel_models.py
365 366 367 368 369 370 371 372 373 374 | |
update_curing(live_h_mf)
¶
Recompute curing and rebuild derived Rothermel constants in-place.
For dynamic models, recomputes the herbaceous load transfer from the
new live_h_mf and updates all loading-dependent constants. Non-dynamic
and non-burnable models are no-ops.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
live_h_mf
|
float
|
New live herbaceous fuel moisture (fraction). |
required |
Source code in embrs/models/fuel_models.py
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | |
BTU_ft2_min_to_kW_m2(f_btu_ft2_min)
¶
Convert heat flux from BTU/(ft^2*min) to kW/m^2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_btu_ft2_min
|
float
|
Heat flux in BTU/(ft^2*min). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Heat flux in kW/m^2. |
Source code in embrs/utilities/unit_conversions.py
220 221 222 223 224 225 226 227 228 229 | |
BTU_ft_min_to_kW_m(f_btu_ft_min)
¶
Convert fireline intensity from BTU/(ft*min) to kW/m.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_btu_ft_min
|
float
|
Fireline intensity in BTU/(ft*min). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fireline intensity in kW/m. |
Source code in embrs/utilities/unit_conversions.py
232 233 234 235 236 237 238 239 240 241 | |
BTU_ft_min_to_kcal_s_m(f_btu_ft_min)
¶
Convert fireline intensity from BTU/(ftmin) to kcal/(sm).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_btu_ft_min
|
float
|
Fireline intensity in BTU/(ft*min). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fireline intensity in kcal/(s*m). |
Source code in embrs/utilities/unit_conversions.py
244 245 246 247 248 249 250 251 252 253 | |
BTU_lb_to_cal_g(f_btu_lb)
¶
Convert heat content from BTU/lb to cal/g.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_btu_lb
|
float
|
Heat content in BTU/lb. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Heat content in cal/g. |
Source code in embrs/utilities/unit_conversions.py
272 273 274 275 276 277 278 279 280 281 | |
F_to_C(f_f)
¶
Convert temperature from Fahrenheit to Celsius.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_f
|
float
|
Temperature in degrees Fahrenheit. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Temperature in degrees Celsius. |
Source code in embrs/utilities/unit_conversions.py
48 49 50 51 52 53 54 55 56 57 | |
KiSq_to_Lbsft2(f_kisq)
¶
Convert fuel loading from kg/m^2 to lb/ft^2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_kisq
|
float
|
Fuel loading in kg/m^2. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in lb/ft^2. |
Source code in embrs/utilities/unit_conversions.py
156 157 158 159 160 161 162 163 164 165 | |
KiSq_to_TPA(f_kisq)
¶
Convert fuel loading from kg/m^2 to tons per acre.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_kisq
|
float
|
Fuel loading in kg/m^2. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in tons per acre. |
Source code in embrs/utilities/unit_conversions.py
204 205 206 207 208 209 210 211 212 213 | |
Lbsft2_to_KiSq(f_libsft2)
¶
Convert fuel loading from lb/ft^2 to kg/m^2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_libsft2
|
float
|
Fuel loading in lb/ft^2. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in kg/m^2. |
Source code in embrs/utilities/unit_conversions.py
144 145 146 147 148 149 150 151 152 153 | |
Lbsft2_to_TPA(f_lbsft2)
¶
Convert fuel loading from lb/ft^2 to tons per acre.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_lbsft2
|
float
|
Fuel loading in lb/ft^2. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in tons per acre. |
Source code in embrs/utilities/unit_conversions.py
192 193 194 195 196 197 198 199 200 201 | |
TPA_to_KiSq(f_tpa)
¶
Convert fuel loading from tons per acre to kg/m^2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_tpa
|
float
|
Fuel loading in tons per acre. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in kg/m^2. |
Source code in embrs/utilities/unit_conversions.py
168 169 170 171 172 173 174 175 176 177 | |
TPA_to_Lbsft2(f_tpa)
¶
Convert fuel loading from tons per acre to lb/ft^2.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_tpa
|
float
|
Fuel loading in tons per acre. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Fuel loading in lb/ft^2. |
Source code in embrs/utilities/unit_conversions.py
180 181 182 183 184 185 186 187 188 189 | |
cal_g_to_BTU_lb(f_cal_g)
¶
Convert heat content from cal/g to BTU/lb.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_cal_g
|
float
|
Heat content in cal/g. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Heat content in BTU/lb. |
Source code in embrs/utilities/unit_conversions.py
260 261 262 263 264 265 266 267 268 269 | |
ft_min_to_m_s(f_ft_min)
¶
Convert speed from feet per minute to meters per second.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_ft_min
|
float
|
Speed in ft/min. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Speed in m/s. |
Source code in embrs/utilities/unit_conversions.py
92 93 94 95 96 97 98 99 100 101 | |
ft_min_to_mph(f_ft_min)
¶
Convert speed from feet per minute to miles per hour.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_ft_min
|
float
|
Speed in ft/min. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Speed in mph. |
Source code in embrs/utilities/unit_conversions.py
116 117 118 119 120 121 122 123 124 125 | |
ft_to_m(f_ft)
¶
Convert length from feet to meters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_ft
|
float
|
Length in feet. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Length in meters. |
Source code in embrs/utilities/unit_conversions.py
76 77 78 79 80 81 82 83 84 85 | |
m_s_to_ft_min(m_s)
¶
Convert speed from meters per second to feet per minute.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
m_s
|
float
|
Speed in m/s. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Speed in ft/min. |
Source code in embrs/utilities/unit_conversions.py
104 105 106 107 108 109 110 111 112 113 | |
m_to_ft(f_m)
¶
Convert length from meters to feet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_m
|
float
|
Length in meters. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Length in feet. |
Source code in embrs/utilities/unit_conversions.py
64 65 66 67 68 69 70 71 72 73 | |
mph_to_ft_min(f_mph)
¶
Convert speed from miles per hour to feet per minute.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
f_mph
|
float
|
Speed in mph. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Speed in ft/min. |
Source code in embrs/utilities/unit_conversions.py
128 129 130 131 132 133 134 135 136 137 | |