pub struct HydroPastInflows {
pub hydro_id: EntityId,
pub values_m3s: Vec<f64>,
}Expand description
Past inflow values for PAR(p) lag initialization for a single hydro plant.
Each entry provides the most-recent inflow history for one hydro plant,
ordered from most recent (lag 1) to oldest (lag p). The length of
values_m3s must be >= the hydro’s PAR order.
Fields§
§hydro_id: EntityIdHydro plant identifier. Must reference a hydro entity in the system.
values_m3s: Vec<f64>Past inflow values in m³/s, ordered from most recent (index 0 = lag 1) to oldest (index p-1 = lag p).
Trait Implementations§
Source§impl Clone for HydroPastInflows
impl Clone for HydroPastInflows
Source§fn clone(&self) -> HydroPastInflows
fn clone(&self) -> HydroPastInflows
Returns a duplicate 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 HydroPastInflows
impl Debug for HydroPastInflows
Source§impl PartialEq for HydroPastInflows
impl PartialEq for HydroPastInflows
impl StructuralPartialEq for HydroPastInflows
Auto Trait Implementations§
impl Freeze for HydroPastInflows
impl RefUnwindSafe for HydroPastInflows
impl Send for HydroPastInflows
impl Sync for HydroPastInflows
impl Unpin for HydroPastInflows
impl UnsafeUnpin for HydroPastInflows
impl UnwindSafe for HydroPastInflows
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