Skip to main content

GovHydro1

Struct GovHydro1 

Source
pub struct GovHydro1 {
Show 15 fields pub base: TurbineGovernorDynamics, pub at: Option<f64>, pub dturb: Option<f64>, pub gmax: Option<f64>, pub gmin: Option<f64>, pub hdam: Option<f64>, pub mwbase: Option<f64>, pub qnl: Option<f64>, pub rperm: Option<f64>, pub rtemp: Option<f64>, pub tf: Option<f64>, pub tg: Option<f64>, pub tr: Option<f64>, pub tw: Option<f64>, pub velm: Option<f64>,
}
Expand description

Basic hydro turbine governor.

Fields§

§base: TurbineGovernorDynamics§at: Option<f64>

Turbine gain (At) (> 0). Typical value = 1,2.

§dturb: Option<f64>

Turbine damping factor (Dturb) (>= 0). Typical value = 0,5.

§gmax: Option<f64>

Maximum gate opening (Gmax) (> 0 and > GovHydro.gmin). Typical value = 1.

§gmin: Option<f64>

Minimum gate opening (Gmin) (>= 0 and < GovHydro1.gmax). Typical value = 0.

§hdam: Option<f64>

Turbine nominal head (hdam). Typical value = 1.

§mwbase: Option<f64>

Base for power values (MWbase) (> 0). Unit = MW.

§qnl: Option<f64>

No-load flow at nominal head (qnl) (>= 0). Typical value = 0,08.

§rperm: Option<f64>

Permanent droop (R) (> 0). Typical value = 0,04.

§rtemp: Option<f64>

Temporary droop (r) (> GovHydro1.rperm). Typical value = 0,3.

§tf: Option<f64>

Filter time constant (Tf) (> 0). Typical value = 0,05.

§tg: Option<f64>

Gate servo time constant (Tg) (> 0). Typical value = 0,5.

§tr: Option<f64>

Washout time constant (Tr) (> 0). Typical value = 5.

§tw: Option<f64>

Water inertia time constant (Tw) (> 0). Typical value = 1.

§velm: Option<f64>

Maximum gate velocity (Vlem) (> 0). Typical value = 0,2.

Implementations§

Trait Implementations§

Source§

impl CimElement for GovHydro1

Source§

fn mrid(&self) -> &str

Source§

fn type_name(&self) -> &'static str

Source§

fn as_any(&self) -> &dyn Any

Source§

fn to_json_value(&self) -> Value

Source§

fn to_block(&self) -> RdfBlock

Source§

impl Clone for GovHydro1

Source§

fn clone(&self) -> GovHydro1

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for GovHydro1

Source§

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

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

impl Default for GovHydro1

Source§

fn default() -> GovHydro1

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

impl<'de> Deserialize<'de> for GovHydro1

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GovHydro1

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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> ToOwned for T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.