dive-math / ccr / loopInertFractions
Function: loopInertFractions()
loopInertFractions(
input):Gas
Defined in: ccr/loop.ts:52
Loop gas: O₂ from the setpoint, inert remainder split in the diluent's He:N₂ ratio. Feed this to deco for CCR segments.
Parameters
input
Returns
Example
ts
loopInertFractions({ setpoint: 1.3, diluent: gas(0.18, 0.45), depthM: 30 }) // { fo2: 0.325, fhe: 0.3704 }