#[non_exhaustive]pub struct BusPowerInjection {
pub p: Vec<f64>,
pub q: Vec<f64>,
/* private fields */
}Expand description
The bus power injection S = diag(V) conj(Y V) at one voltage point:
p and q in bus row order, per unit on the admittance’s base. It also
keeps the voltages, per bus angle cosines and sines, and currents
I = Y V it was formed from, so
PowerFlowJacobian::update_from_injection refreshes the Jacobian at the
same point without recomputing them.
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.p: Vec<f64>Active power injection per bus.
q: Vec<f64>Reactive power injection per bus.
Trait Implementations§
Source§impl Clone for BusPowerInjection
impl Clone for BusPowerInjection
Source§impl Debug for BusPowerInjection
impl Debug for BusPowerInjection
Source§impl PartialEq for BusPowerInjection
impl PartialEq for BusPowerInjection
impl StructuralPartialEq for BusPowerInjection
Auto Trait Implementations§
impl Freeze for BusPowerInjection
impl RefUnwindSafe for BusPowerInjection
impl Send for BusPowerInjection
impl Sync for BusPowerInjection
impl Unpin for BusPowerInjection
impl UnsafeUnpin for BusPowerInjection
impl UnwindSafe for BusPowerInjection
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