pub struct RepcaParams {Show 23 fields
pub vrflag: f64,
pub rc: f64,
pub tfltr: f64,
pub kp: f64,
pub ki: f64,
pub vmax: f64,
pub vmin: f64,
pub vref: f64,
pub qref: f64,
pub qmax: f64,
pub qmin: f64,
pub fdbd1: f64,
pub fdbd2: f64,
pub ddn: f64,
pub dup: f64,
pub tp: f64,
pub kpg: f64,
pub kig: f64,
pub pref: f64,
pub pmax: f64,
pub pmin: f64,
pub rrpwr: f64,
pub tlag: f64,
}Expand description
REPC_A – IBR plant controller (maps to governor slot, Phase 8 simplified).
Simplified to constant Pref/Qref – no AGC droop or plant-level control.
This is a standard planning-level model for IBR plant controllers. For studies involving plant-level AGC response, frequency droop, or coordinated voltage/reactive control, use the full REPC_A model with droop and PI controller parameters. See the module-level documentation for details.
Fields§
§vrflag: f64Voltage / reactive power control flag: 0 = Q control, 1 = voltage control.
rc: f64Reactive power droop gain (pu).
tfltr: f64Reactive power / voltage measurement filter time constant (s).
kp: f64Voltage PI proportional gain.
ki: f64Voltage PI integral gain (1/s).
vmax: f64Maximum PI output (pu).
vmin: f64Minimum PI output (pu).
vref: f64Plant voltage reference (pu).
qref: f64Reactive power reference (pu).
qmax: f64Plant-level reactive power max (pu).
qmin: f64Plant-level reactive power min (pu).
fdbd1: f64Frequency deadband lower (Hz, negative).
fdbd2: f64Frequency deadband upper (Hz, positive).
ddn: f64Frequency droop down gain.
dup: f64Frequency droop up gain.
tp: f64Active power measurement filter time constant (s).
kpg: f64Active power PI proportional gain.
kig: f64Active power PI integral gain (1/s).
pref: f64Active power reference (pu).
pmax: f64Maximum active power (pu).
pmin: f64Minimum active power (pu).
rrpwr: f64Active power ramp rate (pu/s).
tlag: f64Voltage measurement filter time constant (s) for frequency control.
Trait Implementations§
Source§impl Clone for RepcaParams
impl Clone for RepcaParams
Source§fn clone(&self) -> RepcaParams
fn clone(&self) -> RepcaParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more