#[non_exhaustive]pub struct DcBranchParameters {Show 13 fields
pub identities: Vec<String>,
pub from_bus: Vec<usize>,
pub to_bus: Vec<usize>,
pub susceptance_magnitude: Vec<f64>,
pub shift: Vec<f64>,
pub f_max: Vec<f64>,
pub angle_min: Vec<f64>,
pub angle_max: Vec<f64>,
pub analysis_rows: Vec<usize>,
pub analysis_sources: Vec<AnalysisBranchSource>,
pub skipped_zero_impedance: Vec<usize>,
pub thermal_limit_active: Vec<bool>,
pub angle_bound_active: Vec<bool>,
}Expand description
Branch parameters in active branch column order.
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.identities: Vec<String>Stable branch identity aligned with every following column.
from_bus: Vec<usize>§to_bus: Vec<usize>§susceptance_magnitude: Vec<f64>Branch susceptance in the selected power unit per radian, positive for an inductive branch.
shift: Vec<f64>Phase shift in radians. Zero unless the formula carries phase shift injections.
f_max: Vec<f64>Thermal limit in the selected power unit. Zero means unlimited.
angle_min: Vec<f64>Branch angle bounds in radians.
angle_max: Vec<f64>§analysis_rows: Vec<usize>Branch column to row in the star-lowered analysis network.
analysis_sources: Vec<AnalysisBranchSource>Source component for each analysis branch column. Lowered transformer windings remain mapped to their typed transformer row and winding.
skipped_zero_impedance: Vec<usize>Analysis branch rows omitted because their reactance was zero.
thermal_limit_active: Vec<bool>Whether the instance activates each thermal limit.
angle_bound_active: Vec<bool>Whether the instance activates each angle difference bound.
Trait Implementations§
Source§impl Clone for DcBranchParameters
impl Clone for DcBranchParameters
Source§fn clone(&self) -> DcBranchParameters
fn clone(&self) -> DcBranchParameters
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 DcBranchParameters
impl Debug for DcBranchParameters
Source§impl<'de> Deserialize<'de> for DcBranchParameters
impl<'de> Deserialize<'de> for DcBranchParameters
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 DcBranchParameters
impl PartialEq for DcBranchParameters
Source§fn eq(&self, other: &DcBranchParameters) -> bool
fn eq(&self, other: &DcBranchParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DcBranchParameters
impl Serialize for DcBranchParameters
impl StructuralPartialEq for DcBranchParameters
Auto Trait Implementations§
impl Freeze for DcBranchParameters
impl RefUnwindSafe for DcBranchParameters
impl Send for DcBranchParameters
impl Sync for DcBranchParameters
impl Unpin for DcBranchParameters
impl UnsafeUnpin for DcBranchParameters
impl UnwindSafe for DcBranchParameters
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