Struct power_flow_data::SwitchedShunt33

source ·
pub struct SwitchedShunt33 {
Show 26 fields pub i: BusNum, pub modsw: i8, pub adjm: bool, pub stat: bool, pub vswhi: f64, pub vswlo: f64, pub swrem: BusNum, pub rmpct: f64, pub rmidnt: ArrayString<15>, pub binit: f64, pub n1: i32, pub b1: f64, pub n2: i32, pub b2: f64, pub n3: i32, pub b3: f64, pub n4: i32, pub b4: f64, pub n5: i32, pub b5: f64, pub n6: i32, pub b6: f64, pub n7: i32, pub b7: f64, pub n8: i32, pub b8: f64,
}
Expand description

Represents switched shunt devices, in the form of capacitors and/or reactors on a network bus.

The switched shunt elements at a bus may consist entirely of blocks of shunt reactors (each Bi is a negative quantity) or entirely of blocks of capacitor banks (each Bi is a positive quantity). Any bus can have both switched capacitors and reactors.

Each network bus to be represented in PSS/E with switched shunt admittance devices must have a switched shunt data record specified for it. The switched shunts are represented with up to eight blocks of admittance, each one of which consists of up to nine steps of the specified block admittance.

Fields§

§i: BusNum

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

§modsw: i8

Control mode:

  • 0 - fixed
  • 1 - discrete adjustment, controlling voltage locally or at bus swrem
  • 2 - continuous adjustment, controlling voltage locally or at bus swrem
  • 3 - discrete adjustment, controlling reactive power output of the plant at bus swrem
  • 4 - discrete adjustment, controlling reactive power output of the VSC DC line converter at bus swrem of the VSC DC line whose name is specified as rmidnt
  • 5 - discrete adjustment, controlling admittance setting of the switched shunt at bus swrem modsw = 1 by default.
§adjm: bool

Adjustment method:

  • 0 - steps and blocks are switched on in input order, and off in reverse input order; this adjustment method was the only method available prior to PSS®E-32.0.
  • 1 - steps and blocks are switched on and off such that the next highest (or lowest, as appropriate) total admittance is achieved. adjm = 0 by default.
§stat: bool

Initial switched shunt status of one for in-service and zero for out-of-service. stat = 1 by default.

§vswhi: f64

When modsw is 1 or 2, the controlled voltage upper limit; entered in pu. When modsw is 3, 4 or 5, the controlled reactive power range upper limit; entered in pu of the total reactive power range of the controlled voltage controlling device. vswhi is not used when modsw is 0. vswhi = 1.0 by default.

§vswlo: f64

When modsw is 1 or 2, the controlled voltage lower limit; entered in pu. When modsw is 3, 4 or 5, the controlled reactive power range lower limit; entered in pu of the total reactive power range of the controlled voltage controlling device. vswlo is not used when modsw is 0. vswlo = 1.0 by default.

§swrem: BusNum

Bus number, or extended bus name enclosed in single quotes, of the bus whose voltage or connected equipment reactive power output is controlled by this switched shunt.

  • When modsw is 1 or 2, swrem is entered as 0 if the switched shunt is to regulate its own voltage; otherwise, swrem specifies the remote type one or two bus whose voltage is to be regulated by this switched shunt.
  • When modsw is 3, swrem specifies the type two or three bus whose plant reactive power output is to be regulated by this switched shunt. Set swrem to “I” if the switched shunt and the plant which it controls are connected to the same bus.
  • When modsw is 4, swrem specifies the converter bus of a VSC dc line whose converter reactive power output is to be regulated by this switched shunt. Set swrem to “I” if the switched shunt and the VSC dc line converter which it controls are connected to the same bus.
  • When modsw is 5, swrem specifies the remote bus to which the switched shunt whose admittance setting is to be regulated by this switched shunt is connected.
  • swrem is not used when modsw is 0. swrem = 0 by default.
§rmpct: f64

Percent of the total Mvar required to hold the voltage at the bus controlled by bus I that are to be contributed by this switched shunt; rmpct must be positive.

rmpct is needed only if swrem specifies a valid remote bus and there is more than one local or remote voltage controlling device (plant, switched shunt, FACTS device shunt element, or VSC DC line converter) controlling the voltage at bus swrem to a setpoint, or swrem is zero but bus I is the controlled bus, local or remote, of one or more other setpoint mode voltage controlling devices. Only used if modsw = 1 or 2. rmpct = 100.0 by default.

§rmidnt: ArrayString<15>

When modsw is 4, the name of the VSC DC line whose converter bus is specified in swrem. rmidnt is not used for other values of modsw. rmidnt is a blank name by default.

§binit: f64

Initial switched shunt admittance; entered in Mvar at unity voltage. binit = 0.0 by default.

§n1: i32

Number of steps for block i. The first zero value of N_i or B_i is interpreted as the end of the switched shunt blocks for bus I. ni = 0 by default.

§b1: f64

Admittance increment for each of N_i steps in block i; entered in Mvar at unity voltage. bi = 0.0 by default.

§n2: i32§b2: f64§n3: i32§b3: f64§n4: i32§b4: f64§n5: i32§b5: f64§n6: i32§b6: f64§n7: i32§b7: f64§n8: i32§b8: f64

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.