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>, Error>
Expand description

The calculation types used by solver consumers. The full problem vocabulary lives in powerio_prob; these types sit at the facade root so a consumer does not need a second PowerIO dependency to name its boundary. Evaluate every retained line thermal rating at a fixed-dispatch point. Values and limits are SI volt-amperes or amperes. Endpoint current uses hypot(P,Q) / |V|; parallel contacts remain separate line identities.

ยงErrors

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