Skip to content

Commit

Permalink
added todo! for Robin
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Jan 14, 2025
1 parent 6d546ee commit dfac71c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fastsim-core/src/vehicle/powertrain/reversible_energy_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,17 @@ impl ReversibleEnergyStorage {
Ok(())
}

/// - `f_xy`: efficiency array as a function of power and temperature at
/// constant 50% SOC, corresponds to `eta_interp_values[0]` in ALTRIOS,
/// transposed so that the outermost layer is now power and the innermost
/// layer SOC (in ALTRIOS, the outermost layer is SOC and innermost is
/// power)
#[cfg(all(feature = "yaml", feature = "resources"))]
pub fn set_default_pwr_and_temp_interp(&mut self) -> anyhow::Result<()> {
todo!("Robin, please populate this and expose to python");
Ok(())
}

/// Sets the ReversibleEnergyStorage eff_interp Interpolator to be a 3D
/// interpolator with the default x, y, z, and f_xyz arrays
/// # Source of default efficiency values
Expand Down

0 comments on commit dfac71c

Please sign in to comment.