pub struct Step {
pub start: OffsetDateTime,
pub charge_mw: f64,
pub discharge_mw: f64,
pub soc_mwh: f64,
pub water_value: f64,
pub expected_price: f64,
pub low: f64,
pub high: f64,
}Expand description
One market time unit of a pool’s plan.
Fields§
§start: OffsetDateTimeStart (UTC).
charge_mw: f64Charge, MW.
discharge_mw: f64Discharge, MW.
soc_mwh: f64Energy at the end, MWh.
water_value: f64Value of one more MWh stored, €/MWh.
expected_price: f64Mean scenario price, €/MWh.
low: f64Lowest scenario price, €/MWh — a sell’s protective limit.
high: f64Highest scenario price, €/MWh — a buy’s protective limit.
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Stepwhere
NonZeroI32Inner: UnsafeUnpin,
impl UnwindSafe for Step
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