pub struct PenaltiesCountsSpec {
pub n_hydros: usize,
pub n_buses: usize,
pub n_lines: usize,
pub n_ncs: usize,
pub n_stages: usize,
}Expand description
Entity counts for constructing a ResolvedPenalties table.
Fields§
§n_hydros: usizeNumber of hydro plants.
n_buses: usizeNumber of buses.
n_lines: usizeNumber of transmission lines.
n_ncs: usizeNumber of non-controllable sources.
n_stages: usizeNumber of time stages.
Trait Implementations§
Source§impl Clone for PenaltiesCountsSpec
impl Clone for PenaltiesCountsSpec
Source§fn clone(&self) -> PenaltiesCountsSpec
fn clone(&self) -> PenaltiesCountsSpec
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 moreAuto Trait Implementations§
impl Freeze for PenaltiesCountsSpec
impl RefUnwindSafe for PenaltiesCountsSpec
impl Send for PenaltiesCountsSpec
impl Sync for PenaltiesCountsSpec
impl Unpin for PenaltiesCountsSpec
impl UnsafeUnpin for PenaltiesCountsSpec
impl UnwindSafe for PenaltiesCountsSpec
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