#[non_exhaustive]pub enum IslandReferencePolicy {
Stated,
PerIsland,
}Expand description
How normalization and BalancedNetwork::assign_island_references treat
the reference buses of a network with several islands.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Stated
Keep the reference buses the case states. Normalization designates
one only when none survives anywhere, and
BalancedNetwork::assign_island_references changes nothing.
PerIsland
One reference per island, on a bus that hosts an in-service
generator. A stated reference that hosts none is demoted first. An
island left with no reference takes the bus of its in-service
generator with the largest pmax (the smallest bus id breaking ties);
an island left with several keeps the one with the most generation and
demotes the others; an island with no in-service generator cannot be
solved and is de-energized. Normalization under this policy picks the
same reference buses.
Trait Implementations§
Source§impl Clone for IslandReferencePolicy
impl Clone for IslandReferencePolicy
Source§fn clone(&self) -> IslandReferencePolicy
fn clone(&self) -> IslandReferencePolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for IslandReferencePolicy
Source§impl Debug for IslandReferencePolicy
impl Debug for IslandReferencePolicy
Source§impl Default for IslandReferencePolicy
impl Default for IslandReferencePolicy
Source§fn default() -> IslandReferencePolicy
fn default() -> IslandReferencePolicy
impl Eq for IslandReferencePolicy
Source§impl PartialEq for IslandReferencePolicy
impl PartialEq for IslandReferencePolicy
impl StructuralPartialEq for IslandReferencePolicy
Auto Trait Implementations§
impl Freeze for IslandReferencePolicy
impl RefUnwindSafe for IslandReferencePolicy
impl Send for IslandReferencePolicy
impl Sync for IslandReferencePolicy
impl Unpin for IslandReferencePolicy
impl UnsafeUnpin for IslandReferencePolicy
impl UnwindSafe for IslandReferencePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.