#[non_exhaustive]pub struct AcBusData {
pub p_d: Vec<f64>,
pub q_d: Vec<f64>,
pub g_s: Vec<f64>,
pub b_s: Vec<f64>,
pub vm_min: Vec<f64>,
pub vm_max: Vec<f64>,
pub vm: Vec<f64>,
}Expand description
Bus data in dense bus order.
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_d: Vec<f64>Nodal active demand in the selected power unit.
q_d: Vec<f64>Nodal reactive demand in the selected power unit.
g_s: Vec<f64>Nodal shunt conductance in the selected admittance unit. Includes the
folded pi model stamp of any self-loop branch, matching build_ybus.
b_s: Vec<f64>Nodal shunt susceptance in the selected admittance unit. Includes the
folded pi model stamp of any self-loop branch, matching build_ybus.
vm_min: Vec<f64>Voltage magnitude lower bound, per unit.
vm_max: Vec<f64>Voltage magnitude upper bound, per unit.
vm: Vec<f64>Case voltage magnitude, per unit: the raw initial guess, zero when the source has none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AcBusData
impl<'de> Deserialize<'de> for AcBusData
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
impl StructuralPartialEq for AcBusData
Auto Trait Implementations§
impl Freeze for AcBusData
impl RefUnwindSafe for AcBusData
impl Send for AcBusData
impl Sync for AcBusData
impl Unpin for AcBusData
impl UnsafeUnpin for AcBusData
impl UnwindSafe for AcBusData
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