Skip to content

dive-math / planning / TurnPressures

Interface: TurnPressures ​

Defined in: planning/teams.ts:44

Usable pressure (bar) per cylinder under the thirds and halves rules, and which side limits. Each value is the pressure the diver may breathe from that cylinder before turning, NOT the gauge reading to turn at (the turn reading is the fill pressure minus this value).

Properties ​

halvesA ​

halvesA: number

Defined in: planning/teams.ts:50

Usable bar from A under halves: (limitingVolume − limitingCap·reserve) / 2 / capA, clamped at 0.


halvesB ​

halvesB: number

Defined in: planning/teams.ts:52

Usable bar from B under halves: (limitingVolume − limitingCap·reserve) / 2 / capB, clamped at 0.


limitingSide ​

limitingSide: "A" | "B"

Defined in: planning/teams.ts:54

Cylinder holding less gas (capacity × fill); it sets the shared volume.


thirdsA ​

thirdsA: number

Defined in: planning/teams.ts:46

Usable bar from A under thirds: limitingVolume / 3 / capA.


thirdsB ​

thirdsB: number

Defined in: planning/teams.ts:48

Usable bar from B under thirds: limitingVolume / 3 / capB.

Reference only — verify every fill and dive plan independently.