pub struct RegcaParams {
pub tg: f64,
pub x_eq: f64,
pub imax: f64,
pub tfltr: f64,
pub kp_pll: f64,
pub ki_pll: f64,
pub rrpwr: f64,
pub vdip: f64,
pub vup: f64,
}Expand description
IBR inner converter model (PSS/E REGC_A).
Models the converter as a controlled current source behind a small reactance. No swing equation — IBR is grid-following (ω = 1.0 always).
Key params: Tg Xeq Imax Tfltr
Fields§
§tg: f64Converter current control time constant (s).
x_eq: f64Equivalent reactance for Norton shunt (pu system base) — default 0.02 pu.
imax: f64Maximum current magnitude limit (pu machine base).
tfltr: f64Voltage filter time constant (s).
kp_pll: f64PLL proportional gain.
ki_pll: f64PLL integral gain.
rrpwr: f64Current ramp rate limit (pu/s) for LVACM/current recovery.
vdip: f64Low-voltage threshold for momentary cessation (pu).
vup: f64High-voltage threshold for momentary cessation (pu).
Trait Implementations§
Source§impl Clone for RegcaParams
impl Clone for RegcaParams
Source§fn clone(&self) -> RegcaParams
fn clone(&self) -> RegcaParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegcaParams
impl Debug for RegcaParams
Source§impl<'de> Deserialize<'de> for RegcaParams
impl<'de> Deserialize<'de> for RegcaParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RegcaParams
impl RefUnwindSafe for RegcaParams
impl Send for RegcaParams
impl Sync for RegcaParams
impl Unpin for RegcaParams
impl UnsafeUnpin for RegcaParams
impl UnwindSafe for RegcaParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more