pub struct Bus {Show 19 fields
pub number: u32,
pub name: String,
pub bus_type: BusType,
pub shunt_conductance_mw: f64,
pub shunt_susceptance_mvar: f64,
pub area: u32,
pub voltage_magnitude_pu: f64,
pub voltage_angle_rad: f64,
pub base_kv: f64,
pub zone: u32,
pub voltage_max_pu: f64,
pub voltage_min_pu: f64,
pub island_id: u32,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub freq_hz: Option<f64>,
pub ambient: Option<AmbientConditions>,
pub reserve_zone: Option<String>,
pub owners: Vec<OwnershipEntry>,
}Expand description
A bus (node) in the power system network.
Fields§
§number: u32Bus number (unique identifier).
name: StringBus name.
bus_type: BusTypeBus type (PQ, PV, Slack, Isolated).
shunt_conductance_mw: f64Shunt conductance (MW demanded at V = 1.0 p.u.).
shunt_susceptance_mvar: f64Shunt susceptance (MVAr injected at V = 1.0 p.u.).
area: u32Area number.
voltage_magnitude_pu: f64Voltage magnitude in per-unit.
voltage_angle_rad: f64Voltage angle in radians.
base_kv: f64Base voltage in kV.
zone: u32Zone number.
voltage_max_pu: f64Maximum voltage magnitude in per-unit.
voltage_min_pu: f64Minimum voltage magnitude in per-unit.
island_id: u32Connected-component island ID (0 = largest island). Populated by CGMES importer; other importers default to 0. The NR/DC solvers perform their own island detection at solve time using in-service branches (which may differ from import topology).
latitude: Option<f64>Latitude in decimal degrees (WGS84). None if unknown.
longitude: Option<f64>Longitude in decimal degrees (WGS84). None if unknown.
freq_hz: Option<f64>Bus frequency (Hz). None = nominal (Network.freq_hz).
ambient: Option<AmbientConditions>Ambient conditions at this location. None = use Network.market_data.ambient.
reserve_zone: Option<String>Reserve zone name. References a ReserveZone on Network.
owners: Vec<OwnershipEntry>Ownership entries (PSS/E OWNER field). Single-owner for buses.