Struct power_flow_data::AreaInterchange

source ·
pub struct AreaInterchange {
    pub i: AreaNum,
    pub isw: BusNum,
    pub pdes: f64,
    pub ptol: f64,
    pub arname: ArrayString<15>,
}
Expand description

Area interchange is a required net export of power from, or net import of power to, a specific area. This does not imply that the power is destined to be transferred to or from any other specific area. To specify transfers between specific pairs of areas see InterAreaTransfers.

Fields§

§i: AreaNum

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

§isw: BusNum

Bus number, or extended bus name enclosed in single quotes, of the area slack bus for area interchange control. The bus must be a generator (type two) bus in the specified area. Any area containing a system swing bus (type three) must have either that swing bus or a bus number of zero specified for its area slack bus number. isw = 0 by default.

§pdes: f64

Desired net interchange leaving the area (export); entered in MW. pdes = 0.0 by default.

§ptol: f64

Interchange tolerance bandwidth; entered in MW. ptol = 10.0 by default.

§arname: ArrayString<15>

Alphanumeric identifier assigned to area I. The name may contain up to twelve characters. arname is set to twelve blanks by default.

Auto Trait Implementations§

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.