#[non_exhaustive]pub struct ScucDevice {Show 17 fields
pub id: ComponentId,
pub kind: ScucDeviceKind,
pub on_cost: f64,
pub startup_cost: f64,
pub startup_cost_adjustments: Vec<ScucStartupCostAdjustment>,
pub shutdown_cost: f64,
pub startup_limits: Vec<ScucStartupLimit>,
pub energy_upper_bounds: Vec<ScucEnergyRequirement>,
pub energy_lower_bounds: Vec<ScucEnergyRequirement>,
pub minimum_up_time: f64,
pub minimum_down_time: f64,
pub ramp_limits: ScucRampLimits,
pub reserve_limits: ScucReserveLimits,
pub initial_on_status: bool,
pub initial_commitment: ScucInitialCommitment,
pub reactive_capability: ScucReactiveCapability,
pub periods: Vec<ScucDevicePeriod>,
}Expand description
Scheduling and cost inputs for one simple dispatchable device.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ComponentIdThe corresponding generator or load in the balanced network.
kind: ScucDeviceKind§on_cost: f64Fixed operating cost in dollars.
startup_cost: f64Base startup cost in dollars.
startup_cost_adjustments: Vec<ScucStartupCostAdjustment>§shutdown_cost: f64Shutdown cost in dollars.
startup_limits: Vec<ScucStartupLimit>§energy_upper_bounds: Vec<ScucEnergyRequirement>§energy_lower_bounds: Vec<ScucEnergyRequirement>§minimum_up_time: f64Minimum in service time after startup, in hours.
minimum_down_time: f64Minimum out of service time after shutdown, in hours.
ramp_limits: ScucRampLimits§reserve_limits: ScucReserveLimits§initial_on_status: boolCommitment immediately before the first interval.
initial_commitment: ScucInitialCommitment§reactive_capability: ScucReactiveCapability§periods: Vec<ScucDevicePeriod>Values in the same chronological order as ScucInputs::interval_durations.
Trait Implementations§
Source§impl Clone for ScucDevice
impl Clone for ScucDevice
Source§fn clone(&self) -> ScucDevice
fn clone(&self) -> ScucDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScucDevice
impl Debug for ScucDevice
Source§impl<'de> Deserialize<'de> for ScucDevice
impl<'de> Deserialize<'de> for ScucDevice
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 JsonSchema for ScucDevice
impl JsonSchema for ScucDevice
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ScucDevice
impl PartialEq for ScucDevice
Source§fn eq(&self, other: &ScucDevice) -> bool
fn eq(&self, other: &ScucDevice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScucDevice
impl Serialize for ScucDevice
impl StructuralPartialEq for ScucDevice
Auto Trait Implementations§
impl Freeze for ScucDevice
impl RefUnwindSafe for ScucDevice
impl Send for ScucDevice
impl Sync for ScucDevice
impl Unpin for ScucDevice
impl UnsafeUnpin for ScucDevice
impl UnwindSafe for ScucDevice
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