#[repr(C)]pub struct PioDcOpfGeneratorView {Show 14 fields
pub component_id: PioStringView,
pub bus_index: usize,
pub analysis_row: usize,
pub source_row: usize,
pub has_source_row: bool,
pub quadratic_cost: f64,
pub linear_cost: f64,
pub constant_cost: f64,
pub has_piecewise_linear_cost: bool,
pub piecewise_linear_power: PioF64View,
pub piecewise_linear_value: PioF64View,
pub active_power_max: f64,
pub active_power_min: f64,
pub capability_active: bool,
}Expand description
One generator row in a DC OPF preparation.
Fields§
§component_id: PioStringView§bus_index: usize§analysis_row: usize§source_row: usize§has_source_row: bool§quadratic_cost: f64§linear_cost: f64§constant_cost: f64§has_piecewise_linear_cost: bool§piecewise_linear_power: PioF64View§piecewise_linear_value: PioF64View§active_power_max: f64§active_power_min: f64§capability_active: boolTrait Implementations§
Source§impl Clone for PioDcOpfGeneratorView
impl Clone for PioDcOpfGeneratorView
Source§fn clone(&self) -> PioDcOpfGeneratorView
fn clone(&self) -> PioDcOpfGeneratorView
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 PioDcOpfGeneratorView
Auto Trait Implementations§
impl !Send for PioDcOpfGeneratorView
impl !Sync for PioDcOpfGeneratorView
impl Freeze for PioDcOpfGeneratorView
impl RefUnwindSafe for PioDcOpfGeneratorView
impl Unpin for PioDcOpfGeneratorView
impl UnsafeUnpin for PioDcOpfGeneratorView
impl UnwindSafe for PioDcOpfGeneratorView
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