pub struct CurrentModeControl {
pub metadata: Metadata,
pub kpc: f64,
pub kic: f64,
pub kffv: f64,
pub ext: Value,
pub states: Vec<String>,
pub n_states: usize,
}
Expand description
Parameters of an inner loop PI current control using based on Purba, Dhople, Jafarpour, Bullo and Johnson. “Reduced-order Structure-preserving Model for Parallel-connected Three-phase Grid-tied Inverters.” 2017 IEEE 18th Workshop on Control and Modeling for Power Electronics (COMPEL): 1-7.
Fields§
§metadata: Metadata
§kpc: f64
Current controller proportional gain
kic: f64
Current controller integral gain
kffv: f64
Gain to enable feed-forward gain of voltage.
ext: Value
§states: Vec<String>
The states of the CurrentModeControl model are: γd_ic: d-axis integrator state of the PI current controller, γq_ic: q-axis integrator state of the PI current controller
n_states: usize
CurrentControl has 2 states
Implementations§
Source§impl CurrentModeControl
impl CurrentModeControl
pub const SUPER_TYPE: &'static str = "InnerControl"
Trait Implementations§
Source§impl Clone for CurrentModeControl
impl Clone for CurrentModeControl
Source§fn clone(&self) -> CurrentModeControl
fn clone(&self) -> CurrentModeControl
Returns a copy 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 CurrentModeControl
impl Debug for CurrentModeControl
Source§impl Default for CurrentModeControl
impl Default for CurrentModeControl
Source§fn default() -> CurrentModeControl
fn default() -> CurrentModeControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CurrentModeControl
impl<'de> Deserialize<'de> for CurrentModeControl
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
Source§impl PartialEq for CurrentModeControl
impl PartialEq for CurrentModeControl
Source§impl Serialize for CurrentModeControl
impl Serialize for CurrentModeControl
impl StructuralPartialEq for CurrentModeControl
Auto Trait Implementations§
impl Freeze for CurrentModeControl
impl RefUnwindSafe for CurrentModeControl
impl Send for CurrentModeControl
impl Sync for CurrentModeControl
impl Unpin for CurrentModeControl
impl UnwindSafe for CurrentModeControl
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