#[repr(C)]pub struct PioAcOpfBranchView {Show 21 fields
pub component_id: PioStringView,
pub from_bus_index: usize,
pub to_bus_index: usize,
pub series_conductance: f64,
pub series_susceptance: f64,
pub from_conductance: f64,
pub from_susceptance: f64,
pub to_conductance: f64,
pub to_susceptance: f64,
pub tap_ratio: f64,
pub phase_shift_radians: f64,
pub apparent_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 an AC OPF preparation.
Fields§
§component_id: PioStringView§from_bus_index: usize§to_bus_index: usize§series_conductance: f64§series_susceptance: f64§from_conductance: f64§from_susceptance: f64§to_conductance: f64§to_susceptance: f64§tap_ratio: f64§phase_shift_radians: f64§apparent_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 PioAcOpfBranchView
impl Clone for PioAcOpfBranchView
Source§fn clone(&self) -> PioAcOpfBranchView
fn clone(&self) -> PioAcOpfBranchView
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 PioAcOpfBranchView
Auto Trait Implementations§
impl !Send for PioAcOpfBranchView
impl !Sync for PioAcOpfBranchView
impl Freeze for PioAcOpfBranchView
impl RefUnwindSafe for PioAcOpfBranchView
impl Unpin for PioAcOpfBranchView
impl UnsafeUnpin for PioAcOpfBranchView
impl UnwindSafe for PioAcOpfBranchView
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