pub struct CfbInputs {
pub model_id: String,
pub battery_chemistry: String,
pub nominal_capacity_kwh: f64,
}Expand description
Inputs for the battery CFB calculation per EU 2023/1542 Art. 7.
Field names follow the Annex XIII data attribute names from the regulation.
Fields§
§model_id: StringBattery model identifier (used in the receipt for traceability).
battery_chemistry: StringBattery chemistry family (e.g. “LFP”, “NMC”, “NCA”) — determines process
route. Family-level per BatteryChemistry; sub-ratios (e.g. “NMC811”) are
composition data carried by the cathode/anode material attributes, not here.
nominal_capacity_kwh: f64Declared nominal capacity in kWh.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CfbInputs
impl<'de> Deserialize<'de> for CfbInputs
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 CfbInputs
impl RefUnwindSafe for CfbInputs
impl Send for CfbInputs
impl Sync for CfbInputs
impl Unpin for CfbInputs
impl UnsafeUnpin for CfbInputs
impl UnwindSafe for CfbInputs
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