pub struct PowerForecastValue {
pub value_upper_limit: Option<f64>,
pub value_upper_95ppr: Option<f64>,
pub value_upper_68ppr: Option<f64>,
pub value_expected: f64,
pub value_lower_68ppr: Option<f64>,
pub value_lower_95ppr: Option<f64>,
pub value_lower_limit: Option<f64>,
pub commodity_quantity: CommodityQuantity,
}Expand description
A forecast power for one commodity quantity, with optional confidence bands.
The bands are nested percentile ranges: the 68 % band lies inside the 95 % band,
which lies inside the 100 % limits. Only value_expected and commodity_quantity
are required.
Fields§
§value_upper_limit: Option<f64>The upper bound with 100 % certainty.
value_upper_95ppr: Option<f64>The upper bound with 95 % certainty.
value_upper_68ppr: Option<f64>The upper bound with 68 % certainty.
value_expected: f64The expected power.
value_lower_68ppr: Option<f64>The lower bound with 68 % certainty.
value_lower_95ppr: Option<f64>The lower bound with 95 % certainty.
value_lower_limit: Option<f64>The lower bound with 100 % certainty.
commodity_quantity: CommodityQuantityThe quantity the values refer to.
Implementations§
Source§impl PowerForecastValue
impl PowerForecastValue
Sourcepub fn builder() -> PowerForecastValueBuilder
pub fn builder() -> PowerForecastValueBuilder
Create an instance of PowerForecastValue using the builder syntax
Source§impl PowerForecastValue
impl PowerForecastValue
Sourcepub const fn expected(value: f64, commodity_quantity: CommodityQuantity) -> Self
pub const fn expected(value: f64, commodity_quantity: CommodityQuantity) -> Self
A forecast with no uncertainty bands.
Trait Implementations§
Source§impl Clone for PowerForecastValue
impl Clone for PowerForecastValue
impl Copy for PowerForecastValue
Source§impl Debug for PowerForecastValue
impl Debug for PowerForecastValue
Source§impl<'de> Deserialize<'de> for PowerForecastValue
impl<'de> Deserialize<'de> for PowerForecastValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq for PowerForecastValue
impl PartialEq for PowerForecastValue
Source§impl Serialize for PowerForecastValue
impl Serialize for PowerForecastValue
impl StructuralPartialEq for PowerForecastValue
Auto Trait Implementations§
impl Forget for PowerForecastValue
impl Freeze for PowerForecastValue
impl Move for PowerForecastValue
impl RefUnwindSafe for PowerForecastValue
impl Send for PowerForecastValue
impl Sync for PowerForecastValue
impl Unpin for PowerForecastValue
impl UnsafeUnpin for PowerForecastValue
impl UnwindSafe for PowerForecastValue
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