pub struct DERSettings {
Show 31 fields pub modes_enabled: Option<DERControlType>, pub set_es_delay: Option<Uint32>, pub set_es_high_freq: Option<Uint16>, pub set_es_high_volt: Option<Int16>, pub set_es_low_freq: Option<Uint16>, pub set_es_low_volt: Option<Int16>, pub set_es_ramp_tms: Option<Uint32>, pub set_es_random_delay: Option<Uint32>, pub set_grad_w: Uint16, pub set_max_a: Option<CurrentRMS>, pub set_max_ah: Option<AmpereHour>, pub set_max_charge_rate_va: Option<ApparentPower>, pub set_max_charge_rate_w: Option<ActivePower>, pub set_max_discharge_rate_va: Option<ApparentPower>, pub set_max_discharge_rate_w: Option<ActivePower>, pub set_max_v: Option<VoltageRMS>, pub set_max_va: Option<ApparentPower>, pub set_max_var: Option<ReactivePower>, pub set_max_var_neg: Option<ReactivePower>, pub set_max_w: ActivePower, pub set_max_wh: Option<WattHour>, pub set_min_pf_over_excited: Option<PowerFactor>, pub set_min_pf_under_excited: Option<PowerFactor>, pub set_min_v: Option<VoltageRMS>, pub set_soft_grad_w: Option<Uint16>, pub set_v_nom: Option<VoltageRMS>, pub set_v_ref: Option<VoltageRMS>, pub set_v_ref_ofs: Option<VoltageRMS>, pub updated_time: TimeType, pub subscribable: Option<SubscribableType>, pub href: Option<String>,
}
Available on crate feature der only.

Fields§

§modes_enabled: Option<DERControlType>

Bitmap indicating the DER Controls enabled on the device. See DERControlType for values. If a control is supported (see DERCapability::modesSupported), but not enabled, the control will not be executed if encountered.

§set_es_delay: Option<Uint32>

Enter service delay, in hundredths of a second.

§set_es_high_freq: Option<Uint16>

Enter service frequency high. Specified in hundredths of Hz.

§set_es_high_volt: Option<Int16>

Enter service voltage high. Specified as an effective percent voltage, defined as (100% * (locally measured voltage - setVRefOfs) / setVRef), in hundredths of a percent.

§set_es_low_freq: Option<Uint16>

Enter service frequency low. Specified in hundredths of Hz.

§set_es_low_volt: Option<Int16>

Enter service voltage low. Specified as an effective percent voltage, defined as (100% * (locally measured voltage - setVRefOfs) / setVRef), in hundredths of a percent.

§set_es_ramp_tms: Option<Uint32>

Enter service ramp time, in hundredths of a second.

§set_es_random_delay: Option<Uint32>

Enter service randomized delay, in hundredths of a second.

§set_grad_w: Uint16

Set default rate of change (ramp rate) of active power output due to command or internal action, defined in %setWMax / second. Resolution is in hundredths of a percent/second. A value of 0 means there is no limit. Interpreted as a percentage change in output capability limit per second when used as a default ramp rate.

§set_max_a: Option<CurrentRMS>

AC current maximum. Maximum AC current in RMS Amperes.

§set_max_ah: Option<AmpereHour>

Maximum usable energy storage capacity of the DER, in AmpHours. Note: this may be different from physical capability.

§set_max_charge_rate_va: Option<ApparentPower>

Apparent power charge maximum. Maximum apparent power the DER can absorb from the grid in Volt-Amperes. May differ from the apparent power maximum (setMaxVA).

§set_max_charge_rate_w: Option<ActivePower>

Maximum rate of energy transfer received by the storage device, in Watts. Defaults to rtgMaxChargeRateW.

§set_max_discharge_rate_va: Option<ApparentPower>

Apparent power discharge maximum. Maximum apparent power the DER can deliver to the grid in Volt-Amperes. May differ from the apparent power maximum (setMaxVA).

§set_max_discharge_rate_w: Option<ActivePower>

Maximum rate of energy transfer delivered by the storage device, in Watts. Defaults to rtgMaxDischargeRateW.

§set_max_v: Option<VoltageRMS>

AC voltage maximum setting.

§set_max_va: Option<ApparentPower>

Set limit for maximum apparent power capability of the DER (in VA). Defaults to rtgMaxVA.

§set_max_var: Option<ReactivePower>

Set limit for maximum reactive power delivered by the DER (in var). SHALL be a positive value <= rtgMaxVar (default).

§set_max_var_neg: Option<ReactivePower>

Set limit for maximum reactive power received by the DER (in var). If present, SHALL be a negative value >= rtgMaxVarNeg (default). If absent, defaults to negative setMaxVar.

§set_max_w: ActivePower

Set limit for maximum active power capability of the DER (in W). Defaults to rtgMaxW.

§set_max_wh: Option<WattHour>

Maximum energy storage capacity of the DER, in WattHours. Note: this may be different from physical capability.

§set_min_pf_over_excited: Option<PowerFactor>

Set minimum Power Factor displacement limit of the DER when injecting reactive power (over-excited); SHALL be a positive value between 0.0 (typically > 0.7) and 1.0. SHALL be >= rtgMinPFOverExcited (default).

§set_min_pf_under_excited: Option<PowerFactor>

Set minimum Power Factor displacement limit of the DER when absorbing reactive power (under-excited); SHALL be a positive value between 0.0 (typically > 0.7) and 0.9999. If present, SHALL be >= rtgMinPFUnderExcited (default). If absent, defaults to setMinPFOverExcited.

§set_min_v: Option<VoltageRMS>

AC voltage minimum setting.

§set_soft_grad_w: Option<Uint16>

Set soft-start rate of change (soft-start ramp rate) of active power output due to command or internal action, defined in %setWMax / second. Resolution is in hundredths of a percent/second. A value of 0 means there is no limit. Interpreted as a percentage change in output capability limit per second when used as a ramp rate.

§set_v_nom: Option<VoltageRMS>

AC voltage nominal setting.

§set_v_ref: Option<VoltageRMS>

The nominal AC voltage (RMS) at the utility’s point of common coupling.

§set_v_ref_ofs: Option<VoltageRMS>

The nominal AC voltage (RMS) offset between the DER’s electrical connection point and the utility’s point of common coupling.

§updated_time: TimeType

Specifies the time at which the DER information was last updated.

§subscribable: Option<SubscribableType>

Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).

§href: Option<String>

A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.

Trait Implementations§

source§

impl Clone for DERSettings

source§

fn clone(&self) -> DERSettings

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DERSettings

source§

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

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

impl Default for DERSettings

source§

fn default() -> DERSettings

Returns the “default value” for a type. Read more
source§

impl PartialEq<DERSettings> for DERSettings

source§

fn eq(&self, other: &DERSettings) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl SEResource for DERSettings

source§

fn href(&self) -> Option<&str>

source§

impl SESubscribableResource for DERSettings

source§

impl Validate for DERSettings

source§

impl YaDeserialize for DERSettings

source§

fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>where Self: Sized,

source§

impl YaSerialize for DERSettings

source§

fn name() -> &'static strwhere Self: Sized,

source§

fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,

source§

fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,

source§

impl Eq for DERSettings

source§

impl StructuralEq for DERSettings

source§

impl StructuralPartialEq for DERSettings

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> SEType for Twhere T: YaSerialize + YaDeserialize + Validate + RefUnwindSafe + Send + Sync + 'static,