#[non_exhaustive]pub struct TransformerPrimitive<'a> {
pub name: &'a str,
pub terminals: Vec<(&'a str, &'a str)>,
pub series: Vec<Vec<Complex<f64>>>,
pub shunt: Vec<Vec<Complex<f64>>>,
pub primitive: Vec<Vec<Complex<f64>>>,
pub grounded: Vec<(&'a str, &'a str)>,
pub delta_direction: i8,
pub winding_admittance: Vec<Vec<Complex<f64>>>,
}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<Complex<f64>>>Leakage and winding neutral impedance contributions.
shunt: Vec<Vec<Complex<f64>>>Magnetizing, core loss and stated small grounding admittance contributions.
primitive: Vec<Vec<Complex<f64>>>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<Complex<f64>>>The winding domain admittance Y_1Volt behind series
(calc_transformer_winding_admittance), or the referred winding
primitive of a single phase autotransformer.
Trait Implementations§
Source§impl<'a> Clone for TransformerPrimitive<'a>
impl<'a> Clone for TransformerPrimitive<'a>
Source§fn clone(&self) -> TransformerPrimitive<'a>
fn clone(&self) -> TransformerPrimitive<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more