pub struct Schedule {
pub charge: Vec<f64>,
pub discharge: Vec<f64>,
pub soc: Vec<f64>,
pub water_value: Vec<f64>,
}Expand description
A solved schedule.
Fields§
§charge: Vec<f64>Charge per interval, MW.
discharge: Vec<f64>Discharge per interval, MW.
soc: Vec<f64>Energy at the end of each interval, MWh.
water_value: Vec<f64>The value of one more MWh stored at the end of each interval, €/MWh (the energy-balance duals).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Forget for Schedule
impl Freeze for Schedule
impl Move for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedulewhere
RawVecInner: Send,
impl Sync for Schedulewhere
RawVecInner: Sync,
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedulewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more