pub struct FuelParams {
pub fuel_type: Option<String>,
pub heat_rate_btu_mwh: Option<f64>,
pub primary_fuel: Option<FuelSupply>,
pub backup_fuel: Option<FuelSupply>,
pub on_backup_fuel: bool,
pub fuel_switch_time_min: Option<f64>,
pub emission_rates: EmissionRates,
}Expand description
Fuel-related parameters.
Fields§
§fuel_type: Option<String>Fuel type (e.g. “gas”, “coal”, “nuclear”, “wind”, “solar”).
heat_rate_btu_mwh: Option<f64>Heat rate in BTU/MWh (flat fallback when no fuel heat_rate_curve).
primary_fuel: Option<FuelSupply>Primary fuel supply. None = use cost curve directly.
backup_fuel: Option<FuelSupply>Backup fuel (dual-fuel units). None = single fuel.
on_backup_fuel: boolCurrently on backup fuel.
fuel_switch_time_min: Option<f64>Fuel switching time (minutes).
emission_rates: EmissionRatesMulti-pollutant emission rates.
Trait Implementations§
Source§impl Clone for FuelParams
impl Clone for FuelParams
Source§fn clone(&self) -> FuelParams
fn clone(&self) -> FuelParams
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 FuelParams
impl Debug for FuelParams
Source§impl Default for FuelParams
impl Default for FuelParams
Source§fn default() -> FuelParams
fn default() -> FuelParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FuelParams
impl<'de> Deserialize<'de> for FuelParams
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
Auto Trait Implementations§
impl Freeze for FuelParams
impl RefUnwindSafe for FuelParams
impl Send for FuelParams
impl Sync for FuelParams
impl Unpin for FuelParams
impl UnsafeUnpin for FuelParams
impl UnwindSafe for FuelParams
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