buhlmann_zhl16 0.1.1 copy "buhlmann_zhl16: ^0.1.1" to clipboard
buhlmann_zhl16: ^0.1.1 copied to clipboard

Bühlmann ZHL-16 tissue model utilities (nitrogen-only for now) for dive planning.

example/buhlmann_zhl16_example.dart

import 'package:buhlmann_zhl16/buhlmann_zhl16.dart';

void main() {
  final plan = Plan(dives: [
    Dive(steps: [
      SquareSegment(depthMeters: 18, minutes: 40), // dive
      SurfaceInterval(minutes: 60), // SI
      SquareSegment(depthMeters: 12, minutes: 50), // repetitive dive
    ]),
  ]);

  final model = Zhl16cN2.runPlan(plan);

  print('Max PN2 (ATA): ${model.maxPn2()}');
  print('Ceiling (ATA): ${model.ceilingAmbientAta()}');
  print('Ceiling (m):   ${model.ceilingDepthMeters()}');
}
0
likes
0
points
398
downloads

Publisher

unverified uploader

Weekly Downloads

Bühlmann ZHL-16 tissue model utilities (nitrogen-only for now) for dive planning.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on buhlmann_zhl16