#[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 initial_vm: Vec<f64>,
pub initial_va: Vec<f64>,
pub voltage_bound_active: Vec<bool>,
}Expand description
Bus data in dense bus order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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 calc_admittance_matrix.
b_s: Vec<f64>Nodal shunt susceptance in the selected admittance unit. Includes the
folded pi model stamp of any self-loop branch, matching calc_admittance_matrix.
vm_min: Vec<f64>Voltage magnitude lower bound, per unit.
vm_max: Vec<f64>Voltage magnitude upper bound, per unit.
initial_vm: Vec<f64>Initial voltage magnitude, per unit. The case voltage is used when the instance does not supply an override.
initial_va: Vec<f64>Initial voltage angle, radians. The case angle is used when the instance does not supply an override.
voltage_bound_active: Vec<bool>Whether the instance activates each bus’s voltage magnitude bounds.