Skip to main content

HydroBlockOverride

Struct HydroBlockOverride 

Source
pub struct HydroBlockOverride {
    pub min_turbined_m3s: Option<f64>,
    pub max_turbined_m3s: Option<f64>,
    pub min_outflow_m3s: Option<f64>,
    pub max_outflow_m3s: Option<f64>,
    pub min_generation_mw: Option<f64>,
    pub max_generation_mw: Option<f64>,
    pub min_diversion_m3s: Option<f64>,
    pub max_diversion_m3s: Option<f64>,
    pub min_spillage_m3s: Option<f64>,
    pub max_spillage_m3s: Option<f64>,
}
Expand description

Per-block override for a hydro plant’s block-eligible bounds.

Carries only the block-eligible hydro columns — every field on HydroBlockBounds. Deliberately excludes min_storage_hm3, max_storage_hm3, filling_min_rate_m3s, and water_withdrawal_m3s — those are stage-level HydroStageBounds columns; a block_id on them is an error, not a silent skip.

Fields§

§min_turbined_m3s: Option<f64>

Minimum turbined flow override [m³/s].

§max_turbined_m3s: Option<f64>

Maximum turbined flow override [m³/s].

§min_outflow_m3s: Option<f64>

Environmental flow requirement override [m³/s].

§max_outflow_m3s: Option<f64>

Flood-control limit override [m³/s].

§min_generation_mw: Option<f64>

Minimum generation override [MW].

§max_generation_mw: Option<f64>

Maximum generation override [MW].

§min_diversion_m3s: Option<f64>

Minimum diversion flow override [m³/s].

§max_diversion_m3s: Option<f64>

Maximum diversion flow override [m³/s].

§min_spillage_m3s: Option<f64>

Minimum spillage flow override [m³/s].

§max_spillage_m3s: Option<f64>

Maximum spillage flow override [m³/s].

Trait Implementations§

Source§

impl Clone for HydroBlockOverride

Source§

fn clone(&self) -> HydroBlockOverride

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 Copy for HydroBlockOverride

Source§

impl Debug for HydroBlockOverride

Source§

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

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

impl Default for HydroBlockOverride

Source§

fn default() -> HydroBlockOverride

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

impl PartialEq for HydroBlockOverride

Source§

fn eq(&self, other: &HydroBlockOverride) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for HydroBlockOverride

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> 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 = 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 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.