Skip to content

Conversation

@kargig
Copy link
Owner

@kargig kargig commented Jan 2, 2026

Create a unified physics engine on both backend (Python) and frontend (JavaScript) to ensure consistent, high-fidelity dive calculations across the platform.

Key improvements:

  • Port Subsurface algorithms for Real Gas Law (Virial Z-factor) and Isobaric Counterdiffusion (Rule of Fifths).
  • Integrate Z-factor compressibility into SAC Rate, Gas Consumption, and Minimum Gas calculators to fix Ideal Gas Law inaccuracies.
  • Add "ICD Check" tool to identify risky gas switches and warn about Inner Ear (Vestibular) DCS.
  • Standardize Partial Pressure math (MOD, END, EAD) using accurate surface pressure (1.01325 bar).
  • Expand tank database with Double 15L, Double 18L, and Pony cylinders.
  • Update UI to show "Bar/min" consumption and derived linear formulas for educational transparency.
  • Enhance backend dive import to automatically calculate "Real SAC" rates for uploaded logs.
  • Ensure consistent chemical notation (subscripts) across all tools.

Create a unified physics engine on both backend (Python) and frontend
(JavaScript) to ensure consistent, high-fidelity dive calculations
across the platform.

Key improvements:
- Port Subsurface algorithms for Real Gas Law (Virial Z-factor) and
  Isobaric Counterdiffusion (Rule of Fifths).
- Integrate Z-factor compressibility into SAC Rate, Gas Consumption,
  and Minimum Gas calculators to fix Ideal Gas Law inaccuracies.
- Add "ICD Check" tool to identify risky gas switches and warn about
  Inner Ear (Vestibular) DCS.
- Standardize Partial Pressure math (MOD, END, EAD) using accurate
  surface pressure (1.01325 bar).
- Expand tank database with Double 15L, Double 18L, and Pony cylinders.
- Update UI to show "Bar/min" consumption and derived linear formulas
  for educational transparency.
- Enhance backend dive import to automatically calculate "Real SAC"
  rates for uploaded logs.
- Ensure consistent chemical notation (subscripts) across all tools.
@kargig kargig merged commit 3beba3c into main Jan 2, 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.

2 participants