pub struct Branch {Show 21 fields
pub f_bus: usize,
pub t_bus: usize,
pub br_r: f64,
pub br_x: f64,
pub br_b: f64,
pub rate_a: f64,
pub rate_b: f64,
pub rate_c: f64,
pub tap: f64,
pub shift: f64,
pub br_status: usize,
pub angmin: Option<f64>,
pub angmax: Option<f64>,
pub pf: Option<f64>,
pub qf: Option<f64>,
pub pt: Option<f64>,
pub qt: Option<f64>,
pub mu_sf: Option<f64>,
pub mu_st: Option<f64>,
pub mu_angmin: Option<f64>,
pub mu_angmax: Option<f64>,
}Expand description
Transmission line/cable or two winding transformer.
Fields§
§f_bus: usize“from” bus number.
t_bus: usize“to” bus number.
br_r: f64Resistance (p.u.).
br_x: f64Reactance (p.u.).
br_b: f64Total line charging susceptance (p.u.).
rate_a: f64MVA rating A (long term rating).
rate_b: f64MVA rating B (short term rating) (MVA).
rate_c: f64MVA rating C (emergency rating) (MVA).
tap: f64Transformer off nominal tap ratio.
shift: f64Transformer phase shift angle (degrees).
br_status: usizeInitial branch status.
angmin: Option<f64>Minimum angle difference; angle(Vf) - angle(Vt) (degrees).
angmax: Option<f64>Maximum angle difference; angle(Vf) - angle(Vt) (degrees).
pf: Option<f64>Real power injected at “from” bus end (MW).
qf: Option<f64>Reactive power injected at “from” bus end (MVAr).
pt: Option<f64>Real power injected at “to” bus end (MW).
qt: Option<f64>Reactive power injected at “to” bus end (MVAr).
mu_sf: Option<f64>Kuhn-Tucker multiplier on MVA limit at “from” bus (u/MVA).
mu_st: Option<f64>Kuhn-Tucker multiplier on MVA limit at “to” bus (u/MVA).
mu_angmin: Option<f64>Kuhn-Tucker multiplier lower angle difference limit (u/degree).
mu_angmax: Option<f64>Kuhn-Tucker multiplier upper angle difference limit (u/degree).