pub struct IntegratedNetwork { /* private fields */ }Expand description
Validated immutable composition. Component modules retain source bytes and records.
This is an input model for coupled calculations. Constructing it neither solves the networks nor changes their standalone equations. A consumer must apply each interface’s source substitution and explicit transmission demand policy. Interfaces do not imply an automatic voltage-based partition of a source model.
Implementations§
Source§impl IntegratedNetwork
impl IntegratedNetwork
pub fn new( transmission: PioModule<BalancedNetwork>, feeders: BTreeMap<String, PioModule<MulticonductorNetwork>>, interfaces: Vec<Interface>, ) -> Result<Self, Error>
pub fn transmission(&self) -> &PioModule<BalancedNetwork>
pub fn feeders(&self) -> &BTreeMap<String, PioModule<MulticonductorNetwork>>
pub fn interfaces(&self) -> &[Interface]
Sourcepub fn boundary_voltages(
&self,
interface: &str,
voltage_pu: Complex64,
) -> Result<[Complex64; 3], Error>
pub fn boundary_voltages( &self, interface: &str, voltage_pu: Complex64, ) -> Result<[Complex64; 3], Error>
Convert positive-sequence transmission voltage (per unit) to feeder A/B/C phase-to-earth phasors in volts. Uses the bus line-to-line kV base and the interface ratio; component MVA bases do not enter this voltage conversion.
Trait Implementations§
Source§impl Clone for IntegratedNetwork
impl Clone for IntegratedNetwork
Source§fn clone(&self) -> IntegratedNetwork
fn clone(&self) -> IntegratedNetwork
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 moreAuto Trait Implementations§
impl Freeze for IntegratedNetwork
impl RefUnwindSafe for IntegratedNetwork
impl Send for IntegratedNetwork
impl Sync for IntegratedNetwork
impl Unpin for IntegratedNetwork
impl UnsafeUnpin for IntegratedNetwork
impl UnwindSafe for IntegratedNetwork
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