pub struct WindMechIEC {
pub base: IdentifiedObject,
pub cdrt: Option<f64>,
pub hgen: Option<f64>,
pub hwtr: Option<f64>,
pub kdrt: Option<f64>,
}Expand description
Two mass model. Reference: IEC 61400-27-1:2015, 5.6.2.1.
Fields§
§base: IdentifiedObject§cdrt: Option<f64>Drive train damping (cdrt). It is a type-dependent parameter.
hgen: Option<f64>Inertia constant of generator (Hgen) (>= 0). It is a type-dependent parameter.
hwtr: Option<f64>Inertia constant of wind turbine rotor (HWTR) (>= 0). It is a type-dependent parameter.
kdrt: Option<f64>Drive train stiffness (kdrt). It is a type-dependent parameter.
Implementations§
Source§impl WindMechIEC
impl WindMechIEC
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for WindMechIEC
impl CimElement for WindMechIEC
Source§impl Clone for WindMechIEC
impl Clone for WindMechIEC
Source§fn clone(&self) -> WindMechIEC
fn clone(&self) -> WindMechIEC
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindMechIEC
impl Debug for WindMechIEC
Source§impl Default for WindMechIEC
impl Default for WindMechIEC
Source§fn default() -> WindMechIEC
fn default() -> WindMechIEC
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindMechIEC
impl<'de> Deserialize<'de> for WindMechIEC
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
Auto Trait Implementations§
impl Freeze for WindMechIEC
impl RefUnwindSafe for WindMechIEC
impl Send for WindMechIEC
impl Sync for WindMechIEC
impl Unpin for WindMechIEC
impl UnsafeUnpin for WindMechIEC
impl UnwindSafe for WindMechIEC
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