pub struct ScenarioConfig {
pub houses: u32,
pub feeder_kw: f32,
pub seed: u64,
pub steps_per_day: usize,
pub solar_kw_peak_per_house: f32,
pub dr_start_step: usize,
pub dr_end_step: usize,
pub dr_reduction_kw_per_house: f32,
}Fields§
§houses: u32§feeder_kw: f32§seed: u64§steps_per_day: usize§solar_kw_peak_per_house: f32§dr_start_step: usize§dr_end_step: usize§dr_reduction_kw_per_house: f32Implementations§
Trait Implementations§
Source§impl Clone for ScenarioConfig
impl Clone for ScenarioConfig
Source§fn clone(&self) -> ScenarioConfig
fn clone(&self) -> ScenarioConfig
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 ScenarioConfig
impl Debug for ScenarioConfig
Auto Trait Implementations§
impl Freeze for ScenarioConfig
impl RefUnwindSafe for ScenarioConfig
impl Send for ScenarioConfig
impl Sync for ScenarioConfig
impl Unpin for ScenarioConfig
impl UnwindSafe for ScenarioConfig
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