Struct power_flow_data::DCBus

source ·
pub struct DCBus {
    pub idc: BusNum,
    pub ib: BusNum,
    pub ia: AreaNum,
    pub zone: ZoneNum,
    pub name: ArrayString<15>,
    pub idc2: BusNum,
    pub rgrnd: f64,
    pub owner: OwnerNum,
}

Fields§

§idc: BusNum

DC bus number (1 to NDCBS). The DC buses are used internally within each multi-terminal DC line and must be numbered 1 through ndcbs. no default.

§ib: BusNum

AC converter bus number, or extended bus name enclosed in single quotes, or zero. Each converter station bus specified in a converter record must be specified as ib in exactly one DC bus record. DC buses that are connected only to other DC buses by DC links and not to any AC converter buses must have a zero specified for ib. A DC bus specified as idc2 on one or more other DC bus records must have a zero specified for ib on its own DC bus record. ib = 0 by default.

§ia: AreaNum

Area number (1 through the maximum number of areas at the current size level). ia = 1 by default.

§zone: ZoneNum

Zone number (1 through the maximum number of zones at the current size level). zone = 1 by default.

§name: ArrayString<15>

Alphanumeric identifier assigned to DC bus idc. 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. name is twelve blanks by default.

§idc2: BusNum§rgrnd: f64

Second DC bus to which converter ib is connected, or zero if the converter is connected directly to ground.

  • For voltage controlling converters, this is the DC bus with the lower DC voltage magnitude and setvl specifies the voltage difference between buses idc and idc2.
  • For rectifiers, DC buses should be specified such that power flows from bus idc2 to bus idc.
  • For inverters, DC buses should be specified such that power flows from bus idc to bus idc2. idc2 is ignored on those dc bus records that have ib specified as zero. idc2 = 0 by default.
§owner: OwnerNum

Owner number (1 through the maximum number of owners at the current size level). owner = 1 by default.

Auto Trait Implementations§

§

impl Freeze for DCBus

§

impl RefUnwindSafe for DCBus

§

impl Send for DCBus

§

impl Sync for DCBus

§

impl Unpin for DCBus

§

impl UnwindSafe for DCBus

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.