Skip to content

Adds equations 50-18, 50-19 and 50-20 of the SFPE handbook. #58

Merged
simonsantama merged 21 commits intomainfrom
add_sfpe_ch50_50-18_19_20
Jan 15, 2026
Merged

Adds equations 50-18, 50-19 and 50-20 of the SFPE handbook. #58
simonsantama merged 21 commits intomainfrom
add_sfpe_ch50_50-18_19_20

Conversation

@simonsantama
Copy link
Contributor

Cross references with similar equations in other books

Copilot AI review requested due to automatic review settings January 11, 2026 19:42
@simonsantama
Copy link
Contributor Author

@JamieMaclean do not review yet.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds three new equations from Chapter 50 of the SFPE Handbook: equations 50-18, 50-19, and 50-20. It also adds documentation cross-referencing these equations with similar calculations in other fire engineering documents, and introduces dependencies to the fire_dynamics_tools crate.

Changes:

  • Implements equation 50-18 for fractional effective dose (FED) calculation with time-varying concentrations
  • Implements equations 50-19 and 50-20 for flow area factor calculations (identical implementations to existing equation 50-16)
  • Adds cross-reference documentation linking equation 50-18 with CIBSE Guide E equation 10-8 as similar FED calculations

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
crates/sfpe_handbook/src/chapter_50/equation_50_18.rs New FED calculation equation with vector inputs for time-varying concentrations
crates/sfpe_handbook/src/chapter_50/equation_50_19.rs New flow area factor equation (duplicate implementation of equation 50-16)
crates/sfpe_handbook/src/chapter_50/equation_50_20.rs New flow area factor equation (duplicate implementation of equation 50-16)
crates/sfpe_handbook/src/chapter_50.rs Module declarations for the three new equation modules
crates/python_api/docs/guide/equation-relationships.rst Documentation cross-referencing FED equations across different standards
crates/fire_dynamics_tools/Cargo.toml Adds unused dependencies for sfpe_handbook and cibse_guide_e
Cargo.lock Updated dependency graph

@JamieMaclean
Copy link
Contributor

@JamieMaclean do not review yet.

hahaha. Sorry. I got the ping in emails because you mentioned me and I assumed that it was ready 🤦.

My bad.

@simonsantama simonsantama requested a review from Copilot January 15, 2026 12:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.

simonsantama and others added 5 commits January 15, 2026 12:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
/// - :math:`FED` is the fractional effective dose (dimensionless)
/// - :math:`C_i` is the mass concentration of material burned at the end of time interval i (g/m³)
/// - :math:`\Delta t_i` is the time interval i (s)
/// - :math:`LC_{t50}` is the lethal exposure dose from test data (mg/m³ or ppm)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// - :math:`LC_{t50}` is the lethal exposure dose from test data (mg/m³ or ppm)
/// - :math:`LCt_{50}` is the lethal exposure dose from test data (mg/m³ or ppm)

simonsantama and others added 2 commits January 15, 2026 19:46
Co-authored-by: Jamie Maclean <38719252+JamieMaclean@users.noreply.github.com>
simonsantama and others added 3 commits January 15, 2026 19:48
Co-authored-by: Jamie Maclean <38719252+JamieMaclean@users.noreply.github.com>
Co-authored-by: Jamie Maclean <38719252+JamieMaclean@users.noreply.github.com>
Co-authored-by: Jamie Maclean <38719252+JamieMaclean@users.noreply.github.com>
@simonsantama simonsantama merged commit cd73f45 into main Jan 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants