#[repr(C)]pub struct PioDcOpfBranchView {Show 15 fields
pub component_id: PioStringView,
pub from_bus_index: usize,
pub to_bus_index: usize,
pub susceptance_magnitude: f64,
pub phase_shift_radians: f64,
pub active_power_max: f64,
pub angle_difference_min_radians: f64,
pub angle_difference_max_radians: f64,
pub analysis_row: usize,
pub source_kind: PioStringView,
pub source_row: usize,
pub winding: usize,
pub has_winding: bool,
pub thermal_limit_active: bool,
pub angle_bound_active: bool,
}Expand description
One active branch row in a DC OPF preparation.
Fields§
§component_id: PioStringView§from_bus_index: usize§to_bus_index: usize§susceptance_magnitude: f64§phase_shift_radians: f64§active_power_max: f64§angle_difference_min_radians: f64§angle_difference_max_radians: f64§analysis_row: usize§source_kind: PioStringView§source_row: usize§winding: usize§has_winding: bool§thermal_limit_active: bool§angle_bound_active: boolTrait Implementations§
Source§impl Clone for PioDcOpfBranchView
impl Clone for PioDcOpfBranchView
Source§fn clone(&self) -> PioDcOpfBranchView
fn clone(&self) -> PioDcOpfBranchView
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 moreimpl Copy for PioDcOpfBranchView
Auto Trait Implementations§
impl !Send for PioDcOpfBranchView
impl !Sync for PioDcOpfBranchView
impl Freeze for PioDcOpfBranchView
impl RefUnwindSafe for PioDcOpfBranchView
impl Unpin for PioDcOpfBranchView
impl UnsafeUnpin for PioDcOpfBranchView
impl UnwindSafe for PioDcOpfBranchView
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