#[non_exhaustive]pub struct NeutralKronRecovery {
pub linecode: String,
pub source_linecode: String,
pub eliminated_position: usize,
pub retained_positions: Vec<usize>,
pub k_re: Vec<f64>,
pub k_im: Vec<f64>,
}Expand description
Neutral-current recovery for one reduced linecode.
Zero neutral voltage drop gives i_n = K i_p for retained conductor
currents i_p, where K = -Z_nn^-1 Z_np. Both neutral endpoints remain
at ideal ground; this matrix does not recover a neutral voltage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.linecode: String§source_linecode: String§eliminated_position: usize§retained_positions: Vec<usize>§k_re: Vec<f64>§k_im: Vec<f64>Trait Implementations§
Source§impl Clone for NeutralKronRecovery
impl Clone for NeutralKronRecovery
Source§fn clone(&self) -> NeutralKronRecovery
fn clone(&self) -> NeutralKronRecovery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NeutralKronRecovery
impl Debug for NeutralKronRecovery
Source§impl<'de> Deserialize<'de> for NeutralKronRecovery
impl<'de> Deserialize<'de> for NeutralKronRecovery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NeutralKronRecovery
impl PartialEq for NeutralKronRecovery
Source§fn eq(&self, other: &NeutralKronRecovery) -> bool
fn eq(&self, other: &NeutralKronRecovery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NeutralKronRecovery
impl Serialize for NeutralKronRecovery
impl StructuralPartialEq for NeutralKronRecovery
Auto Trait Implementations§
impl Freeze for NeutralKronRecovery
impl RefUnwindSafe for NeutralKronRecovery
impl Send for NeutralKronRecovery
impl Sync for NeutralKronRecovery
impl Unpin for NeutralKronRecovery
impl UnsafeUnpin for NeutralKronRecovery
impl UnwindSafe for NeutralKronRecovery
Blanket Implementations§
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
Mutably borrows from an owned value. Read more