Two numerical assemblies in Tellegen duplicate what PowerIO provides:
crates/tellegen/src/model/ac.rs:686, AcNetwork::ybus() builds Ybus triplets from Tellegen's dense columns; powerio-matrix/src/matrix/ybus.rs is the same MATPOWER makeYbus assembly, and the Julia and Python bindings use it.
crates/tellegen/src/sens/dc.rs:186, incidence_by_bus builds a per bus incidence list for DC sensitivities; powerio::calc_incidence_matrix returns the CSR incidence matrix.
Both index by Tellegen's dense column order, so the replacement needs one index mapping between BalancedNetwork element order and the dense columns. Not done in #97 because it touches the AC model days before the WebMCP submission; it is the last known place where Tellegen recomputes something PowerIO already computes.
Two numerical assemblies in Tellegen duplicate what PowerIO provides:
crates/tellegen/src/model/ac.rs:686,AcNetwork::ybus()builds Ybus triplets from Tellegen's dense columns;powerio-matrix/src/matrix/ybus.rsis the same MATPOWERmakeYbusassembly, and the Julia and Python bindings use it.crates/tellegen/src/sens/dc.rs:186,incidence_by_busbuilds a per bus incidence list for DC sensitivities;powerio::calc_incidence_matrixreturns the CSR incidence matrix.Both index by Tellegen's dense column order, so the replacement needs one index mapping between
BalancedNetworkelement order and the dense columns. Not done in #97 because it touches the AC model days before the WebMCP submission; it is the last known place where Tellegen recomputes something PowerIO already computes.