pub struct ScSource {
pub id: u64,
pub node: usize,
pub y1: Complex<f64>,
pub y0: Complex<f64>,
pub u_ref_angle: f64,
pub u_rated: f64,
}Expand description
One active source, reduced to the Norton equivalent a short-circuit
calculation needs: an internal admittance at its node, behind a fixed EMF.
Fields§
§id: u64The document’s own source id.
node: usizePhysical node index the source sits on.
y1: Complex<f64>Positive- (= negative-) sequence internal admittance, per unit.
y0: Complex<f64>Zero-sequence internal admittance, per unit.
u_ref_angle: f64u_ref_angle, the only part of the source’s voltage specification that
survives into a short-circuit calculation — see
gridoxide’s pgm::shortcircuit::pgm_to_3ph_sc_network.
u_rated: f64Rated line-to-line voltage of the node this source sits on, which is
what selects its IEC 60909 voltage-scaling factor c.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScSource
impl RefUnwindSafe for ScSource
impl Send for ScSource
impl Sync for ScSource
impl Unpin for ScSource
impl UnsafeUnpin for ScSource
impl UnwindSafe for ScSource
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
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,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more