Struct power_flow_data::FACTSDevice30
source · pub struct FACTSDevice30 {Show 19 fields
pub n: i16,
pub i: BusNum,
pub j: BusNum,
pub mode: i8,
pub pdes: f64,
pub qdes: f64,
pub vset: f64,
pub shmx: f64,
pub trmx: f64,
pub vtmn: f64,
pub vtmx: f64,
pub vsmx: f64,
pub imx: f64,
pub linx: f64,
pub rmpct: f64,
pub owner: OwnerNum,
pub set1: f64,
pub set2: f64,
pub vsref: i8,
}Expand description
Flexible AC Transmission System devices.
There is a multiplicity of Flexible AC Transmission System devices currently available comprising shunt devices, such as the Static Compensator (STATCOM), series devices such as the Static Synchronous Series Compensator (SSSC), combined devices such as the Unified Power Flow Controller (UPFC) and the Interline Power Flow Controllers (IPFC), of which the latter are parallel series devices.
Fields§
§n: i16FACTS device number.
i: BusNumSending end bus number, or extended bus name enclosed in single quotes. No default.
j: BusNumTerminal end bus number, or extended bus name enclosed in single quotes.
0 for a STATCON.
j = 0 by default.
mode: i8Control mode:
- 0 - out-of-service (i.e., series and shunt links open).
- 1 - series and shunt links operating.
- 2 - series link bypassed (i.e., like a zero impedance line) and shunt link operating as a STATCON.
- 3 - series and shunt links operating with series link at constant series impedance.
- 4 - series and shunt links operating with series link at constant series voltage.
- 5 - master device of an IPFC with P and Q setpoints specified;
FACTS device N+1 must be the slave device (i.e., its
modeis 6 or 8) of this IPFC. - 6 - slave device of an IPFC with P and Q setpoints specified;
FACTS device N-1 must be the master device (i.e., its
modeis 5 or 7) of this IPFC. The Q setpoint is ignored as the master device dictates the active power exchanged between the two devices. - 7 - master device of an IPFC with constant series voltage setpoints specified;
FACTS device N+1 must be the slave device (i.e., its
modeis 6 or 8) of this IPFC. - 8 - slave device of an IPFC with constant series voltage setpoints specified;
FACTS device N-1 must be the master device (i.e., its
modeis 5 or 7) of this IPFC. The complexV_d + j V_qsetpoint is modified during power flow solutions to reflect the active power exchange determined by the master device. Ifjis specified as 0,modemust be either 0 or 1.mode= 1 by default.
pdes: f64Desired active power flow arriving at the terminal end bus; entered in MW.
pdes = 0.0 by default.
qdes: f64Desired reactive power flow arriving at the terminal end bus; entered in MVAR.
qdes = 0.0 by default.
vset: f64Voltage setpoint at the sending end bus; entered in pu. vset = 1.0 by default.
shmx: f64Maximum shunt current at the sending end bus; entered in MVA at unity voltage.
shmx = 9999.0 by default.
trmx: f64Maximum bridge active power transfer; entered in MW. trmx = 9999.0 by default.
vtmn: f64Minimum voltage at the terminal end bus; entered in pu. vtmn = 0.9 by default.
vtmx: f64Maximum voltage at the terminal end bus; entered in pu. vtmx = 1.1 by default.
vsmx: f64Maximum series voltage; entered in pu. vsmx = 1.0 by default.
imx: f64Maximum series current, or zero for no series current limit; entered in MVA at unity voltage.
imx = 0.0 by default.
linx: f64Reactance of the dummy series element used during model solution; entered in pu.
linx = 0.05 by default.
rmpct: f64Percent of the total Mvar required to hold the voltage at bus i that are to be contributed
by the shunt element of this FACTS device; rmpct must be positive.
rmpct is needed only if 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 i to a setpoint. rmpct = 100.0 by default.
owner: OwnerNumOwner number (1 through the maximum number of owners at the current size level).
owner = 1 by default.
set1: f64If mode is 3, resistance and reactance respectively of the constant impedance, entered in pu;
if mode is 4, the magnitude (in pu) and angle (in degrees) of the constant series voltage
with respect to the quantity indicated by vsref;
if mode is 7 or 8, the real (vd) and imaginary (vq) components (in pu) of the constant
series voltage with respect to the quantity indicated by vsref;
for other values of mode, set1 and set2 are read, but not saved or used during power flow solutions.
set1 = 0.0 by default.
set2: f64See set1. set2 = 0.0 by default.
vsref: i8Series voltage reference code to indicate the series voltage reference of set1 and set2
when mode is 4, 7 or 8: 0 for sending end voltage, 1 for series current.
vsref = 0 by default.