Skip to main content

capacity_factor

Function capacity_factor 

Source
fn capacity_factor(c: u128, reference: u128) -> f64
Expand description

Continuous, monotonically increasing capacity factor, bounded in (0.05, 1.0].

Uses a log scale because channel balances span many orders of magnitude. Saturates at 1.0 near reference.