pub struct DynamicStudy { /* private fields */ }Expand description
A steady-state case explicitly paired with its transient-stability data.
This is a study-level association, not a mutation of crate::BalancedNetwork.
The current linking guarantee validates generic bus references only; it does
not resolve model-specific device keys or claim that the named device exists.
Implementations§
Source§impl DynamicStudy
impl DynamicStudy
Sourcepub fn new(network: BalancedNetwork, dynamics: DynamicCase) -> DynamicStudy
pub fn new(network: BalancedNetwork, dynamics: DynamicCase) -> DynamicStudy
Pair a parsed static network with a parsed DYR case.
Sourcepub fn network(&self) -> &BalancedNetwork
pub fn network(&self) -> &BalancedNetwork
The steady-state network, unchanged by the pairing.
Sourcepub fn dynamics(&self) -> &DynamicCase
pub fn dynamics(&self) -> &DynamicCase
The loss-preserving dynamic-model records.
Sourcepub fn unresolved_buses(&self) -> Vec<UnresolvedBusReference>
pub fn unresolved_buses(&self) -> Vec<UnresolvedBusReference>
DYR records whose bus reference is absent from the static case.
Sourcepub fn into_parts(self) -> (BalancedNetwork, DynamicCase)
pub fn into_parts(self) -> (BalancedNetwork, DynamicCase)
Consume the study and recover the separately represented components.
Trait Implementations§
Source§impl Clone for DynamicStudy
impl Clone for DynamicStudy
Source§fn clone(&self) -> DynamicStudy
fn clone(&self) -> DynamicStudy
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 moreAuto Trait Implementations§
impl Freeze for DynamicStudy
impl RefUnwindSafe for DynamicStudy
impl Send for DynamicStudy
impl Sync for DynamicStudy
impl Unpin for DynamicStudy
impl UnsafeUnpin for DynamicStudy
impl UnwindSafe for DynamicStudy
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