Skip to main content

build_lindist3flow_conic_problem

Function build_lindist3flow_conic_problem 

Source
pub fn build_lindist3flow_conic_problem(
    instance: &LinDist3FlowOpfInstance,
) -> Result<LinDist3FlowConicProblem>
Expand description

Assemble the complete supported LinDist3Flow slice as a canonical conic program.

Variable bounds remain native bounds. Equalities are normalized to zero. Apparent-power limits use standard SOCs. Current limits use the exact rotated representation (w, I_max² / 2, p, q) in K_r; line limits are enforced against the voltage at both endpoints.

§Errors

As build_lindist3flow_preparation, or an internal semantic variable is absent, duplicated, or has non-finite numerical data.