Skip to main content

evaluate_lindist3flow_pf_limits

Function evaluate_lindist3flow_pf_limits 

Source
pub fn evaluate_lindist3flow_pf_limits(
    instance: &LinDist3FlowPfInstance,
    values: &LinDist3FlowOpfValues,
) -> Result<Vec<LinDist3FlowLimitCheck>>
Expand description

Evaluate every supported line thermal limit at a fixed-dispatch point. Values and limits are returned in SI units: volt amperes and amperes. Current is evaluated independently at both physical line endpoints as hypot(P,Q) / |V|. Parallel switch contacts remain separate prepared lines, so crossed ratings cannot be relaxed by aggregation.

ยงErrors

The values do not match the formulation axes, a rating is invalid, or an endpoint squared voltage is nonpositive or non-finite.