Skip to content

Commit 7fcc0b7

Browse files
authored
Change: Default low gradient factor to 60% (#80)
30% GF low (30% to the M-value ceiling) is overly conservative for most dives, especially given the reduced emphasis on deep stops.
1 parent 1b3139e commit 7fcc0b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

data/src/commonMain/kotlin/org/neotech/app/abysner/data/diveplanning/PlanningRepositoryImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class PlanningRepositoryImpl(
6666
maxPPO2 = get(PREFERENCE_KEY_MAX_PPO2, 1.4),
6767
maxAscentRate = get(PREFERENCE_KEY_DIVER_SPEED_ASCENT, 5.0),
6868
maxDescentRate = get(PREFERENCE_KEY_DIVER_SPEED_DESCENT, 20.0),
69-
gfLow = get(PREFERENCE_KEY_ALGORITHM_GF_LOW, 0.3),
69+
gfLow = get(PREFERENCE_KEY_ALGORITHM_GF_LOW, 0.6),
7070
gfHigh = get(PREFERENCE_KEY_ALGORITHM_GF_HIGH, 0.7),
7171
forceMinimalDecoStopTime = get(PREFERENCE_KEY_FORCE_MINIMAL_STOP_TIME, true),
7272
useDecoGasBetweenSections = get(PREFERENCE_KEY_USE_DECO_GAS_BETWEEN_SECTIONS, false),

domain/src/commonMain/kotlin/org/neotech/app/abysner/domain/core/model/Configuration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ data class Configuration(
3131
val maxEND: Double = 30.0,
3232
val maxAscentRate: Double = 5.0,
3333
val maxDescentRate: Double = 20.0,
34-
val gfLow: Double = 0.3,
34+
val gfLow: Double = 0.6,
3535
val gfHigh: Double = 0.7,
3636
val forceMinimalDecoStopTime: Boolean = true,
3737
val useDecoGasBetweenSections: Boolean = false,

0 commit comments

Comments
 (0)