Struct power_flow_data::CaseID

source ·
pub struct CaseID {
    pub ic: i8,
    pub sbase: f64,
    pub rev: Option<usize>,
    pub xfrrat: Option<i8>,
    pub nxfrat: Option<i8>,
    pub basfrq: Option<f64>,
}
Expand description

Case identification data.

Fields§

§ic: i8

IC Change code: 0 - base case (i.e., clear the working case before adding data to it). 1 - add data to the working case.

§sbase: f64

System base MVA.

§rev: Option<usize>

PSSE revision number (if known).

§xfrrat: Option<i8>

Units of transformer ratings (see Transformer). xfrrat ≤ 0 for MVA. xfrrat > 0 for current expressed as MVA.

§nxfrat: Option<i8>

Units of ratings of non-transformer branches (refer to Non-Transformer Branch Data). nxfrat ≤ 0 for MVA. nxfrat > 0 for current expressed as MVA.

§basfrq: Option<f64>

System base frequency in Hertz.

Auto Trait Implementations§

§

impl Freeze for CaseID

§

impl RefUnwindSafe for CaseID

§

impl Send for CaseID

§

impl Sync for CaseID

§

impl Unpin for CaseID

§

impl UnwindSafe for CaseID

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.