Struct power_flow_data::Bus30

source ·
pub struct Bus30 {
    pub i: BusNum,
    pub name: ArrayString<15>,
    pub basekv: f64,
    pub ide: i8,
    pub gl: f64,
    pub bl: f64,
    pub area: AreaNum,
    pub zone: ZoneNum,
    pub vm: f64,
    pub va: f64,
    pub owner: OwnerNum,
}
Expand description

Network bus data record (in PSSE v30 format).

Each bus data record includes not only data for the basic bus properties but also includes information on an optionally connected shunt admittance to ground. That admittance can represent a shunt capacitor or a shunt reactor (both with or without a real component) or a shunt resistor. It must not represent line connected admittance, loads, line charging or transformer magnetizing impedance, all of which are entered in other data categories.

Fields§

§i: BusNum

Bus number (1 to 999997).

§name: ArrayString<15>

Alphanumeric identifier assigned to bus “I”. The name may be up to twelve characters and must be enclosed in single quotes. NAME may contain any combination of blanks, uppercase letters, numbers and special characters, but the first character must not be a minus sign.

§basekv: f64

Bus base voltage; entered in kV.

§ide: i8

Bus type code:

  1. load bus or other bus without any generator boundary condition.
  2. generator or plant bus either regulating voltage or with a fixed reactive power (Mvar). A generator that reaches its reactive power limit will no longer control voltage but rather hold reactive power at its limit.
  3. swing bus or slack bus. It has no power or reactive limits and regulates voltage at a fixed reference angle.
  4. disconnected or isolated bus.
§gl: f64

Active component of shunt admittance to ground; entered in MW at one per unit voltage. GL should not include any resistive admittance load, which is entered as part of load data.

§bl: f64

Reactive component of shunt admittance to ground; entered in Mvar at one per unit voltage. BL should not include any reactive impedance load, which is entered as part of load data; line charging and line connected shunts, which are entered as part of non-transformer branch data; or transformer magnetizing admittance, which is entered as part of transformer data. BL is positive for a capacitor, and negative for a reactor or an inductive load.

§area: AreaNum

Area number. 1 through the maximum number of areas at the current size level.

§zone: ZoneNum

Zone number. 1 through the maximum number of zones at the current size level. See Zone.

§vm: f64

Bus voltage magnitude; entered in pu.

§va: f64

Bus voltage phase angle; entered in degrees.

§owner: OwnerNum

Owner number. 1 through the maximum number of owners at the current size level. See Owner.

Auto Trait Implementations§

§

impl Freeze for Bus30

§

impl RefUnwindSafe for Bus30

§

impl Send for Bus30

§

impl Sync for Bus30

§

impl Unpin for Bus30

§

impl UnwindSafe for Bus30

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.