Skip to main content

GovHydroPID

Struct GovHydroPID 

Source
pub struct GovHydroPID {
Show 34 fields pub base: TurbineGovernorDynamics, pub aturb: Option<f64>, pub bturb: Option<f64>, pub db1: Option<f64>, pub db2: Option<f64>, pub eps: Option<f64>, pub gv1: Option<f64>, pub gv2: Option<f64>, pub gv3: Option<f64>, pub gv4: Option<f64>, pub gv5: Option<f64>, pub gv6: Option<f64>, pub input_signal: Option<bool>, pub kd: Option<f64>, pub kg: Option<f64>, pub ki: Option<f64>, pub kp: Option<f64>, pub mwbase: Option<f64>, pub pgv1: Option<f64>, pub pgv2: Option<f64>, pub pgv3: Option<f64>, pub pgv4: Option<f64>, pub pgv5: Option<f64>, pub pgv6: Option<f64>, pub pmax: Option<f64>, pub pmin: Option<f64>, pub r: Option<f64>, pub td: Option<f64>, pub tf: Option<f64>, pub tp: Option<f64>, pub tt: Option<f64>, pub tturb: Option<f64>, pub velcl: Option<f64>, pub velop: Option<f64>,
}
Expand description

PID governor and turbine.

Fields§

§base: TurbineGovernorDynamics§aturb: Option<f64>

Turbine numerator multiplier (Aturb) (see parameter detail 3). Typical value -1.

§bturb: Option<f64>

Turbine denominator multiplier (Bturb) (see parameter detail 3). Typical value = 0,5.

§db1: Option<f64>

Intentional dead-band width (db1). Unit = Hz. Typical value = 0.

§db2: Option<f64>

Unintentional dead-band (db2). Unit = MW. Typical value = 0.

§eps: Option<f64>

Intentional db hysteresis (eps). Unit = Hz. Typical value = 0.

§gv1: Option<f64>

Nonlinear gain point 1, PU gv (Gv1). Typical value = 0.

§gv2: Option<f64>

Nonlinear gain point 2, PU gv (Gv2). Typical value = 0.

§gv3: Option<f64>

Nonlinear gain point 3, PU gv (Gv3). Typical value = 0.

§gv4: Option<f64>

Nonlinear gain point 4, PU gv (Gv4). Typical value = 0.

§gv5: Option<f64>

Nonlinear gain point 5, PU gv (Gv5). Typical value = 0.

§gv6: Option<f64>

Nonlinear gain point 6, PU gv (Gv6). Typical value = 0.

§input_signal: Option<bool>

Input signal switch (Flag). true = Pe input is used false = feedback is received from CV. Flag is normally dependent on Tt. If Tt is zero, Flag is set to false. If Tt is not zero, Flag is set to true. Typical value = true.

§kd: Option<f64>

Derivative gain (Kd). Typical value = 1,11.

§kg: Option<f64>

Gate servo gain (Kg). Typical value = 2,5.

§ki: Option<f64>

Integral gain (Ki). Typical value = 0,36.

§kp: Option<f64>

Proportional gain (Kp). Typical value = 0,1.

§mwbase: Option<f64>

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

§pgv1: Option<f64>

Nonlinear gain point 1, PU power (Pgv1). Typical value = 0.

§pgv2: Option<f64>

Nonlinear gain point 2, PU power (Pgv2). Typical value = 0.

§pgv3: Option<f64>

Nonlinear gain point 3, PU power (Pgv3). Typical value = 0.

§pgv4: Option<f64>

Nonlinear gain point 4, PU power (Pgv4). Typical value = 0.

§pgv5: Option<f64>

Nonlinear gain point 5, PU power (Pgv5). Typical value = 0.

§pgv6: Option<f64>

Nonlinear gain point 6, PU power (Pgv6). Typical value = 0.

§pmax: Option<f64>

Maximum gate opening, PU of MWbase (Pmax) (> GovHydroPID.pmin). Typical value = 1.

§pmin: Option<f64>

Minimum gate opening, PU of MWbase (Pmin) (< GovHydroPID.pmax). Typical value = 0.

§r: Option<f64>

Steady state droop (R). Typical value = 0,05.

§td: Option<f64>

Input filter time constant (Td) (>= 0). If = 0, block is bypassed. Typical value = 0.

§tf: Option<f64>

Washout time constant (Tf) (>= 0). Typical value = 0,1.

§tp: Option<f64>

Gate servo time constant (Tp) (>= 0). If = 0, block is bypassed. Typical value = 0,35.

§tt: Option<f64>

Power feedback time constant (Tt) (>= 0). If = 0, block is bypassed. Typical value = 0,02.

§tturb: Option<f64>

Turbine time constant (Tturb) (>= 0). See Parameter detail 3. Typical value = 0,8.

§velcl: Option<f64>

Maximum gate closing velocity (Velcl). Unit = PU / s. Typical value = -0,14.

§velop: Option<f64>

Maximum gate opening velocity (Velop). Unit = PU / s. Typical value = 0,09.

Implementations§

Trait Implementations§

Source§

impl CimElement for GovHydroPID

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 GovHydroPID

Source§

fn clone(&self) -> GovHydroPID

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 GovHydroPID

Source§

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

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

impl Default for GovHydroPID

Source§

fn default() -> GovHydroPID

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

impl<'de> Deserialize<'de> for GovHydroPID

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 GovHydroPID

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.