#[non_exhaustive]pub struct HvdcTerminalInjection {
pub row: usize,
pub bus: BusId,
pub p: f64,
pub q: f64,
}Expand description
The injection one HVDC line makes at one of its AC terminal buses.
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.row: usizeRow of the line in BalancedNetwork::hvdc.
bus: BusIdThe AC terminal bus.
p: f64Active power injected into the bus, in the network’s power unit (MW, or per unit for a normalized network). Negative at a from end that sends power.
q: f64Reactive power injected into the bus, same unit.
Trait Implementations§
Source§impl Clone for HvdcTerminalInjection
impl Clone for HvdcTerminalInjection
Source§fn clone(&self) -> HvdcTerminalInjection
fn clone(&self) -> HvdcTerminalInjection
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 moreimpl Copy for HvdcTerminalInjection
Source§impl Debug for HvdcTerminalInjection
impl Debug for HvdcTerminalInjection
Source§impl PartialEq for HvdcTerminalInjection
impl PartialEq for HvdcTerminalInjection
impl StructuralPartialEq for HvdcTerminalInjection
Auto Trait Implementations§
impl Freeze for HvdcTerminalInjection
impl RefUnwindSafe for HvdcTerminalInjection
impl Send for HvdcTerminalInjection
impl Sync for HvdcTerminalInjection
impl Unpin for HvdcTerminalInjection
impl UnsafeUnpin for HvdcTerminalInjection
impl UnwindSafe for HvdcTerminalInjection
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