#[non_exhaustive]pub struct TransformerPrimitive<'a> {
pub name: &'a str,
pub terminals: Vec<(&'a str, &'a str)>,
pub series: Vec<Vec<Complex64>>,
pub shunt: Vec<Vec<Complex64>>,
pub primitive: Vec<Vec<Complex64>>,
pub grounded: Vec<(&'a str, &'a str)>,
pub delta_direction: i8,
pub winding_admittance: Vec<Vec<Complex64>>,
}Expand description
A finite leakage transformer’s primitive admittance, siemens, over its physical terminals.
A terminal shared by several coils (a common WYE neutral, a centre tap)
appears once in terminals, in the order the windings first name it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: &'a str§terminals: Vec<(&'a str, &'a str)>(bus, terminal) of each primitive row, in primitive order.
series: Vec<Vec<Complex64>>Leakage and winding neutral impedance contributions.
shunt: Vec<Vec<Complex64>>Magnetizing, core loss and stated small grounding admittance contributions.
primitive: Vec<Vec<Complex64>>series + shunt, the element’s primitive admittance.
grounded: Vec<(&'a str, &'a str)>WYE neutral terminals the source grounds solidly
(WindingNeutralGrounding::Solid): exact zero voltage constraints,
not an admittance.
delta_direction: i8The coil ring orientation of the first DELTA winding
(calc_delta_direction), +1 when the unit has none.
winding_admittance: Vec<Vec<Complex64>>The winding domain admittance Y_1Volt behind series
(calc_transformer_winding_admittance), or the referred winding
primitive of a single phase autotransformer.