#[non_exhaustive]pub struct NormalizedSolverTables {Show 15 fields
pub pass: String,
pub network_name: String,
pub base_mva: f64,
pub base_frequency: f64,
pub units: SolverTableUnits,
pub index: SolverTableIndex,
pub buses: Vec<SolverBusRow>,
pub loads: Vec<SolverLoadRow>,
pub shunts: Vec<SolverShuntRow>,
pub branches: Vec<SolverBranchRow>,
pub switches: Vec<SolverSwitchRow>,
pub arcs: Vec<SolverArcRow>,
pub generators: Vec<SolverGeneratorRow>,
pub storage: Vec<SolverStorageRow>,
pub hvdc: Vec<SolverHvdcRow>,
}Expand description
A row oriented, dense indexed, per unit/radian view of a balanced network.
The source Network is first normalized with Network::to_normalized, then
lowered through IndexedNetwork so 3-winding transformers appear as star
buses and branches. Source ids are preserved as metadata; every reference used
for computation is dense and zero based.
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.pass: String§network_name: String§base_mva: f64§base_frequency: f64§units: SolverTableUnits§index: SolverTableIndex§buses: Vec<SolverBusRow>§loads: Vec<SolverLoadRow>§shunts: Vec<SolverShuntRow>§branches: Vec<SolverBranchRow>§switches: Vec<SolverSwitchRow>§arcs: Vec<SolverArcRow>§generators: Vec<SolverGeneratorRow>§storage: Vec<SolverStorageRow>§hvdc: Vec<SolverHvdcRow>Implementations§
Source§impl NormalizedSolverTables
impl NormalizedSolverTables
pub fn from_network(source: &Network) -> Result<Self>
Trait Implementations§
Source§impl Clone for NormalizedSolverTables
impl Clone for NormalizedSolverTables
Source§fn clone(&self) -> NormalizedSolverTables
fn clone(&self) -> NormalizedSolverTables
Returns a duplicate of the value. Read more
1.0.0 · 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 NormalizedSolverTables
impl Debug for NormalizedSolverTables
Source§impl<'de> Deserialize<'de> for NormalizedSolverTables
impl<'de> Deserialize<'de> for NormalizedSolverTables
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NormalizedSolverTables
impl PartialEq for NormalizedSolverTables
Source§impl Serialize for NormalizedSolverTables
impl Serialize for NormalizedSolverTables
impl StructuralPartialEq for NormalizedSolverTables
Auto Trait Implementations§
impl Freeze for NormalizedSolverTables
impl RefUnwindSafe for NormalizedSolverTables
impl Send for NormalizedSolverTables
impl Sync for NormalizedSolverTables
impl Unpin for NormalizedSolverTables
impl UnsafeUnpin for NormalizedSolverTables
impl UnwindSafe for NormalizedSolverTables
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