#[repr(C)]pub struct PioDcOpfPreparationView {Show 15 fields
pub name: PioStringView,
pub bus_count: usize,
pub generator_count: usize,
pub branch_count: usize,
pub source_generator_count: usize,
pub source_branch_count: usize,
pub base_mva: f64,
pub units: PioStringView,
pub branch_susceptance_formula: PioStringView,
pub objective: PioStringView,
pub skip_zero_impedance: bool,
pub synthesize_unrated_limits: bool,
pub correct_angle_difference_bounds: bool,
pub reference_bus_count: usize,
pub skipped_zero_impedance_count: usize,
}Expand description
Shape and conventions of one prepared DC OPF calculation.
Fields§
§name: PioStringView§bus_count: usize§generator_count: usize§branch_count: usize§source_generator_count: usize§source_branch_count: usize§base_mva: f64§units: PioStringView§branch_susceptance_formula: PioStringView§objective: PioStringView§skip_zero_impedance: bool§synthesize_unrated_limits: bool§correct_angle_difference_bounds: bool§reference_bus_count: usize§skipped_zero_impedance_count: usizeTrait Implementations§
Source§impl Clone for PioDcOpfPreparationView
impl Clone for PioDcOpfPreparationView
Source§fn clone(&self) -> PioDcOpfPreparationView
fn clone(&self) -> PioDcOpfPreparationView
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 PioDcOpfPreparationView
Auto Trait Implementations§
impl !Send for PioDcOpfPreparationView
impl !Sync for PioDcOpfPreparationView
impl Freeze for PioDcOpfPreparationView
impl RefUnwindSafe for PioDcOpfPreparationView
impl Unpin for PioDcOpfPreparationView
impl UnsafeUnpin for PioDcOpfPreparationView
impl UnwindSafe for PioDcOpfPreparationView
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