November 25

1. Implemented getC31 Helper for Non-Sealed Systems

  • Issue: The new logic for determining the QLMV lower limit (based on Appendix C1) was initially only applied to Sealed Systems.
  • Fix: Updated the getC31 helper function to accept an isSealed boolean parameter. Updated the renderBothSystems function to call getC31(false) and apply the new calculation logic to the “Non-Sealed” column for “Other Applications”.

2. All SEALED & NON-SEALED OA (Other Applications) results match Chemours’ Excel exactly.

3. Identified & Fixed A Floating-Point Precision Bug

  • Issue: In specific small room dimensions (e.g., 2x2x2), the QLAV value was calculating as 1.14 instead of 1.13. This was due to standard JavaScript floating-point math (e.g., 1.12 + 0.01 resulting in 1.1300000000000001), causing Math.ceil to round up incorrectly.
  • Fix: Replaced the ceiling calculation with an integer-based rounding approach:
  • Before Math.ceil((val + 0.01) * 100) / 100 //
  • After (Math.round(val * 100) + 1) / 100