Skip to main content

calc_capacitor_primitive_admittance

Function calc_capacitor_primitive_admittance 

Source
pub fn calc_capacitor_primitive_admittance(
    network: &MulticonductorNetwork,
    capacitor: &DistCapacitor,
) -> Result<Option<Vec<Vec<Complex64>>>>
Expand description

A capacitor bank’s primitive admittance, siemens, over its terminal map: j times its susceptance (powerio_dist::calc_capacitor_susceptance).

Each coil of the bank’s connection (powerio_dist::calc_element_connection: a WYE coil from each phase to its neutral or to ground, a DELTA coil between consecutive terminals or across a two terminal bank, a single phase coil across its two terminals) carries an equal share of the rated reactive power at its coil voltage:

b = q_rated / coils / V²,   V = v_nom / √3 (WYE with more than one terminal), v_nom otherwise

The WYE nameplate is line to line when the bank has an explicit return or several phases; a one terminal WYE bank states its coil voltage. None for a configuration with no capacitor connection. The one capacitor stamp: calc_multiconductor_admittance_matrix scatters it into the nodal system and the multiconductor OPF writes it per unit.

§Errors

A nameplate that is not finite with a positive voltage, or a terminal map its configuration cannot carry (an undeclared bus, an ambiguous WYE neutral, a single phase bank without two terminals).