Struct HydroDispatch

Source
pub struct HydroDispatch {
Show 19 fields pub metadata: Metadata, pub name: String, pub available: bool, pub bus: UUID, pub active_power: f64, pub reactive_power: f64, pub rating: f64, pub prime_mover: PrimeMovers, pub active_power_limits: MinMax<f64>, pub reactive_power_limits: Option<MinMax<f64>>, pub ramp_limits: Option<UpDown<f64>>, pub time_limits: Option<UpDown<f64>>, pub base_power: f64, pub operation_cost: OperationalCost, pub services: Vec<Service>, pub dynamic_injector: Option<UUID>, pub ext: Value, pub time_series_container: TimeSeriesContainer, pub internal: InfrastructureSystemsInternal,
}

Fields§

§metadata: Metadata§name: String§available: bool§bus: UUID§active_power: f64§reactive_power: f64§rating: f64

Thermal limited MVA Power Output of the unit. <= Capacity

§prime_mover: PrimeMovers

Prime mover technology according to EIA 923

§active_power_limits: MinMax<f64>§reactive_power_limits: Option<MinMax<f64>>§ramp_limits: Option<UpDown<f64>>

ramp up and ramp down limits in MW (in component base per unit) per minute

§time_limits: Option<UpDown<f64>>

Minimum up and Minimum down time limits in hours

§base_power: f64

Base power of the unit in MVA

§operation_cost: OperationalCost

Operation Cost of Generation OperationalCost

§services: Vec<Service>

Services that this device contributes to

§dynamic_injector: Option<UUID>

corresponding dynamic injection device

§ext: Value§time_series_container: TimeSeriesContainer

internal time_series storage

§internal: InfrastructureSystemsInternal

power system internal reference, do not modify

Implementations§

Source§

impl HydroDispatch

Source

pub const SUPER_TYPE: &'static str = "HydroGen"

Trait Implementations§

Source§

impl Clone for HydroDispatch

Source§

fn clone(&self) -> HydroDispatch

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HydroDispatch

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for HydroDispatch

Source§

fn default() -> HydroDispatch

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for HydroDispatch

Source§

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 PartialEq for HydroDispatch

Source§

fn eq(&self, other: &HydroDispatch) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for HydroDispatch

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for HydroDispatch

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,