pub struct DercParams {
pub tp: f64,
pub tq: f64,
pub tv: f64,
pub mbase: f64,
pub lfac: f64,
pub x_eq: f64,
}Expand description
DER_C / DERC — DER_A variant C (3 states: p_rec, q_rec, vfilt).
Fields§
§tp: f64§tq: f64§tv: f64§mbase: f64§lfac: f64§x_eq: f64Norton equivalent reactance (pu, default 0.02).
Trait Implementations§
Source§impl Clone for DercParams
impl Clone for DercParams
Source§fn clone(&self) -> DercParams
fn clone(&self) -> DercParams
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 DercParams
impl Debug for DercParams
Source§impl<'de> Deserialize<'de> for DercParams
impl<'de> Deserialize<'de> for DercParams
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 DercParams
impl RefUnwindSafe for DercParams
impl Send for DercParams
impl Sync for DercParams
impl Unpin for DercParams
impl UnsafeUnpin for DercParams
impl UnwindSafe for DercParams
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