NatLabRockies / NatLabRockies/fastsim
Tracking issue for fuel cell electric vehicles
Open
@kylecarow is already working on this.
Since Jul 15, 2026.
enhancement
- Dominant language
- Rust
- Stars
- 60
- Forks
- 19
- Avg merge
- 10d 2h
- Merged PRs (30d)
- 2
Description
Tracking issue to list notes/problems that need to be fixed before fuel cell vehicles will work in FASTSim-3
Internally we will handle a fuel cell vehicle as a HybridElectricVehicle, but add a newPowertrainTypeoptionFuelCellElectricVehicle(Box<HybridElectricVehicle>)- New powertrain type and inner struct:
pub enum PowertrainType { // ... #[serde(rename = "FCEV")] #[serde(alias = "FuelCellElectricVehicle")] FuelCellElectricVehicle(Box<FuelCellElectricVehicle>), } - Copy series HEV logic into new
FuelCellElectricVehicleinner struct - Why not reuse
HybridElectricVehicle?- No generator for FCEVs, FuelConverter supplies electrical power
- No need to allow None generator for Series hybrids for just the FCEV case
- HEVPowertrainControls options do not apply to FCEV
- HEVAuxControls may still apply, dunno yet
- No generator for FCEVs, FuelConverter supplies electrical power
FuelType added by PR #259 (issue #289) will be useful for this, it already has a Hydrogen variant
Blockers:
- #283
- almost same topology as series hybrid, but FC supplies electrical power directly to RES/EM/aux(?) instead of through a generator
- adding a series hybrid will teach a lot about FASTSims inner workings and is the same core logic
- #306
- #286
- After these, create a new struct
FuelCellElectricVehicle
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.