pub struct DERCapability {
Show 27 fields pub modes_supported: DERControlType, pub doe_modes_supported: DOEControlType, pub rtg_abnormal_category: Option<AbnormalCategory>, pub rtg_max_a: Option<CurrentRMS>, pub rtg_max_ah: Option<AmpereHour>, pub rtg_max_charge_rate_va: Option<ApparentPower>, pub rtg_max_charge_rate_w: Option<ActivePower>, pub rtg_max_discharge_rate_va: Option<ApparentPower>, pub rtg_max_discharge_rate_w: Option<ActivePower>, pub rtg_max_v: Option<VoltageRMS>, pub rtg_max_va: Option<ApparentPower>, pub rtg_max_var: Option<ReactivePower>, pub rtg_max_var_neg: Option<ReactivePower>, pub rtg_max_w: ActivePower, pub rtg_max_wh: Option<WattHour>, pub rtg_min_pf_over_excited: Option<PowerFactor>, pub rtg_min_pf_under_excited: Option<PowerFactor>, pub rtg_min_v: Option<VoltageRMS>, pub rtg_normal_category: Option<NormalCategory>, pub rtg_over_excited_pf: Option<PowerFactor>, pub rtg_over_excited_w: Option<ActivePower>, pub rtg_reactive_susceptance: Option<ReactiveSusceptance>, pub rtg_under_excited_pf: Option<PowerFactor>, pub rtg_under_excited_w: Option<ActivePower>, pub rtg_v_nom: Option<VoltageRMS>, pub _type: DERType, pub href: Option<String>,
}
Available on crate feature der only.

Fields§

§modes_supported: DERControlType

Bitmap indicating the DER Controls implemented by the device. See DERControlType for values.

§doe_modes_supported: DOEControlType
Available on crate feature csip_aus only.

Bitmap indicating the CSIP-AUS controls implemented

§rtg_abnormal_category: Option<AbnormalCategory>

Abnormal operating performance category as defined by IEEE 1547-2018. One of: 0 - not specified 1 - Category I 2 - Category II 3 - Category III All other values reserved.

§rtg_max_a: Option<CurrentRMS>

Maximum continuous AC current capability of the DER, in Amperes (RMS).

§rtg_max_ah: Option<AmpereHour>

Usable energy storage capacity of the DER, in AmpHours.

§rtg_max_charge_rate_va: Option<ApparentPower>

Maximum apparent power charge rating in Volt-Amperes. May differ from the maximum apparent power rating.

§rtg_max_charge_rate_w: Option<ActivePower>

Maximum rate of energy transfer received by the storage DER, in Watts.

§rtg_max_discharge_rate_va: Option<ApparentPower>

Maximum apparent power discharge rating in Volt-Amperes. May differ from the maximum apparent power rating.

§rtg_max_discharge_rate_w: Option<ActivePower>

Maximum rate of energy transfer delivered by the storage DER, in Watts. Required for combined generation/storage DERs (e.g. DERType == 83).

§rtg_max_v: Option<VoltageRMS>

AC voltage maximum rating.

§rtg_max_va: Option<ApparentPower>

Maximum continuous apparent power output capability of the DER, in VA.

§rtg_max_var: Option<ReactivePower>

Maximum continuous reactive power delivered by the DER, in var.

§rtg_max_var_neg: Option<ReactivePower>

Maximum continuous reactive power received by the DER, in var. If absent, defaults to negative rtgMaxVar.

§rtg_max_w: ActivePower

Maximum continuous active power output capability of the DER, in watts. Represents combined generation plus storage output if DERType == 83.

§rtg_max_wh: Option<WattHour>

Maximum energy storage capacity of the DER, in WattHours.

§rtg_min_pf_over_excited: Option<PowerFactor>

Minimum Power Factor displacement capability of the DER when injecting reactive power (over-excited); SHALL be a positive value between 0.0 (typically > 0.7) and 1.0. If absent, defaults to unity.

§rtg_min_pf_under_excited: Option<PowerFactor>

Minimum Power Factor displacement capability of the DER when absorbing reactive power (under-excited); SHALL be a positive value between 0.0 (typically > 0.7) and 0.9999. If absent, defaults to rtgMinPFOverExcited.

§rtg_min_v: Option<VoltageRMS>

AC voltage minimum rating.

§rtg_normal_category: Option<NormalCategory>

Normal operating performance category as defined by IEEE 1547-2018. One of: 0 - not specified 1 - Category A 2 - Category B All other values reserved.

§rtg_over_excited_pf: Option<PowerFactor>

Specified over-excited power factor.

§rtg_over_excited_w: Option<ActivePower>

Active power rating in Watts at specified over-excited power factor (rtgOverExcitedPF). If present, rtgOverExcitedPF SHALL be present.

§rtg_reactive_susceptance: Option<ReactiveSusceptance>

Reactive susceptance that remains connected to the Area EPS in the cease to energize and trip state.

§rtg_under_excited_pf: Option<PowerFactor>

Specified under-excited power factor.

§rtg_under_excited_w: Option<ActivePower>

Active power rating in Watts at specified under-excited power factor (rtgUnderExcitedPF). If present, rtgUnderExcitedPF SHALL be present.

§rtg_v_nom: Option<VoltageRMS>

AC voltage nominal rating.

§_type: DERType

Type of DER; see DERType object

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

source§

fn clone(&self) -> DERCapability

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 DERCapability

source§

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

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

impl Default for DERCapability

source§

fn default() -> DERCapability

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

impl PartialEq<DERCapability> for DERCapability

source§

fn eq(&self, other: &DERCapability) -> 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 DERCapability

source§

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

source§

impl Validate for DERCapability

source§

impl YaDeserialize for DERCapability

source§

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

source§

impl YaSerialize for DERCapability

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 DERCapability

source§

impl StructuralEq for DERCapability

source§

impl StructuralPartialEq for DERCapability

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,