pub struct Dso {
pub congestion_point: String,
pub request_at: OffsetDateTime,
pub isps: (u32, u32),
pub min_kw: i64,
pub max_kw: i64,
pub dispute_isp: Option<u32>,
}Expand description
A simulated grid operator: one request for a band of deviation behind a congestion point.
Fields§
§congestion_point: StringThe congestion point, a UFTP entity address (ea1.…:…).
request_at: OffsetDateTimeWhen the request arrives.
isps: (u32, u32)First and last quarter of the delivery day it asks for, from 1.
min_kw: i64The requested band in kW of deviation, one direction: both ≤ 0 (less consumption) or both ≥ 0 (more).
max_kw: i64See min_kw.
dispute_isp: Option<u32>A quarter the operator settles differently, to show a dispute.
Trait Implementations§
impl Eq for Dso
impl StructuralPartialEq for Dso
Auto Trait Implementations§
impl Forget for Dso
impl Freeze for Dso
impl Move for Dso
impl RefUnwindSafe for Dso
impl Send for Dso
impl Sync for Dso
impl Unpin for Dso
impl UnsafeUnpin for Dso
impl UnwindSafe for Dso
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