#[non_exhaustive]pub struct DcBranchParameters {Show 13 fields
pub identities: Vec<String>,
pub from_bus: Vec<usize>,
pub to_bus: Vec<usize>,
pub susceptance_magnitude: Vec<f64>,
pub shift: Vec<f64>,
pub f_max: Vec<f64>,
pub angle_min: Vec<f64>,
pub angle_max: Vec<f64>,
pub analysis_rows: Vec<usize>,
pub analysis_sources: Vec<AnalysisBranchSource>,
pub skipped_zero_impedance: Vec<usize>,
pub thermal_limit_active: Vec<bool>,
pub angle_bound_active: Vec<bool>,
}Expand description
Branch parameters in active branch column 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.identities: Vec<String>Stable branch identity aligned with every following column.
from_bus: Vec<usize>§to_bus: Vec<usize>§susceptance_magnitude: Vec<f64>Branch susceptance in the selected power unit per radian, positive for an inductive branch.
shift: Vec<f64>Phase shift in radians. Zero unless the formula carries phase shift injections.
f_max: Vec<f64>Thermal limit in the selected power unit. Zero is a finite bound;
positive infinity is unlimited. Check thermal_limit_active.
angle_min: Vec<f64>Selected branch angle bounds in radians; absent sides are infinities.
angle_max: Vec<f64>§analysis_rows: Vec<usize>Branch column to row in the star-lowered analysis network.
analysis_sources: Vec<AnalysisBranchSource>Source component for each analysis branch column. Lowered transformer windings remain mapped to their typed transformer row and winding.
skipped_zero_impedance: Vec<usize>Analysis branch rows omitted because their reactance was zero.
thermal_limit_active: Vec<bool>Whether the instance activates each thermal limit.
angle_bound_active: Vec<bool>Whether the instance activates each angle difference bound.