#[non_exhaustive]pub enum SequenceThird {
Divide,
Reciprocal,
DivideFirst,
SelfLessPositive,
}Expand description
How a sequence to phase expansion takes its third. The spellings are
the same transform and can differ in the last place (and, for
SequenceThird::DivideFirst, in where a large finite value
overflows); the reference engines use several, so a reader reproducing
one names the order its element class uses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Divide
Divide by three: OpenDSS Line (RecalcElementData:
Zs := (Ztemp + Cmplx(R0, X0)) / 3) and VSource
((2.0 * X1 + X0) / 3.0), and every reader that follows no engine’s
rounding.
Reciprocal
Multiply by the rounded reciprocal 1.0 / 3.0: OpenDSS LineCode
alone (CalcMatricesFromZ1Z0 multiplies by its local
OneThird := 1.0 / 3.0).
DivideFirst
Divide each sequence value by three before combining them, self
2 (z₁ / 3) + z₀ / 3 and mutual z₀ / 3 − z₁ / 3, so no
intermediate sum of two large finite values overflows: the SINCAL
multiconductor line and rated shunt readers.
SelfLessPositive
The self entry divided by three as SequenceThird::Divide and the
mutual entry as that self entry less z₁: OpenDSS VSource given
its sequence impedances (Xm := Xs − X1 in RecalcElementData).
Trait Implementations§
Source§impl Clone for SequenceThird
impl Clone for SequenceThird
Source§fn clone(&self) -> SequenceThird
fn clone(&self) -> SequenceThird
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 SequenceThird
Source§impl Debug for SequenceThird
impl Debug for SequenceThird
impl Eq for SequenceThird
Source§impl PartialEq for SequenceThird
impl PartialEq for SequenceThird
impl StructuralPartialEq for SequenceThird
Auto Trait Implementations§
impl Freeze for SequenceThird
impl RefUnwindSafe for SequenceThird
impl Send for SequenceThird
impl Sync for SequenceThird
impl Unpin for SequenceThird
impl UnsafeUnpin for SequenceThird
impl UnwindSafe for SequenceThird
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.