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: i8IC Change code: 0 - base case (i.e., clear the working case before adding data to it). 1 - add data to the working case.
sbase: f64System 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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more