Skip to main content

DerFreqDroop

Struct DerFreqDroop 

Source
pub struct DerFreqDroop {
    pub ena: Ena,
    pub adpt_ctl_req: u16,
    pub adpt_ctl_rslt: AdptCtlRslt,
    pub n_ctl: u16,
    pub rvrt_tms: Option<u32>,
    pub rvrt_rem: Option<u32>,
    pub rvrt_ctl: Option<u16>,
    pub db_sf: i16,
    pub k_sf: i16,
    pub rsp_tms_sf: i16,
    pub ctl: Vec<Ctl>,
}
Available on crate feature model711 only.
Expand description

DER Frequency Droop

DER Frequency Droop model.

Fields§

§ena: Ena

DER Frequency Droop Module Enable

DER Frequency-Watt (Frequency-Droop) control enable.

§adpt_ctl_req: u16

Set Active Control Request

Set active control. 0 = No active control.

§adpt_ctl_rslt: AdptCtlRslt

Set Active Control Result

Result of last set active control operation.

§n_ctl: u16

Stored Control Count

Number of stored controls supported.

§rvrt_tms: Option<u32>

Reversion Timeout

Reversion time in seconds. 0 = No reversion time.

§rvrt_rem: Option<u32>

Reversion Time Left

Reversion time remaining in seconds.

§rvrt_ctl: Option<u16>

Reversion Control

Default control after reversion timeout.

§db_sf: i16

Deadband Scale Factor

Deadband scale factor.

§k_sf: i16

Frequency Change Scale Factor

Frequency change scale factor.

§rsp_tms_sf: i16

Open-Loop Scale Factor

Open loop response time scale factor.

§ctl: Vec<Ctl>

Stored Controls

Stored control sets.

Comments: Stored control sets - Number of control sets contained in NCtl - The first set is read-only and indicates the current settings.

Implementations§

Source§

impl DerFreqDroop

Source

pub const ENA: Point<Self, Ena>

Source

pub const ADPT_CTL_REQ: Point<Self, u16>

Source

pub const ADPT_CTL_RSLT: Point<Self, AdptCtlRslt>

Source

pub const N_CTL: Point<Self, u16>

Source

pub const RVRT_TMS: Point<Self, Option<u32>>

Source

pub const RVRT_REM: Point<Self, Option<u32>>

Source

pub const RVRT_CTL: Point<Self, Option<u16>>

Source

pub const DB_SF: Point<Self, i16>

Source

pub const K_SF: Point<Self, i16>

Source

pub const RSP_TMS_SF: Point<Self, i16>

Trait Implementations§

Source§

impl Debug for DerFreqDroop

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Group for DerFreqDroop

Source§

const LEN: u16 = 12

Group length (without nested and repeating groups)
Source§

impl Model for DerFreqDroop

Source§

const ID: u16 = 711

Model ID
Source§

fn addr(models: &Models) -> ModelAddr<Self>

Get model address from discovered models struct
Source§

fn parse(data: &[u16]) -> Result<Self, ParseError<Self>>

Parse model data from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.