pub struct UpfcParams {
pub tr: f64,
pub kp_p: f64,
pub ki_p: f64,
pub kp_q: f64,
pub ki_q: f64,
pub kp_v: f64,
pub ki_v: f64,
pub pmax: f64,
pub pmin: f64,
pub qmax: f64,
pub qmin: f64,
pub mbase: f64,
}Expand description
UPFC — Unified Power Flow Controller.
Fields§
§tr: f64§kp_p: f64§ki_p: f64§kp_q: f64§ki_q: f64§kp_v: f64§ki_v: f64§pmax: f64§pmin: f64§qmax: f64§qmin: f64§mbase: f64Trait Implementations§
Source§impl Clone for UpfcParams
impl Clone for UpfcParams
Source§fn clone(&self) -> UpfcParams
fn clone(&self) -> UpfcParams
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 UpfcParams
impl Debug for UpfcParams
Source§impl<'de> Deserialize<'de> for UpfcParams
impl<'de> Deserialize<'de> for UpfcParams
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 UpfcParams
impl RefUnwindSafe for UpfcParams
impl Send for UpfcParams
impl Sync for UpfcParams
impl Unpin for UpfcParams
impl UnsafeUnpin for UpfcParams
impl UnwindSafe for UpfcParams
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