Struct power_flow_data::DCLineID30

source ·
pub struct DCLineID30 {
    pub i: LineNum,
    pub nconv: i8,
    pub ndcbs: i8,
    pub ndcln: isize,
    pub mdc: i8,
    pub vconv: BusNum,
    pub vcmod: f64,
    pub vconvn: BusNum,
}

Fields§

§i: LineNum

Multi-terminal DC line number.

§nconv: i8

Number of AC converter station buses in multi-terminal DC line i. No default.

§ndcbs: i8

Number of DC buses in multi-terminal DC line i (nconv < ndcbs). No default.

§ndcln: isize

Number of DC links in multi-terminal DC line i. No default.

§mdc: i8

Control mode

  • 0 - blocked
  • 1 - power
  • 2 - current mdc = 0 by default.
§vconv: BusNum

Bus number, or extended bus name enclosed in single quotes, of the AC converter station bus that controls DC voltage on the positive pole of multi-terminal DC line i. Bus vconv must be a positive pole inverter. No default.

§vcmod: f64

Mode switch DC voltage; entered in kV. When any inverter DC voltage magnitude falls below this value and the line is in power control mode (i.e. mdc = 1), the line switches to current control mode with converter current setpoints corresponding to their desired powers at scheduled DC voltage. vcmod = 0.0 by default.

§vconvn: BusNum

Bus number, or extended bus name enclosed in single quotes, of the AC converter station bus that controls DC voltage on the negative pole of multi-terminal DC line i. If any negative pole converters are specified (see below), bus vconvn must be a negative pole inverter. If the negative pole is not being modeled, vconvn must be specified as zero. vconvn = 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.