Struct sep2_common::packages::der::PowerFactorWithExcitation
source · pub struct PowerFactorWithExcitation {
pub displacement: Uint16,
pub excitation: bool,
pub multiplier: PowerOfTenMultiplierType,
}
Available on crate feature
der
only.Expand description
Specifies a setpoint for Displacement Power Factor, the ratio between apparent and active powers at the fundamental frequency (e.g. 60 Hz) and includes an excitation flag.
Fields§
§displacement: Uint16
Significand of an unsigned value of cos(theta) between 0 and 1.0. E.g. a value of 0.95 may be specified as a displacement of 950 and a multiplier of -3.
excitation: bool
True when DER is absorbing reactive power (under-excited), false when DER is injecting reactive power (over-excited).
multiplier: PowerOfTenMultiplierType
Specifies exponent of ‘displacement’.
Trait Implementations§
source§impl Clone for PowerFactorWithExcitation
impl Clone for PowerFactorWithExcitation
source§fn clone(&self) -> PowerFactorWithExcitation
fn clone(&self) -> PowerFactorWithExcitation
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 PowerFactorWithExcitation
impl Debug for PowerFactorWithExcitation
source§impl Default for PowerFactorWithExcitation
impl Default for PowerFactorWithExcitation
source§fn default() -> PowerFactorWithExcitation
fn default() -> PowerFactorWithExcitation
Returns the “default value” for a type. Read more
source§impl PartialEq<PowerFactorWithExcitation> for PowerFactorWithExcitation
impl PartialEq<PowerFactorWithExcitation> for PowerFactorWithExcitation
source§fn eq(&self, other: &PowerFactorWithExcitation) -> bool
fn eq(&self, other: &PowerFactorWithExcitation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for PowerFactorWithExcitation
impl YaDeserialize for PowerFactorWithExcitation
source§impl YaSerialize for PowerFactorWithExcitation
impl YaSerialize for PowerFactorWithExcitation
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for PowerFactorWithExcitation
impl StructuralEq for PowerFactorWithExcitation
impl StructuralPartialEq for PowerFactorWithExcitation
Auto Trait Implementations§
impl RefUnwindSafe for PowerFactorWithExcitation
impl Send for PowerFactorWithExcitation
impl Sync for PowerFactorWithExcitation
impl Unpin for PowerFactorWithExcitation
impl UnwindSafe for PowerFactorWithExcitation
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