Skip to main content

calc_transformer_magnetizing

Function calc_transformer_magnetizing 

Source
pub fn calc_transformer_magnetizing(
    transformer: &DistTransformer,
) -> Result<Option<TransformerMagnetizing>, Error>
Expand description

The magnetizing branch a transformer states, in one of three spellings:

  • no_load_shunt {winding, g, b}: per coil siemens on the stated one based winding;
  • g_no_load and b_no_load (BMOPF): siemens on the second winding, or the first winding of a regulator, divided across the phases of a single_phase, wye_delta or delta_wye unit, which state a total;
  • OpenDSS %noloadloss and %imag: percent of the first winding’s rating over the second winding’s coil voltage (calc_coil_voltage times tap), on the second winding, the susceptance inductive.

None when none is stated. The one magnetizing branch: the transformer primitive stamps it and the multiconductor OPF descriptor writes it as coil shunts.

§Errors

no_load_shunt beside g_no_load or b_no_load, a no_load_shunt that is not an object of a winding, g and b alone, a winding outside the unit, a negative or nonfinite conductance, a nonfinite susceptance, or OpenDSS percentages that are negative or nonfinite.