pub struct LoadModel {
pub bus_id: EntityId,
pub stage_id: i32,
pub mean_mw: f64,
pub std_mw: f64,
}Expand description
Raw load seasonal statistics for a single (bus, stage) pair.
Stores the mean and standard deviation of load demand loaded from
load_seasonal_stats.parquet. Load typically has no AR structure,
so no lag coefficients are stored here.
The System holds a Vec<LoadModel> sorted by (bus_id, stage_id).
See internal-structures.md §14.
§Examples
use cobre_core::{EntityId, scenario::LoadModel};
let model = LoadModel {
bus_id: EntityId(5),
stage_id: 0,
mean_mw: 320.5,
std_mw: 45.0,
};
assert_eq!(model.mean_mw, 320.5);Fields§
§bus_id: EntityIdBus this load model belongs to.
stage_id: i32Stage (0-based index within System::stages) this model applies to.
mean_mw: f64Seasonal mean load demand in MW.
std_mw: f64Seasonal standard deviation of load demand in MW.
Trait Implementations§
impl StructuralPartialEq for LoadModel
Auto Trait Implementations§
impl Freeze for LoadModel
impl RefUnwindSafe for LoadModel
impl Send for LoadModel
impl Sync for LoadModel
impl Unpin for LoadModel
impl UnsafeUnpin for LoadModel
impl UnwindSafe for LoadModel
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