Skip to main content

audit_electrical_readiness

Function audit_electrical_readiness 

Source
pub fn audit_electrical_readiness(
    net: &MulticonductorNetwork,
) -> ElectricalReadiness
Expand description

Audit a multiconductor network before numerical lowering or solving.

This check is intentionally conservative and read-only. It does not repair topology, invent conductor counts, or replace missing electrical data with source-format defaults. OpenDSS geometry=, spacing=, wires=, cncables=, and tscables= metadata are treated as a hard blocker because those retained references have not been lowered into canonical impedance matrices. Resolved geometry carries explicit matrices instead. A CIM segment whose source states no readable impedance is a hard blocker for the same reason. The audit provides a fail-closed boundary for numerical consumers.