element_powers#
- popo.powerflow.element_powers(dss, element_type)#
Per-phase active and reactive power for every element of one type.
CktElement.Powersreturns one pair per conductor of the first terminal, and a single-phase element has two conductors, phase and neutral, with the neutral pair always zero. Only the firstNumPhasespairs are phases.- Parameters:
- Return type:
- Returns:
One row per (element, phase) –
name,phase,p_kwandq_kvar, positive into the element.- Raises:
ValueError – If
element_typeis not one of the supported collections.