Skip to main content

LOAD_VOLTAGE_RATIO_FLOOR

Constant LOAD_VOLTAGE_RATIO_FLOOR 

pub const LOAD_VOLTAGE_RATIO_FLOOR: f64 = 1e-3; // 0.001f64
Expand description

Below this voltage ratio a power law term with exponent below one is continued by its tangent at the floor (calc_voltage_power_term): x^γ has an unbounded slope at zero for γ < 1 (and is itself unbounded for γ < 0), and an iterate can pass near zero on its way to a solution.