#[non_exhaustive]pub enum SequenceRotation {
Fortescue,
Rectangular,
OpenDssMathutil,
}Expand description
The rotation operator a a symmetrical component transform is built
on. The variants are the same transform to within their rounding of
sin 120°; the reference tools use several, so a reader reproducing one
names the operator it uses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Fortescue
Fortescue’s a = e^{j 2π/3} from its polar form, a² = a · a, and
the inverse A⁻¹ = conj(A)ᵀ / 3: every reader and model that follows
no engine’s rounding.
Rectangular
a = −½ + j √3/2 written in rectangular form, a² = conj(a), and
the inverse conj(A)ᵀ / 3: the SINCAL multiconductor transformer
port expansion.
OpenDssMathutil
OpenDSS mathutil.pas’s SetAMatrix as upstream OpenDSS builds it
(and DSS C-API under its BadPrecision compatibility flag):
a = −½ + j 0.866025403, truncated, a² = conj(a), and A⁻¹ the
closed form of the inverse of that A, whose sequence rows are
[⅓, w, conj(w)] and [⅓, conj(w), w] with
w = −1/6 + j / (4 · 0.866025403); conj(A)ᵀ / 3 is not its inverse.
mathutil.pas forms Ap2s numerically (TcMatrix.Invert), whose
sweep differs from this closed form in the last place (its ⅓
entries and w.re, with residues of order 2⁻⁵⁴ in their imaginary
parts), so values through this operator agree with the engine’s to
within that rounding, not bit for bit. The IndMach012a user model’s
sequence admittance reads it.
Trait Implementations§
Source§impl Clone for SequenceRotation
impl Clone for SequenceRotation
Source§fn clone(&self) -> SequenceRotation
fn clone(&self) -> SequenceRotation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SequenceRotation
Source§impl Debug for SequenceRotation
impl Debug for SequenceRotation
impl Eq for SequenceRotation
Source§impl PartialEq for SequenceRotation
impl PartialEq for SequenceRotation
impl StructuralPartialEq for SequenceRotation
Auto Trait Implementations§
impl Freeze for SequenceRotation
impl RefUnwindSafe for SequenceRotation
impl Send for SequenceRotation
impl Sync for SequenceRotation
impl Unpin for SequenceRotation
impl UnsafeUnpin for SequenceRotation
impl UnwindSafe for SequenceRotation
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.