Struct power_flow_data::FixedShunt

source ·
pub struct FixedShunt {
    pub i: BusNum,
    pub id: ArrayString<3>,
    pub status: bool,
    pub gl: f64,
    pub bl: f64,
}
Expand description

Each network bus at which fixed bus shunt is to be represented must be specified in at least one fixed bus shunt data record. Multiple fixed bus shunts may be represented at a bus by specifying more than one fixed bus shunt data record for the bus, each with a different shunt identifier.

The admittance specified in the data record 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, switched shunts, loads, line charging or transformer magnetizing impedance, all of which are entered in other data categories.

!!! compat “Not present in v30 files” v30 files do not have FixedShunts; refer to Bus and SwitchedShunt.

Fields§

§i: BusNum

Bus number, or extended bus name enclosed in single quotes. No default.

§id: ArrayString<3>

One- or two-character uppercase non-blank alphanumeric shunt identifier used to distinguish among multiple shunts at bus i. It is recommended that, at buses for which a single shunt is present, the shunt be designated as having the shunt identifier 1. id = 1 by default.

§status: bool

Shunt status of one for in-service and zero for out-of-service. status = 1 by default.

§gl: f64

Active component of shunt admittance to ground; entered in MW at one per unit voltage. gl should not include any resistive impedance load, which is entered as part of load data (see Load. gl = 0.0 by default.

§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 (see Load); line charging and line connected shunts, which are entered as part of non-transformer branch data (see Branch); transformer magnetizing admittance, which is entered as part of transformer data (see Transformer); or switched shunt admittance, which is entered as part of switched shunt data (see SwitchedShunt. bl is positive for a capacitor, and negative for a reactor or an inductive load. bl = 0.0 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.