#[non_exhaustive]pub struct StatedBranchFlows {
pub sources: Vec<AnalysisBranchSource>,
pub in_service: Vec<bool>,
pub p_from_mw: Vec<f64>,
pub q_from_mvar: Vec<f64>,
pub p_to_mw: Vec<f64>,
pub q_to_mvar: Vec<f64>,
}Expand description
Active and reactive power entering every analysis branch at both ends, at
the stored voltages, from calc_stated_branch_flows.
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.sources: Vec<AnalysisBranchSource>The source of each analysis branch: every source branch row in order, then the three windings of each in service three winding transformer.
in_service: Vec<bool>Whether the branch is in service. An out of service branch carries zero flow.
p_from_mw: Vec<f64>Power entering the branch at its from end, MW and MVAr.
q_from_mvar: Vec<f64>§p_to_mw: Vec<f64>Power entering the branch at its to end, MW and MVAr.
q_to_mvar: Vec<f64>Trait Implementations§
Source§impl Clone for StatedBranchFlows
impl Clone for StatedBranchFlows
Source§impl Debug for StatedBranchFlows
impl Debug for StatedBranchFlows
Source§impl PartialEq for StatedBranchFlows
impl PartialEq for StatedBranchFlows
impl StructuralPartialEq for StatedBranchFlows
Auto Trait Implementations§
impl Freeze for StatedBranchFlows
impl RefUnwindSafe for StatedBranchFlows
impl Send for StatedBranchFlows
impl Sync for StatedBranchFlows
impl Unpin for StatedBranchFlows
impl UnsafeUnpin for StatedBranchFlows
impl UnwindSafe for StatedBranchFlows
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