#[repr(C)]pub struct PioAcOtsBranchView {Show 14 fields
pub id: PioStringView,
pub initial_closed: bool,
pub switchable: bool,
pub has_switching_cost: bool,
pub open_cost: f64,
pub close_cost: f64,
pub stated_from_pu: f64,
pub stated_to_pu: f64,
pub has_stated_from_pu: bool,
pub has_stated_to_pu: bool,
pub current_from_pu: f64,
pub current_to_pu: f64,
pub has_current_from_pu: bool,
pub has_current_to_pu: bool,
}Expand description
One physical branch as an AC optimal transmission switching instance sees it: its identity, initial status, whether it may switch, its switching costs, its stated current limits, and the current limits that apply under the instance’s policy. Borrowed data lives with the owner.
Fields§
§id: PioStringView§initial_closed: bool§switchable: bool§has_switching_cost: bool§open_cost: f64§close_cost: f64§stated_from_pu: f64§stated_to_pu: f64§has_stated_from_pu: bool§has_stated_to_pu: bool§current_from_pu: f64§current_to_pu: f64§has_current_from_pu: bool§has_current_to_pu: boolTrait Implementations§
Source§impl Clone for PioAcOtsBranchView
impl Clone for PioAcOtsBranchView
impl Copy for PioAcOtsBranchView
Auto Trait Implementations§
impl !Send for PioAcOtsBranchView
impl !Sync for PioAcOtsBranchView
impl Freeze for PioAcOtsBranchView
impl RefUnwindSafe for PioAcOtsBranchView
impl Unpin for PioAcOtsBranchView
impl UnsafeUnpin for PioAcOtsBranchView
impl UnwindSafe for PioAcOtsBranchView
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