#[non_exhaustive]pub struct AcOtsOptions {
pub switchable: BranchSelection,
pub switching_costs: Vec<BranchSwitchingCost>,
pub islanding: IslandingPolicy,
pub max_open: Option<usize>,
pub max_switched: Option<usize>,
pub current_limits: CurrentLimitPolicy,
pub stated_current_limits: Vec<BranchCurrentLimit>,
}Expand description
The calculation types used by solver consumers. The full problem
vocabulary lives in powerio_prob; these types sit at the facade root so
a consumer does not need a second PowerIO dependency to name its boundary.
The switching options of an AcOtsInstance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.switchable: BranchSelectionThe branches that may change status.
switching_costs: Vec<BranchSwitchingCost>Transition costs; a branch with no record switches at zero cost.
islanding: IslandingPolicyWhether the final topology may form islands.
max_open: Option<usize>The most branches open in the final topology, counting every open row, including fixed ones.
max_switched: Option<usize>The most status changes against the initial topology.
current_limits: CurrentLimitPolicyWhich current limits apply.
stated_current_limits: Vec<BranchCurrentLimit>The explicit current limits CurrentLimitPolicy::Stated uses.
Trait Implementations§
Source§impl Clone for AcOtsOptions
impl Clone for AcOtsOptions
Source§fn clone(&self) -> AcOtsOptions
fn clone(&self) -> AcOtsOptions
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 moreSource§impl Debug for AcOtsOptions
impl Debug for AcOtsOptions
Source§impl Default for AcOtsOptions
impl Default for AcOtsOptions
Source§fn default() -> AcOtsOptions
fn default() -> AcOtsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for AcOtsOptions
impl PartialEq for AcOtsOptions
impl StructuralPartialEq for AcOtsOptions
Auto Trait Implementations§
impl Freeze for AcOtsOptions
impl RefUnwindSafe for AcOtsOptions
impl Send for AcOtsOptions
impl Sync for AcOtsOptions
impl Unpin for AcOtsOptions
impl UnsafeUnpin for AcOtsOptions
impl UnwindSafe for AcOtsOptions
Blanket Implementations§
impl<T> Allocation for T
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