Skip to content

dive-math / deco / PlanInput

Interface: PlanInput ​

Defined in: deco/plan.ts:71

Inputs to planDive. Defaults in brackets.

Extends ​

Properties ​

airBreaks? ​

optional airBreaks?: AirBreaks

Defined in: deco/plan.ts:103

Air breaks during decompression. [none]


ascentRate? ​

optional ascentRate?: number

Defined in: deco/plan.ts:81

m/min, at least MIN_RATE_M_PER_MIN. [10]


consumption? ​

optional consumption?: Consumption

Defined in: deco/plan.ts:99

Enables DivePlan.gasUse.


dayExposure? ​

optional dayExposure?: readonly DayItem[]

Defined in: deco/plan.ts:105

Earlier dives and surface intervals the same day, for daily warnings. []


decoGases? ​

optional decoGases?: readonly Gas[]

Defined in: deco/plan.ts:75

Open-circuit deco gases, switched at MOD (ignored on CCR). []


descentRate? ​

optional descentRate?: number

Defined in: deco/plan.ts:79

m/min, at least MIN_RATE_M_PER_MIN. [20]


gfHigh ​

gfHigh: number

Defined in: deco/plan.ts:77


gfLow ​

gfLow: number

Defined in: deco/plan.ts:76


lastStopM? ​

optional lastStopM?: number

Defined in: deco/plan.ts:85

m, a multiple of stopInterval. [3]


levels ​

levels: readonly Level[]

Defined in: deco/plan.ts:73

1 to MAX_LEVELS levels, each at most MAX_DEPTH_M deep.


maxBottomPpo2? ​

optional maxBottomPpo2?: number

Defined in: deco/plan.ts:89

ata. [1.4]


maxDecoPpo2? ​

optional maxDecoPpo2?: number

Defined in: deco/plan.ts:87

ata. [1.6]


oxygenLimits? ​

optional oxygenLimits?: CnsLimits

Defined in: deco/plan.ts:101

CNS limit set. ['noaa-1991']


roundStops? ​

optional roundStops?: boolean

Defined in: deco/plan.ts:95

End every stop on a whole minute of runtime. [true]


safetyStop? ​

optional safetyStop?: boolean

Defined in: deco/plan.ts:93

3 min at 5 m on no-decompression dives. [false]


startTissues? ​

optional startTissues?: Tissues

Defined in: deco/plan.ts:97

Tissues from a previous dive's surfaceInterval. [surface air]


stopInterval? ​

optional stopInterval?: number

Defined in: deco/plan.ts:83

m, at least MIN_STOP_INTERVAL_M. [3]


surfacePressure? ​

optional surfacePressure?: number

Defined in: pressure.ts:36

Surface pressure, ata. Default SURFACE_ATA. See surfaceAtaAtAltitude.

Inherited from ​

TissueOptions.surfacePressure


switchMinutes? ​

optional switchMinutes?: number

Defined in: deco/plan.ts:91

Minutes held at each OC gas switch, at most MAX_DECO_MINUTES. [0]


water? ​

optional water?: Water

Defined in: pressure.ts:34

Water type. Default 'salt'.

Inherited from ​

TissueOptions.water


waterVapour? ​

optional waterVapour?: number

Defined in: deco/tissues.ts:31

bar; default WATER_VAPOUR_BUHLMANN.

Inherited from ​

TissueOptions.waterVapour

Reference only — verify every fill and dive plan independently.