#[non_exhaustive]pub struct MachineDynamics {
pub generator: usize,
pub bus: BusId,
pub machine_id: String,
pub mbase: f64,
pub zsource: (f64, f64),
pub machine: Option<LinkedModel>,
pub exciter: Option<LinkedModel>,
pub governor: Option<LinkedModel>,
pub stabilizer: Option<LinkedModel>,
}Expand description
Typed PSS/E DYR model views and model-aware generator linking. The dynamic models attached to one generator of the static case.
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.generator: usizeIndex into BalancedNetwork::generators.
bus: BusId§machine_id: StringThe generator’s PSS/E machine id, trimmed (see psse_machine_ids).
mbase: f64Machine base in MVA.
zsource: (f64, f64)ZSORCE on the machine base.
machine: Option<LinkedModel>§exciter: Option<LinkedModel>§governor: Option<LinkedModel>§stabilizer: Option<LinkedModel>Trait Implementations§
Source§impl Clone for MachineDynamics
impl Clone for MachineDynamics
Source§fn clone(&self) -> MachineDynamics
fn clone(&self) -> MachineDynamics
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 MachineDynamics
impl Debug for MachineDynamics
Source§impl PartialEq for MachineDynamics
impl PartialEq for MachineDynamics
impl StructuralPartialEq for MachineDynamics
Auto Trait Implementations§
impl Freeze for MachineDynamics
impl RefUnwindSafe for MachineDynamics
impl Send for MachineDynamics
impl Sync for MachineDynamics
impl Unpin for MachineDynamics
impl UnsafeUnpin for MachineDynamics
impl UnwindSafe for MachineDynamics
Blanket Implementations§
impl<T> Allocation 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
Mutably borrows from an owned value. Read more